create static method

RoomParticipantController create({
  1. required VideoStreamType streamType,
  2. required RoomParticipant participant,
})

Create controller instance

  • streamType : Video stream type
  • participant : Participant info Returns: Controller instance

Implementation

static RoomParticipantController create({
  required VideoStreamType streamType,
  required RoomParticipant participant,
}) {
  return RoomParticipantControllerImpl(
    streamType: streamType,
    participant: participant,
  );
}