Extend fake video codecs for high-bitrate tests ConfigurableFrameSizeEncoder and the new ConfigurableFrameSizeDecoder can now act as a synthetic codec that uses the generic RTP payload format, for tests of calls at 100+ Mbps. With the encoder's new Config, frame sizes follow the target bitrate exactly, encoding completes asynchronously, and each frame carries a frame id and its capture time so that receivers can measure latency and detect gaps, which the fake codecs in test/ didn't support. Further options limit key frames to the requested ones, set a playout delay and set whether the encoder reports itself as hardware accelerated, which selects the CPU overuse thresholds of VideoStreamEncoder. The defaults keep the encoder's current behavior. PeerScenarioClient gets optional video encoder and decoder factory callbacks, so that PeerScenario tests can use the codec, and loses the unused use_fake_codecs option. The tests that use it follow in https://webrtc-review.googlesource.com/c/src/+/514381. Bug: none Change-Id: I4f1461d88b5f6591c718ae182b541b98fb7b04c4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/514800 Reviewed-by: Per Kjellander <perkj@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#49351}
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.