[webrtc-pc] replaceTrack algorithm lost some important text

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

== replaceTrack algorithm lost some important text ==
When [#1772](https://github.com/w3c/webrtc-pc/pull/1772/files?w=1) removed [this step](https://w3c.github.io/webrtc-pc/archives/20171002/webrtc.html) from the the `replaceTrack` algorithm:

*"8. If transceiver is not yet associated with a media description, then set sender's track attribute to withTrack, and return a promise resolved with undefined."*

...the intent was merely to make this synchronous step asynchronous, i.e. to have the sender's track attribute set to withTrack asynchronously.

Unfortunately, without changes to the subsequent language around *"Determine if negotiation is needed to transmit withTrack in place of the sender's existing track"*, the net effect is typically that it rejects instead, which was not our intent.

I'll try to come up with prose to fix this.

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

Received on Thursday, 26 April 2018 00:51:53 UTC