fa1ca1e7819287f96314bb51ab3a7e13c4bb9e43

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.
Development
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.
More info
- Official web site: http://www.webrtc.org
- Master source code repo: https://webrtc.googlesource.com/src
- Samples and reference apps: https://github.com/webrtc
- Mailing list: http://groups.google.com/group/discuss-webrtc
- Continuous build: http://build.chromium.org/p/client.webrtc
- Coding style guide
- Code of conduct
Description
Languages
C++
88.6%
C
3.3%
Java
3%
Objective-C++
1.9%
Python
1.9%
Other
1%