Title: [234532] branches/safari-606-branch/Source/WebCore
- Revision
- 234532
- Author
- [email protected]
- Date
- 2018-08-02 18:16:46 -0700 (Thu, 02 Aug 2018)
Log Message
Cherry-pick r234469. rdar://problem/42882308
Always use MediaPlayback audio category when playing to AppleTV
https://bugs.webkit.org/show_bug.cgi?id=188230
<rdar://problem/42497809>
Reviewed by Jer Noble.
* platform/audio/cocoa/MediaSessionManagerCocoa.cpp:
(PlatformMediaSessionManager::updateSessionState): Check session.isPlayingToWirelessPlaybackTarget().
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-606-branch/Source/WebCore/ChangeLog (234531 => 234532)
--- branches/safari-606-branch/Source/WebCore/ChangeLog 2018-08-03 01:16:44 UTC (rev 234531)
+++ branches/safari-606-branch/Source/WebCore/ChangeLog 2018-08-03 01:16:46 UTC (rev 234532)
@@ -1,5 +1,32 @@
2018-08-02 Babak Shafiei <[email protected]>
+ Cherry-pick r234469. rdar://problem/42882308
+
+ Always use MediaPlayback audio category when playing to AppleTV
+ https://bugs.webkit.org/show_bug.cgi?id=188230
+ <rdar://problem/42497809>
+
+ Reviewed by Jer Noble.
+
+ * platform/audio/cocoa/MediaSessionManagerCocoa.cpp:
+ (PlatformMediaSessionManager::updateSessionState): Check session.isPlayingToWirelessPlaybackTarget().
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2018-08-01 Eric Carlson <[email protected]>
+
+ Always use MediaPlayback audio category when playing to AppleTV
+ https://bugs.webkit.org/show_bug.cgi?id=188230
+ <rdar://problem/42497809>
+
+ Reviewed by Jer Noble.
+
+ * platform/audio/cocoa/MediaSessionManagerCocoa.cpp:
+ (PlatformMediaSessionManager::updateSessionState): Check session.isPlayingToWirelessPlaybackTarget().
+
+2018-08-02 Babak Shafiei <[email protected]>
+
Cherry-pick r234463. rdar://problem/42882308
[iOS] Remove the delay before setting audio session category added in r233535
Modified: branches/safari-606-branch/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.cpp (234531 => 234532)
--- branches/safari-606-branch/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.cpp 2018-08-03 01:16:44 UTC (rev 234531)
+++ branches/safari-606-branch/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.cpp 2018-08-03 01:16:46 UTC (rev 234532)
@@ -72,6 +72,8 @@
hasWebAudioType = true;
if ((type == PlatformMediaSession::VideoAudio || type == PlatformMediaSession::Audio) && session.canProduceAudio() && session.state() == PlatformMediaSession::Playing)
hasAudibleAudioOrVideoMediaType = true;
+ if (session.isPlayingToWirelessPlaybackTarget())
+ hasAudibleAudioOrVideoMediaType = true;
return (type == PlatformMediaSession::MediaStreamCapturingAudio);
});
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes