Participant

Field Summary

String

name - Unique user name

ParticipantType

participantType - participant’s type

Boolean

isProgressReconnection - state of participant reconnecting

Boolean

isConnectionLost - state of participant connection lost

Boolean

isVideoEnabled - Holds the actual state of Video track

Boolean

isAudioEnabled - Holds the actual state of Audio track

Public Method Summary

Type

Methods

Parameters

String

name

void

setName(final String name)

  • name - username

void

setRenderer(final VideoRenderer videoRenderer)

  • videoRenderer - View in which video will be rendered

void

update(final Participant participant)

  • participant - participant

void

setParticipantStatsListener(OnParticipantStatsListener listener)

  • listener - callback with json data about connection quality for audio and video participant

void

enableStats()

void

enableAudio()

void

disableAudio()

void

enableVideo()

void

disableVideo()

boolean

isAudioEnabled()

boolean

isVideoEnabled()

void

setVolumeLevel(int level)

  • level - volume level

void

attachStream(Media stream, Boolean mirror)

  • stream - media stream with audio and video tracks inside

  • mirror - mirror

void

dispose()

String

toString()

Last updated