Problem with "rtpsrc" and "gst-rtsp-server"

Myzhar myzhar at gmail.com
Thu Oct 27 14:41:04 UTC 2016


Hi all,

I'm trying to restream a h264 rtp stream to rtsp using gst-rtsp-server, but
I'm getting a strange error.

I'm using the "test-launch" example
(https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-launch.c)
and it correctly works using the default input string:
"*videotestsrc ! x264enc ! rtph264pay name=pay0 pt=96*"

When I try to replace the pipeline string with this:
"*udpsrc multicast-iface=eth0 multicast-group=239.0.0.105
auto-multicast=true port=16000 ! application/x-rtp, encoding-name=H264,
payload=96*"
the server starts, but when a client tries to connect it crashes with the
following errors:
"*gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed*"
and
"*invalid cast from 'GstUDPSrc' to 'GstBin'*"

The idea is to try to avoid H264 decoding and encoding since the RTP stream
is already encoded in H264.

Thank you
Walter



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Problem-with-rtpsrc-and-gst-rtsp-server-tp4680295.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list