Перейти к содержимому

Real Time Video Chat Tutorial Using Django and WebRTC

TauhidCodes

0:00 / 0:00

Real Time Video Chat Tutorial Using Django and WebRTC

59 122 просмотра · 5 лет назад
TauhidCodes
562 подписчика
59 122 просмотра · 5 лет назад
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):    • DJANGO CHANNELS 2 Tutorial (V2) - Real Tim...   Very Academy (Django-channels):    • Learn Django - Build an Asynchronous Chatr...   Django-channels official documentation: https://channels.readthedocs.io/en/st... Hussein Nasser (WebSocket):    • WebSockets Crash Course - Handshake, Use-c...   WebRTC sample codes (Couldn't find author): https://owebio.github.io/serverless-w... https://owebio.github.io/serverless-w... Hussein Nasser (WebRTC):    • WebRTC Crash Course   WebRTC official docs: https://webrtc.org/ Google WebRTC codelabs: https://codelabs.developers.google.co... WebRTC Mozilla docs: https://developer.mozilla.org/en-US/d... Social ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Instagram:   / this_is_tauhid   Twitter:   / this_is_tauhid   LinkedIn:   / kamruzzaman-tauhid-63536218a   Reddit:   / this_is_tauhid