Skip to main content
Version: 0.0.x

Participant Class Methods

enableWebcam()

  • enableWebcam() is used to enable participant's camera.

Events associated with enableWebcam() :

  • First the participant will get a callback on onWebcamRequested() and once the participant accepts the request, webcam will be enabled.

  • Every Participant will receive a streamEnabled event of ParticipantEventListener Class with stream object.

Returns

  • void

disableWebcam()

  • disableWebcam() is used to disable participant camera.

Events associated with disableWebcam() :

  • Every Participant will receive a streamDisabled event of ParticipantEventListener Class with stream object.

Returns

  • void

enableMic()

  • enableMic() is used to enable participant microphone.

Events associated with enableMic() :

  • First the participant will get a callback on onMicRequested() and once the participant accepts the request, mic will be enabled.

  • Every Participant will receive a streamEnabled event of ParticipantEventListener Class with stream object.

Returns

  • void

disableMic()

  • disableMic() is used to disable participant microphone.

Events associated with disableMic():

  • Every Participant will receive a streamDisabled event of ParticipantEventListener Class with stream object.

Returns

  • void

setQuality()

  • setQuality() is used to set the quality of the participant's video stream.

Parameters

  • quality: low | med | high

Returns

  • void

remove()

  • remove() is used to remove the participant from the meeting.

Events associated with remove() :

Returns

  • void

addEventListener()

Parameters

  • listener: ParticipantEventListener

Returns

  • void

removeEventListener()

Parameters

  • listener: ParticipantEventListener

Returns

  • void

removeAllListeners()

Returns

  • void