Re:Video Live Streaming: Notes on RTMP, HLS, and WebRTC
by jzer0cool on Monday June 06, 2022 @03:03PM
(#31644433)
In each of these approaches will any of these (or something else) also provide approaches to getting the stream saved for viewing again later on a remote server? I'm guessing I need some client which also connects to the stream and save which can then be served again. Or is still a solution already baked in available?
[ Parent
| on HN ]
Re:Video Live Streaming: Notes on RTMP, HLS, and WebRTC
by dbrueck on Monday June 06, 2022 @05:42PM
(#31646727)
From a technical perspective, that's more or less baked into HLS: these are just discrete files being served over HTTP, so you can save the files to disk along with the manifest file and you have the content.
In practice, there is a little more to it. For example, when DRM is enabled, you need some way to preserve the decryption keys. And for live content, the manifest file usually just tells the client about a sliding window of files, so you need a tiny bit of additional client side logic to pay attention to this fact.
One cool thing about DASH/HLS is that you can do some pretty complex mixing of content - you can build a traditional TV-channel like experience that mixes live and prerecorded content, you can replace and inject ads, you can make live content immediately available for on-demand playback, etc.
Re:Video Live Streaming: Notes on RTMP, HLS, and WebRTC
by GOATS- on Tuesday June 07, 2022 @07:11PM
(#31661179)
If the streaming server you're using has the ability to store the chunks generated by the HLS encoder, you can always generate a new playlist containing all the chunks for the video - or you can merge the chunks back into a single mp4 file.
Re:Video Live Streaming: Notes on RTMP, HLS, and WebRTC
by pavlov on Monday June 06, 2022 @04:36PM
(#31645890)
Daily's API will let you record the stream as a MP4 video file stored on Amazon S3 where it's immediately available after the live stream ends. Everything happens automatically on the same server that encodes the live stream.
(The original post is written by Daily's CEO.)
Re:Video Live Streaming: Notes on RTMP, HLS, and WebRTC
by vr000m on Monday June 06, 2022 @04:50PM
(#31646061)
Pavlov’s comment is correct. I came to add that soon the stream can be stored on customer’s own S3. Ergo, you’d be able to do a call in real-time, store it on your S3 account and make it available for streaming.
On your own S3, this would be a multipart upload.
Re:Video Live Streaming: Notes on RTMP, HLS, and WebRTC
by rexreed on Monday June 06, 2022 @04:51PM
(#31646083)
If we use Vimeo for video hosting would there be some way to automatically post to Vimeo or some other way to get the file up there and available for immediate viewing? Other approaches besides S3?