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