How to migrate a Zoom meeting bot to RTMS

Replace your Meeting SDK bot with Zoom RTMS for native transcript, audio, and video access. No participant tile, no waiting room friction, same data.

Updated November 2026

RTMS, Zoom Apps, Meeting SDK

Requires Zoom Developer Pack credits for RTMS.

Node · Express · React · MySQL

This guide takes a product built on a meeting bot through the switch to Realtime Media Streams (RTMS) and the Zoom Apps SDK, stage by stage: what to scope, how authorization and permissions work, how streams start and stop, what to rebuild, and how to roll out to customers.

RTMS replaces the bot's media capture. Your server receives audio, video, transcripts, and chat over a WebSocket, and nothing joins the meeting. The Zoom Apps SDK replaces what the bot did in the meeting: notices, status, and controls in a side panel.

What you'll need:

  • A product that sends a Meeting SDK bot into meetings (or an understanding of how one works)
  • Media access via RTMS  (requires Zoom Developer Pack  credits; free trial credits are available)
  • A user-managed Zoom General App  with RTMS scopes and event subscriptions
  • A backend with a public HTTPS webhook endpoint that can hold WebSocket connections
  • A Zoom Surface App  for in-meeting notices and controls (any Zoom account; starting RTMS from the app needs Zoom desktop client 6.5.5 or later)

Features

This guide covers the switch in the order you will meet it:

  • Joining versus connecting: How sending a bot into a meeting differs from connecting to a stream over a WebSocket
  • Capability mapping: What your bot does today, and how RTMS and the Zoom Apps SDK do it
  • Scoping: An inventory of your bot's behavior and the user journeys to plan for
  • App and authorization: What to change in your Marketplace app, reauthorization, and app review
  • Permissions: Which settings the admin, the app user, and the meeting host each control
  • Start paths: Auto-start, the Zoom Apps SDK, and the REST API
  • Connection: The webhook handler, the WebSocket connection, and the media you receive
  • Lifecycle: What keeps a stream running, what stops it, and how to reconnect
  • Product logic: Deduplication, identity, session data, and the states you show your users
  • In-meeting experience: Notices, controls, guest mode, and chat with a Surface App
  • Failure modes: How to detect that media access has not started or has stopped
  • Rollout: Moving customers over in cohorts and retiring the bot

The reference implementation is Arlo , a meeting assistant that uses RTMS and a Surface App together.

If you're building a new meeting integration from scratch, start with the AI Meeting Notetaker blueprint instead. This guide is for teams moving an existing bot.

Don't want to build? Recall.ai  is an RTMS Preferred Partner and offers managed RTMS infrastructure: it handles the WebSocket connections and media processing, and you receive structured data through its API. Attendee  and MeetStream  also provide RTMS support.

Follow along as we walk through the architecture and then each stage of the switch.

Architecture

A bot and an RTMS app get the same meeting media in different ways. A bot is a participant: your code joins the meeting. An RTMS app is a connection: Zoom tells your server that a stream has started, and your server connects to it.

Joining a meeting and connecting to a stream

Meeting botRTMS and the Zoom Apps SDK
What it isA headless Meeting SDK client that joins as a participantAn app that a user has authorized. Zoom streams meeting content to your server over WebSocket connections
Whose identityThe bot's own name in the rosterThe app user's. The app acts for a Zoom user who is in the meeting or owns it
How it gets inYour code joins with the meeting number, passcode, and a tokenNothing joins. The stream starts with the app user: auto-start, a button in your Surface App, or a REST API request
Who says yesThe host admits the botThe admin enables the app, the app user chooses which meetings it starts in, and the host allows it once or sets it to always allow
What participants seeAn extra participantNo participant. Zoom shows "The content of this meeting is being sent to one or more apps." and lists the app and the person using it
What you runOne client process for every meetingA webhook endpoint and WebSocket connections
How you learn it workedYour join call returns and SDK callbacks fireZoom sends the meeting.rtms_started webhook
In-meeting featuresThe bot speaks, chats, and reacts as a participantA Surface App in a side panel shows status, notices, and controls

A bot that joins meetings outside your own account uses an On Behalf Of (OBF) token. The user authorizes your Marketplace app, your app requests that user's OBF token, and the bot can join only once that user is in the meeting and has to leave when they leave. See Join external meetings as a bot (OBF) . So a bot already depends on the same two things RTMS does, user authorization and user presence, and it still adds a participant to the meeting.

Bot architecture (before)

Your bot runs as a headless participant. It joins through the Meeting SDK and captures media through SDK callbacks. A scheduler decides which meetings to join, and one bot process stays connected for the length of each meeting.

flowchart TB
    subgraph "Your Infrastructure"
        C[Calendar sync and scheduler]
        B[Bot process, one per meeting]
        S[Your Server]
    end
    C -->|Dispatch| B
    B -->|Joins as a participant| Z[Zoom Meeting]
    Z -->|Audio and video callbacks| B
    B -->|Processed data| S
    S --> D[(Database)]

Characteristics:

  • The bot appears as a participant (visible in the roster)
  • Compute is needed for every concurrent meeting
  • Your code handles the SDK lifecycle (join, reconnect, leave)
  • The host may need to admit the bot from the waiting room

RTMS and Zoom Apps SDK architecture (after)

Zoom sends a webhook when a stream starts. Your server opens a signaling connection, then a media connection for each type of media, and data flows without a participant joining. The Surface App runs inside the Zoom client for the app user and talks to your backend.

flowchart TB
    subgraph "Zoom"
        Z[Zoom Meeting]
        A[Surface App in the side panel]
    end
    subgraph "Your Infrastructure"
        W[Webhook Endpoint]
        R[RTMS Client]
        S[Your Server]
    end
    Z -->|1. meeting.rtms_started| W
    W -->|2. Start a session| R
    R -->|3. Signaling and media WebSockets| Z
    R -->|4. Processed data| S
    S --> D[(Database)]
    S -->|5. Status and results| A
    A -->|startRTMS, pauseRTMS, stopRTMS| Z

Characteristics:

  • No participant tile. The app is listed in Zoom's notice and in the Apps panel
  • Zoom starts the exchange with a webhook; your server never joins
  • One signaling connection and one or more media connections for each stream
  • The user installs the app once, and it can start in their meetings from then on

From bot to RTMS and the Zoom Apps SDK

RTMS is one half of the replacement. RTMS captures the media. The Zoom Apps SDK  gives you the in-meeting experience: a Surface App in a side panel for status, notices, and controls. Together they do what a bot does without putting a participant in the meeting. Arlo  uses both.

If your bot does thisDo this instead
Receives meeting audioRTMS audio, merged or one stream for each participant
Receives videoRTMS video of the active speaker, of one chosen participant , or of several participants  on separate connections
Runs its own speech-to-textRTMS transcripts, produced by Zoom with speaker attribution
Captures screen shareRTMS screen share, as its own stream
Reads meeting chatRTMS chat, which delivers messages sent to everyone
Tracks who joins and leavesRTMS participant events on the signaling connection
Shows up in the roster so people know it is thereNo participant. Zoom tells everyone that an app is accessing content and lists the app; your Surface App adds your own notice
Posts messages in meeting chatThe REST API when the meeting uses Continuous Meeting Chat, or the Zoom Apps SDK from your Surface App (see Stage 8)
Gives users start, stop, and pause commandsZoom Apps SDK startRTMS, stopRTMS, pauseRTMS, and resumeRTMS from buttons in your Surface App, or the REST API from your own product
Shows status or a notice to everyoneA Surface App, with guest mode so every participant can open it
Joins from a calendar entryAuto-start. The app starts when its user's meeting starts or when its user joins, including meetings that are not on a calendar
Runs a bot process for every meetingNo per-meeting process. Your backend holds WebSocket connections
Needs the host to admit it from the waiting roomNothing joins. The host allows the app once, or sets it to always allow

RTMS receives media. Anything your bot did to the meeting, or showed to the people in it, moves to the Surface App or the REST API.

Implementation Guide

The guide follows the switch from first scoping to retiring the bot. Stages 1 to 4 are mostly product and configuration decisions. Stages 5 to 9 are engineering work. Stage 10 is the rollout. For complete code, see the Arlo reference implementation .

Stage 1: Scope the switch

Inventory what your bot does

List every behavior your product relies on, then map each one with the table in From bot to RTMS and the Zoom Apps SDK. Questions to answer:

  • Media: Which of audio, video, screen share, transcript, and chat do you consume? Do you need audio for each participant or the merged audio?
  • Dispatch: What decides that the bot joins a meeting today? Calendar rules, a button, an API call from another product?
  • Presence: Who relies on seeing the bot in the roster, and what does its name tell them?
  • In-meeting actions: Does the bot post to chat, or respond to commands?
  • Users and tenants: Which Zoom user does each bot session belong to in your data model?
  • Customers: Which customers install per user, and which expect an admin to deploy for a group or the whole account?

Plan for each user journey

A bot joins any meeting it has a link for. An RTMS app starts with its user, so each journey depends on who owns the meeting and what the host allows. Plan and test each of these.

JourneyWith a botWith RTMS and the Zoom Apps SDK
The user installs your productConnects a calendar; the bot starts joiningAuthorizes your app and chooses which meetings it auto-starts in. You set the default choice shown at install
An admin rolls out to a teamPer-user setup in your productThe admin adds the app for users or groups and sets auto-start and participant permissions for them
The user hosts their own meetingBot joins from the calendarWith auto-start on Meetings users own, the app starts when the meeting starts. The host is not asked
The user attends a meeting a colleague hostsBot joins; the host admits itAuto-start sends a request to the host. If the host or their admin set the app to Always allow for internal participants, it starts when the user joins and the host does not need to be in the meeting
The user attends a meeting another company hostsBot joins with the link; the host admits itSame request flow. The other company's host or admin decides, with a separate setting for external participants
A meeting that is not on the calendarUsually missedAuto-start triggers when the user joins
The user starts it by hand mid-meeting"Add the bot" link or buttonA button in your Surface App calls startRTMS, or your product calls the REST API
The meeting owner leaves earlyBot staysThe owner transfers host and their app keeps running. Any host can manage it
An app user who does not own the meeting leavesBot staysThat user's stream stops (stop_reason 3)
The meeting owner cannot attendBot attends aloneAn app used by the meeting's owner can start with the meeting and run without the owner present
Two attendees both use your productYou send one botEach of them can start a stream. Your backend picks one (see Stage 7)
The host pauses or stops accessHost removes the botThe host or the app user pauses or stops the app in Zoom's controls. Your app sees the state change
A webinarBot joins as an attendee or panelistThe same flow with the webinar.rtms_started and webinar.rtms_stopped events

What your team retires and builds

RetireBuild
Join scheduler and calendar-driven dispatchWebhook endpoint with signature validation
Headless Meeting SDK clients and their autoscalingRTMS client that holds signaling and media connections
Waiting room and passcode handling, join retriesReconnection handling and keep-alive responses
Bot display name and avatarSurface App for notices, status, and controls
"Bot is joining" states in your productStream states: requested, waiting for the host, streaming, paused, stopped
One bot per meeting by constructionDeduplication when several users start a stream in one meeting

Keep your calendar integration if you have one. It no longer dispatches anything, but it still tells you which meetings to expect and gives each one context such as the title and attendees.

Stage 2: Update your app and authorization

You can add RTMS to the Marketplace app your users already authorize, or create a new General App. Either way:

  • User-managed app: RTMS apps must be user-managed to add the RTMS events and scopes. An admin can still add a user-managed app for many users and groups (see Enterprise deployment).
  • Granular scopes: RTMS scopes need granular scopes . New apps have them by default. An older app may need them enabled before the RTMS scopes appear.
  • Media scopes: Add one scope for each kind of media you receive. RTMS scopes cannot be marked optional, and they are shown to hosts and participants in the meeting, so add only what your product uses.
  • Event subscriptions: Subscribe to the RTMS events listed under Event subscriptions. Allow 1 to 2 minutes for a change to take effect before you test.
  • Surface: Turn on the Zoom App SDK for Meetings and Webinars and add the RTMS APIs your Surface App calls.

See Adding Realtime Media Streams to your app  for the steps.

Reauthorization for existing users

Adding scopes to a published app changes what your users agreed to. Per Updating an app :

  • The update goes through a functional review and a security review, and you provide a test plan for each new scope.
  • Once the update is approved, users reauthorize the app. Existing users can keep using their current authorization for 90 days. After that, refresh tokens for the old scopes expire.
  • Use the Release Notes for User field to explain what is changing and why.

Plan the prompts in your own product around that window: tell users before the update ships, prompt them in the product after it does, and track who has reauthorized.

App review and testing outside your account

An app must pass App Review  before anyone outside your Zoom account can add it, whether or not you list it on the Marketplace. Reviewers authorize the app from a test account, check each RTMS feature, and confirm that each declared scope is used. Give them clear instructions for triggering RTMS.

  • Submit early. Review time is outside your control, and every later stage that involves a customer depends on it.
  • Test from a second account before review completes. A beta app  can be shared with a limited number of users outside your account through an authorization URL, once Zoom approves the request. This is how you test meetings hosted on another account.
  • Regenerate the authorization URL after you change scopes on a beta app, and send testers the new one. See Regenerating authorization URLs .

Stage 3: Understand who controls access

A bot needs one decision: the host admits it. An RTMS app needs several settings to line up, and different people own them. Most "it did not start" reports trace back to one of these.

LayerWho sets itWhere
RTMS is on for the account, group, or userAccount adminZoom web portal > Account Settings > Zoom Apps > Share realtime meeting content with apps
Your app is added for the userThe user, or an admin for users and groupsYour install link, or Marketplace > Manage > Apps on account
Where the app auto-startsAdmin, or the app user for their own meetingsApps that access content in meetings, or the options shown when the app is installed
Whether hosts are askedMeeting owner or their adminAlways ask or Always allow, set separately for internal and external participants
Access in this meetingThe hostHost tools > Share realtime meeting content with apps, and the request prompt
Credits and stream limitYouA Developer Pack subscription on your account

Auto-start choices

For each app, the admin or the app user chooses where it starts:

  • Meetings users own: the app starts in every meeting its user owns, even when that user is not the current host.
  • Meetings users attend, split into Internally hosted meetings (hosted on the same account) and Externally hosted meetings (hosted on another account).

A sales assistant might start in meetings its user owns and in externally hosted meetings, but not internal ones. A team notetaker might start in internally hosted meetings only. You choose the default that is suggested when someone installs your app.

Always ask and Always allow

In a meeting the app user owns, an app set to auto-start starts with the meeting. In anyone else's meeting, the app's request goes to the host, who chooses Allow or Deny. The host can also choose Always allow in my meetings so the app does not ask again in meetings they host.

Meeting owners and admins can make the same choice ahead of time by setting an app to Always allow, with separate settings for internal and external participants. With Always allow in place, the app starts when the participant joins, and the host does not need to be in the meeting or respond to a prompt.

MeetingWho decidesWith Always askWith Always allow
The app user owns itNo one is askedStarts with the meetingStarts with the meeting
A colleague hosts itThe host, or your customer's admin for the whole accountThe host sees a requestStarts when the app user joins
Another company hosts itThat company's host or adminThe host sees a requestStarts when the app user joins, if that company set it

For internal meetings, one decision by your customer's admin covers every host on the account. For external meetings, the other company controls its own meetings. Describe your product to customers in those terms.

See Host and admin tools and controls  and New RTMS permissions and controls for auto-start .

Stage 4: Start a stream

A bot starts when your code joins. An RTMS stream starts in one of three ways, and all three end the same way: Zoom sends meeting.rtms_started to your webhook.

Start pathTriggered byRequirementsUse it for
Auto-startThe meeting starting, or the app user joiningAuto-start set for that kind of meeting; host permission where the user is not the ownerThe default. Replaces calendar-driven dispatch
Zoom Apps SDK startRTMSA button in your Surface App, or the app openingSurface App with the RTMS APIs added; Zoom desktop client 6.5.5 or laterStarting for one meeting at the user's choice
REST APIYour backendmeeting:update:participant_rtms_app_status scope; the participant is on the meeting's invite list and has already joinedA start button in your own product or another system
---
config:
  sequence:
    width: 110
    actorMargin: 20
---
sequenceDiagram
    participant U as App user's<br/>Zoom client
    participant Z as Zoom
    participant H as Host
    participant S as Your server
    U->>Z: Start request (auto-start,<br/>startRTMS, or REST API)
    alt App user owns the meeting, or the app is set to Always allow
        Z->>S: meeting.rtms_started
    else Host is asked
        Z->>H: Request to share<br/>content with the app
        H->>Z: Allow
        Z->>S: meeting.rtms_started
    end
    S->>Z: Signaling and media connections
    Z->>S: Media

A start request is not a stream. A resolved startRTMS call or a 204 from the REST API means Zoom accepted the request. Media is available only after meeting.rtms_started arrives and your server completes the handshakes. If the host is asked and does not answer, no webhook arrives.

Start from your Surface App

import zoomSdk from '@zoom/appssdk';

async function startFromPanel() {
  try {
    const { runningContext } = await zoomSdk.config({
      capabilities: ['startRTMS', 'stopRTMS', 'pauseRTMS', 'resumeRTMS'],
    });
    if (runningContext === 'inMeeting') {
      await zoomSdk.callZoomApi('startRTMS');
    }
  } catch (err) {
    // Show the app user that the request did not go through
    showStartError(err);
  }
}

Start from your backend

Use Update participant RTMS app status  with the app user's access token. The same endpoint takes stop, pause, and resume.

