commit | fc604aa990d5313307d2950b1e68cfa61e99948d | [log] [tgz] |
---|---|---|
author | Bjorn A Mellem <mellem@webrtc.org> | Tue Sep 24 21:59:21 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Sep 24 22:35:44 2019 |
tree | fd2ae642baa2eba3b5d6c39cb1cda90fa2f1d2ca | |
parent | 9d91174d3966ecd10e9d12a2a83a81e5378506c7 [diff] |
Unset sinks when deleting CompositeDataChannelTransport. This fixes a DCHECK during teardown in the case when the primary DataChannelTranspot (eg. DatagramTransport) is successfully negotiated. DatagramTransport expects the DataSink to be unset before it's deleted. This was not caught by existing tests because the fallback transport (SctpDataChannelTransport) does not have the same DCHECK. Also adds a regression test for the issue, in which SCTP is available as a fallback but DataChannelTransport is negotiated successfully. Bug: webrtc:9719 Change-Id: I414d964d3c85d3d01cdb5e34d6b248659a613c39 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/154365 Commit-Queue: Bjorn Mellem <mellem@webrtc.org> Reviewed-by: Seth Hampson <shampson@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29292}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.