rtspsrc doesn't work for multiple stream locations
I try to stream two RTSP-streams from different locations using VLC, feed them through multiqueue and drop into fakesink. For this I run this pipeline:
gst-launch-1.0 rtspsrc location=rtsp://localhost:8554/test ! multiqueue name=m ! fakesink rtspsrc location=rtsp://localhost:8553/test ! m. m. ! fakesink
Then I get a terminate on startup with an error:
Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Progress: (open) Opening Stream Progress: (open) Opening Stream Progress: (connect) Connecting to rtsp://localhost:8553/test Progress: (connect) Connecting to rtsp://localhost:8554/test Progress: (open) Retrieving server options ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc1: Could not open resource for reading and writing. Additional debug info: gstrtspsrc.c(7871): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc1: Failed to connect. (Generic error) ERROR: pipeline doesn't want to preroll. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...
Anyway, if I have the same locations in both rtspsrc-elements, pipeline is not terminating on startup.