clientRoleType property

ClientRoleType clientRoleType
getter/setter pair

Sets the role of a user in a live interactive streaming. This method applies only when channelProfileType is set to ChannelProfileType.channelProfileLiveBroadcasting

Use this to set the user behaviour inside a channel. A user can choose between a ClientRoleType.clientRoleAudience or ClientRoleType.clientRoleBroadcaster.

  • An audience member can only receive the stream.
  • A broadcaster can send and receive the stream.

Implementation

ClientRoleType clientRoleType;