Compare commits
2 Commits
9e95286855
...
cbc2f012d2
| Author | SHA1 | Date |
|---|---|---|
|
|
cbc2f012d2 | |
|
|
9894600bd0 |
|
|
@ -386,9 +386,9 @@ class MeetingMainLogic extends GetxController with RequestToolMixin {
|
|||
}
|
||||
if (UserStore.to.userInfoEntity.value!.uid == meetingRoomUser.uid) {
|
||||
state.isSpeak.value = true;
|
||||
state.defaulOpenState.value = 1;
|
||||
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);
|
||||
}
|
||||
|
|
@ -413,6 +413,9 @@ class MeetingMainLogic extends GetxController with RequestToolMixin {
|
|||
state.isOpenCamera.value = false;
|
||||
state.isOpenShare.value = false;
|
||||
|
||||
// 关闭麦克风视频
|
||||
doHttpSetMicr(false);
|
||||
doHttpSetCamer(false);
|
||||
// 设置声网SDK角色为观众
|
||||
setClientRole("观众");
|
||||
// 取消发布视频流
|
||||
|
|
|
|||
Loading…
Reference in New Issue