[Live-devel] Relocating an HLS stream

dan_desjardins dan.desjardins at videstra.com
Mon Aug 14 15:27:25 PDT 2023


I need to use the live555HLSProxy to create an HLS from an RTSP stream.  Works great!
My app needs to then relocate the stream to a new location that can then be accessed from a public address (latency is not a concern in my use-case).  It will use ftp, or scp or possibly even http upload (I have not received specs from the vendor yet - but it will be one of those).
I plan to copy the .ts segment files as they complete - looks like messages tell me when each one completes so this should be a simple task.  I also need to copy the .m3u8 file - but it is unclear when it is safe to copy that file.  As each .ts segment is written I assume the .m3u8 playlist is updated.  I do not want to copy it when it is half written.  I do not know if the internal mechanism for updating that file is atomic..  I'm guessing it probably is since players might choke if it is not.  Just the same - someone may have some good advice.
Any help or advice from this community would be greatly appreciated!

Dan Desjardins
Videstra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20230814/e7a76878/attachment.htm>


More information about the live-devel mailing list