I'm working on a college project where I need to add real-time chat and 1-on-1 video interactions to a website. Can anyone suggest how to go about this? I'm looking for free resources since I don't have a budget for paid services. I already know that I want to use Socket.io for chat, but I need advice on what technology to use for live video interactions.
3 Answers
For video functionality, I recommend exploring WebRTC; it's a great option for real-time video communication. During a similar college project, we utilized WebRTC with PeerJS, which simplifies the setup quite a bit and is free and open-source. You can find tons of tutorials to guide you through the process. For the chat part, Socket.io works perfectly and can be hosted for free on platforms like Railway or Render.
Definitely go with WebRTC for video. Using PeerJS will make your life easier. For your chat, Socket.io is a solid choice and can run on a Node server, which you can set up for free. Vercel or Netlify are great for hosting your frontend for free! Just a heads up, WebRTC is primarily for peer-to-peer connections, so it might get trickier with group calls. But for 1-on-1 interactions, you've got good options to stay within free tiers. Alternatively, if you want a super simple solution, Jitsi Meet offers embeddable options that are straightforward to implement and free.
Thanks for the pointers! I'm keeping it simple with just 1-on-1 calls, so that sounds perfect! I appreciate the help!
You could also set up a Jitsi instance for your project. They're free and come with a client that you can download. Just check their documentation for the setup instructions!

That's really helpful! Can you also tell me how WebRTC handles things if you need to connect more than two people? I'm just curious about any limitations.