async function requestRtmsStart(meetingId, userAccessToken) {
  const res = await fetch(
    `https://api.zoom.us/v2/live_meetings/${encodeURIComponent(meetingId)}/rtms_app/status`,
    {
      method: 'PATCH',
      headers: {
        Authorization: `Bearer ${userAccessToken}`,
        'Content-Type': 'application/json',
      },
      body: JSON.stringify({
        action: 'start',
        settings: { client_id: process.env.ZOOM_CLIENT_ID },
      }),
    }
  );

  if (res.status === 204) return { requested: true };

  // Zoom returns a numeric error code that says why the request was refused
  const { code } = await res.json().catch(() => ({}));
  return { requested: false, status: res.status, code };
}
ResponseMeaningWhat to do
204The request was acceptedWait for meeting.rtms_started
3000The meeting has not startedTry again once the meeting is live
2308The user is not allowed to start the app. They are not the host or an alternative host, or they joined from a shared link and are not on the invite listFor meetings hosted elsewhere, make sure the app user is on the invitation
2310The operation failed. Common causes are no active Developer Pack subscription or a Basic accountCheck the subscription and plan
13262The app is not authorized to access meeting content on this accountAn admin adds the app under Apps that access content in meetings
13267RTMS is turned offAn admin turns on Share realtime meeting content with apps
13273The meeting does not support RTMS appsDo not retry
13277stop, pause, or resume was sent for an app that has not startedStart first
429Rate limitedRetry with backoff

Read the request status

Subscribe to rtms.request_status. It tells you why a request did not turn into a stream.

statusMeaningWhat to do
1The request is deniedTell the app user. Do not retry on your own
2The app owner is not present in the meetingWait for the app user to join
3The host denied this app from startingTell the app user that the host declined
4The app account license has expired, or the feature is disabledAlert your team; check your Developer Pack subscription
5No RTMS concurrency limit is setAlert your team; contact Zoom
6The RTMS server failedSubmit a request for a new stream
7The RTMS server instance is being updated and will rebootRead reboot_in_minutes and expect to reconnect
8The server instance update was canceledCarry on

Stage 5: Receive the webhook and connect

Bot approach (before)

Your bot joins meetings by calling the Meeting SDK with credentials:

// Meeting SDK bot approach
const client = new ZoomMeetingSDK();
await client.join({
  meetingNumber: meetingId,
  userName: 'Notetaker Bot',
  zak: zakToken,
  password: meetingPassword
});

client.on('audio', (buffer) => { /* process audio */ });
client.on('video', (frame) => { /* process video */ });

RTMS approach (after)

With RTMS, Zoom calls you. Set up a webhook endpoint to receive meeting.rtms_started:

Input: meeting.rtms_started webhook payload (meeting_uuid, meeting_id, rtms_stream_id, server_urls, operator_id, account_id, is_original_host)

Output: Validated webhook, RTMS session initiated

Invariants:

  • Verify webhook signature using HMAC-SHA256 with timing-safe comparison
  • Enforce 5-minute replay window on timestamp
  • Respond with 200 OK within 3 seconds (process asynchronously)
  • Track streams by rtms_stream_id (not meeting_uuid), and never open a second session for a stream you already have
  • Store the payload. It is the only source of the values you need to connect and reconnect
// Webhook signature verification (security-critical, keep concrete)
function verifyWebhookSignature(rawBody, timestamp, signature, secret) {
  const now = Math.floor(Date.now() / 1000);
  if (Math.abs(now - parseInt(timestamp, 10)) > 300) return false;

  const message = `v0:${timestamp}:${rawBody.toString('utf8')}`;
  const expected = 'v0=' + crypto
    .createHmac('sha256', secret)
    .update(message)
    .digest('hex');

  // timingSafeEqual throws if the buffers differ in length, so check first.
  const received = Buffer.from(String(signature));
  const computed = Buffer.from(expected);
  if (received.length !== computed.length) return false;
  return crypto.timingSafeEqual(received, computed);
}

Other languages: In Python, use hmac.compare_digest; in Go, use crypto/subtle.ConstantTimeCompare.

See Arlo's webhook handler  for the complete implementation.

Connect to the stream

After validating the webhook, connect to the RTMS stream using the provided server_urls. Your server opens a signaling connection first, then a media connection for each type of media, and sends a ready message before data flows. The @zoom/rtms SDK does this for you. Working with streams  describes each step if you implement the protocol yourself.

Input: server_urls, rtms_stream_id, meeting_uuid from webhook payload

Output: Active WebSocket connection receiving media frames

Invariants:

  • Use the @zoom/rtms SDK for Node.js or Python (or implement the WebSocket protocol directly for other languages)
  • Register all media handlers before calling join()
  • Clean up when the meeting.rtms_stopped webhook arrives
  • Track connection state per rtms_stream_id
  • If a connection drops mid-meeting, reconnect as described in Reconnection; do not wait for a new webhook
// RTMS connection pattern
const rtms = require('@zoom/rtms').default;

function connectToStream(payload) {
  // payload is the meeting.rtms_started webhook payload
  const client = new rtms.Client();

  // Register handlers BEFORE joining
  client.onTranscriptData((data, size, timestamp, metadata) => {
    // data: transcript text as a Buffer; metadata: { userId, userName }
    processTranscript({ text: data.toString('utf8'), timestamp, ...metadata });
  });

  client.onAudioData((data, size, timestamp, metadata) => {
    // L16 PCM audio data
    processAudio(data);
  });

  client.join(payload);
}

Other languages: The @zoom/rtms SDK supports Node.js and Python (pip install rtms). For Go or other stacks, implement the WebSocket protocol  directly.

What you receive

Your app receives the media its scopes allow and its handshake asks for. See Handling media data .

MediaWhat RTMS deliversNotes for a bot pipeline
AudioMerged audio, or one stream for each participant with user_id and user_nameL16 PCM at 48 kHz mono by default; 8, 16, 32, or 48 kHz (see the RTMS data types ). Zoom buffers up to 60 seconds of audio while you connect. No packets arrive for a muted participant
VideoThe active speaker by default, one participant you choose, or several participants on separate connectionsJPG at 5 fps or less, H.264 above that up to 30 fps. Several participants at once needs protocol version 2 and has to be enabled for your account. Video is not buffered
Screen shareA separate stream of the participant who is sharingCombine with audio and video by timestamp
TranscriptText for each participant with speaker attribution and detected languageReplaces your own speech-to-text if Zoom's transcript meets your needs. Request audio as well if you run your own
ChatMessages sent to everyone, with edits, deletes, and reactions keyed by message_idPrivate messages are not delivered. Delivery is best effort
Participant eventsJoin, leave, and active speaker changes on the signaling connectionKey participants on user_id, not on display name

Media arrives over WebSocket connections by default. With protocol version 2, data connections can also use SRT (see Connecting over SRT ).

Stage 6: Keep the stream running

