OdinHandler.JoinRoom
Warning
Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.
public async void JoinRoom(string roomName, IUserData userData = null, Action<Room> setup = null)
public async void JoinRoom(string roomAlias, string token, UserData userData = null, Action<Room> setup = null)
Join or create a room by name and attach a Media
Info
Configure Room-Apm i.e VadEnable, … or Odin-Event-Listeners i.e PeerJoinedEvent, … with Config
Parameters
Name | Type | Description |
---|---|---|
roomName | String | Room name |
userData | IUserData | Override OdinClient default UserData |
setup | Action<Room> | Override default Room setup |
roomAlias | String | Room name |
token | String | |
userData | UserData | Override OdinClient default UserData |
Variants
JoinRoom(roomName, userData, setup)
public async void JoinRoom(string roomName, IUserData userData = null, Action<Room> setup = null)
Join or create a room by name and attach a Media
Warning
Configure Room-Apm i.e VadEnable, … or Odin-Event-Listeners i.e PeerJoinedEvent, … with Config
Parameters
Name | Type | Description |
---|---|---|
roomName | String | Room name |
userData | IUserData | Override OdinClient default UserData |
setup | Action<Room> | Override default Room setup |
JoinRoom(roomAlias, token, userData, setup)
public async void JoinRoom(string roomAlias, string token, UserData userData = null, Action<Room> setup = null)
Join or create a room by name and attach a Media
Warning
Configure Room-Apm i.e VadEnable, … or Odin-Event-Listeners i.e PeerJoinedEvent, … with Config
Parameters
Name | Type | Description |
---|---|---|
roomAlias | String | Room name |
token | String | |
userData | UserData | Override OdinClient default UserData |
setup | Action<Room> | Override default Room setup |