Jitsi默认使用XMPP协议的BOSH和http进行绑定
也可以使用websocket进行和服务器的绑定
jitsi-meet下的config.js设置如下
ar config = {
hosts: {
domain: 'meet.example.loc',
focus: 'focus.meet.example.loc',
muc: 'conference.meet.example.loc'
},
// BOSH URL. FIXME: use XEP-0156 to discover it.
bosh: '//meet.example.loc/http-bind',
// Websocket URL
websocket: 'wss://meet.example.loc/xmpp-websocket',
2.prosody配置文件上启用websocket
modules_ enabled = {
"websocket";
"smacks";
}
全局设置
consider_ websocket_ secure = true;
cross_ domain_ websocket = true;
think_ websocket_ secure = true;
smacks_ max_ unacked_ stanzas
本文介绍了如何将Jitsi Meet配置为使用WebSocket代替默认的XMPP BOSH和HTTP绑定。主要内容包括修改jitsi-meet的config.js设置,启用Prosody配置文件中的WebSocket支持,以及进行必要的Nginx配置调整。
订阅专栏 解锁全文

4093

被折叠的 条评论
为什么被折叠?



