|
|
|
@ -163,7 +163,9 @@ class RoomController extends GetxController with WidgetsBindingObserver { |
|
|
|
final base = response.data; |
|
|
|
if (base.isSuccess && base.data != null) { |
|
|
|
rtcChannel.value = base.data; |
|
|
|
// 加入他人直播间时,当前用户默认作为普通观众,不在麦上 |
|
|
|
currentRole = CurrentRole.normalUser; |
|
|
|
isLive.value = false; |
|
|
|
await _joinRtcChannel( |
|
|
|
base.data!.token, |
|
|
|
channelName, |
|
|
|
|