Bug 228935

Summary: PCMU/PCMA audio fails to play
Product: WebKit Reporter: Jay Charles <firstcontact>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: iPhone / iPad   
OS: iOS 14   

Description Jay Charles 2021-08-09 17:35:25 PDT
Prior to iOS 14.7, our tracks with PCMU and PCMA audio worked fine. As of 14.7 we're finding that PCMU/A audio will not play correctly on iPhone or iPad. In most cases playback never begins, in some cases playback will start and then stop after about half a second. In the same test case changing only the audio codec to Opus, audio plays as expected every time.
Comment 1 Jay Charles 2021-08-09 18:09:38 PDT
FWIW, I've also found that backgrounding the browser app and then bringing it out of background will result in another fraction of a second of audio playback, then stops again.
Comment 2 youenn fablet 2021-08-10 02:04:31 PDT
Hi Jay,
I'll check this further tonight.
Can you confirm whether https://webrtc.github.io/samples/src/content/peerconnection/audio/ is working or not for you?
If you have MacOS, can you repro the issue there as well?
Comment 3 Radar WebKit Bug Importer 2021-08-10 02:05:17 PDT
<rdar://problem/81733876>
Comment 4 Jay Charles 2021-08-10 06:47:16 PDT
(In reply to youenn fablet from comment #2)
> Hi Jay,
> I'll check this further tonight.
> Can you confirm whether
> https://webrtc.github.io/samples/src/content/peerconnection/audio/ is
> working or not for you?
> If you have MacOS, can you repro the issue there as well?

Thanks Youenn. I can confirm that https://webrtc.github.io/samples/src/content/peerconnection/audio/ is working as expected for me on the same device that exhibits problems with my source. Unfortunately I am not equipped to test MAcOS.

I will set up a test case with my problem source (wowza streaming engine) and send info to you offlist a bit later today.