commit | fa1ca1e7819287f96314bb51ab3a7e13c4bb9e43 | [log] [tgz] |
---|---|---|
author | Qiang Chen <qiangchen@chromium.org> | Mon Jan 14 10:03:26 2019 -0800 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jan 14 19:23:56 2019 +0000 |
tree | 0faeba352bf04bdc0a0c67faaf17f0298adb78dc | |
parent | c2c733e21b3df16076d927665c2d769c269a6994 [diff] |
Bug Fix: iOS H264 Encoder Crash Issue When using H264 encoder with profile level 3.1, the encoder may crash. The reason is that we set the expected frame rate using kVTCompressionPropertyKey_ExpectedFrameRate to the VideoToolBox. However, by iOS implementation, if our setting violates the sample rate limit [1], the encoder will crash. This CL fixes the bug by capping the expected frame rate with max allowed frame rate computed from the sample rate limit. Change-Id: I090d7be8c20713c6a5a4ec80ed243c8fa7b4aa14 Bug: webrtc:10172 Reviewed-on: https://webrtc-review.googlesource.com/c/116056 Commit-Queue: Qiang Chen <qiangchen@chromium.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26254}
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.