---
title: "N. M. Ali Hayder (@ahayder) | Hashnode"
description: "Node | React | Ionic. Read the latest articles by N. M. Ali Hayder on Hashnode."
url: "https://hashnode.com/@ahayder"
---

@ahayder

# N. M. Ali Hayder

@ahayder · Dhaka, Bangladesh · Joined November 2020

Node | React | Ionic

[Website](https://ahayder.me/)

## Comments

[Hi, Kannan 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, });](https://hashnode.com/posts/lets-build-a-video-conferencing-app/5f9d1ff465cd015fab581a6d/comment/5fa1568924a897066ab25af9#reply-5fa52c7d47631a19e8120093)

Reply · Article · Nov 6, 2020 · [Let's build a video conferencing app](https://hashnode.com/posts/lets-build-a-video-conferencing-app/5f9d1ff465cd015fab581a6d)

[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)](https://hashnode.com/posts/lets-build-a-video-conferencing-app/5f9d1ff465cd015fab581a6d/comment/5fa1568924a897066ab25af9)

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