commit | e7a5f7bfae7e619d2c9711a0b13a17d02e407563 | [log] [tgz] |
---|---|---|
author | Amit Hilbuch <amithi@webrtc.org> | Tue Mar 12 11:10:27 2019 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Mar 12 23:49:57 2019 +0000 |
tree | a5dd89d12d3f759697dc139c3dfa055bd1867098 | |
parent | dfaea9dd98728b16e7d67aec49543123e150ac8f [diff] |
Modifying MediaChannel to accept CopyOnWriteBuffer by value. MediaChannel accepted the RtpPacket buffers through non-const pointer. This is both unclear and introduces questions regarding if the buffer is actually copied or not. This change modifies the method to accept by value to reduce ambiguity. Usage of the non-const data() method which could potentially copy the buffer contents is also reduced in favor of cdata() which never copies. Bug: None Change-Id: I3b2daef0d31cb6aacceb46c86da3a40ce836242b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/127340 Reviewed-by: Steve Anton <steveanton@webrtc.org> Reviewed-by: Seth Hampson <shampson@webrtc.org> Commit-Queue: Amit Hilbuch <amithi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27090}
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.