mirror of
https://github.com/pion/webrtc.git
synced 2025-12-24 11:51:03 +08:00
Recently added filtering out unattached RTX in SetCodecPrefrences. Turns out it is needed in `getCodecs()` also in the following scenario - AddTrack from answer side adds a tracks and has media engine codecs - An offer is received and negotiated codecs get updated in media engine. And this does not have one of the codecs added AddTrack above (default media engine codecs) - Generate answer will do `getCodecs` which will filter out the codec missing from the `offer`, but would have let the corresponding RTX pass through and get added to the answer.
8.2 KiB
8.2 KiB