jitsi / docker-jitsi-meet

Jitsi Meet on Docker
https://hub.docker.com/u/jitsi/
Apache License 2.0
3.06k stars 1.36k forks source link

Trying to adjust screen-sharing framerate #563

Open slackmage opened 4 years ago

slackmage commented 4 years ago

https://community.jitsi.org/t/screensharing-frame-rate/15703

Is there a way do bash into the docker jitsi/web container instance and change the framerate for screen sharing?

sapkra commented 4 years ago

I'm also trying to get this working for some time without any success: https://community.jitsi.org/t/desktop-sharing-frame-rate-config-not-working-for-remote-racks/21913 https://community.jitsi.org/t/desktop-sharing-frame-rate-config-override-not-working-on-meet-jit-si-fps/20819

slackmage commented 4 years ago

@sapkra I managed to get this working

Here is what I did.

  1. recompile lib-jitsi-meet from the source (search in the project for SS_DEFAULT_FRAME_RATE, and change it to 30)

  2. list docker containers and find the name for the jitsi/web instance that is running

  3. bash into the jitsi-web docker container. go to /usr/share/jitsi-web/libs

  4. rename lib-jitsi-meet.min.js to lib-jitsi-meet.min.js.bak and lib-jitsi-meet.min.map to lib-jitsi-meet.min.map.bak

  5. upload your newly compiled lib-jitsi-meet.min.js and lib-jitsi-meet.min.map to file.io and get the link to each file

  6. go back to jitsi-web container bash. apt-get install curl. now use curl to download the links above and name them lib-jitsi-meet.min.js and lib-jitsi-meet.min.map

  7. Refresh your web UI and try it out

slackmage commented 4 years ago

It would be great if the jitsi team added SS_DEFAULT_FRAME_RATE as an docker environent variable

amartin3225 commented 4 years ago

I would also find this helpful

amartin3225 commented 4 years ago

Any updates on implementing the ability to customize the framerate? The current settings are often very choppy which makes screen sharing difficult to use

slackmage commented 4 years ago

@amartin3225 see my instructions in my comment above