join
Join the Agora channel with optional token request
Parameters
channel
: Channel name to join
fetch Token
: Whether the token should be fetched before joining the channel. A token will only be fetched if a token URL is provided in AgoraSettings.
role
: AgoraClientRole to join the channel as. Default: .broadcaster
uid
: UID to be set when user joins the channel, default will be 0.
Join the Agora channel with optional token request
Parameters
channel
: Channel name to join
token
: token to be applied to the channel join. Leave null to use an existing token or no token.
role
: AgoraClientRole to join the channel as.
uid
: UID to be set when user joins the channel, default will be 0.