Real Time Streaming Protocol

Real Time Streaming Protocol

2020, Sep 26    

Initial reading list

Fully functional rtsp c++ streaming server example

Different protocols you should know

  • RTP
  • RTSP
  • RTCP
  • RTP over TCP,
  • UDP
  • Unicast
  • Multicast
  • SDP
  • RTP Payload audio / video formats and codecs (MJPEG, H264, MPEG-2, G.711, PCM)

RFC2326 Real Time Streaming Protocol (RTSP)

IETF RFC2326 website

RFC2617 HTTP Authentication: Basic and Digest Authentication

IETF RFC2617 notes related to RTSP digest auth

Micro-RTSP

Micro-RTSP

This is a small library which can be used to serve up RTSP streams from resource constrained MCUs. It lets you trivially make a $10 open source RTSP video stream camera.

WebRTC

WebRTC add real-time communication capabilities to your application that works on top of an open standard. It suports video, voice, and generic data.

gstreamer

gstreamer basic tutorials

rtsp digest auth

Flask Apps

Flask Audio Monitor

Maker pro - rpi flask edge streaming

General Streaming Server Architecture

Wireshark notes

  • TCP typical port traffic is 554
  • UDP traffic is 554

Display Filter Show only the RTSP based traffic:

rtsp

Show traffic

ip.proto==RTP

Capture Filter Capture RTSP traffic over the default port (554):

tcp port 554

Capture RTSP traffic over the alt port (8554):

tcp port 8554