Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] a Paused media session is not active
https://bugs.webkit.org/show_bug.cgi?id=135108 Reviewed by Darin Adler. Activating the shared AudioSession will pause audio playing in another application, so only report a Playing media sessions as active. * platform/audio/MediaSessionManager.cpp: * platform/audio/MediaSessionManager.h: (WebCore::MediaSessionManager::activeAudioSessionRequired): Renamed from hasActive to make clear what it does. Only return true for a session that is Playing. * platform/audio/mac/MediaSessionManagerMac.cpp: (MediaSessionManager::updateSessionState): hasActive renamed to activeAudioSessionRequired. Canonical link: https://commits.webkit.org/153017@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@171299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 4 changed files with 22 additions and 4 deletions.