@zoom/rtms
    Preparing search index...

    Type Alias AudioDataCallback

    AudioDataCallback: (
        buffer: Buffer,
        size: number,
        timestamp: number,
        metadata: Metadata,
    ) => void

    Callback function for receiving audio data

    Type declaration

      • (buffer: Buffer, size: number, timestamp: number, metadata: Metadata): void
      • Parameters

        • buffer: Buffer

          The raw audio data buffer

        • size: number

          The size of the audio data in bytes

        • timestamp: number

          The timestamp of the audio data

        • metadata: Metadata

          Metadata about the participant who sent the audio

        Returns void