[webrtc-pc] Change stream associations (#2658)

pablopla has just created a new issue for https://github.com/w3c/webrtc-pc:

== Change stream associations ==
In a large conference it is better to reuse small number of audio tracks and send audio packets of the dominant speakers. There is no way to change the association of an existing audio track and sync to a different video track based on the dominant speaker because RTCRtpSender.setStreams is currently additive. Is there a reason to not allow replacing the streams instead of just adding new streams?

[RTCRtpSender.setStreams](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/setStreams#description) docs says:

> setStreams() is purely additive. It doesn't remove the track from any streams; it adds it to new ones.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2658 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 18 June 2021 18:58:22 UTC