@livekit/rtc-node
    Preparing search index...

    Function combineAudioFrames

    • Combines one or more rtc.AudioFrame objects into a single rtc.AudioFrame.

      This function concatenates the audio data from multiple frames, ensuring that all frames have the same sample rate and number of channels. It efficiently merges the data by preallocating the necessary memory and copying the frame data without unnecessary reallocations.

      Parameters

      Returns AudioFrame