W3C home > Mailing lists > Public > public-webrtc@w3.org > October 2016

[webrtc-pc] Merged Pull Request: Clarify when removeTrack should throw an exception.

From: Adam Bergkvist via GitHub <sysbot+gh@w3.org>
Date: Thu, 13 Oct 2016 14:44:08 +0000
To: public-webrtc@w3.org
Message-ID: <pull_request.closed-88506448-1476369846-sysbot+gh@w3.org>
adam-be has just merged taylor-b's pull request 860 for 
https://github.com/w3c/webrtc-pc:

== Clarify when removeTrack should throw an exception. ==
In PR #844, the intent was to throw an exception when the sender 
wasn't created
by the connection on which the method was called. And the assumption 
was that
senders are never removed, so the algorithm can simply check if it's 
in the
connection's set of senders.

But something I didn't consider is that rollbacks are able to remove
transceivers (and thus senders). So more clarity is needed.

See https://github.com/w3c/webrtc-pc/pull/860
Received on Thursday, 13 October 2016 14:44:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:49 UTC