For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to check the video stream

Stream Type: there are 3 options for the stream 1. RTSP 2. RTPUDP, with multicast was enabled by default (stream to 239.255.0.1) 3. KLV stream based on the RTPUDP, with multicast was enabled by default. It will stream the data to multicast group "239.255.0.1"

Confirm the payload IP You need to confirm the payload IP address; it need to be the same with your subnet

Get the H.264 RTP stream then show to monitor, make sure the port is correct

gst-launch-1.0 -v udpsrc multicast-group=239.255.0.1 port=5554 \
    caps="application/x-rtp, media=video, encoding-name=H264" ! \
    rtph264depay ! avdec_h264 ! autovideosink

Get the H.265 RTP stream then show to monitor, make sure the port is correct

gst-launch-1.0 -v udpsrc multicast-group=239.255.0.1 port=5554 \
    caps="application/x-rtp, media=video, encoding-name=H265" ! \    
    rtph265depay ! avdec_h265 ! autovideosink

RTSP-TCP

gst-launch-1.0 rtspsrc location=rtsp://<ip>:<port>/<stream> \
    protocols=tcp latency=200 ! \
    rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink

RTSP-UDP

gst-launch-1.0 rtspsrc location=rtsp://<ip>:<port>/<stream> \
    protocols=udp latency=200 ! \
    rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink

KLV Stream (Based on RTPUDP)

How to use RTP Multicast

Notes

  • Ubuntu Native is required. The current streaming pipeline is not supported on WSL (Windows Subsystem for Linux) and may result in unexpected errors or unstable behavior.

  • Known Issue: Configuring both RTP (UDP) and KLV (UDP) streams causes Payload-Plus to crash. This behavior has been verified using the latest version of Payload-Plus. If RTP or KLV streaming is required, consider using a separate communication channel for payload control.

  • Advantage: This streaming method provides lower latency than the other available streaming options. Measured end-to-end latency is approximately 200 ms under test conditions.

Last updated

Was this helpful?