Fix Logout time unable
This commit is contained in:
@@ -169,7 +169,6 @@ export const useAudioStore = create<TalkState>((set, get) => ({
|
||||
const inputStream = await navigator.mediaDevices.getUserMedia({
|
||||
audio: {
|
||||
deviceId: get().settings.micDeviceId ?? undefined,
|
||||
noiseSuppression: true,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -184,9 +183,8 @@ export const useAudioStore = create<TalkState>((set, get) => ({
|
||||
name: "radio-audio",
|
||||
source: Track.Source.Microphone,
|
||||
});
|
||||
setTimeout(() => {
|
||||
publishedTrack.mute();
|
||||
}, 400);
|
||||
await publishedTrack.mute();
|
||||
|
||||
set({ localRadioTrack: publishedTrack });
|
||||
|
||||
set({ state: "connected", room, message: null });
|
||||
|
||||
Reference in New Issue
Block a user