Member Junction
    Preparing search index...
    • Pure mapping of one @zoom/rtms audio callback invocation to the bridge's diarized ZoomAudioFrame ({ Pcm, ParticipantId, DisplayName?, TimestampMs? }). Isolated from the SDK and from I/O so it is unit-tested directly. Handles both documented callback arities and both payload types.

      Parameters

      • data: ArrayBuffer | Uint8Array<ArrayBufferLike>

        The RTMS audio bytes (PCM — VERIFY the codec/sample-rate the deployment requests; the bridge forwards raw bytes regardless).

      • OptionalsizeOrTimestamp: number

        Either the byte size (4-arg form) or the timestamp (3-arg form).

      • OptionaltimestampOrMetadata: number | RtmsMediaMetadata

        Either the timestamp (4-arg form) or the metadata (3-arg form).

      • Optionalmetadata: RtmsMediaMetadata

        The metadata (4-arg form), carrying the diarization label.

      Returns ZoomAudioFrame

      The diarized inbound audio frame.