Meeting SDK bots control their own lifecycle. RTMS streams are controlled by users and hosts. This is the most significant behavioral change in the migration.

Stream start conditions

RTMS starts when ALL conditions are met:

  • The meeting host's organization has RTMS enabled at the account level
  • The app is installed for the user (app owner)
  • Account/group/user policy allows RTMS
  • The host approves, or the app is set to Always allow, or the app user owns the meeting
  • At least one app owner is in the meeting, or the meeting's owner uses the app with auto-start
  • For in-meeting start through the Zoom Apps SDK, the Zoom desktop client is version 6.5.5 or later

Stream persistence

EventBot BehaviorRTMS Behavior
Meeting owner leaves and transfers hostBot staysThe owner's app keeps running. Controls pass to the new host, and your app can still manage the stream through the REST API with the owner's access token
App user who is not the meeting owner leavesN/AStream stops (stop_reason 3)
Host stops the streamHost removes the botStream stops (stop_reason 1); a new request is allowed
Host disables the app, or all appsBot unaffectedStream stops (stop_reason 5 or 9); new rtms_started if re-enabled
Host handoff to org with RTMS disabledBot unaffectedStream stops permanently
App owner moves to breakout roomN/AStream stops; may resume when returning to main room. If the app user owns the meeting, the app keeps running
App user or host pauses the appN/AThe session state changes to PAUSED, then RESUMED. The stream stays open
Network disconnectBot reconnectsYour app reconnects within the window Zoom allows (see Reconnection)

WARNING: A stream belongs to its app user. This is the most common migration surprise. With bots, you control when to leave. With RTMS, when an app user who does not own the meeting leaves, their stream ends even if other participants remain. Plan for this in your product flow.

Stream persistence for long meetings (virtual onsites)

For multi-hour meetings where participants rotate (virtual onsites, all-day workshops, interview panels), you need the stream to persist regardless of who joins or leaves. The key insight:

If the app owner is the meeting's original scheduler AND auto-start is enabled, the RTMS stream persists for the entire meeting lifetime. The scheduler does not need to join or stay in the meeting. An app used by the owner of a meeting can run without that user being present.

This means:

  • Your app must be installed for the meeting scheduler (the person who created the meeting), not just the participants
  • Auto-start for Meetings users own must be on for that user
  • If your calendar sync knows who scheduled the meeting, use that user's context

The is_original_host field in meeting.rtms_started tells you whether the stream belongs to the meeting's original host.

When the scheduler is not your user: If an external party scheduled the meeting (candidate, external recruiter, customer), the stream belongs to a participant who is your user:

  1. Use that participant's stream, and tell them in your Surface App that access ends if they leave
  2. Prompt the external scheduler to install your app (may not be practical)

Keep-alives

Zoom sends a keep-alive request every 10 seconds on a connection with no data flowing, on the signaling connection and on each media connection. If your app misses three in a row, Zoom closes that connection (stop_reason 24). The @zoom/rtms SDK answers them. If you implement the protocol yourself, answer on every connection.

Reconnection

RTMS uses a signaling connection that manages the session and media connections that carry the data. What you reconnect depends on which one dropped. Zoom's Failover and reconnection  guide has the full procedure and sample code.

ScenarioHow you find outWhat to do
RTMS server failuremeeting.rtms_started arrives for an rtms_stream_id you already haveTear down the existing connections and reconnect with the new server_urls. The meeting_uuid and rtms_stream_id stay the same
Signaling connection droppedmeeting.rtms_interrupted webhookReconnect signaling and media. The server waits about 60 seconds
Media connection droppedMEDIA_CONNECTION_INTERRUPTED event on the signaling connectionReconnect the affected media connection. The server waits about 30 seconds
Stream terminatedmeeting.rtms_stopped with a stop_reason of 10 to 19, or 24The reconnection window was missed. Start the RTMS connection process again from the beginning

Retry with exponential backoff, starting at 3 seconds and doubling to a cap of 30 seconds. If the attempts run out, treat the stream as unrecoverable and stop retrying.

Stop reasons

meeting.rtms_stopped carries a stop_reason  that tells you why the stream ended. Store it with the session. The data types page also says, for each value, whether your app may make a new request.

stop_reasonMeaningNew request allowed
1The host stopped the streamYes
2The app user stopped the streamNo
3The app user left the meetingNo
4The host removed the app userNo
5The host disabled the appNo
6The meeting endedNo
7A participant canceled the streamYes
8The stream was revoked. Delete all stored assets immediatelyYes
9The host disabled all appsNo
10 to 19, 24Connection interruptions and timeoutsYes. See Reconnection

Handle stop_reason 8 in your storage layer, not only in your connection code.

Stage 7: Update your product logic

These are the rules inside your product that assumed a bot.

Which meetings to process

A bot product decides which meetings to join. With RTMS, the auto-start settings decide where the app starts, and your product decides what to do with each stream. Map the rules you have today onto the three auto-start choices in Stage 3, and suggest that mapping as your app's default at install. For a stream your own rules exclude, stop it with stopRTMS or the REST API stop action.

Handling multiple users

More than one person in a meeting can start a stream. When several users in the same meeting have your app installed, Zoom may send a meeting.rtms_started webhook for each of them, and your app chooses which to accept. Use meeting_uuid to tell whether you already have a stream running for the meeting:

Invariants:

  • Process only the first webhook per meeting_uuid
  • Ignore subsequent webhooks while a stream is active
  • A meeting.rtms_started with an rtms_stream_id you already have is a server failover, not a second user (see Reconnection)
  • If active stream drops and new webhook arrives, treat as reconnection
  • Track which user's stream you're using; if that user leaves and a new webhook arrives from another user, you can switch
  • Prefer a stream where is_original_host is true. An app used by the meeting's owner keeps running when other participants leave

Decide the product rule as well: whose workspace the result belongs to when two of your users were in the same meeting.

Identity

A bot session belonged to your service. A stream belongs to a Zoom user. operator_id in the webhook is the user who triggered the stream, and account_id is that user's Zoom account. Map both to your own user and tenant records when the webhook arrives, and apply that user's sharing and retention settings to what you produce.

Update your data model

Your existing bot likely tracks sessions by meeting ID and bot instance. RTMS uses different identifiers.

