Bug 212780
| Summary: | audio (and sometimes video) element get paused and stays paused when another app uses audio | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | makarand |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bfulgham, eric.carlson, jer.noble, marymhart, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 13 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 13 | ||
makarand
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`.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/64094978>