[Webkit-unassigned] [Bug 167788] New: WKWebView seems to ignore AVAudioSession category settings in iOS app

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 3 02:57:33 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=167788

            Bug ID: 167788
           Summary: WKWebView seems to ignore AVAudioSession category
                    settings in iOS app
    Classification: Unclassified
           Product: WebKit
           Version: Safari 10
          Hardware: Unspecified
                OS: iOS 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wangshengjia01 at gmail.com

Created attachment 300516
  --> https://bugs.webkit.org/attachment.cgi?id=300516&action=review
A simple project which show the problem of WKWebView and AVAudioSession

By setting app's AVAudioSession's category to `AVAudioSessionCategoryPlayback` with option `mixWithOthers`, will make sounds from video in UIWebView be mixed with third party background music (such as Spotify). It do not work at all once switch to WKWebView.

Tested on Xcode 8.2.1, iOS 10.2.1

Many thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170203/4ad7ecd4/attachment.html>


More information about the webkit-unassigned mailing list