Commit bbfed5f
fix: await unmute() to ensure VAD reinitializes before continuing
The unmute() function in the JS SDK is async because it needs to
reinitialize VAD. Not awaiting it could cause race conditions where
user speech isn't detected immediately after unmuting.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 2085a4c commit bbfed5f
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| |||
0 commit comments