Closed roguedarkjedi closed 4 years ago
One thing we can do is limit the stream buffer size. I was not aware this was possible, but doing this should allow us to automatically drop old dead frames.
I would like to add sleeps but I do worry about time delay. We could add an FPS clock in there but I'm unsure about it overall. Especially when it comes to processing and lock.
Perhaps add an experimental flag that if it's 0 the fps sync is ignored?
Investigation has finished, going to close for now and open a new ticket for any future bugs.
The streamer thread doesn't ever give up a time slice, mostly because capturing has to keep on running, so any delays will start stacking up slowly over time. It's not ideal but there might be a better way to capture frames with a frame drop automatically.