feat: add Windows real RTC voice device simulator

This commit is contained in:
Codex Local
2026-08-27 11:02:32 +08:00
parent 3b827431c8
commit 5ff1961d79
18 changed files with 6036 additions and 0 deletions
@@ -0,0 +1,11 @@
const { contextBridge, ipcRenderer } = require("electron");
contextBridge.exposeInMainWorld("deviceSimulator", {
configure: (input) => ipcRenderer.invoke("sim:configure", input),
probe: () => ipcRenderer.invoke("sim:probe"),
createConversation: () => ipcRenderer.invoke("sim:create-conversation"),
activateConversation: (input) => ipcRenderer.invoke("sim:activate-conversation", input),
getConversation: (conversationID) => ipcRenderer.invoke("sim:get-conversation", conversationID),
heartbeat: (input) => ipcRenderer.invoke("sim:heartbeat", input),
stopConversation: (input) => ipcRenderer.invoke("sim:stop-conversation", input),
});