frame-msg
    Preparing search index...

    Interface RxAudioOptions

    Configuration options for the RxAudio class.

    interface RxAudioOptions {
        bitDepth?: RxAudioBitDepth;
        finalChunkMsgCode?: number;
        nonFinalChunkMsgCode?: number;
        sampleRate?: RxAudioSampleRate;
        streaming?: boolean;
    }
    Index

    Properties

    bitDepth?: RxAudioBitDepth

    Optional audio bit depth. Defaults to 8 bits.

    finalChunkMsgCode?: number

    Optional msgCode indicating the final audio chunk. Defaults to 0x06.

    nonFinalChunkMsgCode?: number

    Optional msgCode indicating a non-final audio chunk. Defaults to 0x05.

    sampleRate?: RxAudioSampleRate

    Optional audio sample rate. Defaults to 8000 Hz.

    streaming?: boolean

    Optional msgCode to enable streaming mode. Defaults to false (clip mode).