W3C home > Mailing lists > Public > public-webrtc@w3.org > June 2017

[webrtc-pc] removeTrack changes transceiver.direction based on on currentDirection not direction

From: Soares Chen via GitHub <sysbot+gh@w3.org>
Date: Thu, 15 Jun 2017 09:25:32 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-236128916-1497518730-sysbot+gh@w3.org>
soareschen has just created a new issue for https://github.com/w3c/webrtc-pc:

== removeTrack changes transceiver.direction based on on currentDirection not direction ==
In the last few steps for `removeTrack`, `transceiver.direction` is altered based on the value of its `currentDirection`, not `direction`. However `currentDirection` is nullable and only changes after session descriptions.

This means if `removeTrack` is called when `currentDirection` is null, such as before setting session descriptions, the transceiver's direction is not changed. Is this intentional?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1390 using your GitHub account
Received on Thursday, 15 June 2017 09:25:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:51 UTC