There is no need to call setActive:NO on the audio session, WebCore's session will automatically be deactivated if another application begins playing audio.
Created attachment 233916 [details]
Comment on attachment 233916 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=233916&action=review
> + [iOS] no need to deactivate audio session
> + https://bugs.webkit.org/show_bug.cgi?id=134350
> + Reviewed by NOBODY (OOPS!).
> + * platform/audio/mac/MediaSessionManagerMac.cpp:
> + (MediaSessionManager::updateSessionState): Never call setActive:false.
nit: Why not?
(Maybe: "Embedding WebView apps may want to enable the audio session outside of the WebView, and since the AudioSession is global to the app, disabling the audio session can interrupt that audio."
Committed r170485: https://trac.webkit.org/r170485