|
|
|
@ -13,11 +13,11 @@ const os = require('os');
|
|
|
|
|
module.exports =
|
|
|
|
|
{
|
|
|
|
|
// Listening hostname (just for `gulp live` task).
|
|
|
|
|
domain : process.env.DOMAIN || '0.0.0.0',
|
|
|
|
|
domain : process.env.DOMAIN || 'localhost',
|
|
|
|
|
// Signaling settings (protoo WebSocket server and HTTP API server).
|
|
|
|
|
https :
|
|
|
|
|
{
|
|
|
|
|
listenIp : '0.0.0.0', // 换成你的IP地址
|
|
|
|
|
listenIp : '192.168.0.167', // 换成你的IP地址
|
|
|
|
|
// NOTE: Don't change listenPort (client app assumes 4443).
|
|
|
|
|
listenPort : process.env.PROTOO_LISTEN_PORT || 4443,
|
|
|
|
|
// NOTE: Set your own valid certificate files.
|
|
|
|
@ -124,13 +124,13 @@ module.exports =
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
protocol : 'udp',
|
|
|
|
|
ip : process.env.MEDIASOUP_LISTEN_IP || '0.0.0.0', // 换成你的IP地址
|
|
|
|
|
ip : process.env.MEDIASOUP_LISTEN_IP || '192.168.0.167', // 换成你的IP地址
|
|
|
|
|
announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP,
|
|
|
|
|
port : 44444
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
protocol : 'tcp',
|
|
|
|
|
ip : process.env.MEDIASOUP_LISTEN_IP || '0.0.0.0', // 换成你的IP地址
|
|
|
|
|
ip : process.env.MEDIASOUP_LISTEN_IP || '192.168.0.167', // 换成你的IP地址
|
|
|
|
|
announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP,
|
|
|
|
|
port : 44444
|
|
|
|
|
}
|
|
|
|
@ -147,7 +147,7 @@ module.exports =
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
protocol : 'udp',
|
|
|
|
|
ip : process.env.MEDIASOUP_LISTEN_IP || '0.0.0.0', // 换成你的IP地址
|
|
|
|
|
ip : process.env.MEDIASOUP_LISTEN_IP || '192.168.0.167', // 换成你的IP地址
|
|
|
|
|
announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP,
|
|
|
|
|
portRange :
|
|
|
|
|
{
|
|
|
|
@ -157,7 +157,7 @@ module.exports =
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
protocol : 'tcp',
|
|
|
|
|
ip : process.env.MEDIASOUP_LISTEN_IP || '0.0.0.0', // 换成你的IP地址
|
|
|
|
|
ip : process.env.MEDIASOUP_LISTEN_IP || '192.168.0.167', // 换成你的IP地址
|
|
|
|
|
announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP,
|
|
|
|
|
portRange :
|
|
|
|
|
{
|
|
|
|
@ -180,7 +180,7 @@ module.exports =
|
|
|
|
|
listenInfo :
|
|
|
|
|
{
|
|
|
|
|
protocol : 'udp',
|
|
|
|
|
ip : process.env.MEDIASOUP_LISTEN_IP || '0.0.0.0', // 换成你的IP地址
|
|
|
|
|
ip : process.env.MEDIASOUP_LISTEN_IP || '192.168.0.167', // 换成你的IP地址
|
|
|
|
|
announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP,
|
|
|
|
|
portRange :
|
|
|
|
|
{
|
|
|
|
|