As others have noted, the NAL units - when sent within RTP packets -
do *not* contain the initial 0x00000001 code. Also, our
"H264VideoRTPSource" class - which delivers NAL units (one-at-a-time)
from a RTP stream - does not insert this code. Therefore, if a
decoder requires this code, you must add it yourself, in whatever
class (that you write) receives data from the "H264VideoRTPSource".
Note, BTW, that the "H264VideoFileSink" class - which "openRTSP" uses
when it receives a H.264 RTSP/RTP stream - *does* insert this code.
So, you might choose to use the "H264VideoFileSink" class if you want
to write the received H.264 data to a file (or to "stdout", if you
want to pipe it to a decoder).
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel