[Live-devel] Frames are corrupted

Ross Finlayson finlayson at live555.com
Tue Apr 22 08:15:39 PDT 2014


> 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/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140422/6c0d79a9/attachment.html>


More information about the live-devel mailing list