No audio in airtime, not even from the demo site
  • Vote Up1Vote Down J DVJ DV
    Posts: 4Member
    I installed airtime in a virtual machine to do some testing and after installing it with no errors, I noticed I wasn't getting any audio when I tried to 'tune in' or just play some files in the playlist builder. I am not getting audio from the demo site either, but I am getting audio when I just play the files in the playlist builder.

    Can anyone point towards the right direction? I can't seem to troubleshoot this problem, especially since it's confusing that the demo site isn't working properly either.

    Here's my airtime-check-system output (everything seems fine):
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.0.0-12-generic
    MACHINE_ARCHITECTURE           = i686
    TOTAL_MEMORY_MBYTES            = 508344
    TOTAL_SWAP_MBYTES              = 521212
    AIRTIME_VERSION                = 2.0.3
    OS                             = Ubuntu 11.10 i686
    CPU                            = Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
    WEB_SERVER                     = Apache/2.2.20 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID      = 1085
    PLAYOUT_ENGINE_RUNNING_SECONDS = 3362
    PLAYOUT_ENGINE_MEM_PERC        = 0.4%
    PLAYOUT_ENGINE_CPU_PERC        = 0.9%
    LIQUIDSOAP_PROCESS_ID          = 1094
    LIQUIDSOAP_RUNNING_SECONDS     = 3362
    LIQUIDSOAP_MEM_PERC            = 2.9%
    LIQUIDSOAP_CPU_PERC            = 2.9%
    MEDIA_MONITOR_PROCESS_ID       = 1057
    MEDIA_MONITOR_RUNNING_SECONDS  = 3362
    MEDIA_MONITOR_MEM_PERC         = 0.6%
    MEDIA_MONITOR_CPU_PERC         = 0.9%
    RABBITMQ_PROCESS_ID            = 1247
    RABBITMQ_RUNNING_SECONDS       = 3357
    RABBITMQ_MEM_PERC              = 0.3%
    RABBITMQ_CPU_PERC              = 0.0%
    Post edited by J DV at 2012-04-24 12:42:47
  • 6 Comments sorted by
  • Hi,

    What's your setting on stream setting page?
    What's your setup on Icecast/shoutcast sever?

    Thank you
  • Vote Up0Vote Down J DVJ DV
    Posts: 4Member
    James,
    When I checked the stream settings I saw an error I had seen in the logs but wasn't reported as an error in the logs.

    2012/04/24 10:26:03 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --error='could not write data to host: Connection refused in write()' --stream-id=1 --time=1335282315.22
    2012/04/24 10:26:03 [airtime_128:3] Will try again in 5.00 sec.
    2012/04/24 10:26:09 [airtime_128:3] Connecting mount airtime_128 for source@127.0.0.1...
    2012/04/24 10:26:09 [airtime_128:2] Connection failed: could not write data to host: Connection refused in write()

    Anyway, my stream settings are:

    Stream type: OGG/VORBIS
    Bit rate: 128Kbits/s
    Server: 127.0.0.1
    Port: 8000
    Service Type: lcecast

    Mount type: airtime_128

    EDIT: Also, I'm still clueless as to why the demo site isn't working properly for me (and other people I've asked to test it).
    Post edited by J DV at 2012-04-24 13:46:06
  • Vote Up0Vote Down J DVJ DV
    Posts: 4Member
    Are the credentials under 'Additional Options' for the stream alone, or does it use that to access the database?
  • Hi,

    The credentials under 'Additional Options' should be matched to Icecast username and password settings.
    As for the demo site, we are investigating the cause of the issue you mentioned.

    You problem is not the same as the one on demo site.
    We can see that the hose is refusing the connection as the log file shows:

    2012/04/24 10:26:03 [lang:3]
    /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --error='could
    not write data to host: Connection refused in write()' --stream-id=1
    --time=1335282315.22


    So I'm suspecting you have something configured wrong on Icecast side, or on airtime relating to connecting to Icecast.

  • Hi J DV,

    Nice catch on the airtime-demo site. This was a temporary server/proxy misconfiguration issue that should now be resolved. 

    Could you provide more data from your liquidsoap log file? Also, can you hear a monotone when you try the following from the command line:

    /usr/lib/airtime/pypo/bin/liquidsoap_bin/liquidsoap 'output.icecast(%vorbis, host = "localhost", port = 8000, user= "source", password = "hackme", mount="test", sine())'

    Adjust the user/password as need be.
    Airtime Pro Hosting: http://airtime.pro
  • Vote Up0Vote Down J DVJ DV
    Posts: 4Member
    I'm slightly embarrassed. The ENABLE line in /etc/default/icecast2 was set to false. Needless to say, the service never started. It's working properly now.

    Glad the demo site works now, too.

    Thanks