Update network route on SRTP activation When an ICE transport connects initially, OnNetworkRouteChanged is called before SRTP is active. Previously, when SRTP activated later, the network route overhead was never updated. However, if ICE candidates switched mid-call after SRTP activation, SRTP overhead was included, causing inconsistent packet overhead reporting. Behind the field trial WebRTC-UpdateNetworkRouteOnSrtpActivation (disabled by default): - SrtpTransport caches the current SRTP overhead and updates the network route whenever the overhead changes. - RtpTransport routes packet transport changes through virtual OnNetworkRouteChanged so subclasses can append SRTP overhead before notifying subscribers. - RtpTransportControllerSend updates per-packet transport overhead whenever the network route overhead changes. Bug: webrtc:461532446 Change-Id: I44d3c6a99fc45fd192e45ce3e1fa64f32832cbb7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/485240 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Per Kjellander <perkj@webrtc.org> Cr-Commit-Position: refs/heads/main@{#48090}
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.