commit | d2817d80b59656cf965ed83debfffe8c7405089b | [log] [tgz] |
---|---|---|
author | Christoffer Rodbro <crodbro@webrtc.org> | Tue Oct 24 14:26:49 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Oct 26 11:11:25 2017 |
tree | d9d764e7562a4a17dc2f79de5f8c2890d466907d | |
parent | 0295a967c08b06f25b57334c815ae3e71aa3050b [diff] |
Allow injection of custom network models in place of FakeNetworkPipe. Adds a constructor for DirectTransport that takes a pointer to an instance of a class derived from FakeNetworkPipe. Said class can override Process() and SendPacket(...) members thereby emulating any desired network behavior. Bug: b/67487983 Change-Id: I829fd3506124db61587af19192a14fdf62b06ca5 Reviewed-on: https://webrtc-review.googlesource.com/14620 Commit-Queue: Christoffer Rodbro <crodbro@webrtc.org> Reviewed-by: Stefan Holmer <stefan@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20443}
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.