Bot ModelRTMS Model
bot_id (your instance)rtms_stream_id (Zoom-assigned)
meeting_id (numeric)meeting_uuid (string, unique per instance)
participant_id (bot's ID)N/A (no participant)
Bot owner (your service account)operator_id and account_id (the app user)
Bot status (joining, connected, leaving)Stream status (requested, streaming, paused, interrupted, ended)
Leave reasonstop_reason

Schema migration:

-- Add RTMS columns to existing sessions table
ALTER TABLE meeting_sessions ADD COLUMN meeting_uuid VARCHAR(255);
ALTER TABLE meeting_sessions ADD COLUMN rtms_stream_id VARCHAR(255);
ALTER TABLE meeting_sessions ADD COLUMN operator_id VARCHAR(255);
ALTER TABLE meeting_sessions ADD COLUMN stream_status ENUM('requested', 'streaming', 'paused', 'interrupted', 'ended');
ALTER TABLE meeting_sessions ADD COLUMN stop_reason TINYINT;

-- Index for webhook deduplication
CREATE UNIQUE INDEX idx_rtms_stream ON meeting_sessions(rtms_stream_id);

States to show your users

Replace "the bot is joining" and "the bot was removed" with states that match what happens.

StateHow you knowMessage Zoom shows the app user
Requested, waiting for the hostYour start request was accepted and no meeting.rtms_started has arrived"Request sent to the host."
Waiting for the host to joinNo meeting.rtms_started"Request to share content cannot be sent until the host has joined."
Declinedrtms.request_status with status 1 or 3"Request for app to share content denied by host."
Turned off for the meetingmeeting.rtms_stopped with stop_reason 5 or 9 for a running stream"Host disabled your app from sharing content." or "Apps sharing content have been disabled."
Streamingmeeting.rtms_started and completed handshakesThe app is listed with the status sharing
PausedSession state PAUSED, then RESUMED
Endedmeeting.rtms_stopped with a stop_reason

In the Surface App, onRTMSStatusChange and getRTMSStatus give you the same state on the client.

Concurrent streams

A bot fleet scales with compute. RTMS has a concurrent stream limit on your account: 5 on the free trial and 2,000 with a Developer Pack, with higher limits by request. Each RTMS session ID counts as one stream, and opening a separate connection for another media type in the same meeting counts as another. Audio and video on separate connections for one meeting is two.

  • Subscribe to rtms.concurrency_near_limit and rtms.concurrency_limited. Once the limit is reached, no new streams can start.
  • Request only the media types your product uses.
  • Plan capacity for the top of the hour, when many meetings start together.

Stage 8: Build the in-meeting experience

Notices and controls

RTMS does not record. It makes meeting media available to your application, so Zoom notifies participants that an app is accessing content instead of showing the recording indicator. Participants see Zoom's RTMS disclosure , "The content of this meeting is being sent to one or more apps." They can choose View apps to see which app is accessing content, who is using it, and its status. The app's name also appears on its user's video tile.

A Surface App built with the Zoom Apps SDK lets you add your own in-meeting notices and controls: it can tell participants what the app is doing, and give the app user buttons to start, pause, resume, and stop it. The Surface App and your RTMS app can share the same Zoom App registration.

  • Notices: Show the app's status and what it does with meeting content in the side panel.
  • Controls: Call startRTMS, pauseRTMS, resumeRTMS, and stopRTMS from buttons in the panel. The app user and the host can also pause or stop the app from Zoom's own controls.
  • Everyone in the meeting: Participants who have not installed your app do not see it in their Apps panel. Turn on guest mode  in the Zoom Apps SDK so every participant can open the same web experience as a side panel in the meeting.

To pause on your own side as well, stop processing the stream while keeping the WebSocket open, and mark the pause and resume timestamps. To stop, close the WebSocket connection; the user starts RTMS again to resume.

Send chat messages

RTMS delivers the messages sent to everyone in meeting chat; it does not post to chat. If your bot sends chat messages, such as a note that an app is taking notes or a link to manage it, you have three options:

Option A: REST API (with Continuous Meeting Chat)

When the meeting uses Continuous Meeting Chat, the meeting chat is a Team Chat channel, and you can post to it with the Chat Messages API :

await fetch('https://api.zoom.us/v2/chat/users/me/messages', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${userAccessToken}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    to_channel: meetingChatChannelId,
    message: "I'm using an app to take notes.",
  }),
});

Option B: Surface App

Build a Zoom Surface App  that shows the app's status and a stop button in the meeting. The Zoom Apps SDK can also send chat messages from the Surface App.

Option C: Pre-meeting notification

Tell participants in the email or calendar invite, before the meeting starts, that an app will take notes. Less interactive but simpler.

Stage 9: Plan for failure modes

Bots fail visibly: the bot doesn't join, or it disconnects and participants notice. RTMS fails quietly: no webhook arrives, or the stream drops. Build detection and recovery, and show the state in your Surface App so the app user knows.

Failure modes table

