init

fun init(streamType: VideoStreamType, participant: RoomParticipant)

Initialize view

Initialize the view with specified video stream type and participant info. After initialization, it will automatically start rendering the corresponding participant's video stream.

Parameters

streamType

Video stream type

participant

Participant info