[webrtc-pc] Pull Request: Add warning to RTCRtpTransceiver.stop(). Stop rejected transceivers at SLD().

henbos has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== Add warning to RTCRtpTransceiver.stop(). Stop rejected transceivers at SLD(). ==
Related to #1919.

Because of bundling, "m=" sections may have been rejected by createOffer() or createAnswer() as a result of some transceiver having been stopped, affecting all other "m=" sections in that bundle. This change make sure that setLocalDescription() updates associated transceivers to be stopped if their "m=" section have been rejected. Otherwise the JSEP transceiver and the webrtc-pc don't have a matching state.

Because of this surprising behavior, a note is added to RTCRtpTransceiver.stop().

The issue about stop() being unpredictable is still unresolved.

See https://github.com/w3c/webrtc-pc/pull/1946

Received on Wednesday, 25 July 2018 19:56:54 UTC