Title: [248170] trunk/Source/WebCore
- Revision
- 248170
- Author
- [email protected]
- Date
- 2019-08-02 12:17:52 -0700 (Fri, 02 Aug 2019)
Log Message
[iOS] Directly use RealtimeMediaSourceCenter to compute the media capture state
https://bugs.webkit.org/show_bug.cgi?id=200368
<rdar://problem/53191450>
Unreviewed.
Build fix by guarding with MEDIA_STREAM in addition to IOS.
* dom/Document.cpp:
(WebCore::Document::updateIsPlayingMedia):
(WebCore::Document::pageMutedStateDidChange):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (248169 => 248170)
--- trunk/Source/WebCore/ChangeLog 2019-08-02 19:10:02 UTC (rev 248169)
+++ trunk/Source/WebCore/ChangeLog 2019-08-02 19:17:52 UTC (rev 248170)
@@ -1,3 +1,16 @@
+2019-08-02 Youenn Fablet <[email protected]>
+
+ [iOS] Directly use RealtimeMediaSourceCenter to compute the media capture state
+ https://bugs.webkit.org/show_bug.cgi?id=200368
+ <rdar://problem/53191450>
+
+ Unreviewed.
+ Build fix by guarding with MEDIA_STREAM in addition to IOS.
+
+ * dom/Document.cpp:
+ (WebCore::Document::updateIsPlayingMedia):
+ (WebCore::Document::pageMutedStateDidChange):
+
2019-08-02 Andres Gonzalez <[email protected]>
Add accessibility object method to determine whether an element is inside a table cell. Needed for iOS accessibility client.
Modified: trunk/Source/WebCore/dom/Document.cpp (248169 => 248170)
--- trunk/Source/WebCore/dom/Document.cpp 2019-08-02 19:10:02 UTC (rev 248169)
+++ trunk/Source/WebCore/dom/Document.cpp 2019-08-02 19:17:52 UTC (rev 248170)
@@ -3980,7 +3980,7 @@
for (auto& audioProducer : m_audioProducers)
state |= audioProducer.mediaState();
-#if PLATFORM(IOS_FAMILY)
+#if ENABLE(MEDIA_STREAM) && PLATFORM(IOS_FAMILY)
state |= MediaStreamTrack::captureState();
#endif
@@ -4026,7 +4026,7 @@
for (auto& audioProducer : m_audioProducers)
audioProducer.pageMutedStateDidChange();
-#if PLATFORM(IOS_FAMILY)
+#if ENABLE(MEDIA_STREAM) && PLATFORM(IOS_FAMILY)
MediaStreamTrack::muteCapture();
#endif
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes