--- Begin Message ---
Hi, thanks for your help, but really need more, what exactly do you suggest to 
change on icecast.xml?

I try to replace 127.0.0.1 for my IP adress, and also I restarted icecast from 
Centova Panel, after than I try to run my script on liquidsoap without any 
results.

What about my code? I fair, it is not right or I doing something wrong....
#!/usr/bin/liquidsoap
set("log.file.path","/usr/local/var/log/liquidsoap/test.log")
set("frame.size",4704)
set("log.stdout",true)
################
# Sources
s = mksafe(input.http("http://94.23.207.106:8000/stream";))
#################
# ICECAST MOUNTS
output.icecast.aacplusenc(s,mount="aacplusenc.aac",password="hackme",host="http://94.23.207.106:8001/stream";)
#################




here we go --------^
this has to be your hostname or your external ip otherwise it will work 
only on localhost(127.0.0.1), you can also check with netstat -tanp 
|grep 8000 that is listening on your external interface or 0.0.0.0

tcp        0      0 0.0.0.0:8000            0.0.0.0:* 
LISTEN      -

the rest of the conf is ok.

Let me know.

Ciao




> My question is still the same:
> input = 128kbp , /I can manage this stream from Centova Cast/ I'm using
port 8000 now
> output = 48kbps AAC+
> 
> 
> ICECAST.XML content
> 
> <icecast>
>     <limits>
>         <clients>100</clients>
>         <sources>2</sources>



-- NOW I HAVE 4 SOURCES --



here you should maybe have more than 2 sources otherwise it will be 
possible to have only 2 mount points

>         <threadpool>5</threadpool>

You can safely pull this to 10 for a bit of performance boost

>         <queue-size>524288</queue-size>
>         <client-timeout>30</client-timeout>
>         <header-timeout>15</header-timeout>
>         <source-timeout>10</source-timeout>
>         <!-- If enabled, this will provide a burst of data when a
client 
>              first connects, thereby significantly reducing the startup 
>              time for listeners that do substantial buffering. However,
>              it also significantly increases latency between the source
>              client and listening client.  For low-latency setups, you
>              might want to disable this. -->
>         <burst-on-connect>1</burst-on-connect>
>         <!-- same as burst-on-connect, but this allows for being more
>              specific on how much to burst. Most people won't need to
>              change from the default 64k. Applies to all mountpoints 
-->
>         <burst-size>65535</burst-size>
>     </limits>
> 
>     <authentication>
>         <!-- Sources log in with username 'source' -->
>         <source-password>hackme</source-password>
>         <!-- Relays log in username 'relay' -->
>         <relay-password>hackme</relay-password>
> 
>         <!-- Admin logs in with the username given below -->
>         <admin-user>admin</admin-user>
>         <admin-password>hackme</admin-password>
>     </authentication>
> 
>     <!-- set the mountpoint for a shoutcast source to use, the default
if not
>          specified is /stream but you can change it here if an
alternative
is
>          wanted or an extension is required
>     <shoutcast-mount>/live.nsv</shoutcast-mount>
>     -->
> 
>     <!-- Uncomment this if you want directory listings -->
>     <!--
>     <directory>
>         <yp-url-timeout>15</yp-url-timeout>
>         <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
>     </directory>
>      -->
> 
>     <!-- This is the hostname other people will use to connect to your
server.
>     It affects mainly the urls generated by Icecast for playlists and yp
>     listings. -->
>     <hostname>localhost</hostname>

--- End Message ---
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to