pion / webrtc

Pure Go implementation of the WebRTC API
https://pion.ly
MIT License
13.88k stars 1.66k forks source link

fixed bug in examples/rtp-forwarder where packet state is not properl… #2957

Open strangesast opened 1 day ago

strangesast commented 1 day ago

fixes corrupt RTP packet issue related to memory initialization/reset in examples/rtp-forwarder that causes frames to be distorted

Sean-Der commented 7 hours ago

@strangesast are you able to reproduce this reliably?

Unmarshal should be safe to use like this! Possibly Padding isn't cleared properly? We might need a deeper fix in pion/rtp