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

前端 未结 2 1924
野的像风
野的像风 2020-12-19 10:04

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 wa

相关标签:
2条回答
  • 2020-12-19 10:12

    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.

    0 讨论(0)
  • 2020-12-19 10:21

    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.

    0 讨论(0)
提交回复
热议问题