[mediacapture-main] What direction should a stopped transceiver have? (#661)

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

== What direction should a stopped transceiver have? ==
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/mediacapture-main/issues/661 using your GitHub account

Received on Thursday, 20 February 2020 14:50:02 UTC