DescriptionSimplify data channel creation logic in WebRTC-based protocol
Previously WebrtcDataStreamAdapter was implementing MessageChannelFactory,
which means that it was always creating channels asynchronously and in OPEN
state. Refactored it to create channels in CONNECTING state. Significantly
simplifies channel setup code as it's always synchronous. It's also possible
to reject incoming channels before they are connected and handle channels
rejected by the peer before being fully connected.
Committed: https://crrev.com/cc40af91b15bd24efc02f82169ef1b76a5e35dbb
Cr-Commit-Position: refs/heads/master@{#407046}
Patch Set 1 #
Total comments: 4
Patch Set 2 : nits #Messages
Total messages: 10 (4 generated)
|