Search code examples
gstreamerrtsp

gstreamer rtsp unauthorized while VLC can play


I have a working pipeline begins with :

gst-launch-1.0 rtspsrc location=rtsp://Test_Map:[email protected]:zzzz/ISAPI/Streaming/Channels/101

which gives Unauthorized error. But vlc can open same stream .

any idea?

gst-launch should open the rtsp


Solution

  • You should use the user-id and user-pw argument with proper ""

    than it will work.