调整部署ip

main
鲁誉程 2 months ago
parent 00f464dc46
commit 7da42601ac

@ -17,7 +17,7 @@ module.exports =
// Signaling settings (protoo WebSocket server and HTTP API server). // Signaling settings (protoo WebSocket server and HTTP API server).
https : https :
{ {
listenIp : '192.168.0.167', // 换成你的IP地址 listenIp : '172.17.0.22', // 换成你的IP地址
// NOTE: Don't change listenPort (client app assumes 4443). // NOTE: Don't change listenPort (client app assumes 4443).
listenPort : process.env.PROTOO_LISTEN_PORT || 4443, listenPort : process.env.PROTOO_LISTEN_PORT || 4443,
// NOTE: Set your own valid certificate files. // NOTE: Set your own valid certificate files.
@ -124,13 +124,13 @@ module.exports =
[ [
{ {
protocol : 'udp', protocol : 'udp',
ip : process.env.MEDIASOUP_LISTEN_IP || '192.168.0.167', // 换成你的IP地址 ip : process.env.MEDIASOUP_LISTEN_IP || '172.17.0.22', // 换成你的IP地址
announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP, announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP,
port : 44444 port : 44444
}, },
{ {
protocol : 'tcp', protocol : 'tcp',
ip : process.env.MEDIASOUP_LISTEN_IP || '192.168.0.167', // 换成你的IP地址 ip : process.env.MEDIASOUP_LISTEN_IP || '172.17.0.22', // 换成你的IP地址
announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP, announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP,
port : 44444 port : 44444
} }
@ -147,7 +147,7 @@ module.exports =
[ [
{ {
protocol : 'udp', protocol : 'udp',
ip : process.env.MEDIASOUP_LISTEN_IP || '192.168.0.167', // 换成你的IP地址 ip : process.env.MEDIASOUP_LISTEN_IP || '172.17.0.22', // 换成你的IP地址
announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP, announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP,
portRange : portRange :
{ {
@ -157,7 +157,7 @@ module.exports =
}, },
{ {
protocol : 'tcp', protocol : 'tcp',
ip : process.env.MEDIASOUP_LISTEN_IP || '192.168.0.167', // 换成你的IP地址 ip : process.env.MEDIASOUP_LISTEN_IP || '172.17.0.22', // 换成你的IP地址
announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP, announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP,
portRange : portRange :
{ {
@ -180,7 +180,7 @@ module.exports =
listenInfo : listenInfo :
{ {
protocol : 'udp', protocol : 'udp',
ip : process.env.MEDIASOUP_LISTEN_IP || '192.168.0.167', // 换成你的IP地址 ip : process.env.MEDIASOUP_LISTEN_IP || '172.17.0.22', // 换成你的IP地址
announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP, announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP,
portRange : portRange :
{ {

Loading…
Cancel
Save