commit | 6b7099527ad70392cbe546e2a2ecb0b3ad83e9e8 | [log] [tgz] |
---|---|---|
author | Henrik Boström <hbos@webrtc.org> | Mon Jan 27 12:49:51 2025 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 27 14:14:00 2025 |
tree | 8e35233774cbfaa5ab6304be4ce2f357353835ec | |
parent | 39da6f3a7543d2371d099881f569ae9b1d6a1fdf [diff] |
VideoEncoder: rtc::StringBuilder instead of rtc::SimpleStringBuilder. Whenever encoding info change, this ToString() method is called for some LS_INFO logging inside video_stream_encoder.cc. Apparently the char buffer used for constructing this string is not large enough because I can get WebRTC to crash in a demo page that gets and sets a lot of parameters. By changing to rtc::StringBuilder, we don't have to make assumptions about how long the string can get at runtime. Bug: None Change-Id: I32695523282143a301c0e13e06082d55bd2796b3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/375520 Commit-Queue: Henrik Boström <hbos@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#43805}
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.