rtspsrc over tcp protocols not work

diyin qgq1991 at 163.com
Wed Aug 7 03:49:14 UTC 2019


When I set the rtsp server with 16384 kbps H264 stream,the rtspsrc over tcp
protocols can not work,
howevre it can work  over udp protocols.
when I set 16384 kbps H264 stream,rtspsrc can work over tcp protocols.

But VLC can work both over tcp and udp on 16384 kbps, so what happend to the
rtspsrc?

The pipeline is 
gst-launch-1.0 rtspsrc location=rtsp://admin:admin@44.120.46.193:554
protocols=GST_RTSP_LOWER_TRANS_TCP ! fakesink

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:admin@44.120.46.193:554
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not
read from resource.
Additional debug info:
gstrtspsrc.c(4662): gst_rtspsrc_loop_interleaved ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive message. (Parse error)
Execution ended after 0:00:00.165014528
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list