[Webkit-unassigned] [Bug 230902] REGRESSION(Safari 15 - iOS15): [WebRTC] MediaStreamTack audio volume too low

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 13 18:42:36 PDT 2021


--- Comment #18 from neo <neo.jung at minischool.co.kr> ---
(In reply to Phong Le from comment #16)
> Could you guide about how to use AudioContext to play this remote stream? I
> researched and when using AudioContext to play, we must attach with an audio
> element. Thanks

i tested iOS 15. (wkWebview)

// audio stream example
 function connectToSpeaker(remoteAudioStream: MediaStream, gain: number) {
    const context: AudioContext = window.AudioContext || window.webkitAudioContext;
    const audioNode = context.createMediaStreamSource(remoteAudioStream);
    const gainNode: GainNode = context.createGain();
    // some device volume too low ex) iPad
    gainNode.gain.value = gain;

and i'm not append video(with audio) element to document body. 
i use canvas.

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/20211014/0a0282e5/attachment.htm>

More information about the webkit-unassigned mailing list