W3C home > Mailing lists > Public > public-webrtc@w3.org > December 2015

[webrtc-pc] How should replaceTrack() behave with an "unused" sender

From: Adam Bergkvist via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 Dec 2015 09:30:59 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-122462440-1450258259-sysbot+gh@w3.org>
adam-be has just created a new issue for 
https://github.com/w3c/webrtc-pc:

== How should replaceTrack() behave with an "unused" sender ==
Consider this case
```
var sender = pc.addTrack(track);
sender.replaceTrack(otherTrack);
```
How should replaceTrack() behave in this case? Should we disallow it, 
or simply replace the track and negotiate the new track, but still use
 the id from the first?

Please view or discuss this issue at 
https://github.com/w3c/webrtc-pc/issues/438 using your GitHub account
Received on Wednesday, 16 December 2015 09:31:01 UTC

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