Fixes: #132
Fix issue : https://github.com/CapSoftware/scap/issues/132
Fix framerate param for pipewire capturer
LGTM!
And why it still not merged?
Good question @richiemcilroy ?
I'm using pipewire on my own project, and also encountered the fps problem.
Mine is wayland + gnome. Setting VideoFramerate does not work certainly. However, setting VideoMaxFramerate also does nothing.
On my 75 fps screen, with VideoMaxFramerate set to 60, if I choose to capture screen, the fps is 44 due to performance problem. And if I choose to capture a window, the fps is 81.
And setting VideoMaxFramerate to 75, it even doesn't work.
I think there's no way to make pipewire output right 60 frames per second ... Emmm, maybe adding a timer in pipewire's userdata and letting the timer decide drop or send can be the solution.