@twilio/video-node-sdk - v1.0.0-beta.2
    Preparing search index...

    Interface RawAudioSourceOptions

    Raw-frame source configuration for a LocalAudioTrack.

    interface RawAudioSourceOptions {
        channels: 1;
        format: "PCM_S16LE";
        maxQueue?: number;
        sampleRate: 48000;
        type: "raw";
    }
    Index
    channels: 1

    Always 1.

    format: "PCM_S16LE"

    Always 'PCM_S16LE'.

    maxQueue?: number

    Publish queue bound, in 10 ms chunks. Defaults to 50 (~500 ms).

    A LocalAudioTrack.write is accepted only if it fits whole within this bound; otherwise nothing is buffered and write() returns false. A single write() larger than the bound can never fit and is always rejected, so size this to the largest burst you intend to publish.

    The publish queue lives in the process-wide audio device shared by every local audio track, so this setting is not per-track: the most recent value passed to any createLocalAudioTrack applies to all of them.

    sampleRate: 48000

    Always 48000. WebRTC audio is 48 kHz internally.

    type: "raw"

    Always 'raw'.