commit | 6c1d962ad63f18ff1d8d771086bce376210ad91c | [log] [tgz] |
---|---|---|
author | Marina Ciocea <marinaciocea@chromium.org> | Tue Apr 23 09:42:52 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 23 09:42:52 2019 |
tree | 29e40a67ba36d0b1ba6c662b112d36acb56bca4f | |
parent | 6a9fe56c7228cbb6f3580a07ce7a96a03394825d [diff] |
Compute RTCPeerConnection iceConnectionState based on RTCIceTransport states. Previously both RTCPeerConnection::iceConnectionState and RTCIceTransport states were calculated based on updates coming from webrtc layer to blink layer (from signaling thread to main thread). Because there is no ordering between the two updates, the peer connection iceConnectionState and ice transport states could end up out of sync in blink layer. Fix state mismatch by updating the peer connection iceConnectionState using blink layer ice transport states, on ice transport state updates. These changes only apply for unified plan because RTCIceTransport is not exposed for plan B. Bug: 953694,944036 Change-Id: I3b96189593a89715cc42a8113e97c2b31c7f0eb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1566334 Commit-Queue: Marina Ciocea <marinaciocea@chromium.org> Reviewed-by: Henrik Boström <hbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#653116}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .