Does the “testRTSPClient” demo application work OK for you (with the same 
RTSP/RTP (I assume) source)?  If so, you should start by modifying the 
implementation of the “DummySink” class.

Note that - for H.264 video - each ‘frame’ that gets delivered from a H.264 
RTSP/RTP stream (via a “H264VideoRTPSource” object) will be a H.264’ NAL unit’, 
not (necessarily) a complete video frame (i.e., picture).  Also, these NAL 
units will *not* begin with a ‘start code’.  It is your job to parse/decode 
each H.264 NAL unit, as appropriate.

Note also that calling “curPacketMarkerBit()” (to get the RTP ‘M’ bit) is just 
a hint.  This bit is *supposed to* indicate the last NAL unit of a ‘picture’, 
but you should not rely on this.  Once again, you need to parse/decode each 
H.264 NAL unit to figure out what it means.


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