Skip to content

ZoomRtmsInputConfig

Configuration options for the ZoomRtmsInput provider.

Defined in: src/providers/io/zoom/ZoomRtmsInput.ts:170

Configuration options for the ZoomRtmsInput provider.

Remarks

clientId and clientSecret are the credentials of the Zoom app that has RTMS enabled. They are used to compute the handshake HMAC signature, so this provider must only run server-side — never expose the client secret to a browser.

Session parameters (meetingUuid, rtmsStreamId, serverUrl) may be provided here when known ahead of time, or per-call via connect() — the usual pattern, since they arrive with each meeting.rtms_started webhook.

Example

const config: ZoomRtmsInputConfig = {
  clientId: process.env.ZOOM_CLIENT_ID!,
  clientSecret: process.env.ZOOM_CLIENT_SECRET!,
  sampleRate: 16000,
  dataOpt: 'mixed',
};

See

ZoomRtmsInput for the provider class

Properties

PropertyTypeDefault valueDescriptionDefined in
clientIdstringundefinedZoom app client ID (used in the HMAC signature message).src/providers/io/zoom/ZoomRtmsInput.ts:172
clientSecretstringundefinedZoom app client secret (HMAC signing key). Remarks Server-side only. The signature is hex(HMAC-SHA256("clientId,meetingUuid,rtmsStreamId", clientSecret)).src/providers/io/zoom/ZoomRtmsInput.ts:180
connectionTimeout?number10000Timeout in milliseconds for each connection/handshake step.src/providers/io/zoom/ZoomRtmsInput.ts:204
dataOpt?ZoomRtmsDataOption'mixed'Stream layout: one mixed stream or one stream per participant.src/providers/io/zoom/ZoomRtmsInput.ts:198
debug?booleanfalseEnable diagnostic logging.src/providers/io/zoom/ZoomRtmsInput.ts:210
meetingUuid?stringundefinedMeeting UUID, if known up-front. Usually supplied via connect().src/providers/io/zoom/ZoomRtmsInput.ts:182
rtmsStreamId?stringundefinedRTMS stream ID, if known up-front. Usually supplied via connect().src/providers/io/zoom/ZoomRtmsInput.ts:184
sampleRate?ZoomRtmsSampleRate16000Audio sample rate to request from RTMS.src/providers/io/zoom/ZoomRtmsInput.ts:192
serverUrl?stringundefinedSignaling server URL, if known up-front. Usually supplied via connect().src/providers/io/zoom/ZoomRtmsInput.ts:186

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency