Our new developer documentation is now available. Please check it out!
OdinHandler.JoinRoom
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 |