haikuwebkit/LayoutTests/webrtc/video-addTrack-expected.txt

12 lines
353 B
Plaintext
Raw Permalink Normal View History

Add a runtime flag for WebRTC unified plan https://bugs.webkit.org/show_bug.cgi?id=189068 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCPeerConnection-addTrack.https-expected.txt: Source/WebCore: Covered by existing updated tests. Main change is to call addTrack with a stream parameter so that on the other side, the track will be tied to a stream. Receive-only case in unified plan is not yet supported. This will be supported in follow-up patches. * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp: (WebCore::LibWebRTCMediaEndpoint::setConfiguration): Activate unified plan based on runtime flag. (WebCore::LibWebRTCMediaEndpoint::addTrack): Do not use AddStream in case of unified plan. (WebCore::LibWebRTCMediaEndpoint::shouldOfferAllowToReceiveAudio const): (WebCore::LibWebRTCMediaEndpoint::shouldOfferAllowToReceiveVideo const): (WebCore::LibWebRTCMediaEndpoint::doCreateOffer): Use legacy webrtc option for receive only cases only in plan B case. * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::webRTCUnifiedPlanEnabled const): (WebCore::RuntimeEnabledFeatures::setWebRTCUnifiedPlanEnabled): Source/WebKit: * Shared/WebPreferences.yaml: * WebProcess/InjectedBundle/InjectedBundle.cpp: (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): Tools: * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::setWebRTCUnifiedPlanEnabled): * WebKitTestRunner/InjectedBundle/TestRunner.h: LayoutTests: * fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt: * webrtc/peer-connection-audio-mute2.html: * webrtc/peer-connection-remote-audio-mute2.html: * webrtc/video-addTrack-expected.txt: * webrtc/video-addTrack.html: * webrtc/video-addTransceiver.html: Canonical link: https://commits.webkit.org/204132@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-08-29 21:50:28 +00:00
PASS Basic video exchange with addTrack - waiting for second track before playing
PASS Basic video exchange with addTrack - not waiting for second track to play
PASS track 0, wait = true
PASS track 1, wait = true
PASS Testing image result, wait = true
PASS track 0, wait = false
PASS track 1, wait = false
PASS Testing image result, wait = false