quickStart method
Implementation
Future<void> quickStart() async {
var roomInfo = TUIRoomInfo(roomId: _conferenceId);
if (_name == null || _name!.isEmpty) {
var loginUserInfo = RoomEngineManager().getSelfInfo();
_name = (loginUserInfo.userName ?? loginUserInfo.userId) +
'quickConference'.roomTr;
}
roomInfo.name = _name;
roomInfo.isMicrophoneDisableForAllUser = !_enableMicrophoneForAllUser;
roomInfo.isCameraDisableForAllUser = !_enableCameraForAllUser;
roomInfo.isMessageDisableForAllUser = !_enableMessageForAllUser;
roomInfo.isSeatEnabled = _enableSeatControl;
roomInfo.seatMode =
_enableSeatControl ? TUISeatMode.applyToTake : TUISeatMode.freeToTake;
await _quickStartInternal(
roomInfo, !_isMuteMicrophone, _isOpenCamera, _isSoundOnSpeaker);
}