Back to Browse

Real Time Video Chat Tutorial Using Django and WebRTC

59.0K views
Jun 4, 2021
1:49:44

Building a multi-client video chat web app using Django, WebSocket and WebRTC. The django-channels library is used for signalling on the server side. Disclaimer: This video was made when I was at university and couldn't find any video tutorial for building a video chat web app using Django. So I decided to make one after learning how to do it. Needless to say that this video serves only to demonstrate the most basic concepts of sharing video/audio streams between two peers via WebRTC, after handshaking through a Django signalling server, and is not representative of a scalable production-grade video chat application. It is imperative for the viewers to apply the handshaking and media streaming concepts from this video to develop more robust solutions. Although this example is suitable for one-to-one video chat, the peer-to-peer mesh implemented here does not scale for group chat, which require separate SFU/MCU servers to accommodate more than 2 participants with minimal latency. Resources I've used to learn: CodingEntrepreneurs (Django-channels): https://www.youtube.com/watch?v=RVH05S1qab8 Very Academy (Django-channels): https://www.youtube.com/watch?v=F4nwRQPXD8w Django-channels official documentation: https://channels.readthedocs.io/en/stable/ Hussein Nasser (WebSocket): https://www.youtube.com/watch?v=2Nt-ZrNP22A WebRTC sample codes (Couldn't find author): https://owebio.github.io/serverless-webrtc-chat/noserv.create.html?fbclid=IwAR2T7ufwHyfOc05wokgA__8o2XK4B231K5piH4yf-v6FTKDKVNZT56CMkfQ https://owebio.github.io/serverless-webrtc-chat/noserv.join.html?fbclid=IwAR0aPKxImZ1zT3BnyS1wRv7juxTPzEexSiyERlgs5uiV6hitaopkHv0p1eA Hussein Nasser (WebRTC): https://www.youtube.com/watch?v=FExZvpVvYxA WebRTC official docs: https://webrtc.org/ Google WebRTC codelabs: https://codelabs.developers.google.com/codelabs/webrtc-web#0 WebRTC Mozilla docs: https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API Social ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Instagram: https://www.instagram.com/this_is_tauhid Twitter: https://twitter.com/this_is_tauhid LinkedIn: https://www.linkedin.com/in/kamruzzaman-tauhid-63536218a/ Reddit: https://www.reddit.com/user/this_is_tauhid

Download

0 formats

No download links available.

Real Time Video Chat Tutorial Using Django and WebRTC | NatokHD