[streaming] vlm.conf and --sout-http-user/-sout-http-pwd

Nicolas VANHAUTE nicolas.vanhaute at ac-clermont.fr
Fri Sep 5 13:55:34 CEST 2008


Hi,

I have a problem with what I would like to do :
I have a vlm.conf file with that :

-----------------------
new channel1 broadcast enabled 

setup channel1 input udp://@:1234
setup channel1 output 
#duplicate{dst=mosaic-bridge{id=1,height=576,width=720},select=video,dst=bridge-out{id=1},select=audio} 

 

new background broadcast enabled
setup background input fake:
setup background output 
#transcode{sfilter=mosaic,vcodec=mp4v,vb=1024,scale=1}:bridge-in{delay=0,id-offset=100}:standard{access=http,mux=ts,url=127.0.0.1:8080,sap,name="mosaic"}

new channel2 broadcast enabled 

setup channel2 input http://127.0.0.1:8080
setup channel2 output 
#duplicate{dst=std{access=http,mux=ts{pid-video=1},dst=a.b.c.d:8081}}

control background play
control channel1 play
control channel2 play
------------------------------

and now I start streaming with :
vlc --color -I telnet --vlm-conf vlm.conf --ttl 40  --fake-file fond.jpg 
  --fake-aspect-ratio "4:3" --mosaic-width 720 --mosaic-height 576 
--udp-caching 5000 --mosaic-keep-picture --mosaic-rows 1 --mosaic-cols 1 
  --mosaic-position 1 --mosaic-order 1

until that, no problem

Now I would like to limit access on http stream with user/pwd (with 
--sout-http-user/-sout-http-pwd)
so how can I integrate that in my vlm.conf ?

because if I integrate these info in vlc command to start it, my stream 
is indeed blocked by user/pwd

Thanks

regards

Nicolas

-- 
__________________________________________________
Nicolas Vanhaute
Rectorat de Clermont-Ferrand
Centre Informatique Académique
3, Av. Vercingetorix - 63033 Clermont-Ferrand
Mel : nicolas.vanhaute at ac-clermont.fr
Tel : +33 4 73 99 30 52 Fax : +33 4 73 99 30 21
___________________________________________________


More information about the streaming mailing list