[Webkit-unassigned] [Bug 243897] New: Volume of playing video increases when capturing microphone with getUserMedia()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 12 13:25:38 PDT 2022


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

            Bug ID: 243897
           Summary: Volume of playing video increases when capturing
                    microphone with getUserMedia()
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: iOS 15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dmannion at propractice.com
                CC: youennf at gmail.com

iPad (8th Generation)
iOS 15.6

Using https://webrtc.github.io/samples/src/content/devices/multi/


1) Select Allow to the prompt to Access the Microphone and Camera
2) Click the red video camera in the address bar to disable the Microphone and Camera.
3) Play the audio track on the right hand side under local media files.  Adjust volume on device to a medium level.  Audio track should repeat in a loop.
4) Click the red video camera in the address bar to re-enable the Microphone and Camera.
5) The volume of the playing audio track increases significantly.

Expected behavior: the volume should remain relatively the same when enabling or disabling the microphone & camera.


Our actual use case is slightly different, but exhibits the same problem:
1) User clicks to move to the next page/section
2) Video starts auto playing in one element, while the prompt to Access the Microphone and Camera displays so we can display the camera stream in a second video element (which is muted)
3) User clicks Allow and the volume jumps up considerably. 
4) User lowers the volume.
All subsequent videos play at too low a volume.  If the user doesn't lower the volume in step 4, the volume will return to its normal level when a new video source is loaded into the video element.  Replaying the existing video without changing the source causes the audio to fluctuate/distort, like its interacting with the microphone or something.  Again, changing the source on the video element seems to fix the problem.

-- 
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/20220812/ab1c0b4e/attachment.htm>


More information about the webkit-unassigned mailing list