[gst-devel] Icecast authentication and playbin

Familia Serber familia.serber at gmail.com
Sun Jul 12 19:51:11 CEST 2009


Hi, I've a server that plays a Webcam to Icecast and need clients to
connect to this Icecast server and see the webcam. I put
quthentication for the clients in the Icecast server (which works fin)
but I need to know if the playbin plugin can connect to the icecast
server to retrieve the video and audio WITH authentication.
Here is my server:
gst-launch-0.10 v4lsrc device=/dev/video0 !
video/x-raw-yuv,width=320,height=240 ! queue ! videorate !
video/x-raw-yuv,framerate=10/2 ! videoscale !
video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! tee
name=tscreen ! queue ! autovideosink tscreen. ! queue ! theoraenc
quality=1 ! queue ! oggmux name=mux osssrc device=/dev/dsp1 !
audio/x-raw-int,rate=16000,channels=1 ! queue ! audioconvert !
vorbisenc quality=0.1 ! queue ! mux. mux. ! queue ! shout2send
ip=localhost port=8000 mount=live password=hackme

Here is the client
gst-launch-0.10 -vm playbin uri=http://tserber:tserber@localhost:8000/live
(the Icecast docs page says that this is the URI for the client in the
form user:password at host:port/mountpoint)

The error that appears is:
401 Authentication Required

If playbin doesn't support authentication, how can I do it? Could you
tell me what would be the proper client for such a server? Like in the
form gst-launch-0.10 XXXXXX

Thank you very much,



Rabino Tuvia Serber
Beit Jabad La Plata
------------------------
www.jabadlaplata.org.ar




More information about the gstreamer-devel mailing list