No sound via icecast eed.
  • I have just installed airtime 2.0 and installed it on a Debian 6.0 distro. I have a ALSA card inside and I get everything seemingly working and using the ALSA card as a output device to listen to the on air feed. However I cannot get the icecast feed to give anything. It dosen't show any errors in the logs and if I use gstreamer to listen to it it shows up as paused. The airtime system preferences for the streams says that the feed is working ok, whether it is mp3 or ogg. I'm using the stock system preferences here.

    I saw in the icecast FAQ that to check the icecast feed I could put in http://server.name:8000 and I should see status info on the feed but this address just times out when I try it when the feed is live (AIR TIME active).

    Can anyone suggest what I'm doing wrong.

    John
    P.S. Awesome stuff. One thing though I tried to use the admin interface via an IPAD and the drag n drop functions didn't work. Any thoughts on how I can get that functionality working.
  • 5 Comments sorted by
  • Ok I can get it working, that is I can get sound from the icecast feed if I'm on the airtime / icecast server. I get sound from the feed ok. However if I'm on any other machine on my network I can't get any sound and the icecast feed send no data. When I access the icecast server status page I get the following status.

    artist Gree men
    audio_codecid 2
    audio_info bitrate=192;samplerate=44100;channels=2
    connected 279
    genre genre
    incoming_bitrate 192233
    listener_connections 4
    listener_peak 2
    listeners 0
    max_listeners unlimited
    metadata_updated Sun, 19 Feb 2012 18:58:50 -0500
    outgoing_kbitrate 0
    public 1
    server_description Airtime Radio! Stream #1
    server_name airtime_128
    server_type audio/mpeg
    server_url http://muarc
    slow_listeners 0
    source_ip 127.0.0.1
    stream_start Sun, 19 Feb 2012 18:56:53 -0500
    title Gree men - freeman
    total_bytes_read 6660128
    total_bytes_sent 3087360
    total_mbytes_sent 2
    user_agent Liquidsoap/1.0.0 (Unix; OCaml 3.11.2)

    Can anyone say if they see something wrong or point me in the right direction.
  • What do you get when you enter

    sudo netstat -tlnp | grep icecast

    ?
    Airtime Pro Hosting: http://airtime.pro
  • The output of 'sudo netstat -tlnp | grep icecast' is:

    tcp        0      0 0.0.0.0:8000            0.0.0.0:*               LISTEN      2221/icecast2   

    John
  • In checking around I see lots of the following messages in the syslog:

    Feb 20 18:36:39 muarc kernel: [ 2424.197906] Inbound IN=wlan0 OUT= MAC=00:18:4d:ed:69:77:00:1d:09:50:17:4c:08:00 SRC=192.168.0.198 DST=192.168.0.200 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=37254 DF PROTO=TCP SPT=51270 DPT=8000 WINDOW=14600 RES=0x00 SYN URGP=0
    Feb 20 18:36:43 muarc kernel: [ 2428.101754] Inbound IN=wlan0 OUT= MAC=00:18:4d:ed:69:77:00:1d:09:50:17:4c:08:00 SRC=192.168.0.198 DST=192.168.0.200 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=60812 DF PROTO=TCP SPT=51265 DPT=8000 WINDOW=14600 RES=0x00 SYN URGP=0
    Feb 20 18:36:45 muarc kernel: [ 2430.021938] Inbound IN=wlan0 OUT= MAC=00:18:4d:ed:69:77:00:1d:09:50:17:4c:08:00 SRC=192.168.0.198 DST=192.168.0.200 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=35405 DF PROTO=TCP SPT=47933 DPT=8888 WINDOW=14600 RES=0x00 SYN URGP=0
    Feb 20 18:36:45 muarc kernel: [ 2430.022190] Inbound IN=wlan0 OUT= MAC=00:18:4d:ed:69:77:00:1d:09:50:17:4c:08:00 SRC=192.168.0.198 DST=192.168.0.200 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=26610 DF PROTO=TCP SPT=47934 DPT=8888 WINDOW=14600 RES=0x00 SYN URGP=0
    Feb 20 18:36:45 muarc kernel: [ 2430.277946] Inbound IN=wlan0 OUT= MAC=00:18:4d:ed:69:77:00:1d:09:50:17:4c:08:00 SRC=192.168.0.198 DST=192.168.0.200 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=52478 DF PROTO=TCP SPT=47935 DPT=8888 WINDOW=14600 RES=0x00 SYN URGP=0
    Feb 20 18:36:55 muarc kernel: [ 2440.230008] Inbound IN=wlan0 OUT= MAC=00:18:4d:ed:69:77:00:1d:09:50:17:4c:08:00 SRC=192.168.0.198 DST=192.168.0.200 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=37255 DF PROTO=TCP SPT=51270 DPT=8000 WINDOW=14600 RES=0x00 SYN URGP=0
    Feb 20 18:37:01 muarc kernel: [ 2446.053731] Inbound IN=wlan0 OUT= MAC=00:18:4d:ed:69:77:00:1d:09:50:17:4c:08:00 SRC=192.168.0.198 DST=192.168.0.200 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=35406 DF PROTO=TCP SPT=47933 DPT=8888 WINDOW=14600 RES=0x00 SYN URGP=0
    Feb 20 18:37:01 muarc kernel: [ 2446.053919] Inbound IN=wlan0 OUT= MAC=00:18:4d:ed:69:77:00:1d:09:50:17:4c:08:00 SRC=192.168.0.198 DST=192.168.0.200 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=26611 DF PROTO=TCP SPT=47934 DPT=8888 WINDOW=14600 RES=0x00 SYN URGP=0
    Feb 20 18:37:01 muarc kernel: [ 2446.309933] Inbound IN=wlan0 OUT= MAC=00:18:4d:ed:69:77:00:1d:09:50:17:4c:08:00 SRC=192.168.0.198 DST=192.168.0.200 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=52479 DF PROTO=TCP SPT=47935 DPT=8888 WINDOW=14600 RES=0x00 SYN URGP=0
    Feb 20 18:39:01 muarc /USR/SBIN/CRON[6860]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)


    I think they are telling me something about the port. I tried changing the port to 8888 but there was no difference in the behavior. Would there be any difference if I was using a wireless card as my main communicating device. I have a built-in Ethernet card but I'm using a wireless card as the active link. It comes up ok, and everything seems to work ok with it, for example apache. Can someone say what these messages are trying to tell me.

    John
  • Ok, Solved. It seems that I had not disabled the firewall. Adding a rule to allow connections with port 8000 fixed the problem. Thanks for your effort.

    John