commit | 9753fbc380587011e0690f1bec81971297f8514c | [log] [tgz] |
---|---|---|
author | Shuhai Peng <shuhai.peng@intel.com> | Tue Dec 21 14:04:22 2021 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 23 13:37:22 2021 |
tree | 303221b27e324a924039ffb0238bd672f0673573 | |
parent | 34e10368296a45739c10fd0633f41905d21c4751 [diff] |
Video: Avoid crashing when dump stream with IvfFileWriter. Currently some RTPVideoHeaders are not filled with width and height information, such as AV1. If we dump the stream with command line “--force-fieldtrials=WebRTC-DecoderDataDumpDirectory/./”, and if width and height are 0, it will crash soon. This CL aims to avoid crashing when the |encoded_image._encodedWidth| and |encoded_image._encodedHeight| are 0. Bug: webrtc:13491 Change-Id: Ie5af58c03f09a9784ed67943dc5b5959850b4368 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/242500 Reviewed-by: Sergey Silkin <ssilkin@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35576}
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.