mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-17 07:37:51 +01:00
![]() 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} |
||
---|---|---|
.. | ||
helpers.cc | ||
helpers.h | ||
nalu_rewriter.cc | ||
nalu_rewriter.h | ||
RTCCodecSpecificInfoH264+Private.h | ||
RTCCodecSpecificInfoH264.h | ||
RTCCodecSpecificInfoH264.mm | ||
RTCDefaultVideoDecoderFactory.h | ||
RTCDefaultVideoDecoderFactory.m | ||
RTCDefaultVideoEncoderFactory.h | ||
RTCDefaultVideoEncoderFactory.m | ||
RTCH264ProfileLevelId.h | ||
RTCH264ProfileLevelId.mm | ||
RTCVideoDecoderFactoryH264.h | ||
RTCVideoDecoderFactoryH264.m | ||
RTCVideoDecoderH264.h | ||
RTCVideoDecoderH264.mm | ||
RTCVideoEncoderFactoryH264.h | ||
RTCVideoEncoderFactoryH264.m | ||
RTCVideoEncoderH264.h | ||
RTCVideoEncoderH264.mm | ||
UIDevice+H264Profile.h | ||
UIDevice+H264Profile.mm |