Title: [275524] branches/safari-612.1.10-branch/Source/WebKit
- Revision
- 275524
- Author
- [email protected]
- Date
- 2021-04-06 09:17:07 -0700 (Tue, 06 Apr 2021)
Log Message
Revert r2754691. rdar://problem/76244988
This reverts commit ac33c312b0f737f0fd04f484d5351fe7b62d6c9d.
Modified Paths
Diff
Modified: branches/safari-612.1.10-branch/Source/WebKit/ChangeLog (275523 => 275524)
--- branches/safari-612.1.10-branch/Source/WebKit/ChangeLog 2021-04-06 16:09:19 UTC (rev 275523)
+++ branches/safari-612.1.10-branch/Source/WebKit/ChangeLog 2021-04-06 16:17:07 UTC (rev 275524)
@@ -1,3 +1,41 @@
+2021-04-05 Ruben Turcios <[email protected]>
+
+ Cherry-pick r275451. rdar://problem/76244988
+
+ [GPUP][iPad] Audio only when airplaying a youtube video
+ https://bugs.webkit.org/show_bug.cgi?id=224132
+
+ Reviewed by Eric Carlson.
+
+ While `MediaPlayerPrivateAVFoundationObjC` only implements `setWirelessPlaybackTarget()`
+ on macOS, `MediaPlayerPrivateMediaSourceAVFObjC` implements it on both macOS and iOS.
+ Therefore, `RemoteMediaPlayerProxy` has to forward the calls of `setWirelessPlaybackTarget()`
+ from WebContent processes to "MediaPlayerPrivate*" on both macOS and iOS.
+
+ Manually tested.
+
+ * GPUProcess/media/RemoteMediaPlayerProxy.cpp:
+ (WebKit::RemoteMediaPlayerProxy::setWirelessPlaybackTarget):
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2021-04-05 Peng Liu <[email protected]>
+
+ [GPUP][iPad] Audio only when airplaying a youtube video
+ https://bugs.webkit.org/show_bug.cgi?id=224132
+
+ Reviewed by Eric Carlson.
+
+ While `MediaPlayerPrivateAVFoundationObjC` only implements `setWirelessPlaybackTarget()`
+ on macOS, `MediaPlayerPrivateMediaSourceAVFObjC` implements it on both macOS and iOS.
+ Therefore, `RemoteMediaPlayerProxy` has to forward the calls of `setWirelessPlaybackTarget()`
+ from WebContent processes to "MediaPlayerPrivate*" on both macOS and iOS.
+
+ Manually tested.
+
+ * GPUProcess/media/RemoteMediaPlayerProxy.cpp:
+ (WebKit::RemoteMediaPlayerProxy::setWirelessPlaybackTarget):
+
2021-04-02 Jer Noble <[email protected]>
[GPUP] Power regression: audio hardware is configured for 128 frame preferred buffer size during VideoAudio playback
Modified: branches/safari-612.1.10-branch/Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxy.cpp (275523 => 275524)
--- branches/safari-612.1.10-branch/Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxy.cpp 2021-04-06 16:09:19 UTC (rev 275523)
+++ branches/safari-612.1.10-branch/Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxy.cpp 2021-04-06 16:17:07 UTC (rev 275524)
@@ -699,21 +699,21 @@
void RemoteMediaPlayerProxy::setWirelessPlaybackTarget(const WebCore::MediaPlaybackTargetContext& targetContext)
{
-#if !PLATFORM(IOS_FAMILY)
switch (targetContext.type()) {
case MediaPlaybackTargetContext::AVOutputContextType:
m_player->setWirelessPlaybackTarget(WebCore::MediaPlaybackTargetCocoa::create(targetContext.avOutputContext()));
break;
+#if PLATFORM(MAC)
case MediaPlaybackTargetContext::MockType:
m_player->setWirelessPlaybackTarget(WebCore::MediaPlaybackTargetMock::create(targetContext.mockDeviceName(), targetContext.mockState()));
break;
+#else
+ case MediaPlaybackTargetContext::MockType:
+#endif
case MediaPlaybackTargetContext::None:
ASSERT_NOT_REACHED();
break;
}
-#else
- UNUSED_PARAM(targetContext);
-#endif
}
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes