[Webkit-unassigned] [Bug 176282] autoplay hidden video element with MediaStream src that has audio track

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 6 08:00:38 PDT 2018


--- Comment #12 from youenn fablet <youennf at gmail.com> ---
(In reply to Ben from comment #11)
> @Youenn, can you please help?
> How can I play multiple webrtc audio streams in Safari?

@Ben, could you try any of the following approaches:

// srcObject
mediaElement.srcObject = new MediaStream([mediaStream1.getAudioTracks()[0], mediaStream1.getAudioTracks()[1]]);

// Web Audio
let audioContext = new webkitAudioContext();

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180606/27920bfb/attachment-0001.html>

More information about the webkit-unassigned mailing list