Bug 253220 - AudioWorklet example doesn't work in Chrome/iOS
Summary: AudioWorklet example doesn't work in Chrome/iOS
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Audio (show other bugs)
Version: WebKit Local Build
Hardware: iPhone / iPad iOS 16
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-01 20:53 PST by Jiwon Jung
Modified: 2023-03-02 06:48 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiwon Jung 2023-03-01 20:53:59 PST
Steps to reproduce the problem:
1. Visit AudioWorklet tutorial webpage provided by gooogle (https://googlechromelabs.github.io/web-audio-samples/audio-worklet/basic/hello-audio-worklet/)
2. Press the start button to play simple oscillator.
3. Hear nothing with/without earphone on iphone X with unmuted state.

I'm trying to test AudioWorklet API with iOS Chrome, but couldn't get any sound with given example on web. I tested the above webpage for example because it's provided by google chrome labs and they may have some kind of authority.

Tested with Chrome on MacOS, Windows, and Andorid. Couldn't reproduce the same problem.

Chrome version: 110.0.5481.83 Channel: Stable
Webkit version: 605.1.15 
OS:iOS
Comment 1 Chris Dumez 2023-03-01 22:53:58 PST
Works for me on iOS 16.4 beta with Safari.
Comment 2 Jiwon Jung 2023-03-02 02:25:46 PST
That's weird. I've tested with my iPhone X with iOS 16.3 again, and couldn't hear any sound from Chrome and Safari.

@Chris, would you share more detail environment in which you could hear the sound with given tutorial?
Comment 3 Chris Dumez 2023-03-02 06:48:41 PST
(In reply to Jiwon Jung from comment #2)
> That's weird. I've tested with my iPhone X with iOS 16.3 again, and couldn't
> hear any sound from Chrome and Safari.
> 
> @Chris, would you share more detail environment in which you could hear the
> sound with given tutorial?

I used an iPhone 14 running iOS 16.4 beta (more recent than yours so likely the difference?). You also need to make sure the iPhone is not on silence/vibrate.