2 旧cl2相机设置
- mhttp.java:44行 改新的代理ngnix地址
public static String wsurl= “wss://wrnote.com/wss”;
改 “wss://wrnote.com/wsscl”; - lgActivity.java:84行 房间号直接2000
mhttp.iniwebsocket(mhttp.wsurl+mhttp.mrid+"/");//2021 8 1
改
mhttp.iniwebsocket(mhttp.wsurl+(mhttp.mrid+ baseport)+"/");//2021 8 1
3 rtc 两个tocken 改cl里的了
心跳5000
1 新cl设置
set $wssid ‘20001’;
if ( $request_uri ~* (wsscl)(\d\d\d\d+)/ ) {
set $wssid $2;
}
location ~ (wsscl)(\d\d\d\d+)/{
proxy_pass http://127.0.0.1:$wssid;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_connect_timeout 60s;
}