clientRole property

ClientRole clientRole
getter/setter pair

Sets the role of a user in a live interactive streaming. This method applies only when channelProfile is set to ChannelProfile.LiveBroadcasting

Use this to set the user behaviour inside a channel. A user can choose between a ClientRole.Audience or ClientRole.Broadcaster.

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

Implementation

ClientRole clientRole;