gst-rtsp-server/examples/test-record

Alexandr Deryk alexandr.deryk at gmail.com
Thu Jan 9 13:53:03 UTC 2025


Hi.

I am using gst-rtsp-server/examples/test-record.c
I can send video stream using:
gst-launch-1.0 videotestsrc ! x264enc ! rtspclientsink location=rtsp://
127.0.0.1:8554/test

I can't receive stream using:
gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test ! decodebin !
videoconvert ! autovideosink

ERROR: from element
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
Could not get/set settings from/on resource.
Progress: (open) Opening Stream
Additional debug info:
../gst/rtsp/gstrtspsrc.c(8240): gst_rtspsrc_retrieve_sdp ():
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
Server can not provide an SDP.
Pipeline is PREROLLED ...
ERROR: pipeline doesn't want to preroll.
Prerolled, waiting for progress to finish...

What do I need to change/add to test-record..c to read rtspsrc ... /test
from rtspclientsink .../test?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20250109/948d53a4/attachment.htm>


More information about the gstreamer-devel mailing list