Bug 255015 - [iOS 14.x & 15.x] WebRTC not autoplay audio when block microphone
Summary: [iOS 14.x & 15.x] WebRTC not autoplay audio when block microphone
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-04 19:48 PDT by PhungDuong
Modified: 2023-12-06 02:55 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PhungDuong 2023-04-04 19:48:54 PDT
We found issues when making WebRTC calls with the blocked microphone.
Steps below:
1. Block the microphone. (camera optional)
2. Join WebRTC calls
3. Check the output audio

Actual:
14.x: No output audio (frequency: 6/10)
15.x: No output audio (frequency: 10/10)
16.x: Normal output audio.

Please let us know if this bug is known and fixed in iOS 16.x ?
Thanks.
Comment 1 Radar WebKit Bug Importer 2023-04-11 19:49:16 PDT
<rdar://problem/107916381>
Comment 2 youenn fablet 2023-05-02 07:18:43 PDT
This is expected.
Autoplay does not kick in by default if microphone or camera are not in use.
Instead, the page should start playing media based on a user click.
Note that the user click may happen largely before audio is being received, playing media element at this time will remove the autoplay restriction anyway even if there is no audio to be played.
Comment 3 thanquan 2023-12-06 02:55:19 PST
Same issue for Chrome on Ios 17.1.2.

User click BEFORE WebRtc connection does not work, user click after WebRTC connection is ok