申请发言、结束发言、被管理员关闭发言、单独开关麦、单独开关摄像头状态统一修复
This commit is contained in:
parent
9894600bd0
commit
cbc2f012d2
|
|
@ -386,8 +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}");
|
||||||
if (state.defaulOpenState.value == 1) {
|
if (state.defaulOpenState.value == 1) {
|
||||||
state.isOpenMicrophone.value = true;
|
doHttpSetMicr(true);
|
||||||
} else if (state.defaulOpenState.value == 2) {
|
} else if (state.defaulOpenState.value == 2) {
|
||||||
doHttpSetCamer(true);
|
doHttpSetCamer(true);
|
||||||
}
|
}
|
||||||
|
|
@ -412,6 +413,9 @@ 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("观众");
|
||||||
// 取消发布视频流
|
// 取消发布视频流
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue