mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-02 19:42:51 +08:00
setCodecPreferences requires codecs from RTCRtpSender.getCapabilities; feeding it RTCRtpReceiver.getCapabilities throws InvalidModificationError in Chrome and the swallowed exception left VP8 as the negotiated codec. Switch the capability source so H264/AV1 preferences actually apply.