WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
198284
Web Audio fed into local <video> via MediaStreamAudioDestinationNode does not play on Mac
https://bugs.webkit.org/show_bug.cgi?id=198284
Summary
Web Audio fed into local <video> via MediaStreamAudioDestinationNode does not...
Brooke Vibber
Reported
2019-05-28 00:17:25 PDT
Web Audio such as an oscillator or script processor node piped into a local <video> through MediaStraemAudioDestinationNode doesn't play in Safari on Mac, but does work on iOS and the iOS Simulator. Tested Safari 12.1.1 and Technology Preview on macOS 10.14 and 10.13 (no audio), while it works on iOS 12.4.1 and the iOS 12.2 Simulator tested locally. Test case:
https://jsfiddle.net/0uLg4j3w/
---------- <div> <button id=start>Start</button> <div> <video id=sink playsinline controls width=320 height=240></video> </div> ---------- start.addEventListener('click', function() { start.disabled = true; var context = new (window.AudioContext || window.webkitAudioContext)(); var dest = context.createMediaStreamDestination(); var src = context.createOscillator(); src.connect(dest); src.start(); sink.srcObject = dest.stream; sink.play(); }); ---------- Expected results: tone plays Actual results: no tone plays
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-05-30 22:19:57 PDT
<
rdar://problem/51290997
>
tobor68
Comment 2
2020-05-29 11:12:08 PDT
I've found this behaviour in iTunes 12.9.5 while playing local media as well as streaming iTunes extras, and webkit based browsers to bluetooth speakers.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug