Jump to content

GstRtspSink - Legacy GstRtspSink

From RidgeRun Developer Wiki

Follow us on: YouTube Twitter LinkedIn Email Share this page

Share This Page



Previous: Client_Applications Index Next: Contact Us



This wiki shows the documentation for the legacy (GStreamer 0.10) GstRtspSink element.

Problems running the pipelines shown on this page? Please see our GStreamer Debugging guide for help .

Legacy RTSP Sink

The old version of GstRtspSink maintains the same idea of integrating an RTSP server into a GStreamer pipeline, but it's developed to support a single video stream. The main difference is that the service is specified by means of a property rather than on the caps.

On target board

MAPPING=/mystream
PORT=554

gst-launch-0.10 videotestsrc ! dmaienc_h264 idrinterval=30 targetbitrate=2500000 single-nalu=false ! rtspsink mapping=$MAPPING service=$PORT

On host PC

On the host PC, you might need to use root privileges to access the respective sockets.

MAPPING=/mystream
PORT=554

sudo gst-launch videotestsrc ! x264enc ! rtspsink mapping=$MAPPING service=$PORT

Client

As an RTSP client vlc may be used as the following:

MAPPING=/mystream
PORT=554
IP_ADDRESS=127.0.0.1

vlc rtsp://${IP_ADDRESS}:${PORT}${MAPPING}



Previous: Client_Applications Index Next: Contact Us


Cookies help us deliver our services. By using our services, you agree to our use of cookies.