This commit is contained in:
legop3
2026-03-20 01:50:29 -04:00
parent 7ad3dc7015
commit c729631104
7 changed files with 144 additions and 128 deletions
+2
View File
@@ -32,6 +32,7 @@ const SessionContext = createContext({
stopMicForward: async () => {},
sendMicChunk: async () => {},
startMicWhip: async () => {},
readyMicWhip: async () => {},
stopMicWhip: async () => {},
setAudioLevels: async () => {},
llmControl: async () => {},
@@ -164,6 +165,7 @@ export function SessionProvider({ children }) {
return true;
},
startMicWhip: (roverId) => emitWithAck('audio:micWhipStart', { roverId }),
readyMicWhip: (roverId) => emitWithAck('audio:micWhipReady', { roverId }),
stopMicWhip: (roverId) => emitWithAck('audio:micWhipStop', { roverId }),
setAudioLevels: (levels = {}) => emitWithAck('audioLevels:set', levels),
llmControl: (action, controls = {}) =>