forked from node-webrtc/node-webrtc
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
I am trying to create a stereo audio source in the following way:
const { nonstandard } = require("@roamhq/wrtc");
const { RTCAudioSource } = nonstandard;
// WebRTC audio source (ONE per binaural engine)
const audioSource = new RTCAudioSource({ channels: 2 });
const audioTrack = audioSource.createTrack();
console.log("[webrtc] track settings:", audioTrack.getSettings());
However, the channel setting always indicates 1. Is there a way to get a stereo audio source?
Metadata
Metadata
Assignees
Labels
No labels