How can I implement video chat in my website using Django?

If you are looking to create a video calling and chat application using django, django_channels, you can refer to this Github Repository . It also tells you how to deploy your app to google app engine flex with Redis instance.

It took me a long time to build this, so I created a detailed basic public repository to help someone like myself and for future reference.


You can use a third party service for this. Or you can use WebRTC. There are some nodejs packages which can help you do this. I like "EasyRTC" for that.

Or if you want to use Python, you can use Twisted. Here's a tutorial (found on Google, not tested by myself - https://ferretfarmer.net/2013/09/05/tutorial-real-time-chat-with-django-twisted-and-websockets-part-1/)

In essence, Django doesn't handle the video streaming/chat part. You can use Django for authentication and serving the required html and other stuff. But the video chat needs to depend on other services.

Tags:

Django

Chat

Video