Hi all!
I have configured stream for clients in network to use http protocol. Now I want to change that to RTP and on to multicast address 239.0.0.1.
Here is my old config:
new Radio1 broadcast enabled
setup Radio1 input "http://live.Radio1.hr:8059"
setup Radio1 output #transcode{vcodec=FLV1,vb=4096,fps=25,scale=1,acodec=mp3,ab=512,samplerate=44100,channels=2}:std{access=http,mux=ffmpeg{{mux=flv}},dst=0.0.0.0:8000/Radio1.flv}
new Radio2 broadcast enabled
setup Radio2 input "http://141.138.12.130:8000/RadioRadio2.mp3"
setup Radio2 output #transcode{vcodec=FLV1,vb=4096,fps=25,scale=1,acodec=mp3,ab=512,samplerate=44100,channels=2}:std{access=http,mux=ffmpeg{{mux=flv}},dst=0.0.0.0:8000/Radio2.flv}
control Radio1 play
control Radio2 play
I save this config in radio.vlm and launch it with command: vlc --vlm-conf=radio.vlm -I dummy --http-host=192.168.10.2
Now I tried with this config:
new Radio1 broadcast enabled
setup Radio1 input "http://live.narodni.hr:8059"
setup Radio1 output :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100,scodec=none}:rtp{dst=239.0.0.1,port=8000,mux=ts,sap,name=radio1} :no-sout-all :sout-keep
new Radio2 broadcast enabled
setup Radio2 input "http://141.138.12.130:8000/RadioVinkovci.mp3"
setup Radio2 output :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100,scodec=none}:rtp{dst=239.0.0.1,port=8000,mux=ts,sap,name=radio2} :no-sout-all :sout-keep
control Radio1 play
control Radio2 play
However, when I play rtp://239.0.0.1:8000/radio1 or rtp://239.0.0.1:8000/radio2 I get same stream.
What part of config is wrong? Or should I use different multicast address for different station?
Thanks in advance!