Re: [webrtc-pc] Remove paragraph about removeTrack causing track to be ended remotely.

> Isn't that what replaceTrack is for?

Meaning, why not just do `replaceTrack(null)` and later `replaceTrack(newTrack)`? Good question; I think the only real difference is the directional attribute in SDP, which could affect some things.

> What if the application wants to end the remote track? How does it do it?

The only way right now is with `transceiver.stop`, as far as I know.

If we want to change the way senders' and receivers' tracks relate (which I tried to summarize here: https://github.com/w3c/webrtc-pc/issues/1169), it may still be be possible since Chrome/Firefox haven't implemented it yet. But it would be a somewhat significant change to the spec.

-- 
GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/pull/1168#issuecomment-299584694 using your GitHub account

Received on Friday, 5 May 2017 21:54:15 UTC