commit | 81c3a0300486f49ca5dae5c0a7f50ae858dd78fa | [log] [tgz] |
---|---|---|
author | zhihuang <zhihuang@webrtc.org> | Thu Nov 17 20:06:24 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Nov 17 20:06:37 2016 |
tree | 369d95d20730bbc36517daffb0670b6fb90ea814 | |
parent | 5b93db2a5334d7b0d6fff22655679864e6c187f6 [diff] |
Added a callback function OnAddTrack to PeerConnectionObserver Added the callback in native c++ API. The callback function is called when a track is added and a new RtpReceiver is created. The application can tell when tracks are added to the streams by listening to this callback. BUG=webrtc:6112 Review-Url: https://codereview.webrtc.org/2505173002 Cr-Commit-Position: refs/heads/master@{#15142}
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. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.