| View previous topic :: View next topic |
| Author |
Message |
Daniel304
Joined: 30 Dec 2008 Posts: 2
|
Posted: Tue Dec 30, 2008 11:16 am Post subject: icecast saving bandwith |
|
|
Hi I am a sysadmin and want to save a lot of bandwith by channeling some radio station through some sort of multicast thingy...
I was wondering if icecast is the way to go and how that might work..
I installed it on a debian server but didn't get it to work...
http://82.201.100.4/ is the stream I want to broadcast on our internal network whilst only having one download stream
Is this possible ??? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Dec 30, 2008 3:14 pm Post subject: |
|
|
we don't handle multicast, but you could configure icecast as a relay for your local lan. For instance you could configure an on-demand relay of a stream that your local listeners could use.
karl. |
|
| Back to top |
|
 |
Daniel304
Joined: 30 Dec 2008 Posts: 2
|
Posted: Wed Dec 31, 2008 8:18 am Post subject: |
|
|
This is what my config looks like. It doens't work like this..
It looks like asif it doesn't know what to do with the stream stated below...
| 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>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<authentication>
<source-password>******</source-password>
<relay-password>******</relay-password>
<admin-user>*******</admin-user>
<admin-password>******</admin-password>
</authentication>
<hostname>localhost</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<relay>
<server>82.201.100.4</server>
<port>80</port>
<mount>/</mount>
<local-mount>/538</local-mount>
<on-demand>1</on-demand>
</relay>
<fileserve>1</fileserve>
<paths>
<basedir>/usr/share/icecast2</basedir>
<logdir>/var/log/icecast2</logdir>
<webroot>/usr/share/icecast2/web</webroot>
<adminroot>/usr/share/icecast2/admin</adminroot>
<pidfile>/usr/share/icecast2/icecast.pid</pidfile>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<playlistlog>playlist.log</playlistlog>
<loglevel>4</loglevel>
<logsize>10000</logsize>
<logarchive>1</logarchive>
</logging>
<security>
<chroot>0</chroot>
</security>
</icecast> |
This is what happens in the error.log
| Code: |
[2008-12-31 09:26:59] DBUG auth/add_client_to_source max on /538 is -1 (cur 0)
[2008-12-31 09:26:59] DBUG auth/add_client_to_source kicking off on-demand relay
[2008-12-31 09:26:59] DBUG auth/add_client_to_source Added client to /538
[2008-12-31 09:26:59] DBUG auth/add_authenticated_client client authenticated, passed to source
[2008-12-31 09:26:59] INFO slave/start_relay_stream Starting relayed source at mountpoint "/538"
[2008-12-31 09:26:59] DBUG connection/connection_complete_source sources count is 0
[2008-12-31 09:26:59] DBUG source/source_apply_mount Applying mount information for "/538"
[2008-12-31 09:26:59] DBUG format-mp3/format_mp3_apply_settings mp3 interval -1
[2008-12-31 09:26:59] DBUG source/source_update_settings on_demand set
[2008-12-31 09:26:59] DBUG source/source_update_settings public set to 0
[2008-12-31 09:26:59] DBUG source/source_update_settings max listeners to -1
[2008-12-31 09:26:59] DBUG source/source_update_settings queue size to 524288
[2008-12-31 09:26:59] DBUG source/source_update_settings burst size to 65535
[2008-12-31 09:26:59] DBUG source/source_update_settings source timeout to 10
[2008-12-31 09:26:59] DBUG source/source_update_settings fallback_when_full to 0
[2008-12-31 09:26:59] DBUG connection/connection_complete_source source is ready to start
[2008-12-31 09:26:59] DBUG source/source_init Source creation complete
[2008-12-31 09:26:59] INFO source/get_next_buffer End of Stream /538
[2008-12-31 09:26:59] DBUG source/source_main Client added
[2008-12-31 09:26:59] INFO source/source_main listener count on /538 now 1
[2008-12-31 09:26:59] INFO source/source_shutdown Source "/538" exiting
[2008-12-31 09:26:59] DBUG source/source_clear_source clearing source "/538"
[2008-12-31 09:26:59] DBUG fserve/fserve_add_client Adding client to file serving engine
[2008-12-31 09:26:59] DBUG stats/modify_node_event update node clients (1)
[2008-12-31 09:26:59] DBUG stats/modify_node_event update node connections (1)
[2008-12-31 09:26:59] DBUG stats/modify_node_event update node client_connections (1)
[2008-12-31 09:26:59] DBUG stats/modify_node_event update node listener_connections (1)
[2008-12-31 09:26:59] DBUG stats/modify_node_event update node clients (2)
[2008-12-31 09:26:59] DBUG stats/modify_node_event update node sources (1)
[2008-12-31 09:26:59] DBUG stats/process_source_event new source stat /538
[2008-12-31 09:26:59] DBUG stats/process_source_event new node public (0)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node server_name (Unspecified name)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node server_description (Unspecified description)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node genre (various)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node server_type (video/x-ms-asf)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node on_demand (1)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node max_listeners (unlimited)
[2008-12-31 09:26:59] DBUG stats/modify_node_event update node source_relay_connections (1)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node source_ip (82.201.100.3)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node listenurl (http://*****:8000/538)
[2008-12-31 09:26:59] DBUG stats/modify_node_event update node source_total_connections (1)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node slow_listeners (0)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node listeners (0)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node listener_peak (0)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node stream_start (Wed, 31 Dec 2008 09:26:59 +0100)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node total_bytes_read (0)
[2008-12-31 09:26:59] DBUG stats/process_source_event new node total_bytes_sent (0)
[2008-12-31 09:26:59] DBUG stats/modify_node_event update node listener_peak (1)
[2008-12-31 09:26:59] DBUG stats/modify_node_event update node listeners (1)
[2008-12-31 09:26:59] DBUG stats/process_source_event delete source node /538
[2008-12-31 09:26:59] DBUG stats/modify_node_event update node clients (1)
[2008-12-31 09:26:59] DBUG stats/modify_node_event update node sources (0)
[2008-12-31 09:27:00] DBUG stats/modify_node_event update node clients (0)
[2008-12-31 09:27:00] DBUG slave/check_relay_stream waiting for relay thread for "/538"
[2008-12-31 09:27:00] DBUG source/source_apply_mount Applying mount information for "/538"
[2008-12-31 09:27:00] DBUG source/source_update_settings on_demand set
[2008-12-31 09:27:00] DBUG source/source_update_settings public set to 0
[2008-12-31 09:27:00] DBUG source/source_update_settings max listeners to -1
[2008-12-31 09:27:00] DBUG source/source_update_settings queue size to 524288
[2008-12-31 09:27:00] DBUG source/source_update_settings burst size to 65535
[2008-12-31 09:27:00] DBUG source/source_update_settings source timeout to 10
[2008-12-31 09:27:00] DBUG source/source_update_settings fallback_when_full to 0
[2008-12-31 09:27:00] DBUG stats/process_source_event new source stat /538
[2008-12-31 09:27:00] DBUG stats/process_source_event new node public (0)
[2008-12-31 09:27:00] DBUG stats/process_source_event new node server_name (Unspecified name)
[2008-12-31 09:27:00] DBUG stats/process_source_event new node server_description (Unspecified description)
[2008-12-31 09:27:00] DBUG stats/process_source_event new node genre (various)
[2008-12-31 09:27:00] DBUG stats/process_source_event new node on_demand (1)
[2008-12-31 09:27:00] DBUG stats/process_source_event new node max_listeners (unlimited)
[2008-12-31 09:27:00] DBUG stats/process_source_event new node listeners (0)
|
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Dec 31, 2008 3:48 pm Post subject: |
|
|
looks like you received something very small, maybe a playlist, instead of a http stream.
karl. |
|
| Back to top |
|
 |
|