LocalParticipant

  • The LocalParticipant object is responsible for all the properties and methods from Participant object

Field Summary

Type

Field

ParticipantType

The participantType represents a type of local user - full participant, viewer or broadcaster.

AVCaptureDevice.Position

The cameraPosition is a value indicating whether the back or front camera is currently active.

VideoQuality

The videoQuality represents a video quality - low, default or high.

frameRate

private variable with range of 10-60 to set

Public Method Summary

Return typeMethodsDescription

void

startCameraPreview() -> UIView

Start capturing video from the camera.

LocalParticipantSnapshot

takeSnapshot()

return snapshot of local participant settings.

Note: You can't read and edit snapshot object

You can't read and edit snapshot object

void

set(snapshot: LocalParticipantSnapshot)

snapshot - is parameter with participant settings

void

set(orientation: AVCaptureVideoOrientation)

orientation - is AVCaptureVideoOrientation

Int32

getFrameRate()

fps ot translated video

void

setFrameRate(fps: Int)

frames to set(limited in range of 10-60)

Last updated