<div><div dir="auto">Apologies, I was recalling that statement from some old reading material.</div></div><div dir="auto"><br></div><div dir="auto">And yes several of my cameras send a copy of both before every GOP so I filter them out through a subclass of H264VideoRTPSource and I create my own copies through the SDP description when I need them. </div><div dir="auto"><br></div><div dir="auto">The reason I filter them out is because QuickTimeFileSink will write them into the file and certain media players will incorrectly parse them as video frames causing a stuttering effect. </div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Chris</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 30, 2019 at 5:55 PM Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
> On May 30, 2019, at 2:30 PM, Chris Paucar <<a href="mailto:chris.paucar@roc-connect.com" target="_blank">chris.paucar@roc-connect.com</a>> wrote:<br>
> <br>
> Hi Eric,<br>
> <br>
> Regarding #3, those are the SPS and PPS NAL units, size 22 and 4 respectively. You can confirm by looking at the 5 lower bits of the first byte and matching the NAL unit type with values 7 and 8 for SPS and PPS. <br>
> <br>
> Some RTSP sources provide them in a separate stream<br>
<br>
This is not quite correct. The SPS and PPS NAL units are encoded in the stream’s SDP description (which RTSP retrieves in response to its “DESCRIBE” command, before starting the actual streaming). This is not “a separate stream” - it’s just a part of the stream’s (static) description, which RTSP retrieves at the beginning of the protocol exchange.<br>
<br>
These NAL units *may* (or may not) also appear (either only at the start, or periodically) inside the RTP video stream. In Eric’s case, it appears that they do appear in the stream. This is not necessary, however, because they (as noted above) are also coded in the stream’s SDP description.<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" rel="noreferrer" target="_blank">http://www.live555.com/</a><br>
<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" rel="noreferrer" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
</blockquote></div></div>