Options
All
  • Public
  • Public/Protected
  • All
Menu

Props object to setup the RTC SDK connection

Hierarchy

Index

Properties

appId: string

Agora App ID - used to authenticate the request

channel: string

Channel name to join - users in the same channel can communicate with each other

token?: null | string

(optional) Token used to join a channel when using secured mode (default: null)

tokenUrl?: string

(optional) URL for token server, manages fetching and updating tokens automatically. Must follow the schema here - https://github.com/AgoraIO-Community/agora-token-service/

uid?: number

(optional) UID for local user to join the channel (default: 0)

Generated using TypeDoc