Refactor ModuleRtpRtcpImpl2 to use static factory methods This change makes the ModuleRtpRtcpImpl2 constructor private and introduces CreateSendModule and CreateReceiveModule static factory methods. This enforces the separation of sender and receiver modules at the API level and ensures that the 'receiver_only' flag in the configuration matches the intended usage. All call sites and members have been updated to use these factory methods and hold the module via std::unique_ptr. Bug: webrtc:41480926 Change-Id: I60f5a8417bab9fafdb8ca2c8396d1421838e3a8a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/443200 Commit-Queue: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#46717}
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.