Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create your own live MP3 streaming server' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create your own live MP3 streaming server
Authored by: dwipal on Dec 30, '04 09:08:32PM

I managed to compile everything (Icecast 2.2.0, libshout2, etc).

To compile icecast, i had to use "fakepoll.h" header file from sealiesoftware.com/fakepoll.h to get around with the poll.h errors.

The icecast server starts fine, libshout example file connects to the server, but it seems to be dropping the stream somewhere. I am basically not able to play the stream.

Dumping the output of lame to a file and playing it back again is working, so there is something with icecast.

Any suggestions ?

Below is the icecast error_log file:

[2004-12-30 18:02:00] INFO main/main Icecast 2.2.0 server started
[2004-12-30 18:02:00] WARN main/main YP server handling has been disabled
[2004-12-30 18:02:00] INFO stats/_stats_thread stats thread started
[2004-12-30 18:02:00] INFO fserve/fserv_thread_function file serving thread started
[2004-12-30 18:02:01] DBUG slave/_slave_thread checking master stream list
[2004-12-30 18:02:13] INFO connection/_handle_source_request Source logging in at mountpoint "/radio.mp3"
[2004-12-30 18:02:13] DBUG connection/connection_complete_source sources count is 0
[2004-12-30 18:02:13] DBUG connection/connection_complete_source source is ready to start
[2004-12-30 18:02:13] DBUG source/source_init Source creation complete
[2004-12-30 18:02:13] DBUG stats/modify_node_event update node connections (1)
[2004-12-30 18:02:13] DBUG stats/modify_node_event update node source_client_connections (1)
[2004-12-30 18:02:13] DBUG stats/process_source_event new source stat /radio.mp3
[2004-12-30 18:02:13] DBUG stats/process_source_event new node public (0)
[2004-12-30 18:02:13] DBUG stats/process_source_event new node listenurl (http://192.168.2.10:8000/radio.mp3)
[2004-12-30 18:02:13] DBUG stats/modify_node_event update node sources (1)
[2004-12-30 18:02:13] DBUG stats/modify_node_event update node source_total_connections (1)
[2004-12-30 18:02:13] DBUG stats/process_source_event new node listeners (0)
[2004-12-30 18:02:13] DBUG stats/process_source_event new node server_name (no name)
[2004-12-30 18:02:22] DBUG connection/_handle_get_request Source found for client
[2004-12-30 18:02:22] DBUG source/source_main Client added
[2004-12-30 18:02:22] INFO source/source_main listener count on /radio.mp3 now 1
[2004-12-30 18:02:22] DBUG stats/modify_node_event update node connections (2)
[2004-12-30 18:02:22] DBUG stats/modify_node_event update node client_connections (1)
[2004-12-30 18:02:22] DBUG stats/modify_node_event update node clients (1)
[2004-12-30 18:02:22] DBUG stats/modify_node_event update node listeners (1)
[2004-12-30 18:02:24] DBUG source/get_next_buffer last 1104458533, timeout 10, now 1104458544
[2004-12-30 18:02:24] WARN source/get_next_buffer Disconnecting source due to socket timeout
[2004-12-30 18:02:24] INFO source/source_shutdown Source "/radio.mp3" exiting
[2004-12-30 18:02:24] DBUG source/source_clear_source clearing source "/radio.mp3"
[2004-12-30 18:02:24] DBUG format-ogg/format_ogg_free_headers releasing header pages
[2004-12-30 18:02:24] DBUG format-ogg/free_ogg_codecs freeing codecs
[2004-12-30 18:02:24] DBUG source/source_free_source freeing source "/radio.mp3"
[2004-12-30 18:02:24] DBUG stats/modify_node_event update node sources (0)
[2004-12-30 18:02:24] DBUG stats/process_source_event delete source node /radio.mp3
[2004-12-30 18:02:24] DBUG stats/modify_node_event update node clients (0)

Thanks !
Dwipal



[ Reply to This | # ]