Sarah k Alawami:
> 
> live = input.harbor("live",port=8000,password="whatever")
> correct? 

depends...

if your icecast runs on its default port 8000, your harbor cannot
bind() to 8000 since it's used. rather try 8001 for your harbour.
but don't use ports below 1024, they're only for root... just
don't use them...

so:

# create a playlist source
list = playlist("/path/to/my_playlist")

# create a harbor that listens on my.ip.add.ress and port 8001 for live input
set("harbor.bind_addr","my.ip.add.ress")
live = input.harbor(id="live", port=8001, password="my_harbor_pass", "live")

# combine the sources
radio = [live, list]

# stream to icecast
output.icecast( 
        %mp3(bitrate = 128, samplerate = 44100), 
        mount = "/your_icecast_mountpoint", 
        host = "localhost",  
        port = "8000",  
        password = "your_icecast_pass", 
        radio
) 

this is just an example, very basic. it plays a playlist, 
until you connect to the harbor, then it plays your live input.

tip: do NOT change many things at the same time if you're not
sure what they mean. one after the other. if it does what you want,
then proceed with the next. keep it simple.

bests, u.



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to