Title: [186764] trunk/Source/WebCore
- Revision
- 186764
- Author
- [email protected]
- Date
- 2015-07-13 09:54:53 -0700 (Mon, 13 Jul 2015)
Log Message
[iOS] Cancel AirPlay explicitly when exiting from full screen
https://bugs.webkit.org/show_bug.cgi?id=146902
<rdar://problem/20923632>
Reviewed by Brent Fulgham.
* platform/ios/WebVideoFullscreenInterfaceAVKit.h:
* platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
(WebVideoFullscreenInterfaceAVKit::~WebVideoFullscreenInterfaceAVKit): Call setExternalPlayback(false)
if playing to an external screen.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (186763 => 186764)
--- trunk/Source/WebCore/ChangeLog 2015-07-13 16:25:12 UTC (rev 186763)
+++ trunk/Source/WebCore/ChangeLog 2015-07-13 16:54:53 UTC (rev 186764)
@@ -1,3 +1,16 @@
+2015-07-13 Eric Carlson <[email protected]>
+
+ [iOS] Cancel AirPlay explicitly when exiting from full screen
+ https://bugs.webkit.org/show_bug.cgi?id=146902
+ <rdar://problem/20923632>
+
+ Reviewed by Brent Fulgham.
+
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.h:
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (WebVideoFullscreenInterfaceAVKit::~WebVideoFullscreenInterfaceAVKit): Call setExternalPlayback(false)
+ if playing to an external screen.
+
2015-07-12 Chris Fleizach <[email protected]>
AX: WEB: VoiceOver for iOS does not read <iframe> elements during linear (swipe) navigation.
Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h (186763 => 186764)
--- trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h 2015-07-13 16:25:12 UTC (rev 186763)
+++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h 2015-07-13 16:54:53 UTC (rev 186764)
@@ -75,7 +75,7 @@
{
return adoptRef(*new WebVideoFullscreenInterfaceAVKit());
}
- virtual ~WebVideoFullscreenInterfaceAVKit() { }
+ virtual ~WebVideoFullscreenInterfaceAVKit();
WEBCORE_EXPORT void setWebVideoFullscreenModel(WebVideoFullscreenModel*);
WEBCORE_EXPORT void setWebVideoFullscreenChangeObserver(WebVideoFullscreenChangeObserver*);
Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm (186763 => 186764)
--- trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm 2015-07-13 16:25:12 UTC (rev 186763)
+++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm 2015-07-13 16:54:53 UTC (rev 186764)
@@ -751,6 +751,13 @@
[m_playerController setFullscreenInterface:this];
}
+WebVideoFullscreenInterfaceAVKit::~WebVideoFullscreenInterfaceAVKit()
+{
+ WebAVPlayerController* playerController = m_playerController.get();
+ if (playerController && playerController.externalPlaybackActive)
+ setExternalPlayback(false, TargetTypeNone, "");
+}
+
void WebVideoFullscreenInterfaceAVKit::resetMediaState()
{
if (!m_playerController) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes