Rahul Satal
Rahul Satal

Reputation: 2237

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

I want to develop a website in which users can have video chat and they can connect to other user anonymously without had been added by the other person as friend. I also want that all the active users list is displayed on the website. So somebody please suggest me how can I implement it on django?

Upvotes: 10

Views: 20839

Answers (2)

Aseem
Aseem

Reputation: 6779

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.

Upvotes: 1

masnun
masnun

Reputation: 11906

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.

Upvotes: 13

Related Questions