Is it possible to get a steady 30fps in Android screen share?

Hi,

I saw that it maybe possible to get 30 fps in desktop screen share and I want to know if it is possible to get 30 fps in Android screen share.

Thanks

We limit screen shares to 15 fps and that is not currently configurable.

Hi,

Currently we have 5 fps, so 15 will be an improvement.
The fps was seen via the following logs:
I org.webrtc.Logging: EglRenderer: Duration: 4007 ms. Frames received: 2. Dropped: 0. Rendered: 2. Render fps: .5. Average render time: 4891 us. Average swapBuffer time: 2699 us.
Fps is changing from 0 to 5 depending on video (if video is not changing fps drop to zero. If video changes a lot fps goes to 5).

We use SDK 6.2.2 and we also have our own server in Azure so we can change config.js
The 5 fps is with H.264 and hardware/software decoding/encoding (Note: We enabled p2p for hardware encoding/decoding on our Azure jitsi server) and also with VP8 (when using meet.jit.si)
Do you know why we are not able to get 15 fps?
More info:
All of our tests were done in 2 devices on local network with 1G internet connection.

Thanks

The limit seems to be coming from WebRTC. There is no framerate setting, it just uses the MediaProjection API and processes the frames as they come.

Hi Saghul,

In jitsi web interface there a configuration for FPS - supported values are: 5,15,30 (can be seen in settings->more).
I was doing some testing with those values and i can see that FPS is changing between 5-30.
It is not one to one aligned with the configuration - for example: I have seen FPS > 5 when it was set to 5 and also FPS > 15 when it was set to 15.
So it seems that jitsi can work in FPS > 15 and jitsi code also affect the FPS.

I will appreciate your comment.

Thanks

The web and the native SDKs are different in this regard. You can’t really compare them because it’s not possible to screen share from a web browser on a mobile device.