Commit 38dfda6
committed
[Session] Add thread sleep when waiting for buffer
When you are waiting for buffer, the VP do DemuxRead callbacks in very fast way
causing CPU spikes until 13% (on a fast CPU)
add a thread sleep help to mitigate the problem1 parent ff31663 commit 38dfda6
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
| 831 | + | |
| 832 | + | |
831 | 833 | | |
832 | 834 | | |
833 | 835 | | |
| |||
0 commit comments