Bug 173863

Summary: Sound from createMediaStreamDestination cannot be heard from audio element
Product: WebKit Reporter: Andrew Morris <andrew>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: eric.carlson, jer.noble, sebastian.brud, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Andrew Morris
Reported 2017-06-26 22:07:47 PDT
Using audioContext.createMediaStreamDestination(), when the stream is used as the .srcObject of an audio element, the audio should play in the speakers, but it doesn't. This is even though .play() succeeds. jsbin: https://output.jsbin.com/xefarim This jsbin also works in Firefox, where it demonstrates the expected behaviour.
Attachments
Radar WebKit Bug Importer
Comment 1 2017-06-27 11:58:13 PDT
Seba
Comment 2 2025-02-17 10:20:32 PST
Seems like the code does not call `audioContext.resume()` at the right moment (or the browser fails to record that fact). Might no longer be an issue (checked in Google Chrome and Safari 18.3)
Note You need to log in before you can comment on or make changes to this bug.