Use special software encoder mode in case there is no VCP not hardware encoder
authoryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Apr 2018 21:09:54 +0000 (21:09 +0000)
committeryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Apr 2018 21:09:54 +0000 (21:09 +0000)
commitca02c48f4fd4f3e9962fc970581ef9c35e1fd625
treefe78d0809ee9b7e94a71d303dae81621790b75b6
parentf6d4b70e6b1717f584096cb7604fbc29cbb52691
Use special software encoder mode in case there is no VCP not hardware encoder
https://bugs.webkit.org/show_bug.cgi?id=183961

Reviewed by Eric Carlson.

In case a compression session is not using a hardware encoder and VCP is not active
use a specific mode if the resolution is standard.

* Source/webrtc/sdk/WebKit/VideoProcessingSoftLink.cpp:
* Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/ThirdParty/libwebrtc/ChangeLog
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/WebKit/VideoProcessingSoftLink.h
Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/RTCVideoEncoderH264.mm