Menu

1 / 7

How to build a video chat app with Node.js (your server owns the room)

DEV Community: node·Zishan Ghaniwala·12 days ago
#4ZpUKEZ0
#devtonodejs#devto#dev#token#room
Reading 0:00
15s threshold

Build a video chat app with Node.js where your server can end the call for every participant without joining it. Express controls who gets access, and VideoSDK's Node.js video calling API carries the live media. Here, "chat" means video and audio, not text chat.

The full source for this Node.js video chat app is on GitHub . It runs locally with npm and has no build step.

Build a video chat app with Node.js and Express

You'll build a group video call on one page. Whoever starts it becomes the host and gets an invite link. Anyone with that link joins as a guest. Every participant gets camera and mic controls and a Leave button.

Only the host sees End for everyone . That button asks the server to disconnect every browser and disable the room.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.