I am Learning WebRTC and Want to Build a Website Like TalkRush
Hello everyone,
I am new to coding and still trying to understand how real-time chat and video chat websites work. Recently I found a website called TalkRush – Chat With Stranger, and I want to learn how something like this is created.
Here are the pages I checked:
I am trying to understand how these kinds of features are made:
- Stranger chat
- Group chat
- Video chat using WebRTC
- Simple UI but working smoothly
I am learning WebRTC but honestly I am still confused about many things.
What I understood till now
- WebRTC is used for real-time video/audio.
- For signaling, something like WebSocket or Socket.io is used.
- STUN/TURN servers are needed for connecting peers.
- Frontend can be plain JavaScript also (I am still learning).
What I am not understanding clearly
- How does signaling actually work internally?
- How do two random users get connected automatically?
- How do group rooms work?
- How to handle video/audio streams properly?
My question
If anyone has made a chat website with WebRTC, can you please guide me?
- How can a beginner create something like the TalkRush website shown above?
- Is it better to start from scratch or use some library first?
- Any simple explanation/tutorial for WebRTC signaling and matching users?
I want to learn and make a small project like this, but I feel stuck.
Any help will be appreciated.
Thank you.
Top comments (0)