Remove RTPSender's deprecated setters RTPSender gets its timestamp offset, MID and RTX configuration from RtpRtcpInterface::Configuration at construction. The setters that were deprecated when those fields were added kept that state mutable, so every read of it needed send_mutex_. Remove SetTimestampOffset(), SetRtpState(), SetMid(), SetRtxStatus() and SetRtxPayloadType(), and make the state const: - TimestampOffset() and RtxStatus() no longer take the lock. SupportsRtxPayloadPadding() only takes it when RTX payload padding is possible. - Packets are built with the MID directly instead of a copy taken under the lock. - The RTX payload type is looked up without the lock. Bug: webrtc:42223727 Change-Id: Iecb8ec71d1ae11b6e5f2dfd8611fd696f8568a97 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/507400 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#48871}
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.