rtspconnection: Work around broken servers sending garbage between interleaved TCP packets by resyncing
When I set the rtsp server(ip carema) 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?
My gstreamer version is V1.8.3,and I attach a wireshark pcapng.
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 ...
Thanks to Sebastian Dröge-3 on GStreamer-devel Mailing for reply, now I decide to install gstreamer 1.14 to solve my problem.