[Live-devel] how do I know this is the first fragment of the frame?

Ross Finlayson finlayson at live555.com
Mon Nov 16 07:04:31 PST 2009


We *already* implement the RTP payload format for H.264 video - in 
the class "H264VideoRTPSink".  You don't need to implement any 
RTP-specific code yourself to stream H.264.  Instead, just feed H.264 
NAL units into a "H264VideoRTPSink", and everything will work.  These 
NAL units will come from a subclass of "H264VideoStreamFramer" that 
you *do* implement .

In other words, the only thing you need to implement to stream H.264 
video is a subclass of "H264VideoStreamFramer" (and any upstream 
objects) that will feed H.264 NAL units into a "H264VideoRTPSink".
-- 

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


More information about the live-devel mailing list