AirTime/IceCast2 Live Stream Handover for iPhone/iPad/Android
  • I have been working on an iPhone/iPad app for my university as a senior project requirement.  Our radio station is going to use AirTime for radio management and LadioCast for a live mp3 stream of the DJ's voice (We would like to use mp3 since it is supported by both Android and iOS).  The iPhone app is based off of an open source university application on GitHub.  I have three mount points set similar to the FlossManual tutorial:  /airtime_128, /live, and /stream (for the public).  

    When I play the "/stream" in the app or in the iOS safari, the IceCast2 handover does not seem to work properly.  When the live stream begins, the stream just stops with no audio.  I have to exit the quicktime stream, refresh the page, and start the stream again for the live audio.  When the live stream ends, the audio stops, and I have to repeat the process again to listen to the AirTime stream.  In the university app, I have to stop the stream and reconnect to listen to the live DJ.  I have been searching on Google for a solution and have not had any luck.

    Has anyone had any luck with correcting this issue?

    I would appreciate any help on this matter.
    Post edited by Dustin Page at 2012-04-10 22:17:37
  • 6 Comments sorted by
  • You might want to look into Airtime 2.1, where we specifically support this use case from the Airtime UI in a much friendlier way. There is a beta available at the moment, with the final release roughly 2 weeks away.
    Airtime Pro Hosting: http://airtime.pro
  • I upgraded the AirTime installation to 2.1-beta3, but now I have another issue.  When I add a show to the calendar, the calendar appears to be frozen.  The show never appears on the calendar.

    Here's an image of what occurs:

    image
  • Hi,

    The beta3 version doesn't support the upgrade yet. It is likely that RC version will be supporting the upgrade.
    Thank you.
  • Yes to install the beta please to a fresh install.
    Airtime Pro Hosting: http://airtime.pro
  • I completed a fresh install with the "airtime-full-install" script and I am able to successfully add a show to the calendar.  I am having some issues with Liquidsoap.  


    $ sudo invoke-rc.d airtime-playout restart
    Restarting Airtime Playout: ('Error loading config file: %s', error(111, 'Connection refused'))
    start-stop-daemon: warning: failed to kill 3349: No such process
    Done.
    ubuntu:~$ sudo invoke-rc.d airtime-playout status
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.0.0-16-generic
    MACHINE_ARCHITECTURE           = i686
    TOTAL_MEMORY_MBYTES            = 2053744
    TOTAL_SWAP_MBYTES              = 2086908
    AIRTIME_VERSION                = 2.1.0
    OS                             = Ubuntu 11.10 i686
    CPU                            = Intel(R) Pentium(R) D CPU 2.80GHz
    WEB_SERVER                     = A
    PLAYOUT_ENGINE_PROCESS_ID      = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC        = 0%
    PLAYOUT_ENGINE_CPU_PERC        = 0%
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    MEDIA_MONITOR_PROCESS_ID       = FAILED
    MEDIA_MONITOR_RUNNING_SECONDS  = 0
    MEDIA_MONITOR_MEM_PERC         = 0%
    MEDIA_MONITOR_CPU_PERC         = 0%
    RABBITMQ_PROCESS_ID            = 1446
    RABBITMQ_RUNNING_SECONDS       = 2882848
    RABBITMQ_MEM_PERC              = 0.7%
    RABBITMQ_CPU_PERC              = 0.0%

    -- There appears to be a problem with your Airtime installation.

    Post edited by Dustin Page at 2012-04-11 11:02:22
  • Hi,

    It looks like your apache vhost file is not correct.
    Please check /etc/apache2/sites-enabled/airtime

    Thank you.