Button "ON AIR" is off and I can't change stream setting - "Getting information from the server..."
  • Hello all!

    I can't set and on stream in stream settings. It cannot connect to the given Icecast server. It permanently says: Getting information from the server (in orange box) and it does not become green. 

    airtime-test-stream -v -o icecast -H 85.10.234.165 -P 8000 -u source -p hackme -m lk9348gldhgf938yhdfjg
    Protocol: icecast
    Host: 85.10.234.165
    Port: 8000
    User: source
    Password: hackme
    Mount: lk9348gldhgf938yhdfjgh49

    Outputting to icecast streaming server. You should be able to hear a monotonous tone on 'http://85.10.234.165:8000/lk934
    8gldhgf938yhdfjgh49'. Press ctrl-c to quit.
    airtime-liquidsoap 'output.icecast(%vorbis, host = "85.10.234.165", port = 8000, user= "source", password = "hackme", mo
    unt="lk9348gldhgf938yhdfjgh49", sine())'
    2013/12/25 16:37:01 >>> LOG START
    2013/12/25 16:37:00 [protocols.external:3] Found "/usr/bin/wget".
    2013/12/25 16:37:01 [main:3] Liquidsoap 1.1.1+scm (git://github.com/savonet/liquidsoap.git@616e31bb1c41b3c5424b5395c21d5
    24ea4e61164:20130515:145140)
    2013/12/25 16:37:01 [main:3] Using: graphics=[distributed with Ocaml] pcre=6.2.3 dtools=0.3.1 duppy=0.5.1 duppy.syntax=0
    .5.1 cry=0.2.2 mm=0.2.1 xmlplaylist=0.1.3 ogg=0.4.5 vorbis=0.6.1 opus=0.1.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=
    [distributed with Ocaml] lame=0.3.2 voaacenc=0.1.0 alsa=0.2.1 ao=0.2.0 taglib=0.3.1 camomile=0.8.3 faad=0.3.2 portaudio=
    0.2.0 pulseaudio=0.1.2 ladspa=0.1.4 camlimages=4.0.0
    2013/12/25 16:37:01 [main:2]
    2013/12/25 16:37:01 [main:2] DISCLAIMER: This version of Liquidsoap has been
    2013/12/25 16:37:01 [main:2] compiled from a snapshot of the development code.
    2013/12/25 16:37:01 [main:2] As such, it should not be used in production
    2013/12/25 16:37:01 [main:2] unless you know what you are doing!
    2013/12/25 16:37:01 [main:2]
    2013/12/25 16:37:01 [main:2] We are, however, very interested in any feedback
    2013/12/25 16:37:01 [main:2] about our development code and committed to fix
    2013/12/25 16:37:01 [main:2] issues as soon as possible.
    2013/12/25 16:37:01 [main:2]
    2013/12/25 16:37:01 [main:2] If you are interested in collaborating to
    2013/12/25 16:37:01 [main:2] the development of Liquidsoap, feel free to
    2013/12/25 16:37:01 [main:2] drop us a mail at
    2013/12/25 16:37:01 [main:2] or to join the #savonet IRC channel on Freenode.
    2013/12/25 16:37:01 [main:2]
    2013/12/25 16:37:01 [main:2] Please send any bug report or feature request
    2013/12/25 16:37:01 [main:2] at .
    2013/12/25 16:37:01 [main:2]
    2013/12/25 16:37:01 [main:2] We hope you enjoy this snapshot build of Liquidsoap!
    2013/12/25 16:37:01 [main:2]
    2013/12/25 16:37:01 [dynamic.loader:3] Could not find dynamic module for aacplus encoder.
    2013/12/25 16:37:01 [dynamic.loader:2] Could not load plugins in directory /usr/local/lib/liquidsoap/scm/plugins.
    2013/12/25 16:37:01 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
    2013/12/25 16:37:01 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
    2013/12/25 16:37:01 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
    2013/12/25 16:37:01 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
    2013/12/25 16:37:01 [threads:3] Created thread "generic queue #1".
    2013/12/25 16:37:01 [threads:3] Created thread "generic queue #2".
    2013/12/25 16:37:01 [lk9348gldhgf938yhdfjgh49:3] Connecting mount lk9348gldhgf938yhdfjgh49 for source@85.10.234.165...
    2013/12/25 16:37:01 [lk9348gldhgf938yhdfjgh49:3] Connection setup was successful.
    2013/12/25 16:37:01 [threads:3] Created thread "wallclock_main" (1 total).
    2013/12/25 16:37:01 [clock.wallclock_main:3] Streaming loop starts, synchronized with wallclock.
    ^C2013/12/25 17:09:16 [main:3] Shutdown started!
    2013/12/25 17:09:16 [main:3] Waiting for threads to terminate...

    Exiting
    rl@rlcompany:~$ 2013/12/25 17:09:16 [lk9348gldhgf938yhdfjgh49:3] Closing connection...
    2013/12/25 17:09:16 [clock.wallclock_main:3] Streaming loop stopped.
    2013/12/25 17:09:16 [threads:3] Thread "wallclock_main" terminated (0 remaining).
    2013/12/25 17:09:16 [main:3] Cleaning downloaded files...
    2013/12/25 17:09:16 [main:3] Freeing memory...
    2013/12/25 17:09:16 >>> LOG END

    rl@rlcompany:~$ sudo airtime-check-system
    [sudo] password for rl:
    AIRTIME_STATUS_URL = http://85.10.234.165:80/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING = OK
    KERNEL_VERSION = 3.2.0-57-generic
    MACHINE_ARCHITECTURE = x86_64
    TOTAL_MEMORY_MBYTES = 1019504
    TOTAL_SWAP_MBYTES = 65532
    AIRTIME_VERSION = 2.5.1
    OS = Ubuntu 12.04.3 LTS x86_64
    CPU = QEMU Virtual CPU version (cpu64-rhel6)
    WEB_SERVER = Apache/2.2.22 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID = 26559
    PLAYOUT_ENGINE_RUNNING_SECONDS = 79245
    PLAYOUT_ENGINE_MEM_PERC = 1.4%
    PLAYOUT_ENGINE_CPU_PERC = 0.0%
    LIQUIDSOAP_PROCESS_ID = 27737
    LIQUIDSOAP_RUNNING_SECONDS = 78863
    LIQUIDSOAP_MEM_PERC = 2.1%
    LIQUIDSOAP_CPU_PERC = 5.9%
    MEDIA_MONITOR_PROCESS_ID = 27557
    MEDIA_MONITOR_RUNNING_SECONDS = 78891
    MEDIA_MONITOR_MEM_PERC = 1.6%
    MEDIA_MONITOR_CPU_PERC = 0.0%
    -- Your installation of Airtime looks OK!

    image
    2646 x 1024 - 280K
    Post edited by Sergey Kruzhilin at 2013-12-25 08:45:02
  • 2 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    Hi,

    One thing to know
    you can't put the same port for streaming than your icecast server
    for example, if your icecast server is on port 8000
    show or master source must have differents ports
    like 8001/8002, etc
  • You Mount point in the Stream Settings needs to be the same as the Icecast Mount point

    You Have Airtime_128 in Icecast and Mount_point_no in the stream settings

    If you have not modified your Icecast xml
    Just issue a restart
    sudo service icecast2 restart

    Check to make sure the  Airtime and Icecast.xml have the same detail (see below)


    If you have a failover/handover mount ie. you modified the Icecast xml then

    Either edit Icecast and change it to Mount_point_no

    or change your Stream settings

    sudo pico /etc/icecast2/icecast2.xml

    Make Sure your source and admin details are the same in Airtime

    Voisses
    Post edited by Voisses Tech at 2014-01-03 13:08:51
    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.