Bug 253220
| Summary: | AudioWorklet example doesn't work in Chrome/iOS | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jiwon Jung <akawarren> |
| Component: | Web Audio | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | cdumez |
| Priority: | P2 | ||
| Version: | WebKit Local Build | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 16 | ||
Jiwon Jung
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Works for me on iOS 16.4 beta with Safari.
Jiwon Jung
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?
Chris Dumez
(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.