fix: 增加会话前先关闭机器人
parent
e8fb5a28cd
commit
87629309dd
|
|
@ -70,6 +70,8 @@ export const useJoin = (): [
|
|||
const listeners = useRtcListeners();
|
||||
|
||||
const handleAIGCModeStart = async () => {
|
||||
|
||||
await RtcClient.stopAudioBot();
|
||||
if (room.isAIGCEnable) {
|
||||
await RtcClient.stopAudioBot();
|
||||
dispatch(clearCurrentMsg());
|
||||
|
|
|
|||
Loading…
Reference in New Issue