Skip to content

Stereo audio source #47

@RichardFoss

Description

@RichardFoss

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

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions