Introduce JavaByteArrayRef to replace JavaToNativeByteArray The new helper can expose the buffer as span of uint8 which is preferred way to represent raw buffers in WebRTC. Additionally new helper allows to avoid extra memory copy by returning reference to the buffer rather than a copy. Bug: webrtc:42226010 Change-Id: Ibf0ad32d1fba6a28916db67c343ab9e29b5ffacd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/509761 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: ZoƩ Lepaul <zlep@webrtc.org> Cr-Commit-Position: refs/heads/main@{#49006}
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 here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.