> I'm interested in streaming from a camera using HLS. I've looked at the
> live555MediaServer application and the liveMedia/DeviceSource.cpp code.
> I can't seem to modify the live555MediaServer app in order to not make
> it use a .tsx file, which sorta makes me think the FAQ link
> http://www.live555.com/liveMedia/faq.html#liveInput  is the way to go.
> As I'm completely new to live555 I was hoping someone could say HLS from
> a camera is possible

No, unfortunately it's not currently possible to use our server code to support 
HLS from a live source.  The reason for this is that our implementation 
implements HLS by seeking within the input source (as specified by the segment 
denoted in the 'm3u' playlist), and live input sources are not seekable.  Note 
line 124 of "liveMedia/RTSPServerSupportingHTTPStreaming.cpp".

This is why we currently support HLS only on streams that come from seekable 
files.  (And Transport Stream files, to be seekable, have to have a 
corresponding ".tsx" file.)

To implement HLS on a live source, one would have to develop an appropriate 
"ServerMediaSubsession" subclass that sits in front of the live source, caching 
recent data, and presenting this cached data - to the server - as a seekable 
object.  (You'd also have to make changes to the playlist.)  This is probably 
doable, but would be a lot of work.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to