This is my following code.
const mediasoupOptions = {
// Worker settings
worker: {
rtcMinPort: 10000,
rtcMaxPort: 10300,
logLevel: 'warn',
logTags: [
'info',
'ice',
'dtls',
'rtp',
'srtp',
'rtcp'
],
},
// Router settings
router: {
mediaCodecs: [{
kind: 'audio',
mimeType: 'audio/opus',
clockRate: 48000,
channels: 2
}
]
},
// WebRtcTransport settings
webRtcTransport: {
listenIps: [{
ip: config.ipMediaSoup,
announcedIp: config.ipPublicMediaSoup
}],
enableUdp: true,
enableTcp: true,
preferUdp: true,
preferTcp: true,
maxIncomingBitrate: 1500000,
initialAvailableOutgoingBitrate: 1000000,
}
};
But transport params is over of range like image
I need help to use only 300 ports for 300 devices. My company is not allow to open big port range from 10000-59999!