[iOS] Directly use RealtimeMediaSourceCenter to compute the media capture state
authoryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Aug 2019 19:17:52 +0000 (19:17 +0000)
committeryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Aug 2019 19:17:52 +0000 (19:17 +0000)
commit172f85b26ff647af848f97222083290fb2b9b45e
tree667d70aec8f3bf171e7e35ed632d266eb62959b3
parent75aa7c8c8f5947bf73c2425264fb491f44ffe463
[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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/Document.cpp