DjangoCon US 2024: WebRTC with Django, Channels, HTMX, and coturn with Ken Whitesell

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=TQ_SsdXoI3Q



Duration: 0:00
74 views
1


Audio/Video conferencing has become standard in many areas for augmenting communications among individuals. Modern browsers facilitate this by including support for Web Real Time Communications (WebRTC).

WebRTC itself is a point-to-point protocol, which means that two browsers using this for a video call are talking directly to each other. But, before that can happen, the those browsers need to know that each other exists and are looking to establish this connection. Then they need to negotiate the parameters for the connection.

Then there are many network-related issues that can affect the ability for those two browsers to connect. Things like firewalls and Network Address Translation (NAT) can affect how each side "sees" the other side, further complicating the situation.

All these issues have known solutions. The WebRTC APIs have matured to the point where they can be considered reasonably stable and reliable. It has become practical to incorporate these solutions in a Django-based website.

This session will discuss one implementation of a Django-based website that facilitates a group video conferencing system, using Channels as the signalling mechanism, HTMX for page-content management, and coturn as the NAT transveral and and gateway server.


This talk was presented at: https://2024.djangocon.us/talks/webrt...

LINKS:
Follow Ken Whitesell 👇
On X: https://x.com/KenWhitesell

Follow DjangoCon US 👇
https://fosstodon.org/@djangocon
https://x.com/djangocon

Follow DEFNA 👇
https://www.defna.org/


Video Production by Confreaks
Follow Confreaks 👇
https://confreaks.com/
https://x.com/confreaks
https://confreaks.bsky.social/




Other Videos By Confreaks


2025-03-18DjangoCon US 2024: Open-source Python tools to visualize and analyse ... with Samweli Mwakisambwe
2025-03-18DjangoCon US 2024: One Thousand and One Django Sites with Vince Salvino
2025-03-17DjangoCon US 2024: Passkeys: Your password-free future with Ryan Hiebert
2025-03-17DjangoCon US 2024: Django Ledger | Uniting Developers and Accountants for... with Miguel Sanda
2025-03-16DjangoCon US 2024: path('/user/user.username:user/', view_profile) with Willem Van Onsem
2025-03-16DjangoCon US 2024: An Opinionated Guide to Modern Django Forms with Josh Thomas
2025-03-14DjangoCon US 2024: API Maybe: Bootstrapping a Web Application circa 2024 with Carlton Gibson
2025-03-14DjangoCon US 2024: Panel Discussion: Open, friendly, and welcoming: on the... with Lacey Henschel
2025-03-13DjangoCon US 2024: Django User Model: Past, Present, and Future with Will Vincent
2025-03-13DjangoCon US 2024: A Guided Tour Through Postgres Internals with Elizabeth Garrett Christensen
2025-03-12DjangoCon US 2024: WebRTC with Django, Channels, HTMX, and coturn with Ken Whitesell
2025-03-12DjangoCon US 2024: A Brief History of Django with Frank Wiles
2025-03-12DjangoCon US 2024: Keynote - The Fellowship of the Pony with Natalia Bidart
2025-03-11DjangoCon US 2024: Fighting Homelessness with Django with Benjamin "Zags" Zagorsky
2025-03-11DjangoCon US 2024: Hidden gems of Django 5.x with Sarah Boyce
2025-03-10DjangoCon US 2024: Faster, leaner, greener: 10x lower website carbon emissions with Thibaud Colas
2025-03-10DjangoCon US 2024: Opening Remarks (Wednesday) with Peter Grandstaff
2025-03-09DjangoCon US 2024: You got that nice tech salary, now what? with Tim Schilling
2025-03-09DjangoCon US 2024: Finding 2.0 with Marc Gibbons
2025-03-08DjangoCon US 2024: Django + Alpine.js + htmx Ups & Downs with Karen Tracey
2025-03-08DjangoCon US 2024: How to design and implement extensible software with plugins with Simon Willison