fix: 修复 AudioWorklet 未收到 start 指令导致无音频数据发送
This commit is contained in:
@@ -196,6 +196,7 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
source.connect(worklet);
|
source.connect(worklet);
|
||||||
|
worklet.port.postMessage({ command: "start" });
|
||||||
// Don't connect worklet to destination (no playback)
|
// Don't connect worklet to destination (no playback)
|
||||||
state.workletNode = worklet;
|
state.workletNode = worklet;
|
||||||
state.recording = true;
|
state.recording = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user