申请发言、结束发言、被管理员关闭发言、单独开关麦、单独开关摄像头状态统一修复

This commit is contained in:
fuenmao 2024-12-26 17:12:50 +08:00
parent 9894600bd0
commit cbc2f012d2
1 changed files with 5 additions and 1 deletions

View File

@ -386,8 +386,9 @@ class MeetingMainLogic extends GetxController with RequestToolMixin {
}
if (UserStore.to.userInfoEntity.value!.uid == meetingRoomUser.uid) {
state.isSpeak.value = true;
debugPrint("wgs输出===Socket-状态:${state.defaulOpenState.value}");
if (state.defaulOpenState.value == 1) {
state.isOpenMicrophone.value = true;
doHttpSetMicr(true);
} else if (state.defaulOpenState.value == 2) {
doHttpSetCamer(true);
}
@ -412,6 +413,9 @@ class MeetingMainLogic extends GetxController with RequestToolMixin {
state.isOpenCamera.value = false;
state.isOpenShare.value = false;
//
doHttpSetMicr(false);
doHttpSetCamer(false);
// SDK角色为观众
setClientRole("观众");
//