addd HPG state

This commit is contained in:
PxlLoewe
2025-05-21 14:48:07 -07:00
parent f52f870eed
commit 64ce254239
8 changed files with 165 additions and 28 deletions

View File

@@ -45,7 +45,7 @@ export const useAudioStore = create<TalkState>((set, get) => ({
if (!room) return;
room.localParticipant.setMicrophoneEnabled(!isTalking);
set((state) => ({ isTalking: !state.isTalking }));
set((state) => ({ isTalking: !state.isTalking, source: "web-app" }));
},
connect: async (roomName) => {
set({ state: "connecting" });