webrtc / samples

WebRTC Web demos and samples
https://webrtc.github.io/samples
BSD 3-Clause "New" or "Revised" License
13.74k stars 5.69k forks source link

change-codecs: move codec selection to the receiver #1640

Closed fippo closed 7 months ago

fippo commented 7 months ago

While using setCodecPreferences on the sending side works because the answerer will match the sender's order, using it on the receiving end is more semantically correct.

See this comment https://github.com/w3c/webrtc-encoded-transform/pull/186#issuecomment-1818658226