|
|
|
@ -32,7 +32,7 @@ class RoomController extends GetxController { |
|
|
|
final NetworkService _networkService; |
|
|
|
CurrentRole currentRole = CurrentRole.normalUser; |
|
|
|
bool isLive = false; |
|
|
|
|
|
|
|
final userData = GlobalData().userData.obs; |
|
|
|
/// 当前频道信息 |
|
|
|
final Rxn<RtcChannelData> rtcChannel = Rxn<RtcChannelData>(); |
|
|
|
final Rxn<RtcChannelDetail> rtcChannelDetail = Rxn<RtcChannelDetail>(); |
|
|
|
@ -44,8 +44,7 @@ class RoomController extends GetxController { |
|
|
|
final RxList<GiftProductModel> giftProducts = <GiftProductModel>[].obs; |
|
|
|
|
|
|
|
/// 消息服务实例 |
|
|
|
final LiveChatMessageService _messageService = |
|
|
|
LiveChatMessageService.instance; |
|
|
|
final LiveChatMessageService _messageService = LiveChatMessageService.instance; |
|
|
|
|
|
|
|
@override |
|
|
|
void onInit() { |
|
|
|
|