[webrtc-pc] Direction can get out of sync, blocking updates.

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

== Direction can get out of sync, blocking updates. ==
Assuming ONN, whenever JS changes `direction` on a transceiver, renegotiation happens and results in `currentDirection` tracking.

However, when SLD(answer) sets `currentDirection`, it leaves `direction` alone.

I think this means `direction` can get out of sync with `currentDirection`.

This seems bad the given the [direction](http://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-direction) setter algorithm:

  6. If newDirection is equal to transceiver's [[Direction]] slot, abort these steps.

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

Received on Thursday, 19 July 2018 03:40:38 UTC