Bug 230539 - If you play a song from Spotify while in a WebRTC call, audio output is broken until refresh
Summary: If you play a song from Spotify while in a WebRTC call, audio output is broke...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 14
Hardware: iPhone / iPad Unspecified
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-21 01:58 PDT by daginge
Modified: 2021-12-14 00:36 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daginge 2021-09-21 01:58:21 PDT
If a user starts playing a song from Spotify during a WebRTC call, the audio output from the remote party stops.

Repro steps:
1. Go to https://webrtc.github.io/samples/src/content/peerconnection/pc1/ on iOS 15
2. Click "Start". Observe that you can see yourself.
3. Click "Call". Observe that remote media works and you can hear yourself.
4. Go to the Spotify app. Observe that you for the time being can still hear yourself
5. Play any song or podcast and stop it.
6. Go back to the browser and see that camera still works, but audio output is now muted.

Impact:
All WebRTC services not implementing some kind of hacky workaround. This should just work.

Workaround:
Detection is hard, a refresh works, but it seems restarting the peer connection, or possibly re-attaching the srcObject might work as well.
Comment 1 Radar WebKit Bug Importer 2021-09-21 08:55:07 PDT
<rdar://problem/83353726>
Comment 2 youenn fablet 2021-09-23 06:51:06 PDT
I reproduced this on my ToT build.
According my testing, some underlying freezes are happening here, as in bug 230537 and bug 230536. This may come from the same underlying issue.
Comment 3 youenn fablet 2021-12-10 04:15:14 PST
This does not reproduce for me in latest iOS 15.2 beta (using the podcast app).
Comment 4 youenn fablet 2021-12-13 07:01:16 PST
Marking as configuration changed given it is no longer reproducing for me.
Comment 5 daginge 2021-12-14 00:36:42 PST
Just confirming this is fixed in 15.2! Really happy about this, youenn!