Failure ModeHow to DetectMitigation
RTMS not enabled for host orgNo meeting.rtms_started webhook within 60 seconds of meeting start; REST error 13267Tell the app user that RTMS is not enabled for the host's organization; notify your ops team
App not added on the accountREST error 13262Ask the admin to add the app under Apps that access content in meetings
Zoom client too old for in-meeting start (< 6.5.5)startRTMS fails, or no meeting.rtms_started arrives after an in-meeting startPrompt the user to update Zoom
Host has not answered the requestNo meeting.rtms_started after an accepted requestShow "waiting for the host"; do not send repeated requests
Host denies RTMS approvalrtms.request_status with status 1 or 3Tell the app user that the host declined
App user not in the meetingrtms.request_status with status 2Wait for the app user to join
Subscription lapsed or not provisionedrtms.request_status with status 4 or 5; REST error 2310Alert your team; check the Developer Pack subscription
Event subscription missingOther webhooks arrive but RTMS events do notAdd the RTMS events to the subscription and wait 1 to 2 minutes
WebSocket connection failureConnection error or timeout when connecting to server_urlsRetry with exponential backoff; tell the app user if retries are exhausted
Signaling connection dropsmeeting.rtms_interrupted webhookLog the gap timestamp; reconnect signaling and media within about 60 seconds, with backoff
Media connection dropsMEDIA_CONNECTION_INTERRUPTED eventLog the gap timestamp; reconnect the media connection within about 30 seconds
Reconnection window missedmeeting.rtms_stopped with stop_reason 10 to 19, or 24Restart the RTMS connection process; if that fails, finalize what you captured
App user leaves (their stream ends)meeting.rtms_stopped with stop_reason 3 while meeting is still activeIf another app owner is in the meeting, their webhook may arrive; otherwise finalize what you captured
Stream revokedmeeting.rtms_stopped with stop_reason 8Delete the stored assets for that stream
Duplicate webhooksMultiple meeting.rtms_started for same meeting_uuidDeduplicate; process only one stream; ignore others
RTMS server failovermeeting.rtms_started with an rtms_stream_id you already haveTear down and reconnect with the new server_urls
RTMS server failedrtms.request_status with status 6Submit a request for a new stream
Concurrent stream limit reachedrtms.concurrency_limited webhook; streams fail to start once the account is at its limit (5 on the free trial, 2,000 with a Developer Pack)Reduce separate media connections per meeting; raise the limit with your account team
Surface App closed from the app menuNo callback fires and the stream may stay openDetect stale connections on your backend and close them after a timeout
Webhook signature invalidHMAC verification failsReject the request; log for security review
Webhook replay attackTimestamp outside 5-minute windowReject the request

Decision logic

Meeting scheduled
  │
  ├── Is scheduler an app owner with auto-start for meetings they own?
  │     ├── YES → The scheduler's stream runs for the whole meeting
  │     └── NO  → Use first participant who is an app owner (accept stream-drop risk)
  │
Meeting starts
  │
  ├── meeting.rtms_started received within 60s?
  │     ├── YES → Connect RTMS WebSocket, start media access
  │     └── NO  → Check rtms.request_status; tell the app user that media access
  │               has not started, and why if you know
  │
RTMS stream active
  │
  ├── Stream healthy → Continue
  ├── Connection drops (meeting.rtms_interrupted or MEDIA_CONNECTION_INTERRUPTED)
  │     ├── Reconnect with backoff inside the window (about 60s signaling, 30s media), log gap
  │     └── Window missed (meeting.rtms_stopped, stop_reason 10-19 or 24)
  │           └── Restart RTMS; if that fails, finalize what you captured and tell the app user
  ├── meeting.rtms_stopped with stop_reason 8 → Delete stored assets for the stream
  ├── meeting.rtms_stopped for any other reason → Finalize the session
  │
Meeting ends → Finalize all sessions

Stage 10: Roll out and retire the bot

Changing the code is the smaller part of the switch. Each customer's users have to authorize the updated app, and each customer's admin has to set it up. Move customers in cohorts.

  1. Build and submit. Update the app, add the scopes, and submit for review as soon as the RTMS features work.
  2. Use it yourselves. Run it across your own Zoom account, with an admin configuring auto-start and participant permissions the way a customer would.
  3. Test across accounts. With an approved beta authorization URL, test from a second account: a meeting it hosts and your user attends, and the reverse.
  4. Design partners. Move a few customers with their admins involved. Walk each admin through the settings in Required Zoom account settings.
  5. Cohorts. Switch customers over a group at a time. For each one: admin setup, user reauthorization, then confirmation that streams start in their meetings.
  6. Retire the bot. When every customer is on RTMS, shut down the scheduler and the bot fleet.

What to give each customer

  • For the admin: the settings table in Required Zoom account settings, with the auto-start choices you recommend for your product.
  • For users: what changes for them. No bot joins. Zoom shows a notice that an app is accessing content, and your side panel shows status and controls.
  • For people who host meetings your users attend: why they see a request from your app, and that they can choose Always allow in my meetings.

What to measure

  • Start rate: meetings where meeting.rtms_started arrived, out of meetings where a start was requested or expected
  • Time to first media: from the webhook to the first packet
  • Requests that did not start, by rtms.request_status value
  • Stops, by stop_reason
  • Reauthorization: users who have authorized the new scopes, by customer
  • Concurrent streams against your limit

Run the Sample

Arlo  demonstrates the complete RTMS pattern with transcript capture, AI processing, and in-meeting display.

PlatformWhat you get
Deploy to Render Backend, frontend, RTMS service, managed database
Deploy to Railway Backend, frontend, RTMS service, managed database
Local setup
  1. Clone and configure:

    git clone https://github.com/zoom/arlo.git && cd arlo && cp .env.example .env
    
  2. Start ngrok with a static domain:

    ngrok http 3000 --domain=your-subdomain.ngrok-free.app
    
  3. Create a Zoom General App at marketplace.zoom.us :

    • Copy Client ID and Client Secret
    • Set OAuth Redirect URL to https://YOUR-NGROK-URL/api/auth/callback
    • Under Scopes, add zoomapp:inmeeting, meeting:read:meeting, and the RTMS scope meeting:read:meeting_transcript
    • Under Surface, set the Home URL to https://YOUR-NGROK-URL
    • Add an Event Subscription with endpoint https://YOUR-NGROK-URL/api/rtms/webhook for meeting.rtms_started, meeting.rtms_stopped, and meeting.rtms_interrupted
  4. Fill in .env with your credentials

  5. Start the services:

    docker-compose up --build
    

App Manifest

The migration requires updating your Zoom App configuration from Meeting SDK to RTMS.

Required Scopes

ScopePurpose
meeting:read:meetingMeeting metadata
user:readUser profile for personalization
meeting:read:meeting_transcriptReceive the live transcript through RTMS
meeting:read:meeting_audioReceive meeting audio through RTMS (only if you capture audio)
meeting:update:participant_rtms_app_statusStart, stop, pause, and resume through the REST API (only if your backend controls the stream)

RTMS Configuration

RTMS access is granted through scopes that select which meeting media your app receives. They are separate from the REST API scopes above, and they cannot be marked optional.

  1. In your app settings, go to Scopes
  2. Choose + Add Scopes and search for RTMS
  3. Add a scope for each media type you need:
    • Transcripts: Speech-to-text segments
    • Audio: PCM audio stream
    • Video: H.264 video frames
    • Screen Share: Screen capture
    • Chat: Messages sent to everyone

