Jitsi Youtube 1080p

I have three questions:

1.) How can I live stream to Youtube in full 1080p resolution?

I have edited the config file and set the constraint from 720p to 1080p. I have 5 users. The moderator is streaming in full 1080p(with a logitech 1080p webcam) but other users are streaming in 720p(with logitech 720p webcam). The Youtube live streaming is showing max resolution as 720p. Is it that the Jibri streams to Youtube in 720p? If I hover mouse over each user, the moderator is showing 1080p and other users in 720p. All are using latest version of Chrome. Simulcast disabled.

2.) I can mute other users as a moderator. But I can’t unmute them again. Can I unmute them also? They have to unmute themselves locally.

3.) There is a lag if I show a video by playing it locally via screen sharing. How it can be viewed smoothly as a user? I don’t want to show a Youtube video. I have changed the screensharing frame rate from 15 to 30 in config.

Video and audio unmuting is local only due to privacy concerns.

You need to edit jibri as it is configured for 720p.

We set maximum of 5 frames for screensharing: https://github.com/jitsi/lib-jitsi-meet/blob/f43c0c4bbfeb09ed816356eb5088bd61d40b91d5/modules/RTC/RTCUtils.js#L70 you will want to modify that.

How do I do that? Can you provide steps? Which file to edit?

I think you will need to setup xorg correctly and edit this part:


Recompile and redeploy.

where do i find that? how do i setup correctly?

how to do that? any guide?

You need to set it up in /etc/jitsi/jibri/xorg-video-dummy.conf

There is no guide, but jibri is a maven project you just need to edit the file and execute https://github.com/jitsi/jibri/blob/master/resources/jenkins/build.sh#L6
Then the result file you will take from target folder and replace it in /opt/jitsi/jibri.

which file to edit?

can i edit the file in my jibri installation on my server, run the sh and replace it?

what do i put in -

cd $WORKSPACE/ ?

what should i edit in xorg-video-dummy.conf?

Check out online how to configure xorg, as current configuration is to run with 720p desktop resolution and change it to run in 1080p.

This is the home folder of jibri source code.

do I edit this line ?

this?

where do i edit the file? which file?

  1. Clone the Jibri code
  2. Edit the line damyan mentioned above: https://github.com/jitsi/jibri/blob/7d5be64990fd010e8ea2fe39ebc182b35c54e282/src/main/kotlin/org/jitsi/jibri/capture/ffmpeg/FfmpegCapturer.kt#L41. This file (FfmpegCapturer.kt) will be in your Jibri checkout.
  3. Go to the Jibri main dir (where pom.xml is located) and run mvn clean package
  4. This will create a jar file in the target directory. Put this jar in /opt/jitsi/jibri on the machine where you installed Jibri.
  5. Edit the xorg file as damyan mentioned above.
  6. Restart Jibri

how do i clone it?

i am totally new.

These are not questions for this forum, there are a ton of documents explaining questions like this, the first result when searching for it in google: https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository

thanks

i have cloned the jibri code, built the jar file and put the jar file in /etc/jitsi/jibri where i have installed jibri.

this is the jar file which i got after building

/jibri-git/jibri/target/jibri-8.0-SNAPSHOT-jar-with-dependencies.jar

jibri_build_jar jibri_build