Commit 50700b6
committed
Prevent processing of muted user's speech after unmuting on WebGL
- Fixed a bug where speech data from a muted user could be processed after unmuting in WebGL builds.
- Now, when the user is muted or the microphone is not recording, the buffer is cleared and no old audio data is processed after unmuting.
- This prevents unintended speech recognition or processing of buffered audio that was captured during mute state.1 parent 299b3f0 commit 50700b6
1 file changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | 140 | | |
144 | 141 | | |
145 | | - | |
| 142 | + | |
146 | 143 | | |
147 | 144 | | |
148 | 145 | | |
| |||
0 commit comments