Can’t transfer audio and video.
The colibri-ws is working, but will be fail finally.
Is everything hosted on the same sever?
Share your nginx config.
Is everything hosted on the same sever?
Yes, jvb jicofo and prosody, but i deploy the frontend package on another server, and i transfered all interfaces to the backend server(http-bind and colibri-ws).
The [https://172.23.77.190:8092] is my backend server path, which hosts jvb jicofo and prosody.
Now, jitsi-meet works fine through [https://172.23.77.190:8092], but fails in my frontend server https domain.
This is the frontend server Nginx config
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
set $prefix "";
location /jitsi-meet/ {
alias /webapp/jitsi-meet/;
}
location ~ ^/jitsi-meet/(libs|css|static|images|fonts|lang|sounds|connection_optimization|.well-known)/(.*)$ {
add_header 'Access-Control-Allow-Origin' '*';
alias /webapp/jitsi-meet/$1/$2;
if ($arg_v) {
expires 1y;
}
}
location ~ /jitsi-meet/config.js {
alias /webapp/jitsi-meet-config/config.js;
}
location ~ /jitsi-meet/interface_config.js {
alias /webapp/jitsi-meet-config/interface_config.js;
}
location ~ /jitsi-meet/external_api.js {
alias /webapp/jitsi-meet/libs/external_api.min.js;
}
# colibri (JVB) websockets
location ~ ^/jitsi-meet/colibri-ws/([a-zA-Z0-9-\._]+)/(.*) {
tcp_nodelay on;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_pass https://172.23.77.190:8092/colibri-ws/$1/$2$is_args$args;
}
# BOSH
location ~ /jitsi-meet/http-bind {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
proxy_pass https://172.23.77.190:8092/http-bind?prefix=$prefix&$args;
}
# BOSH
location ~ ^/([^/?&:'"]+)/jitsi-meet/http-bind {
set $subdomain "$1.";
set $subdir "$1/";
set $prefix "$1";
rewrite ^/(.*)$ /jitsi-meet/http-bind;
}
location ~ ^/jitsi-meet/([^/?&:'"]+)$ {
root /webapp/jitsi-meet/;
rewrite ^/jitsi-meet/(.*)$ /index.html break;
index index.html index.htm;
}
Hello,I have encountered the same problem as you. Have you finally solved the problem?appreciate for any idea.