Compare commits

..

No commits in common. "cbc2f012d281f54d73764d67fb4539d6b7ca51af" and "9e9528685508ac467ed9fcccb0b649076400b40e" have entirely different histories.

1 changed files with 2 additions and 5 deletions

View File

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