⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 249689 in webkit


Ignore:
Timestamp:
Sep 9, 2019, 8:19:33 PM (7 years ago)
Author:
Alan Coon
Message:

Cherry-pick r248170. rdar://problem/55183128

[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

Location:
branches/safari-608-branch/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-608-branch/Source/WebCore/ChangeLog

    r249688 r249689  
     12019-09-09  Kocsen Chung  <kocsen_chung@apple.com>
     2
     3        Cherry-pick r248170. rdar://problem/55183128
     4
     5    [iOS] Directly use RealtimeMediaSourceCenter to compute the media capture  state
     6    https://bugs.webkit.org/show_bug.cgi?id=200368
     7    <rdar://problem/53191450>
     8   
     9    Unreviewed.
     10    Build fix by guarding with MEDIA_STREAM in addition to IOS.
     11   
     12   
     13    * dom/Document.cpp:
     14    (WebCore::Document::updateIsPlayingMedia):
     15    (WebCore::Document::pageMutedStateDidChange):
     16   
     17   
     18    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     19
     20    2019-08-02  Youenn Fablet  <youenn@apple.com>
     21
     22            [iOS] Directly use RealtimeMediaSourceCenter to compute the media capture  state
     23            https://bugs.webkit.org/show_bug.cgi?id=200368
     24            <rdar://problem/53191450>
     25
     26            Unreviewed.
     27            Build fix by guarding with MEDIA_STREAM in addition to IOS.
     28
     29            * dom/Document.cpp:
     30            (WebCore::Document::updateIsPlayingMedia):
     31            (WebCore::Document::pageMutedStateDidChange):
     32
    1332019-09-09  Kocsen Chung  <kocsen_chung@apple.com>
    234
  • branches/safari-608-branch/Source/WebCore/dom/Document.cpp

    r249688 r249689  
    39853985        state |= audioProducer.mediaState();
    39863986
    3987 #if PLATFORM(IOS_FAMILY)
     3987#if ENABLE(MEDIA_STREAM) && PLATFORM(IOS_FAMILY)
    39883988    state |= MediaStreamTrack::captureState();
    39893989#endif
     
    40314031        audioProducer.pageMutedStateDidChange();
    40324032
    4033 #if PLATFORM(IOS_FAMILY)
     4033#if ENABLE(MEDIA_STREAM) && PLATFORM(IOS_FAMILY)
    40344034    MediaStreamTrack::muteCapture();
    40354035#endif
Note: See TracChangeset for help on using the changeset viewer.