Bug 228935 - PCMU/PCMA audio fails to play
Summary: PCMU/PCMA audio fails to play
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 14
Hardware: iPhone / iPad iOS 14
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-08-09 17:35 PDT by Jay Charles
Modified: 2021-08-10 06:47 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.