Browse SDKs · React Native
SDKsReact NativeEnterprise

Get room credentials

Get call credentials by room ID.

Copy

When a call room ID is known and room credentials are needed, call signalingGetTokenByRoomID(). roomID is the target call room ID.

const roomCredentials =
  await OpenIMSDK.signalingGetTokenByRoomID(roomID);

Return value

The call returns RtcInviteResults, including roomID, token, liveURL, and an optional busyLineUserIDList. Provide the returned room credentials to a real-time audio and video media engine to join the call room.