[Webkit-unassigned] [Bug 190346] New: Mixing media audio with call audio while in WebRTC call (AudioContext issue)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 8 04:52:50 PDT 2018


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

            Bug ID: 190346
           Summary: Mixing media audio with call audio while in WebRTC
                    call (AudioContext issue)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: iPhone / iPad
                OS: iOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mikeblock at rogers.com
                CC: youennf at gmail.com

We have a use case where we play video content with an audio track from a file source in a web page, and then initiate a WebRTC call within this same context. Audio streams (both local and remote) are attached to the call and are turned on and off during the playback of the video file. The parties "punch in and out" to talk as needed.

Doing this confuses the AudioContext. It thinks it's in a video call, so it switches context to support a standard audio format and mixing for the call. However, introducing video file playback on top of these WebRTC streams causes the sound from the video file to be pushed into the background, and then erratically switches in volume with no discernible reason. The call also throws the audio into the earpiece, causing poor sound quality.

The AudioContext should allow blending of audio from multiple sources, and should allow playback from the internal speaker or default device. If this isn't the default setting, it should be controllable via JavaScript to allow better audio management. After all, this is one web page, not several apps competing for foreground audio on the device.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181008/0acd6ec3/attachment-0001.html>


More information about the webkit-unassigned mailing list