[webrtc-pc] removeTrack: throw exception if sender is not in connection's set of senders

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

== removeTrack: throw exception if sender is not in connection's set 
of senders ==
Hello,
I think that if removeTrack's sender param is not in connection's set 
of senders and exception should be thrown.
This is quite useful for developers to find problems in their apps.

Imagine that an app has 2 PeerConnections and call pc1.removeTrack 
(senderOfPc2).
If an exception is thrown, it would help the developer to see the 
problem and fix it.

Refs
[1] http://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-removetrack

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

Received on Wednesday, 13 July 2016 13:21:47 UTC