[webrtc-pc] What direction should a stopped transceiver have? #661 (#2479)

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

== What direction should a stopped transceiver have? #661 ==
When stop() is executed, or more precisely when the "stop the RTCRtpTransceiver" step[2] is executed, the CurrentDirection slot is updated with a null value. Later, however, is indicated that currentDirection[1] should return "stopped" as a direction if the [[Stopped]] state is true.

This means that while currentDirection is null, the actual value returned would be "stopped".

Shouldn't it make more sense to set the currentDirection state to "stopped" rather then null when RTCRtpTransceiver is executed?

[1] https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-currentdirection
[2] https://w3c.github.io/webrtc-pc/#dfn-stop-the-rtcrtptransceiver

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

Received on Thursday, 20 February 2020 14:55:14 UTC