Greetings everyone,
According to the documentation for the webRtcTransportOptions and plainTransportOptions configuration in mediasoup, the parameter listenIps has been deprecated. Instead, you should use listenInfos.
So the correct configuration now should be:
webRtcTransportOptions :
{
// listenInfos is not needed since webRtcServer is used.
// However passing MEDIASOUP_USE_WEBRTC_SERVER=false will change it.
listenInfos :
[
{
protocol: 'udp', // UDP is commonly used for WebRTC.
ip : process.env.MEDIASOUP_LISTEN_IP || '0.0.0.0',
announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP
}
],
initialAvailableOutgoingBitrate : 1000000,
minimumAvailableOutgoingBitrate : 600000,
maxSctpMessageSize : 262144,
// Additional options that are not part of WebRtcTransportOptions.
maxIncomingBitrate : 1500000
},
plainTransportOptions :
{
listenInfos :
[
{
protocol: 'udp', // UDP is commonly used for WebRTC.
ip : process.env.MEDIASOUP_LISTEN_IP || '0.0.0.0',
announcedAddress : process.env.MEDIASOUP_ANNOUNCED_IP
}
],
maxSctpMessageSize : 262144
}
It might be necessary to update the mediasoup-demo config.example.js to reflect this change?
Thank you for bringing it to our attention.