This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27227 - New feature: Track swapping
Summary: New feature: Track swapping
Status: RESOLVED LATER
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: WebRTC API (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Web RTC Working Group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-03 23:17 UTC by Harald Alvestrand
Modified: 2014-12-15 10:39 UTC (History)
2 users (show)

See Also:


Attachments

Description Harald Alvestrand 2014-11-03 23:17:47 UTC
Presented in

https://www.w3.org/2011/04/webrtc/wiki/images/6/6c/WebRTC_RTCSender-Receiver%2C_TPAC_2014.pdf

slide 16. This would make RTPsender.track be a mutable attribute, leading to the ability to switch which video is sent with no signalling.

Compatible tracks are required, and it means that one loses the ability to correlate sendertrack.id with receivertrack.id - this needs to be explicit in the proposal. More work needed, but there was interest in pursuing this.
Comment 1 Martin Thomson 2014-11-03 23:25:49 UTC
Note that the mutable attribute was not popular.  There was a general preference for a setter.  The primary reason being that the replacement might fail.

I think that the general sense was that failure was not a problem that browsers need concern themselves with: the track would simply go BYE-BYE (i.e., RTCP BYE) if media could not be provided in a compatible form from the new source.  However, it was observed that replacement would not be atomic and that maybe a promise-bearing method was superior.  That would allow for the time of replacement to be marked, as well as giving the application a way to learn about errors.
Comment 2 Dominique Hazael-Massieux 2014-12-15 10:39:30 UTC
WebRTC API bugs have been moved to github issues: https://github.com/w3c/webrtc-pc/issues

Please subscribe to the issues you want to keep watching.