---
title: "Comment by N. M. Ali Hayder on \"Let's build a video conferencing app\" | Hashnode"
description: "Hi Kannan, I&#39;ve hosted the server into Heroku and the client into firebase hosting. Now, If I test on my own network using multiple devices then it&#39;s wo"
url: "https://hashnode.com/posts/lets-build-a-video-conferencing-app/5f9d1ff465cd015fab581a6d/comment/5fa1568924a897066ab25af9"
---

[Discussion](https://hashnode.com/posts/lets-build-a-video-conferencing-app/5f9d1ff465cd015fab581a6d)

Comment [Let's build a video conferencing app](https://hashnode.com/posts/lets-build-a-video-conferencing-app/5f9d1ff465cd015fab581a6d)

[N. M. Ali Hayder](https://hashnode.com/@ahayder)

[Nov 3, 2020](https://hashnode.com/posts/lets-build-a-video-conferencing-app/5f9d1ff465cd015fab581a6d/comment/5fa1568924a897066ab25af9)

Hi Kannan, I've hosted the server into Heroku and the client into firebase hosting. Now, If I test on my own network using multiple devices then it's working fine. But on another network, the video becomes black when I test it with a friend. An error shows in the console is like: Uncaught Error: Connection failed. at d.value (index.js:658) at RTCPeerConnection.t.\_pc.onconnectionstatechange (index.js:116)

[Kannan](https://hashnode.com/@rbkannan1)

[Nov 3, 2020](https://hashnode.com/posts/lets-build-a-video-conferencing-app/5f9d1ff465cd015fab581a6d/comment/5fa1568924a897066ab25af9#reply-5fa159f2cad5a1068b51a582)

Hi [N. M. Ali Hayder](https://hashnode.com/@ahayder) Can you share your client Url here please ?

[N. M. Ali Hayder](https://hashnode.com/@ahayder)

[Nov 6, 2020](https://hashnode.com/posts/lets-build-a-video-conferencing-app/5f9d1ff465cd015fab581a6d/comment/5fa1568924a897066ab25af9#reply-5fa52c7d47631a19e8120093)

Hi, [Kannan](https://hashnode.com/@rbkannan1) I solved the issue by configuring the ice servers. The snippet looks like this now.

```
const peer = new Peer({
      initiator: true,
      trickle: false,
      config: {
        iceServers: [
          {
            urls: "stun:numb.viagenie.ca",
            username: "sultan1640@gmail.com",
            credential: "98376683"
          },
          {
            urls: "turn:numb.viagenie.ca",
            username: "sultan1640@gmail.com",
            credential: "98376683"
          }
        ]
      },
      stream,
    });
```

[Kannan](https://hashnode.com/@rbkannan1)

[Nov 6, 2020](https://hashnode.com/posts/lets-build-a-video-conferencing-app/5f9d1ff465cd015fab581a6d/comment/5fa1568924a897066ab25af9#reply-5fa5970954cc5b4ad931e1d5)

Thanks [N. M. Ali Hayder](https://hashnode.com/@ahayder)
