haikuwebkit/LayoutTests/webrtc/video-mute-vp8-expected.txt

13 lines
441 B
Plaintext
Raw Permalink Normal View History

Add VP8 support to WebRTC https://bugs.webkit.org/show_bug.cgi?id=189976 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-expected.txt: Source/ThirdParty/libwebrtc: Add support for conditional VP8 support for both encoding and decoding. This boolean is used by WebCore based on the new VP8 runtime flag. Enable yasm compilation as a dependency of libvpx. Compilation is done without using SSE4/AVX2 optimizations. * Configurations/libvpx.xcconfig: Added. * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: * Configurations/libwebrtc.xcconfig: * Configurations/libwebrtcpcrtc.xcconfig: * Source/third_party/libvpx/run_yasm_webkit.py: Added. * Source/third_party/libvpx/source/config/mac/x64/vpx_config.asm: * Source/third_party/libvpx/source/config/mac/x64/vpx_config.h: * Source/third_party/libvpx/source/config/mac/x64/vpx_dsp_rtcd.h: * Source/webrtc/sdk/WebKit/WebKitUtilities.h: * Source/webrtc/sdk/WebKit/WebKitUtilities.mm: (webrtc::createWebKitEncoderFactory): (webrtc::createWebKitDecoderFactory): * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodecFactory.h: * libwebrtc.xcodeproj/project.pbxproj: Source/WebCore: Add a runtime flag to control activation of VP8 codec. Bind this runtime flag to the video codec factories. Test: webrtc/video-mute-vp8.html * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp: (WebCore::createLibWebRTCPeerConnectionBackend): * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::webRTCVP8CodecEnabled const): (WebCore::RuntimeEnabledFeatures::setWebRTCVP8CodecEnabled): * platform/mediastream/libwebrtc/LibWebRTCProvider.h: * platform/mediastream/libwebrtc/LibWebRTCProviderCocoa.cpp: (WebCore::LibWebRTCProviderCocoa::createDecoderFactory): (WebCore::LibWebRTCProviderCocoa::createEncoderFactory): * testing/Internals.cpp: (WebCore::Internals::resetToConsistentState): Enable VP8 codec for tests. Source/WebKit: * Shared/WebPreferences.yaml: LayoutTests: * webrtc/audio-peer-connection-g722.html: * webrtc/routines.js: * webrtc/video-mute-vp8-expected.txt: Added. * webrtc/video-mute-vp8.html: Added. Canonical link: https://commits.webkit.org/205219@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-04 01:53:27 +00:00
Video should be running, go to black and running.
Following, should be a snapshot of the video, a black frame and a snapshot of the video.
PASS Verify VP8 activation
PASS Setting video exchange
PASS Ensuring connection state is connected
PASS Track is enabled, video should not be black
PASS Track is disabled, video should be black
PASS If disabled, black frames should still be coming
PASS Track is enabled, video should not be black 2
Add VP8 support to WebRTC https://bugs.webkit.org/show_bug.cgi?id=189976 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-expected.txt: Source/ThirdParty/libwebrtc: Add support for conditional VP8 support for both encoding and decoding. This boolean is used by WebCore based on the new VP8 runtime flag. Enable yasm compilation as a dependency of libvpx. Compilation is done without using SSE4/AVX2 optimizations. * Configurations/libvpx.xcconfig: Added. * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: * Configurations/libwebrtc.xcconfig: * Configurations/libwebrtcpcrtc.xcconfig: * Source/third_party/libvpx/run_yasm_webkit.py: Added. * Source/third_party/libvpx/source/config/mac/x64/vpx_config.asm: * Source/third_party/libvpx/source/config/mac/x64/vpx_config.h: * Source/third_party/libvpx/source/config/mac/x64/vpx_dsp_rtcd.h: * Source/webrtc/sdk/WebKit/WebKitUtilities.h: * Source/webrtc/sdk/WebKit/WebKitUtilities.mm: (webrtc::createWebKitEncoderFactory): (webrtc::createWebKitDecoderFactory): * Source/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodecFactory.h: * libwebrtc.xcodeproj/project.pbxproj: Source/WebCore: Add a runtime flag to control activation of VP8 codec. Bind this runtime flag to the video codec factories. Test: webrtc/video-mute-vp8.html * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp: (WebCore::createLibWebRTCPeerConnectionBackend): * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::webRTCVP8CodecEnabled const): (WebCore::RuntimeEnabledFeatures::setWebRTCVP8CodecEnabled): * platform/mediastream/libwebrtc/LibWebRTCProvider.h: * platform/mediastream/libwebrtc/LibWebRTCProviderCocoa.cpp: (WebCore::LibWebRTCProviderCocoa::createDecoderFactory): (WebCore::LibWebRTCProviderCocoa::createEncoderFactory): * testing/Internals.cpp: (WebCore::Internals::resetToConsistentState): Enable VP8 codec for tests. Source/WebKit: * Shared/WebPreferences.yaml: LayoutTests: * webrtc/audio-peer-connection-g722.html: * webrtc/routines.js: * webrtc/video-mute-vp8-expected.txt: Added. * webrtc/video-mute-vp8.html: Added. Canonical link: https://commits.webkit.org/205219@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-04 01:53:27 +00:00