GstRtspSink - Legacy GstRtspSink: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{GstRtspSink/Head|previous=Client_Applications|next=Contact Us | {{GstRtspSink/Head|previous=Client_Applications|next=Contact Us}} | ||
This wiki shows the documentation for the legacy (GStreamer 0.10) GstRtspSink element. | This wiki shows the documentation for the legacy (GStreamer 0.10) GstRtspSink element. |
Latest revision as of 19:55, 4 November 2024
This wiki shows the documentation for the legacy (GStreamer 0.10) GstRtspSink element.
|
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}