client-sdk-flutter icon indicating copy to clipboard operation
client-sdk-flutter copied to clipboard

frame rate drops down when do deskshare with the app is not active

Open wanjm opened this issue 2 years ago • 7 comments

when do deskshare, the frame is around 15; but when the app(livekitclient) is active(not focused), the frame rate will drop down to 3 fps; when active the app, it resumes to 15 fps;

wanjm avatar Nov 22 '23 05:11 wanjm

Screen share frame rate adapts to motion. For static content, lower frame rate will be used.

Which browser/client side SDK are you using?

boks1971 avatar Nov 22 '23 05:11 boks1971

flutter client for both windows and macos

wanjm avatar Nov 22 '23 05:11 wanjm

Can you provide more details on what you are sharing?

  • Are you sharing the entire screen or just one window?
  • If sharing entire screen, is the live client window on that screen?
  • If sharing only one window, does that have motion always (for example, if you share a window playing a YouTube video, there will be continuous motion). Does the frame rate drop even if there is continuous motion in the window?

boks1971 avatar Nov 22 '23 05:11 boks1971

thanks, I will test again to give more detail;

wanjm avatar Nov 22 '23 05:11 wanjm

  1. I am share the entire screen,
  2. then move the other app windows quickly by hand ;
  3. then the frame rate drop to 1~3 fps;

wanjm avatar Nov 22 '23 08:11 wanjm

I have the same problem, is there any solution? After the frame rate is lowered, it will take 3-4 seconds for the frame rate to become normal even after the window is active @wanjm

1056824847 avatar Mar 28 '24 04:03 1056824847

sorry , i didn't find the sulution;

wanjm avatar Mar 28 '24 05:03 wanjm