rtspsrc over tcp protocols not work

Nicolas Dufresne nicolas at ndufresne.ca
Wed Aug 7 12:24:09 UTC 2019


Le mer. 7 août 2019 05 h 25, diyin <qgq1991 at 163.com> a écrit :

> 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
>

Try rtspt://



> 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/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190807/3f4c8ca3/attachment.html>


More information about the gstreamer-devel mailing list