Even if OBS-VirtualCam is set to 30 fps you have a noticeable delay (latency).
No issues if you use Element (Windows 10 and Android tablet): same settings
So just changing the frame rate won't fix these issues.
Thank you @El4 for your contribution; however, people with lower-powered devices, including ourselves, 30 fps (frames per second) may not be possible (or produce a bad outcome because of the device).
Having the option of 5 fps could be sufficient when sharing a LibreOfficeImpress presentation or the input from a document camera.
Having an option to reduce the fps may also help in the gathering of information to track down the cause of the latency you mention.
In addition to the 5, 15 and 30 frames per second, perhaps there could be a user-specified frames rate? This could be used initially for debugging.
By increasing the frame rate, developers could find where the bottleneck(s) in the Jami code is/are or whether it is external to the Jami program (i.e. Internet connection, computer speed/specifications, etc.).
The optional frame rate could also be used for gamers or people using Jami over a high speed LAN/gigabit network.
Just some news. I said that I wanted to generate a nightly today with the features you asked. Actually, I saw some bugs for syncing and I prefer to finish my patches before generating a new one. So, is it okay if I delay a bit the nightly to test. This is basically a summary:
It's great if there are new features coming but can you / the team please fix the video lag issues first? #403
especially:
same WiFi network. [..] Nearly no video lag.
BUT
If I use "OBS-VirtualCam" (60 fps, video device) and different networks I have at least 2-3 seconds video delay. I often see a pixelated video.
AND
If OBS-VirtualCam has 80 fps there are many seconds of video delay. Nearly only one second (or less) video delay if the framerate of OBS-VirtualCam is set to 30 fps. However - if the framerate is set to 20 fps or less there is no improvement anymore. You have to restart Jami again if the framerate is changed so that it will show up (Jami: Audio and Video Settings)
It's probably an issue regarding Jami (Android device and windows 10 device: different network):
Element: Even if you set the framerate of OBS-VirtualCam to 81 fps there is no video delay.
And the video of the integrated Screenshare function of Jami (no virtual cam) also sometimes lags: #375 (closed)
Sometimes the video (Person B that can view my screen from a tablet) is stuck for a few seconds (video game) but then everything works again.
It's great if there are new features regarding screensharing but it would be very useful if all these bugs were fixed. Together with jami-project#1122 (closed) and #390
Any (fast) movement leads to a pixelated video. Even if you have a good Internet connection.
Probably you will be interested in knowing that we are beginning a great work in the window/screen sharing pipeline.
Regarding the windows sharing, some of the problems we experienced so far: black frames while sharing chrome or Visual Studio Code, resolution change is not followed by ffmepg library, jami may freeze in Windows while sharing, and more.
For the long list of bugs and after spending few days debugging and trying some possible fixes, It is our conclusion that ffmpeg does not support window sharing properly.
Thus, it was decided that we need to rework the screen/window sharing for both GNU/Linux and Windows. This work, however, will take longer than a month to be functional.
It is likely that those changes may reduce or fix the bugs you related so we ask you to follow our updates in jami-project#1294 (closed) and the related tickets that will be added to that issue.
I thought it is also a connectivity issue because if I am using the same Wifi with different devices I don't have any (longer) video lag (using OBS VirtualCam with various fps).
So can you test OBS VirtualCam (same network/ different network, low internet speed etc.) if you are using Jami?