RTSP Streaming failing client side.

Tejas Ravichandran venkatakrishnan164 at gmail.com
Wed Nov 23 15:07:38 UTC 2016


I am using the test launch sample application in gst-rtsp-server to for
streaming  as below:

server side:
./test-launch "videotestsrc ! videoscale !
"video/x-raw,width=720,height=576,format=I420" ! rtpvrawpay name=pay0 pt=96
"

client-side :
gst-launch-1.0 rtspsrc latency=50 location=rtsp://10.0.0.2:8554/test !
rtpvrawdepay ! videoconvert ! ximagesink -v

    The above pipeline works absolutely fine.
However when i change the source without changing anything , i.e
for the following pipeline...

server side:
./test-launch "v4l2src device=/dev/video2 ! videoscale !
"video/x-raw,width=720,height=576,format=I420" ! rtpvrawpay name=pay0 pt=96
"
client-side :
gst-launch-1.0 rtspsrc latency=50 location=rtsp://10.0.0.2:8554/test !
rtpvrawdepay ! videoconvert ! ximagesink -v

It throws the following error:

ERROR: from element
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2948): gst_base_src_loop ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.006836897
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161123/64218e25/attachment.html>


More information about the gstreamer-devel mailing list