HTTP Streaming - Unauthorized

Mailing List SVR lists at svrinformatica.it
Mon Jun 11 03:33:39 PDT 2012


Il 11/06/2012 10:57, kolanchi ha scritto:
> Hi Friends,
>
>                 I was trying to play an http stream using Playbin&
> gst-launch tool by
> giving the following command:
>
>   gst-launch playbin uri=http://192.168.2.215/videostream.cgi?user=admin&pwd=
>
> After entering this command I am facing below error.
>
> [1] 2001
> kolanchi at kolanchi-G31M-ES2L:~$ Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> ERROR: from element /GstPlayBin:playbin0/GstSoupHTTPSrc:source: Unauthorized
> Additional debug info:
> gstsouphttpsrc.c(920): gst_soup_http_src_finished_cb ():
> /GstPlayBin:playbin0/GstSoupHTTPSrc:source:
> libsoup status code 401
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
> When I am trying the same command in browser it was working, I can able to
> see the video.
>
>
> What was the issue on command and how to solve this issue?.

this is a bash escaping problem not related to gstreamer, add proper 
quotes to the url to solve your issue,

Nicola

>
> Please guide me.
>
> Thanks&  Regds
> Kolanchi
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/HTTP-Streaming-Unauthorized-tp4655236.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



More information about the gstreamer-devel mailing list