Video resolution reduced when jvb seperation finish

Hello Guys,

Before completing the separation of bridges in the system for JVB optimization, the video quality was high 720x1080. But after the separation was complete, the video quality dropped to 320x180. I’ve looked and looked at many resources and couldn’t find a solution. I was wondering if anyone has encountered this issue.

If your colibri-ws from clients to the bridges is not working by default 180p is send. In other words the UI is not requesting the correct resolution without that channel.
Checkout browser console logs for errors.

hi damencho, some things started to make sense after reading what you wrote. I looked at the logs and i found this log.

Channel closed: 1006

Maybe i can share with you my .conf files.

My jvb.conf:

videobridge {
    http-servers {
        public {
            port = 9090
        }
    }
    websockets {
        enabled = true
        domain = "jitsi.mydomain.com:443"
        tls = true
	server-id=XX.XX.XX.XX
    }
    cc {
        trust-bwe=false
    }
}

this is my nginx.conf file in JVB Server:

user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;

events {
	worker_connections 768;
	# multi_accept on;
}

http {

	##
	# Basic Settings
	##

	sendfile on;
	tcp_nopush on;
	tcp_nodelay on;
	keepalive_timeout 65;
	types_hash_max_size 2048;
	# server_tokens off;

	# server_names_hash_bucket_size 64;
	# server_name_in_redirect off;

	include /etc/nginx/mime.types;
	default_type application/octet-stream;

	##
	# SSL Settings
	##

	ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
	ssl_prefer_server_ciphers on;

	##
	# Logging Settings
	##

	access_log /var/log/nginx/access.log;
	error_log /var/log/nginx/error.log;

	##
	# Gzip Settings
	##

	gzip on;

	# gzip_vary on;
	# gzip_proxied any;
	# gzip_comp_level 6;
	# gzip_buffers 16 8k;
	# gzip_http_version 1.1;
	# gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;

	##
	# Virtual Host Configs
	##

	include /etc/nginx/conf.d/*.conf;
	include /etc/nginx/sites-enabled/*;
}


#mail {
#	# See sample authentication script at:
#	# http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
# 
#	# auth_http localhost/auth.php;
#	# pop3_capabilities "TOP" "USER";
#	# imap_capabilities "IMAP4rev1" "UIDPLUS";
# 
#	server {
#		listen     localhost:110;
#		protocol   pop3;
#		proxy      on;
#	}
# 
#	server {
#		listen     localhost:143;
#		protocol   imap;
#		proxy      on;
#	}
#}

If you have a suggestion, I would like to implement it. Best Regards.

You should be looking at the nginx config on your Jitsi Meet Server (JMS). By default, there’s a block for a local JVB; you’ll need to add a block for remote JVBs.

I added this block as it is but it didn’t work, the log keeps coming and the video quality is bad. When I look at the script, do I need to open port 9090 on the JVB side?

Yes, that nginx needs to proxy those requests to the jvb instances.

I opened all the ports, I’m sure they have connections with each other. I can telnet. But I think I’m missing something.

colibri-ws/default-id/

As seen here, there is a request as default-id, so the reverse proxy does not work. I don’t understand where should I define the server ip or am I doing something else wrong?

If you set this in jvb config. Then the access URL will be colibri-ws/XX.XX.XX.XX … and the nginx rule above extracts it and use it.

This is used if server-id is not set.

Thank you for taking your precious time. my problem is solved. I learned a lot thanks. @damencho @emrah @Freddie