join method
Implementation
Future<TUIValueCallBack<TUIRoomInfo>> join(String roomId) async {
LiveKitLogger.info(
"$tag start[roomId:$roomId,liveService:${liveService.hashCode}]");
_dataReport();
final result = await liveService.join(roomId);
if (result.code != TUIError.success) {
LiveKitLogger.error(
"$tag _initData [code:${result.code},message:${result.message}]");
ErrorHandler.onError(result.code.value(), result.message);
} else {
var roomInfo = result.data as TUIRoomInfo;
roomState.updateState(roomInfo);
roomState.enterRoomSuccess.value = true;
}
return result;
}