# No video/audio Chat unavailable

**URL:** <https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899>\
**Category:** mediasoup-demo\
**Created:** [January 31, 2023, 3:06pm UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899 "2023-01-31T15:06:11Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vimala](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@Vimala](https://mediasoup.discourse.group/u/Vimala)\
**Post date:** [January 31, 2023, 3:06pm UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/1 "2023-01-31T15:06:12Z")

</div>

After succeed to make media soup-demo works locally, i started a visio-conferency with other peers, but i can only see my video output and not others, how can i resolve this please ?

Am also having an issue with “Chat unavailable”, is there a configuration, i missed ?

i am able to join room, change name, and changed name is reflecting on other device.

But no video/audio and chat

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [January 31, 2023, 3:12pm UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/2 "2023-01-31T15:12:23Z")

</div>

You are receiving black videos? You must be missing listenIps setting, you need to set listenIps.ip to your local ip and announcedIp to 0.0.0.0 on local machine. Not sure about the chat you can search the error inside project.

This is demo project, use it as guidance and create your own app.

---

<div class="post-metadata">

**Author:** ![Vimala](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@Vimala](https://mediasoup.discourse.group/u/Vimala)\
**Post date:** [February 1, 2023, 10:33am UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/3 "2023-02-01T10:33:04Z")

</div>

I setup the config file with my local IP address only ,but still **chat unavailable**.

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [February 1, 2023, 10:43am UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/4 "2023-02-01T10:43:49Z")

</div>

And the video/audio working? If noy kindly show peer connection details from chrome://webrtc-internals. Chat not working is not an issue, you will have to look into the code to find out the cause.

---

<div class="post-metadata">

**Author:** ![Vimala](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@Vimala](https://mediasoup.discourse.group/u/Vimala)\
**Post date:** [February 1, 2023, 10:57am UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/5 "2023-02-01T10:57:45Z")

</div>

video/audio and chat unavailable is not working

 ![Screenshot (149)](https://global.discourse-cdn.com/free1/uploads/mediasoup/original/2X/f/fa633ddbc0bdb737876d4d3747caaf64132faec3.png)

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [February 1, 2023, 11:06am UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/6 "2023-02-01T11:06:55Z")

</div>

Show the configuration. And also share screenshots from chrome://webrtc-internals

---

<div class="post-metadata">

**Author:** ![Vimala](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@Vimala](https://mediasoup.discourse.group/u/Vimala)\
**Post date:** [February 1, 2023, 11:41am UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/7 "2023-02-01T11:41:25Z")

</div>

/\*\*

- IMPORTANT (PLEASE READ THIS):
- 
- This is not the “configuration file” of mediasoup. This is the configuration
- file of the mediasoup-demo app. mediasoup itself is a server-side library, it
- does not read any “configuration file”. Instead it exposes an API. This demo
- application just reads settings from this file (once copied to config.js) and
- calls the mediasoup API with those settings when appropriate.  
\*/

const os = require(‘os’);

module.exports =  
{  
// Listening hostname (just for `gulp live` task).  
domain : process.env.DOMAIN || ‘localhost’,  
// Signaling settings (protoo WebSocket server and HTTP API server).  
https :  
{  
listenIp : ‘0.0.0.0’,  
//listenIp : ‘192.168.1.8’,  
// NOTE: Don’t change listenPort (client app assumes 4443).  
listenPort : process.env.PROTOO\_LISTEN\_PORT || 4443,  
// NOTE: Set your own valid certificate files.  
tls :  
{  
cert : process.env.HTTPS\_CERT\_FULLCHAIN || `${__dirname}/certs/fullchain.pem`,  
key : process.env.HTTPS\_CERT\_PRIVKEY || `${__dirname}/certs/privkey.pem`  
}  
},  
// mediasoup settings.  
mediasoup :  
{  
// Number of mediasoup workers to launch.  
numWorkers : Object.keys(os.cpus()).length,  
// mediasoup WorkerSettings.  
// See [mediasoup :: API](https://mediasoup.org/documentation/v3/mediasoup/api/#WorkerSettings)  
workerSettings :  
{  
logLevel : ‘warn’,  
logTags :  
[  
‘info’,  
‘ice’,  
‘dtls’,  
‘rtp’,  
‘srtp’,  
‘rtcp’,  
‘rtx’,  
‘bwe’,  
‘score’,  
‘simulcast’,  
‘svc’,  
‘sctp’  
],  
rtcMinPort : process.env.MEDIASOUP\_MIN\_PORT || 40000,  
rtcMaxPort : process.env.MEDIASOUP\_MAX\_PORT || 49999  
},  
// mediasoup Router options.  
// See [mediasoup :: API](https://mediasoup.org/documentation/v3/mediasoup/api/#RouterOptions)  
routerOptions :  
{  
mediaCodecs :  
[  
{  
kind : ‘audio’,  
mimeType : ‘audio/opus’,  
clockRate : 48000,  
channels : 2  
},  
{  
kind : ‘video’,  
mimeType : ‘video/VP8’,  
clockRate : 90000,  
parameters :  
{  
‘x-google-start-bitrate’ : 1000  
}  
},  
{  
kind : ‘video’,  
mimeType : ‘video/VP9’,  
clockRate : 90000,  
parameters :  
{  
‘profile-id’ : 2,  
‘x-google-start-bitrate’ : 1000  
}  
},  
{  
kind : ‘video’,  
mimeType : ‘video/h264’,  
clockRate : 90000,  
parameters :  
{  
‘packetization-mode’ : 1,  
‘profile-level-id’ : ‘4d0032’,  
‘level-asymmetry-allowed’ : 1,  
‘x-google-start-bitrate’ : 1000  
}  
},  
{  
kind : ‘video’,  
mimeType : ‘video/h264’,  
clockRate : 90000,  
parameters :  
{  
‘packetization-mode’ : 1,  
‘profile-level-id’ : ‘42e01f’,  
‘level-asymmetry-allowed’ : 1,  
‘x-google-start-bitrate’ : 1000  
}  
}  
]  
},  
// mediasoup WebRtcServer options for WebRTC endpoints (mediasoup-client,  
// libmediasoupclient).  
// See [mediasoup :: API](https://mediasoup.org/documentation/v3/mediasoup/api/#WebRtcServerOptions)  
// NOTE: mediasoup-demo/server/lib/Room.js will increase this port for  
// each mediasoup Worker since each Worker is a separate process.  
webRtcServerOptions :  
{  
listenInfos :  
[  
{  
protocol : ‘udp’,  
ip : process.env.MEDIASOUP\_LISTEN\_IP || ‘0.0.0.0’,  
announcedIp : process.env.MEDIASOUP\_ANNOUNCED\_IP || ‘0.0.0.0’,  
port : 44444  
},  
{  
protocol : ‘tcp’,  
ip : process.env.MEDIASOUP\_LISTEN\_IP || ‘0.0.0.0’,  
announcedIp : process.env.MEDIASOUP\_ANNOUNCED\_IP || ‘0.0.0.0’,  
port : 44444  
}  
],  
},  
// mediasoup WebRtcTransport options for WebRTC endpoints (mediasoup-client,  
// libmediasoupclient).  
// See [mediasoup :: API](https://mediasoup.org/documentation/v3/mediasoup/api/#WebRtcTransportOptions)  
webRtcTransportOptions :  
{  
// listenIps is not needed since webRtcServer is used.  
// However passing MEDIASOUP\_USE\_WEBRTC\_SERVER=false will change it.  
listenIps :  
[  
{  
ip : process.env.MEDIASOUP\_LISTEN\_IP || ‘192.168.1.8’,  
announcedIp : process.env.MEDIASOUP\_ANNOUNCED\_IP || ‘0.0.0.0’  
}  
],  
initialAvailableOutgoingBitrate : 1000000,  
minimumAvailableOutgoingBitrate : 600000,  
maxSctpMessageSize : 262144,  
// Additional options that are not part of WebRtcTransportOptions.  
maxIncomingBitrate : 1500000  
},  
// mediasoup PlainTransport options for legacy RTP endpoints (FFmpeg,  
// GStreamer).  
// See [mediasoup :: API](https://mediasoup.org/documentation/v3/mediasoup/api/#PlainTransportOptions)  
plainTransportOptions :  
{  
listenIp :  
{  
ip : process.env.MEDIASOUP\_LISTEN\_IP || ‘0.0.0.0’,  
announcedIp : process.env.MEDIASOUP\_ANNOUNCED\_IP || ‘0.0.0.0’  
},  
maxSctpMessageSize : 262144  
}  
}  
};

 ![Screenshot (150)](https://global.discourse-cdn.com/free1/uploads/mediasoup/original/2X/3/3e8b98756e29df7377cae4ccb60ea39ca27a0af3.png)

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [February 1, 2023, 1:40pm UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/8 "2023-02-01T13:40:27Z")

</div>

Ok, kindly show ice candidate grid data from webrtc-internals

---

<div class="post-metadata">

**Author:** ![Vimala](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@Vimala](https://mediasoup.discourse.group/u/Vimala)\
**Post date:** [February 1, 2023, 1:50pm UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/9 "2023-02-01T13:50:43Z")

</div>

Its shows empty…

 ![Screenshot (151)](https://global.discourse-cdn.com/free1/uploads/mediasoup/original/2X/3/36408cf648bcd117b654ff7387d8a604d015b055.png)

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [February 1, 2023, 1:55pm UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/10 "2023-02-01T13:55:17Z")

</div>

In both of the peer connections? Check for errors in web console and node server

---

<div class="post-metadata">

**Author:** ![Vimala](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@Vimala](https://mediasoup.discourse.group/u/Vimala)\
**Post date:** [February 1, 2023, 2:02pm UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/11 "2023-02-01T14:02:41Z")

</div>

C:\mediasoup-demo\app\lib\components\transitions.jsx  
1:27 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
2:36 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
3:56 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
4:1 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
5:45 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
6:16 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
7:5 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
8:22 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
9:29 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
10:9 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
11:3 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
12:13 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
13:18 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
14:3 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
15:1 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
16:19 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
17:2 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
18:30 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
19:26 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
20:3 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
21:1 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style  
22:19 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style

---

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [February 1, 2023, 2:39pm UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/12 "2023-02-01T14:39:24Z")

</div>

Can you share with me the code both client/server? I can better look it.

---

<div class="post-metadata">

**Author:** ![ZhengXianghui](https://avatars.discourse-cdn.com/v4/letter/z/e36b37/32.png) [@ZhengXianghui](https://mediasoup.discourse.group/u/ZhengXianghui)\
**Post date:** [February 23, 2023, 6:23am UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/13 "2023-02-23T06:23:03Z")

</div>

I have solved this problem now,you should change the ip ‘0.0.0.0’ to ‘yourIP’ for webRtcServerOptions、webRtcTransportOptions and plainTransportOptions at the end of config.js. Follow is the section you should change.

webRtcServerOptions :  
{  
listenInfos :  
[  
{  
protocol : ‘udp’,  
ip : process.env.MEDIASOUP\_LISTEN\_IP || ‘0.0.0.0’,  
announcedIp : process.env.MEDIASOUP\_ANNOUNCED\_IP,  
port : 44444  
},  
{  
protocol : ‘tcp’,  
ip : process.env.MEDIASOUP\_LISTEN\_IP || ‘0.0.0.0’,  
announcedIp : process.env.MEDIASOUP\_ANNOUNCED\_IP,  
port : 44444  
}  
],  
},  
// mediasoup WebRtcTransport options for WebRTC endpoints (mediasoup-client,  
// libmediasoupclient).  
// See [mediasoup :: API](https://mediasoup.org/documentation/v3/mediasoup/api/#WebRtcTransportOptions)  
webRtcTransportOptions :  
{  
// listenIps is not needed since webRtcServer is used.  
// However passing MEDIASOUP\_USE\_WEBRTC\_SERVER=false will change it.  
listenIps :  
[  
{  
ip : process.env.MEDIASOUP\_LISTEN\_IP || ‘0.0.0.0’,  
announcedIp : process.env.MEDIASOUP\_ANNOUNCED\_IP  
}  
],  
initialAvailableOutgoingBitrate : 1000000,  
minimumAvailableOutgoingBitrate : 600000,  
maxSctpMessageSize : 262144,  
// Additional options that are not part of WebRtcTransportOptions.  
maxIncomingBitrate : 1500000  
},  
// mediasoup PlainTransport options for legacy RTP endpoints (FFmpeg,  
// GStreamer).  
// See [mediasoup :: API](https://mediasoup.org/documentation/v3/mediasoup/api/#PlainTransportOptions)  
plainTransportOptions :  
{  
listenIp :  
{  
ip : process.env.MEDIASOUP\_LISTEN\_IP || ‘0.0.0.0’,  
announcedIp : process.env.MEDIASOUP\_ANNOUNCED\_IP  
},  
maxSctpMessageSize : 262144  
}

---

<div class="post-metadata">

**Author:** ![wpaladins](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/wpaladins/32/976_2.png) [@wpaladins](https://mediasoup.discourse.group/u/wpaladins)\
**Post date:** [March 3, 2023, 8:53am UTC](https://mediasoup.discourse.group/t/no-video-audio-chat-unavailable/4899/14 "2023-03-03T08:53:18Z")

</div>

Came across the same problem. The reason was finally found, because the udp port was not “released” in the security group of the cloud server. You can also try adding “&forceTcp=true” to the url as follows. If it works, the reason for the problem you mentioned is that the udp port is not “released”.

```auto
https://x.x.x.x:3000/?info=true&roomId=xxx&forceTcp=true

```
