Merge pull request 'feat:部署优化' (#118) from feat/build into develop

Reviewed-on: http://8.161.227.145:3000/XEngineers/CamTalk/pulls/118
This commit was merged in pull request #118.
This commit is contained in:
2026-06-14 21:29:04 +08:00

View File

@@ -52,7 +52,7 @@ export function useVAD(options?: VADOptions) {
model: "legacy",
// WASM 和模型文件均由 Vite 插件复制到 public/ (即 dist 根目录)
onnxWASMBasePath: "/",
modelURL: "/silero_vad_legacy.onnx",
baseAssetPath: "/",
onSpeechStart: () => {
setIsSpeaking(true);