Alright so I’m running a Xen Server with HVM for my Jibri VMs they’re all on a gigabit connection.
Before I was using 1 socket 10 cores / 10vcpus and 16gb running Ubuntu 16.04 Server for each jibri instance which i have 3 identical virtual machines.
Now I stupidly decided to update 1 of those virtual machines to Ubuntu 20.04 Server and update the Meet Server to 20.04 along with it.
Now the Meet Server seems to be running just fine, but where as the 16.04 Jibri Servers ran fine connecting to youtube (I would have bitrate errors every now and then.) But over all the connections were stable and I had no problems streaming to YouTube.
But with Jibri on Ubuntu Server 20.04 the Connection is Poor and Buffering all the time if even that.
The only thing I can think of looking at the logs (log.0.txt etc) is that ffmpeg is trying to stream the Meet Conferent in 1080p instead of 720p.
Any idea how to fix that?
I can see 720p not being a problem for my Virtual Servers, but I don’t have New Enough Processors/RAM to handle ffmpeg transcoding in a Virtual Machine on the fly to YouTube, it just seems to choke the connection between Jibri and YouTube.
Excerpt from log.4.txt
2021-06-27 18:05:28.487 INFO:  org.jitsi.jibri.util.JibriSubprocess.log() Starting ffmpeg with command ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 30 -s 1920x1080 -thread_queue_size 4096 -i :0.0+0,0 -f alsa -thread_queue_size 4096 -i plug:bsnoop -acodec aac -strict -2 -ar 44100 -b:a 128k -af aresample=async=1 -c:v libx264 -preset veryfast -maxrate 2976k -bufsize 5952k -pix_fmt yuv420p -r 30 -crf 25 -g 60 -tune zerolatency -f flv rtmp://a.rtmp.youtube.com/live2/youtube-stream-key ([ffmpeg, -y, -v, info, -f, x11grab, -draw_mouse, 0, -r, 30, -s, 1920x1080, -thread_queue_size, 4096, -i, :0.0+0,0, -f, alsa, -thread_queue_size, 4096, -i, plug:bsnoop, -acodec, aac, -strict, -2, -ar, 44100, -b:a, 128k, -af, aresample=async=1, -c:v, libx264, -preset, veryfast, -maxrate, 2976k, -bufsize, 5952k, -pix_fmt, yuv420p, -r, 30, -crf, 25, -g, 60, -tune, zerolatency, -f, flv, rtmp://a.rtmp.youtube.com/live2/youtube-stream-key])