WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
259273
REGRESSION (Safari 16.5): Unexpected mute event on audio track
https://bugs.webkit.org/show_bug.cgi?id=259273
Summary
REGRESSION (Safari 16.5): Unexpected mute event on audio track
vinayak.kulkarni
Reported
2023-07-17 07:42:32 PDT
Created
attachment 467060
[details]
Microphone icon paused in status bar. Hi, we have a web application which has capabilities for audio-video conferencing using WebRTC and also ability to stream a video from cloud. We are seeing a new issue with Safari v16.5. No issues seen with Safari v16.4. Scenario: 1. Client calls getUserMedia and gets access to mic and camera tracks 2. Video Streaming from cloud starts, browser starts to render the video and playout the audio of the file. 3. Once the video streaming is paused, the onmute event on audio track is triggered. From the status bar on the browser, it looks like microphone use has been paused too. Screenshot attached. 4. Once the video streaming is resumed, the onunmute event on audio track is triggered. This behavior is seen on Safari v16.5, no issues were reported with earlier safari versions (eg v16.4) This behavior is causing issues because we expect the track mute status to not change under these cases. Can you please help me understand why this happens or point in the right direction to fix this, if it can be fixed from the client side. From our investigation, we didn't find anything that has got do with the track when video streaming operations are performed. Issue seen on: Safari - Version 16.5 (18615.2.9.11.4) / Mac OS Version - 13.4 (22F66) Intel based Mac - 2.6 GHz 6-Core Intel Core i7 Please let me know if you need more information:
Attachments
Microphone icon paused in status bar.
(7.94 KB, image/png)
2023-07-17 07:42 PDT
,
vinayak.kulkarni
no flags
Details
sysdiagnose captured when the issue happened
(307.67 MB, application/x-gzip)
2023-07-27 05:40 PDT
,
vinayak.kulkarni
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-07-18 15:53:55 PDT
<
rdar://problem/112497748
>
youenn fablet
Comment 2
2023-07-19 00:05:57 PDT
Is there a way for us to reproduce this? Is it basically calling getUserMedia, then playing a video (say HLS) will cause the microphone to become muted? Pausing te video will trigger the microphone to be unmuted? What about the camera?
vinayak.kulkarni
Comment 3
2023-07-19 01:16:57 PDT
Hi Youenn, I can check and let you know if I can give you some page to replicate this issue. But we are able to reproduce this consistently, if you want us to capture any debug information or logs, please do tell, we can provide that. It is basically, calling getUserMedia and then playing a video. Nothing happens when you are playing the video, but when you pause it we receive the muted event on the track. When we resume the video we receive the unmuted event. This happens on both video and audio track some cases and in some cases it only happens on audio track.
youenn fablet
Comment 4
2023-07-20 02:39:26 PDT
I tried
https://jsfiddle.net/cgx06fwq/
and I am not able to reproduce on a recent macOS Sonoma build. Can you try it? If it reproduces the issue, can you try Safari Tech Preview?
vinayak.kulkarni
Comment 5
2023-07-20 03:46:24 PDT
Sure youenn, I will get the engineer who is able to repro this issue to try on this jsfiddle. Thanks!!
vinayak.kulkarni
Comment 6
2023-07-27 05:40:00 PDT
Created
attachment 467129
[details]
sysdiagnose captured when the issue happened Hi youenn, The issue is not reproducible on the jsfiddle that you shared, but is consistently happening on our application. Please find the sysdiagnose file that we captured when we reproduced the issue if it helps you debug this. At 05:54:29.9510 (IST) - the audio track was muted by the browser. Our browser console printed the below log. `Local Audio track has been muted.` Thanks. Please let me know if you need any info from our side for this.
vinayak.kulkarni
Comment 7
2023-07-27 05:40:42 PDT
Comment on
attachment 467129
[details]
sysdiagnose captured when the issue happened The timestamp of the issue 05:54:29.9510 PM (IST)
youenn fablet
Comment 8
2023-10-13 06:08:57 PDT
I need to update the jsfiddle to try with both regular video streaming and MSE.
youenn fablet
Comment 9
2023-12-12 07:55:27 PST
I was not able to reproduce. @vinayak, can you reproduce with the latest Safari Tech Preview? If so, can you either provide a repro case or send me (
youenn@apple.com
) a sysdiagnose with the time where the issue happens on STP (I added some more logging)?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug