Using uploadthing for serving static files
https://youtu.be/mi9IDtgS6hc?si=KKqLTxWOf9L6hf8Y&t=441
In this video Theo said that for serving static mp3 files uploadthing is a good option to prevent unnecessary bandwidth usage for the highly available cdn of vercel.
I've just uploaded my static mp3 files, which are loaded by every visitor, to uploadthing. Now I run into the problem that I have no way to list the files in order to use them. I am considering making a seperate node 'project' folder which I will use to upload the background video to uploadthing automatically when I run a script to process the files using ffmpeg. The current video files count 42 files in m4s format for streaming video. Now what would be a good way to automatically upload them and then be able to serve them like so:
The .mpd is the main file that AFAIK defines which files are part of the stream.
I consider writing the links for these files into a file in the /public/ folder of my next project so that it's accessible to the users. How would I then adjust my code to properly serve the files in a way that nextjs understands it?
Theo - t3․gg
YouTube
A Really Expensive Surprise Bill
This video is NOT sponsored or endorsed in any way by my sponsors.
The price spike problem of Netlify, Vercel, and other modern tech startups is terrifying. I don't love how the narrative around all of this has gone though. Thought it was worth breaking down.
Ton of sources on this one
https://old.reddit.com/r/webdev/comments/1b14bty/netlify_j...
0 Replies