Bug 212780 - audio (and sometimes video) element get paused and stays paused when another app uses audio
Summary: audio (and sometimes video) element get paused and stays paused when another ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 13
Hardware: iPhone / iPad iOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-06-04 14:06 PDT by makarand
Modified: 2021-09-20 07:29 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description makarand 2020-06-04 14:06:47 PDT
Some audio (and sometimes video) elements stay in paused state even after Safari gains foreground.

To repro this issue check out sample app @ https://makarandp0.github.io/safariAudioGetsPaused/

Steps
1) Click "Synthetic Audio" - This will create an audio track local and remote (using webrtc) and attach them to audio elements.
2) Go to Youtube (or other application) and play some content - Notice that audio elements on sample page gets paused - which is Okay.

3) Go back to Safari - 
Actual: notice that Local Audio Track starts playing but Remote Audio Element stays muted.
Expected: Both audio elements should receive "play" event and start playing.

I have seen this with both audio and video tracks, both synthetic and the ones obtained using `getUserMedia`.
Comment 1 Radar WebKit Bug Importer 2020-06-07 13:50:01 PDT
<rdar://problem/64094978>