Commit 4033207
committed
fix: audio buffer handling in WebRTC service
Added a size check before sleeping and relocking in the audio buffer processing loop to prevent unnecessary delays when the buffer is sufficiently large. Also refactored the update method in page_gathering_widget for conciseness.1 parent cf91647 commit 4033207
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
177 | | - | |
| 175 | + | |
178 | 176 | | |
179 | 177 | | |
180 | 178 | | |
| |||
675 | 673 | | |
676 | 674 | | |
677 | 675 | | |
678 | | - | |
679 | | - | |
680 | | - | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
| |||
0 commit comments