fix
This commit is contained in:
parent
c4f72eddd5
commit
b14e82fd87
4
app.js
4
app.js
@ -62,8 +62,8 @@ const peers = io.of('/');
|
||||
const createWorker = async () => {
|
||||
try {
|
||||
worker = await mediasoup.createWorker({
|
||||
rtcMinPort: 2000,
|
||||
rtcMaxPort: 2020,
|
||||
rtcMinPort: process.env.RTC_MIN_PORT,
|
||||
rtcMaxPort: process.env.RTC_MAX_PORT,
|
||||
})
|
||||
console.log(`[createWorker] worker pid ${worker.pid}`);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user