Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I promote candidate UDP 80/443? #163

Open
rasos opened this issue Dec 16, 2018 · 1 comment
Open

How can I promote candidate UDP 80/443? #163

rasos opened this issue Dec 16, 2018 · 1 comment

Comments

@rasos
Copy link

rasos commented Dec 16, 2018

I am using the standard Jitsi Meet Set-up with nginx. As we are still facing numerous connectivity issues I am experimenting with tunnelling UDP traffic to the videobridge port 4443 directly. However, when ice4j is looking for candidate pairs, I can never see port 80 or 443 UDP. Is there a setting where I could "promote" this viable option?

nginx.conf

# redirect UDP packets directly to videobridge
stream {
# IPv4
  server {
    listen 443 udp;
    proxy_pass 127.0.0.1:4443;
  }
  server {
    listen 443;
    proxy_pass 127.0.0.1:444;
  }
  server {
    listen 80 udp;
    proxy_pass 127.0.0.1:4443;
  }
  server {
    listen 80;
    proxy_pass 127.0.0.1:81;
# IPv6
  }
  server {
    listen [::]:443 udp;
    proxy_pass ip6-localhost:4443;
  }
  server {
    listen [::]:443;
    proxy_pass ip6-localhost:444;
  }
  server {
    listen [::]:80 udp;
    proxy_pass ip6-localhost:4443;
  }
  server {
    listen [::]:80;
    proxy_pass ip6-localhost:81;
  }
}
@rasos rasos changed the title How can I promote peer candidate UDP 80? How can I promote candidate UDP 80/443? Dec 16, 2018
@bgrozev
Copy link
Member

bgrozev commented Jan 10, 2019

You can use the TCP_HARVESTER_MAPPED_PORT to make the bridge advertise a port different than the one that it is bound to: https://github.com/jitsi/jitsi-videobridge/blob/master/doc/tcp.md#orgjitsivideobridgetcp_harvester_mapped_port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants