[iOS] HTMLMediaSession should set AudioSession category
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Jan 2014 21:36:17 +0000 (21:36 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Jan 2014 21:36:17 +0000 (21:36 +0000)
commitfadd9acfe15b5226ee8f3b8e2fa491cea6f844a8
treec3eb244f2ac44dbccead6621569cc351360fd38f
parent7957557e2ee03c95e959fc8ce1c7b42b6e98d1c5
[iOS] HTMLMediaSession should set AudioSession category
https://bugs.webkit.org/show_bug.cgi?id=127137

Reviewed by Sam Weinig.

* html/HTMLMediaSession.cpp:
(WebCore::initializeAudioSession): New, set the audio session to "media" on iOS.
(WebCore::HTMLMediaSession::HTMLMediaSession): Call initializeAudioSession.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLMediaSession.cpp