@zoom/rtms
    Preparing search index...

    Function onTranscriptData

    • Sets a callback for receiving transcript data on the global client

      This function is part of the singleton API. The callback is triggered when transcript data is received from the meeting.

      Parameters

      Returns boolean

      true if the callback was set successfully

      rtms.onTranscriptData((buffer, size, timestamp, metadata) => {
      // Convert buffer to string (assuming UTF-8 encoding)
      const text = buffer.toString('utf8');
      console.log(`Transcript from ${metadata.userName}: ${text}`);
      });