commit | 273d0296a47f6bf0ff1f0e894bf42543ceff9832 | [log] [tgz] |
---|---|---|
author | Bjorn Mellem <mellem@webrtc.org> | Thu Nov 01 16:42:44 2018 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 02 16:15:32 2018 +0000 |
tree | 3ee64c01beaed816ee34ead423d6d53b41d9d5e3 | |
parent | 0367d1a1fb0a74ddb0e256625c48107648675885 [diff] |
Implement data channel methods in LoopbackMediaTransport. This enables PeerConnection tests to use LoopbackMediaTransport to test data-channel-over-media-transport code. Also changes LoopbackMediaTransport to invoke callbacks asynchronously. This is more accurate, as these callbacks are triggered by network events. The caller should not block while the callback executes. Since LoopbackMediaTransport is used for testing, it provides a FlushAsyncInvokes() method which may be used to ensure that callbacks occur deterministically (eg. before checking that data has been received). Bug: webrtc:9719 Change-Id: Ib8ea9aebf4a0ad3d5934a6fe4ab33432c68523fd Tbr: stefan@webrtc.org Reviewed-on: https://webrtc-review.googlesource.com/c/109060 Commit-Queue: Bjorn Mellem <mellem@webrtc.org> Reviewed-by: Steve Anton <steveanton@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25489}
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.