OdinClient.initRooms
On this page
initRooms(token: string, gateway?: string, audioContext?: AudioContext): Promise<OdinRoom[]>
Authenticates against the ODIN server and returns OdinRoom
instances for all rooms set in the specified token.
Parameters
Name | Type | Description |
---|---|---|
token | string | The room token for authentication |
gateway | string | The gateway to authenticate against |
audioContext | AudioContext |
Returns
Type | Description |
---|---|
Promise<OdinRoom[]> |