To start and control RTMS from your Surface App:

  1. Go to Surface and select Meetings and Webinars
  2. Turn on Zoom App SDK
  3. Choose + Add APIs, search for RTMS, and add the APIs your panel calls, such as startRTMS, stopRTMS, pauseRTMS, and resumeRTMS

Event Subscriptions

EventWhen it firesYour action
meeting.rtms_startedUser starts RTMS or auto-start triggersConnect to WebSocket
meeting.rtms_stoppedStream ends (host stops, meeting ends, etc.)Read stop_reason; finalize the session, or restart if the reconnection window was missed
meeting.rtms_interruptedThe signaling connection droppedReconnect signaling and media
rtms.request_statusThe status of a start request changesRead status; update what the app user sees
rtms.concurrency_near_limitYour account is close to its concurrent stream limitAlert your team
rtms.concurrency_limitedYour account reached its limit; no new streams can startAlert your team; tell affected app users

For webinars, subscribe to the webinar.rtms_started, webinar.rtms_stopped, and webinar.rtms_interrupted equivalents.

Auto-Start Configuration

For hands-free capture (no user action required each meeting), turn on auto-start. It is set where the app is used, not in the app's Marketplace build settings:

  • Account admin: in the Zoom web portal, go to Account Management > Account Settings > Zoom Apps and turn on Share realtime meeting content with apps. Under Apps that access content in meetings, choose + Add app, select your app, and set where it auto starts (Meetings users own, or Meeting users attend for internally or externally hosted meetings) and whether hosts are asked (Always ask or Always allow). The same settings exist for groups and users under User Management.
  • App user: a user who has installed the app can also choose which meeting types trigger auto-start for them, in their Zoom Apps settings or when they install the app.
  • You: choose the default auto-start options that are suggested when a user or admin installs your app.

See Host and admin tools and controls .

Enterprise Deployment (Admin Install)

For enterprise customers, individual OAuth flows per user create friction. An admin can add your app for users and groups in their account and configure it for them.

Admin install flow

  1. Admin enables RTMS at the organization level

    • Zoom web portal > Account Management > Account Settings > Zoom Apps > Share realtime meeting content with apps
    • This is the master switch. If disabled, RTMS will not work for any meeting hosted by this organization.
  2. Admin adds your app for the organization

    • Admin adds the app from your Zoom Marketplace listing (or a direct install link you provide)
    • In the Marketplace, under Manage > Apps on account, the admin selects your app and uses Users & Groups > +Add Users to choose who gets it
  3. Admin configures RTMS settings

    • Add your app under Apps that access content in meetings and choose where it auto starts
    • Optionally set participant permissions to Always allow so hosts are not asked each time
    • Optionally enable "Allow meeting to start without host". A meeting cannot begin without its host unless this is on, and the app cannot start in a meeting that has not started

Post-install behavior

  • First meeting starts automatically: No user login or app interaction required. When a meeting starts for an installed user, Zoom sends meeting.rtms_started to your webhook.
  • No bot joins: Participants see no additional attendee. Your app is listed in the meeting's Apps panel but does not appear as a participant.
  • Works for non-hosts: A user who is not the host can trigger RTMS via auto-start as long as they are an app owner (the app is installed for them).

Required Zoom account settings

SettingRequired ValueWhere to Configure
Share realtime meeting content with appsEnabledAccount Settings > Zoom Apps
Your RTMS app installedYes, for target usersZoom Marketplace > Manage > Apps on account
Auto-start for your RTMS appSet for the meetings you needAccount Settings > Zoom Apps > Apps that access content in meetings
Permissions for participantsAlways allow (recommended)Same app entry
Allow meeting to start without hostEnabled (if needed)Zoom Admin > Meeting Settings
Zoom desktop client version6.5.5+ for starting RTMS from the Surface AppApp users

Acceptance Criteria

Use this checklist to verify your migration:

Scoping and setup:

  • Every bot behavior is mapped to RTMS, the Zoom Apps SDK, or the REST API
  • Each user journey in Stage 1 has an owner and a test
  • The app is user-managed, uses granular scopes, and has only the RTMS scopes the product uses
  • The app update is submitted for review, with a test plan for each new scope
  • Tested from a second Zoom account, in both directions

Webhook and connection:

  • Webhook endpoint validates signatures with timing-safe comparison
  • Webhook endpoint enforces 5-minute replay window
  • A meeting.rtms_started for a stream already being handled triggers a reconnect, not a second session
  • WebSocket handlers registered before join() call
  • Stream cleanup runs on onLeave and meeting.rtms_stopped
  • Multiple app owners in same meeting deduplicated by meeting_uuid
  • Media is read only after meeting.rtms_started, never after a start request alone

Data model:

  • Session data model updated with RTMS identifiers (rtms_stream_id, meeting_uuid, operator_id)
  • Stream status tracking implemented (requested, streaming, paused, interrupted, ended)
  • stop_reason stored with each session, and stop_reason 8 deletes stored assets

Lifecycle and reliability:

  • The app user is told when media access has not started or has stopped
  • rtms.request_status handled for each status value
  • Stream persistence strategy defined for long meetings (scheduler-as-app-owner pattern)
  • Gap detection and logging implemented for mid-meeting connection drops
  • Reconnection tested for meeting.rtms_interrupted, a dropped media connection, and a restart after stop_reason 10 to 19 or 24
  • Tested with the host set to Always ask and to Always allow, with the host absent, and with the host denying
  • Concurrency webhooks handled, and capacity planned for many meetings starting together

In-meeting notices and controls:

  • Surface App shows the app's status to the app user
  • Start, pause, resume, and stop controls tested (if offered to users)
  • Guest mode tested, if every participant should be able to open the panel

User experience:

  • Chat messages sent with the REST API or the Zoom Apps SDK, or replaced with a pre-meeting notification
  • Users no longer see bot participant in meetings
  • Product states replaced: no "bot is joining" wording remains
  • Admin install flow documented for enterprise customers

Rollout and decommissioning:

  • Admin, user, and host explanations ready for each customer cohort
  • Start rate, request status, and stop reasons tracked by customer
  • Bot infrastructure decommissioned after migration validation