Developer Documentation
Our new developer documentation is now available. Please check it out!

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

NameTypeDescription
roomNameStringRoom name
userDataIUserDataOverride OdinClient default UserData
setupAction<Room>Override default Room setup
roomAliasStringRoom name
tokenString
userDataUserDataOverride 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

NameTypeDescription
roomNameStringRoom name
userDataIUserDataOverride OdinClient default UserData
setupAction<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

NameTypeDescription
roomAliasStringRoom name
tokenString
userDataUserDataOverride OdinClient default UserData
setupAction<Room>Override default Room setup