LiveController constructor

LiveController()

Implementation

LiveController() {
  state = LiveState();
  liveService = ServiceProvider.instance.getLiveService();
  roomController = RoomController(state, liveService);
  seatController = SeatController(state, liveService);
  userController = UserController(state, liveService);
  mediaController = MediaController(state, liveService);
  viewController = ViewController(state, liveService);
  videoWidgetFactory = VideoWidgetFactory(liveController: this);

  liveObserver = LiveObserver(this);
  liveService.addObserver(liveObserver);
}