Re: [webrtc-pc] Should pc.removeTrack(sender) "reset" sending parameters in the transceiver?

> Making removeTrack() affect send parameters seems like it makes the model more complicated, and I can't see a benefit from doing that.

Use case:

1. Send webcam with simulcast (by app design others will see you in full screen or in a thumbnail).
1. Later stop webcam and start screen sharing. No simulcast desired but just HD (others will see it in fullscreen so high quality is needed).
1. And I don't want to artificially generate a new m=video section but, instead, stop the webcam and reuse its transceiver to send screen sharing without simulcast.

I could keep original sender parameters before applying simulcast the first time, and then apply those original params later when reusing the sender for screen sharing. But, not sure why, I expect a way to just "reset" it.

> we made the sender parameters parameters of the sender, not parameters of the sender/track association.

Could that be clarified in the spec?

-- 
GitHub Notification of comment by ibc
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2025#issuecomment-436597194 using your GitHub account

Received on Wednesday, 7 November 2018 11:44:28 UTC