Closed koush closed 2 years ago
This is necessary if replace rtp is called during a h264 fragmentation unit. The decoder will fail to decode until a full key frame interval without this change.
I have similar rtp stitching code for a non-webrtc use case, and and what I provided above is what works the best across a variety of decoders.
This is necessary if replace rtp is called during a h264 fragmentation unit. The decoder will fail to decode until a full key frame interval without this change.