[SOLVED] No sound while streaming in airtime 2.0.3 Ubuntu 11.10 x64
  • Hi all. I have no sound while streaming but I can hear the previews on the Playlist builder so me thinks no problemo with soundcard/related, but in Stream settings It gets me an error:

    Can not connect to the streaming server
    could not connect to host: Not_found

    "Localhost" is on all conf files(/etc/airtime/*.conf including apache's vhost) and icecast.xml has its passwd for source, admin and theother user.
    My "on air" button is red and the progress bar works. The Listen function doesnt get any sound btw and if I try to give totem the streaming url cries me something like "cannot open location, i have no access permision"(but in my language lol). 

    Icecast site localhost:8000 is enabled, i can log in on Administration tab but Server status gives me nothing neither List mountpoints

    When I start icecast2 service it gives me nothing too:

    With a service start

    # /etc/init.d/icecast2 start
    Starting icecast2: root@ubuntu:/home/uri#

    with invoke-rc.d

    # invoke-rc.d icecast2 start
    Starting icecast2: invoke-rc.d: initscript icecast2, action "start" failed.

    With a service restart
    # /etc/init.d/icecast2 restart
    Restarting icecast2: Starting icecast2
    Detaching from the console
    icecast2.

    No sound still...
    Post edited by acid Code at 2012-04-19 14:38:01
  • 9 Comments sorted by
  • Hi,

    Airitme uses Liquidsoap to connect to your icecast server. Please take a look into /etc/airtime/liquidsoap.cfg and ensure the parameters there are what you'd expect. This file is autogenerated, so if you want to make changes you should do it through the web UI. Let us know how it goes.
    Airtime Pro Hosting: http://airtime.pro
  • Hi Martin, thanks to reply.

    Yeah, liquidsoap.cfg has the correct user and passwds. What do you mean with web UI exactly?Do you mean Stream settings->Stream->aditional options?If true, there's the same user/passwd concordance that liquidsoap.cfg has, so dunno what's goin wrong.

    Btw its better not to edit manually liquidsoap.cfg, better edit icecast.xml I guess...?¿
  • > What do you mean with web UI exactly?Do you mean Stream settings->Stream->aditional options?

    Yup that's correct.

    If true, there's the same user/passwd concordance that liquidsoap.cfg has, so dunno what's goin wrong.

    When you connect using totem, what URL do you point it to?
    Airtime Pro Hosting: http://airtime.pro
  • > When you connect using totem, what URL do you point it to?

    To that one that appears in Stream settings->Stream->aditional options-> Stream URL which in my case is http://localhost:8000/airtime
  • Ok now I get a new error:

    Can not connect to the streaming server
    401, Authentication Required (HTTP 1.0)

    I just changed the password in the web UI and icecast.xml(didnt touch liquidsoap.cfg). It gets better lol at least now founds the host, just with closed doors...
  • If you've changed your password in icecast.xml make sure you do

    sudo service icecast2 reload
    Airtime Pro Hosting: http://airtime.pro
  • icecast.xml and web Ui has now same user/passwd. User default changed now.

    here some pics:

    icecast.xml

    web ui
  • Ok I think I see the problem. Try creating a mount point with the username/password. See here:


    Edit: An even simpler way is to user "source" user in your Web UI, and password in the Web UI  should be the same as the <source-password> element.

    Martin 
    Post edited by Martin Konecny at 2012-04-19 13:52:34
    Airtime Pro Hosting: http://airtime.pro
  • Yeah!! Thanks a lot Martin! ;)

    Using user 'source' and the password stablished in icecast.xml works!

    Problem solved!!