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
+46
View File
@@ -0,0 +1,46 @@
{
"name": "data-terminal-voice-device-simulator",
"version": "0.1.0",
"private": true,
"description": "Windows real-audio device simulator for the data terminal cloud platform",
"main": "electron/main.cjs",
"scripts": {
"dev": "concurrently -k \"vite --host 127.0.0.1 --port 5177\" \"wait-on http://127.0.0.1:5177 && electron . --dev-server-url=http://127.0.0.1:5177\"",
"typecheck": "tsc --noEmit",
"build:renderer": "vite build",
"start": "npm run build:renderer && electron .",
"build": "npm run typecheck && npm run build:renderer && electron-builder --win portable"
},
"dependencies": {
"@volcengine/rtc": "4.69.0"
},
"devDependencies": {
"concurrently": "^9.2.1",
"electron": "44.0.0",
"electron-builder": "26.15.3",
"typescript": "^5.9.2",
"vite": "^7.1.3",
"wait-on": "^8.0.4"
},
"build": {
"appId": "cn.dataterminal.voice-device-simulator",
"productName": "语音终端模拟器",
"artifactName": "voice-device-simulator-${version}-windows-${arch}.${ext}",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"electron/**/*",
"package.json"
],
"win": {
"target": [
{
"target": "portable",
"arch": ["x64"]
}
]
}
}
}