[Live-devel] testRTSPClient / H.264 Network Camera Stream

Jeremiah Morrill Jeremiah.Morrill at econnect.tv
Fri Apr 26 12:22:44 PDT 2013


After you parse the nal records from parseSPropParameterSets, store them.

For each sample that comes through, construct the buffer you send to your upstream decoder like this:

Where start_code is 4 bytes 0x00, 0x00, 0x00, 0x01

[start_code][NAL_record_1][start_code][NAL_record_2][start_code][sample_data]

There may be some more correct way, but this has worked for me.  Also some h264 decoders are different in how they except NAL units, so you may want to check with the documentation.

-Jer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130426/f0af534d/attachment.html>


More information about the live-devel mailing list