Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ClientRoleChangeFailedReason

Reasons for a user role switch failure.

since

v3.7.0

Index

Enumeration members

ConnectionFailed

ConnectionFailed: = 4

4: he SDK connection fails. You can use reason reported in the ConnectionStateChanged callback to troubleshoot the failure.

NotAuthorized

NotAuthorized: = 2

2: The request is rejected by the Agora server. Agora recommends you prompt the user to try to switch their user role again.

RequestTimeOut

RequestTimeOut: = 3

3: The request is timed out. Agora recommends you prompt the user to check the network connection and try to switch their user role again.

TooManyBroadcasters

TooManyBroadcasters: = 1

1: The number of hosts in the channel is already at the upper limit.

Note This enumerator is reported only when the support for 128 users is enabled. The maximum number of hosts is based on the actual number of hosts configured when you enable the 128-user feature.

Generated using TypeDoc