commit | 63b7574850538c9e059eefa64c62a4d18fc60b65 | [log] [tgz] |
---|---|---|
author | Sebastian Jansson <srte@webrtc.org> | Thu Mar 15 12:05:40 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Mar 15 13:49:47 2018 |
tree | 7fa4f4765457affd020d78538371e5dcf2213b9e | |
parent | 7bd79a008957b5b5893f54c108f782ad7ab24c0d [diff] |
Add check for negative max bitrate in VideoSendStream. The encoder_max_bitrate_bps_ was checked to be > 0 but since it is unsigned and the value came from the signed initial_encoder_max_bitrate negative values were allowed and resulted in using UINT32_MAX. This CL adds a check for negative input values and uses a safer default. Bug: None Change-Id: Ia12ea406091ab9c3a498ecf554f18ba2628ecbe5 Reviewed-on: https://webrtc-review.googlesource.com/61783 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22453}
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 http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.