W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > May 2017

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

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Fri, 05 May 2017 21:54:08 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-299584694-1494021246-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:40 UTC