~/talk

Using Python to stream media using GStreamer for WebRTC and RTSP applications

Talkat PyCon AU 2023 · 2023-08-18..08-22· [python, web-platform]
slides:none on file

Python plus GStreamer actually constructs pipelines that pull RTSP camera RTP, demux and decode to raw buffers via appsink/appsrc, let Python run ML (example: bounding box face detection turned into numpy arrays) and reencode and RTP or WebRTC (VP8 demo) for browsers. Code shows elementFactory construction versus convenience gst_parse_launch vs ElementFactory for setting properties, uses callbacks on samples and needs STUN/TURN (Twilio) for reliable NAT traversal; more work than OpenCV/FFmpeg but gives buffer/meta and GPU access.

AI-written summary · about

  1. 0:00Introduction
  2. 0:37Welcome
  3. 1:16Agenda
  4. 1:43When
  5. 2:44Why
  6. 3:44Live demonstration
  7. 6:52Alternative approaches
  8. 8:18Installing GStreamer
  9. 9:15RTSP
  10. 11:06Conceptual view
  11. 12:26Code walkthrough
  12. 15:36What is WebRTC
  13. 18:09How WebRTC works
  14. 20:49Setting up WebRTC
  15. 22:11Running the code
  16. 23:53Pipeline creation
  17. 24:56Local hacker spaces
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.