Changeset 248170 in webkit


Ignore:
Timestamp:
Aug 2, 2019 12:17:52 PM (5 years ago)
Author:
youenn@apple.com
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r248169 r248170  
     12019-08-02  Youenn Fablet  <youenn@apple.com>
     2
     3        [iOS] Directly use RealtimeMediaSourceCenter to compute the media capture  state
     4        https://bugs.webkit.org/show_bug.cgi?id=200368
     5        <rdar://problem/53191450>
     6
     7        Unreviewed.
     8        Build fix by guarding with MEDIA_STREAM in addition to IOS.
     9
     10        * dom/Document.cpp:
     11        (WebCore::Document::updateIsPlayingMedia):
     12        (WebCore::Document::pageMutedStateDidChange):
     13
    1142019-08-02  Andres Gonzalez  <andresg_22@apple.com>
    215
  • trunk/Source/WebCore/dom/Document.cpp

    r248161 r248170  
    39813981        state |= audioProducer.mediaState();
    39823982
    3983 #if PLATFORM(IOS_FAMILY)
     3983#if ENABLE(MEDIA_STREAM) && PLATFORM(IOS_FAMILY)
    39843984    state |= MediaStreamTrack::captureState();
    39853985#endif
     
    40274027        audioProducer.pageMutedStateDidChange();
    40284028
    4029 #if PLATFORM(IOS_FAMILY)
     4029#if ENABLE(MEDIA_STREAM) && PLATFORM(IOS_FAMILY)
    40304030    MediaStreamTrack::muteCapture();
    40314031#endif
Note: See TracChangeset for help on using the changeset viewer.