[Live-devel] Buffering an H264 Video Stream

Chris Richardson (WTI) chris at gotowti.com
Tue Nov 4 12:14:21 PST 2014


Hey Mark,

 

I think the main point of confusion here is the difference between LIVE555 server-side concepts and client-side concepts.  You are trying to write a client, and normally on the client side you wouldn’t be using H264VideoStreamDiscreteFramer because that is a *server-side* concept.

 

What you want to do, as Ross suggested, is discard your current thoughts about using H264VideoStreamDiscreteFramer.  You want to look at making a subclass of MediaSink (perhaps call it “MemorySink” or something).  This class could be based on the DummySink class Ross mentioned.  The job of this class would be to take incoming H.264 NAL units (given to you straight from LIVE555), and buffer them, as suggested by Jeff.

 

Once you have something running that receives data from the LIVE555 client side stack then you can look into saving the most recent IDR NALs and all the other features you want to implement.

 

Chris Richardson

WTI 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20141104/4dac1bc7/attachment.html>


More information about the live-devel mailing list