| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Mon Mar 05, 2007 10:50 pm Post subject: Please help icecast+traktor |
|
|
Hello guys!I really want to make my own radio and my friends to listen my live mixes (im mixing with traktor), but i cant configure the program I tried to configure the icecast file which opens with notepad several times, but it didnt work.Now i've tried without any configuring from myself and these config in traktor http://img403.imageshack.us/my.php?image=traktornastroiki1dv1.jpg ...As you see i have client_connections 10, thats because i've tried to connect with winamp-> add url and my ip http://85.187.152.16:8000/live.m3u but it gives me [connecting to host]...well this means that at least it connects to the program for a sec but after that it starts other song from the winamp playlist I dont know what to do, please help me Sorry for bad english
Last edited by Anonymous on Tue Mar 06, 2007 4:40 pm; edited 1 time in total |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Mon Mar 05, 2007 11:07 pm Post subject: |
|
|
hmm i've read some more, and there is no problem logging here http://85.187.152.16:8000/admin/stats.xsl
i have some intresting stats
| Code: |
Global Server Stats
client_connections 51
clients 1
connections 52
file_connections 30
listener_connections 0
server Icecast 2.3.1
server_start Tue, 06 Mar 2007 01:01:06 FLE Standard Time
source_client_connections 0
source_relay_connections 0
source_total_connections 0
sources 0
stats 0
stats_connections 0 |
but i still cant even connect through winamp .. but when i try icecast renders my try  |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue Mar 06, 2007 7:59 pm Post subject: |
|
|
| Code: |
<icecast>
<limits>
<clients>100</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<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>venelinchoo</admin-user>
<admin-password>****</admin-password>
</authentication>
<!-- 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>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.oddsock.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>
<!-- You can use these two if you only want a single listener -->
<!--<port>8000</port> -->
<!--<bind-address>127.0.0.1</bind-address>-->
<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8000</port>
<!-- <bind-address>85.187.152.16</bind-address> -->
</listen-socket>
<!--
<listen-socket>
<port>8001</port>
</listen-socket>
-->
<!--<master-server>127.0.0.1</master-server>-->
<!--<master-server-port>8001</master-server-port>-->
<!--<master-update-interval>120</master-update-interval>-->
<!--<master-password>hackme</master-password>-->
<!-- setting this makes all relays on-demand unless overridden, this is
useful for master relays which do not have <relay> definitions here.
The default is 0 -->
<!--<relays-on-demand>1</relays-on-demand>-->
<!--
<relay>
<server>127.0.0.1</server>
<port>8001</port>
<mount>/example.ogg</mount>
<local-mount>/different.ogg</local-mount>
<on-demand>0</on-demand>
<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay>
-->
<!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords
<mount>
<mount-name>/example-complex.ogg</mount-name>
<username>othersource</username>
<password>hackmemore</password>
<max-listeners>1</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<burst-size>65536</burst-size>
<fallback-mount>/example2.ogg</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<intro>/example_intro.ogg</intro>
<hidden>1</hidden>
<no-yp>1</no-yp>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
<on-connect>/home/icecast/bin/stream-start</on-connect>
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
</mount>
<mount>
<mount-name>/auth_example.ogg</mount-name>
<authentication type="url">
<option name="mount_add" value="http://myauthserver.net/notify_mount.php"/>
<option name="mount_remove" value="http://myauthserver.net/notify_mount.php"/>
<option name="listener_add" value="http://myauthserver.net/notify_listener.php"/>
<option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>
</authentication>
</mount>
-->
<fileserve>1</fileserve>
<!-- 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>
-->
<paths>
<!-- basedir is only used if chroot is enabled -->
<basedir>./</basedir>
<!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<!-- <pidfile>./icecast.pid</pidfile> -->
<!-- Aliases: treat requests for 'source' path as being for 'dest' path
May be made specific to a port or bound address using the "port"
and "bind-address" attributes.
-->
<!--
<alias source="/foo" dest="/bar"/>
-->
<!-- Aliases: can also be used for simple redirections as well,
this example will redirect all requests for http://server:port/ to
the status page
-->
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<!-- <playlistlog>playlist.log</playlistlog> -->
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize> <!-- Max size of a logfile -->
<!-- If logarchive is enabled (1), then when logsize is reached
the logfile will be moved to [error|access|playlist].log.DATESTAMP,
otherwise it will be moved to [error|access|playlist].log.old.
Default is non-archive mode (i.e. overwrite)
-->
<!-- <logarchive>1</logarchive> -->
</logging>
<security>
<chroot>0</chroot>
<!--
<changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner>
-->
</security>
</icecast>
|
This is my configuration, i've hidden the password hehe... When i try to connect with winamp it write me connection 1, and for a sec 1 client but after that 0... when i try to connect traktor , every 5-6 secs it write one more connection... that means that traktor is tryin to connect but something goes wrong... please help me guys... sorry for bad english |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Mar 06, 2007 10:15 pm Post subject: |
|
|
The first thing you should look at is the error log, you should see any rejections in there.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue Mar 06, 2007 10:49 pm Post subject: |
|
|
| karlH wrote: |
The first thing you should look at is the error log, you should see any rejections in there.
karl. |
| Code: |
[2007-03-07 00:43:26] DBUG slave/slave.c checking master stream list.This if from folder "logs" and then error.txt.... very big error log, but i copied from last minute...
[2007-03-07 00:44:19] INFO main/main.c Icecast 2.3.1 server started
[2007-03-07 00:44:19] DBUG yp/yp.c Updating YP configuration
[2007-03-07 00:44:19] INFO stats/stats.c stats thread started
[2007-03-07 00:44:19] INFO fserve/fserve.c file serving thread started
[2007-03-07 00:44:19] INFO yp/yp.c YP update thread started
[2007-03-07 00:44:19] INFO auth/auth.c Authentication thread started
[2007-03-07 00:44:20] DBUG slave/slave.c checking master stream list
[2007-03-07 00:45:27] DBUG slave/slave.c checking master stream list
[2007-03-07 00:46:21] DBUG slave/slave.c checking master stream list
[2007-03-07 00:46:26] DBUG stats/stats.c update node clients (1)
[2007-03-07 00:46:26] DBUG stats/stats.c update node connections (1)
[2007-03-07 00:46:26] INFO fserve/fserve.c checking for file /live.m3u (./web/live.m3u)
[2007-03-07 00:46:26] DBUG fserve/fserve.c Adding client to file serving engine
[2007-03-07 00:46:27] DBUG stats/stats.c update node client_connections (1)
[2007-03-07 00:46:27] DBUG stats/stats.c update node clients (0)
|
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Mar 07, 2007 12:21 am Post subject: |
|
|
the only thing there is someone requesting /live.m3u, so source client is connecting in that snippet.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Mar 07, 2007 3:03 pm Post subject: |
|
|
| karlH wrote: |
the only thing there is someone requesting /live.m3u, so source client is connecting in that snippet.
karl. |
What do you mean? I tried to connect only addin my ip and port in winamp, but it gives me again the same
client_connections 1
connections 1
clients 0
Something is missing.... you have my config file, please see it  |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Mar 07, 2007 3:21 pm Post subject: |
|
|
sorry typo, 'no' source client is connecting. The increase in stats is because someone is asking for /live.m3u. You need to speak to the traktor people if you want to find out what it is doing because it does not seem to be connecting to icecast at all.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Mar 07, 2007 6:07 pm Post subject: |
|
|
yea but i think even if it doesnt have source, when i try connect with winamp, to establish connection and hear no sound cuz no source...  |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Mar 07, 2007 6:19 pm Post subject: |
|
|
great great great, my traktor just established connection with the program and he shows that he is established and the program says source_connections 1! But i still cant connect from winamp.. :S why?
edit :
i've tried http://85.187.152.16:1111/live.m3u and now it gives me "retrieving playlist" window and down it writes retrieving file... 11153453 bytes read 24.18KB/sec and it changes everysec and i can only click abort... When i try with live.m3u winamp gives me [error syncing to mpeg] and wincast writes down the try .. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Mar 07, 2007 6:47 pm Post subject: |
|
|
usually when that happens, the source is sending something other than mp3, eg ogg and because winamp is too stupid to handle the content-type, winamp assumes mountpoints without an extension are always mp3.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Mar 07, 2007 7:04 pm Post subject: |
|
|
| karlH wrote: |
usually when that happens, the source is sending something other than mp3, eg ogg and because winamp is too stupid to handle the content-type, winamp assumes mountpoints without an extension are always mp3.
karl. |
the format is ogg vorbis with highest quality... 44khz/192kbps well that means if i try with windows media player it will works? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Mar 07, 2007 7:06 pm Post subject: |
|
|
I don't know is wmp requires the extension but as a general rule when you name the mountpoints in the source client, include any extension eg /live.ogg appropriate to the format.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Mar 07, 2007 7:21 pm Post subject: |
|
|
| karlH wrote: |
I don't know is wmp requires the extension but as a general rule when you name the mountpoints in the source client, include any extension eg /live.ogg appropriate to the format.
karl. |
i've tried any posible and in this type -> http://85.187.152.16:1111/
| Code: |
| Windows Media Player encountered a problem while playing the file. For additional assistance, click Web Help. |
http://85.187.152.16:1111/live.m3u also; http://85.187.152.16:1111/live also ; http://85.187.152.16:1111/live.ogg -
| Code: |
| Windows Media Player cannot find the file. If you are trying to play, burn, or sync an item that is in your library, the item might point to a file that has been moved, renamed, or deleted. |
.With winamp - http:85.187.152.16:1111 [error syncing to mpeg]; http://85.187.152.16:1111/live.m3u, when i add this his name in winamp is http://veneradio1:1111/live and it gives me [resolving hostname]... others only connecting... when im in the program and click source there is some information and listenurl: http://veneradio1:111/live but when i write directly this in winamp or windows media player it doesnt find anything... |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Mar 07, 2007 7:40 pm Post subject: |
|
|
| i think the key is hidden under the traktor... function mountpath.... i've tried live live.m3u but nothin.. |
|
| Back to top |
|
 |
|