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
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to