> Does this happen because I have not received SPS and PPS nal units ?

Yes.  If you are streaming H.264 video, then you *must* have SPS and PPS NAL 
units.  Either
        1/ Your H.264 video source contains SPS and PPS NAL units, occurring 
frequently.  In this case, you *should not* modify "getAuxSDPLine()". Or:
        2/ Your H.264 video source does not contain SPS and PPS NAL units, but 
you know them some other way, in advance.  In this case, you should not 
implement "getAuxSDPLine()", but you *must* then pass these NAL units to 
"H264VideoRTPSink::createNew()", in your implementation of the 
"createNewRTPSink()" virtual function.

If neither 1/ nor 2/ is true - i.e., if your video source does not contain SPS 
and PPS NAL units, nor do you know these in advance - then you will not be able 
to successfully stream H.264 video.


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