GstRtspSink

From RidgeRun Developer Wiki
(Redirected from RTSP Sink)


  Index Next: Getting the code






GstRtspSink Overview

RTSP Sink is a GStreamer element which permits high performance streaming to multiple computers using the RTSP / RTP protocols. The GstRtspSink element leverages previous logic from GStreamer's RTSP server with extensions to create a GStreamer sink element providing benefits like greater flexibility, easy application integration, and quick gst-launch prototyping.

With GstRtspSink you have the flexibility to stream different content to the same client, such as audio and video. You can also send different streams to different clients. This means that within a single GStreamer pipeline you can stream multiple videos, multiple audios, and multiple lip-sync audio+video streams, each one to a different client using a different RTSP mapping. In the Advanced Examples page different streaming possibilities are shown.

GStreamer RTSP Sink Features

GstRtspSink supports the following features:

  • GStreamer-1.0 and Gstreamer-0.10 versions
  • Configurable mappings for each stream. The mapping is the text string used at the end of the RTSP URL: rtsp://$SERVER_IP/$MAPPING
  • Configurable TCP port number
  • Automatic payloader detection according to the negotiated pipeline capabilities
  • Multiple independent streams (1):
    • Video only streams
    • Audio only streams
    • Video+Audio streams
  • Multicast networking support
  • RTSP over HTTP Tunneling support
  • Basic Authentication control by user and password
  • Fine-grained stream control
  • Designed for use in embedded products: supports zero-copy pipelines

(1) The number of simultaneous streams is limited by the hardware capabilities.

GstRtspSink Supported Formats

GstRtspSink supports the following formats:

  • Video
    • H264
    • H265
    • VP8
    • VP9
    • MPEG4
    • JPEG
    • DIVX
    • AV1 (new!)
  • Audio
    • AAC
    • AC3
    • PCMA
    • PCMU
    • OPUS
  • Transport Stream A/V
  • KLV Metadata

Supported platforms

GstRtspSink is compatible with the following platforms:

  • x86-64
  • NXP i.MX 6
  • NXP i.MX 8
  • NVIDIA Jetson
  • Xilinx ZYNQ and ZYNQ-MPSoC
  • Qualcomm RB5/RB6 (new!)
  • Generic Linux distributions

Getting Started

Start navigating this wiki by going to the Getting the Code page in the table of contents.



For direct inquiries, please refer to the contact information available on our Contact page. Alternatively, you may complete and submit the form provided at the same link. We will respond to your request at our earliest opportunity.


Links to RidgeRun Resources and RidgeRun Artificial Intelligence Solutions can be found in the footer below.



  Index Next: Getting the code