Circle V2 API Docs
    Preparing search index...
    type AudioMixer = {
        cleanup: () => void;
        removeInput: (name: string) => void;
        setInput: (name: string, stream: MediaStream) => void;
        stream: MediaStream;
    }
    Index

    Properties

    cleanup: () => void

    Disconnect all inputs, stop the output track, and close the AudioContext.

    removeInput: (name: string) => void

    Disconnect and forget a named input.

    setInput: (name: string, stream: MediaStream) => void

    Add or replace a named input. Disconnects any prior input under that name.

    stream: MediaStream

    Stable output stream. Its identity never changes as inputs are added, swapped, or removed, so a MediaRecorder can record it across mic-device switches without re-acquiring or restarting.