Closed weichihl closed 2 years ago
As connection established, it'll flush frames until there is a key frame. If there is no frames available, it'll make the doWork as a busy loop.
This solution checks if there is nothing to do, then delay a little.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
As connection established, it'll flush frames until there is a key frame. If there is no frames available, it'll make the doWork as a busy loop.
This solution checks if there is nothing to do, then delay a little.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.