Docs

Get started
with RelayRTC

Add audio, video, screen sharing and messaging to your application.

React
import { RelayProvider, RelayRoom } from '@relayrtc/react'
 
export function Call({ token, signalingUrl, children }) {
  return (
    <RelayProvider signalingUrl={signalingUrl}>
      <RelayRoom token={token}>
        {children}
      </RelayRoom>
    </RelayProvider>
  )
}

Choose your starting point

React SDK

Build your call interface with providers, hooks and media controls.

View reference

Node SDK

Create rooms, issue participant tokens and manage calls from your server.

View reference

REST API

Manage rooms, participants, usage and webhooks with HTTP.

View reference

Your first room

Your server creates a room and issues a participant token. The browser uses that token to connect, publish media and receive other participants.

  1. Create a secret API key in your project environment.
  2. Create a room with the REST API or Node SDK.
  3. Issue a token for each participant.
  4. Join from React and enable camera or microphone access.

Start with the quickstart. It connects the server and browser in one flow.

Find what you need

Self-hosting

Self-hosting documentation is coming soon.