[Icecast] Problem streaming from RTLSDR-Airband

pete at malibubeach.com pete at malibubeach.com
Mon Mar 29 03:47:44 UTC 2021


30 seconds with wireshark solved the problem --- the source program was not resolving 'localhost'  (no IP traffic was a dead giveaway😊.  Changed its config file to 127.0.0.1 and it connects now.

I appreciate your reply.

-----Original Message-----
From: Icecast <icecast-bounces at xiph.org> On Behalf Of Marvin Scholz
Sent: Sunday, March 28, 2021 1:28 PM
To: Icecast streaming server user discussions <icecast at xiph.org>
Subject: Re: [Icecast] Problem streaming from RTLSDR-Airband

Hi,

On 28 Mar 2021, at 4:38, Peter Tompkins wrote:

> I am brand new to icecast so I suspect this will be a silly query to 
> many but I am out of ideas.  I am running RTLSDR-Airband and Icecast 
> on the same
> Rasberry Pi 4b.   The icecast admin pages work (and say there are no 
> active
> mount points), The airband status page shows valid numbers indicating 
> it is connected to the radio device and is capturing the requested 
> frecuencies.
> But both of them are reporting error messages regarding the connection 
> between the two.  There is clearly something I am missing to tell 
> icecast that this should be treated as a request from a source.
>
>
>
> I see the following in the icecast error log (and a comparable error 
> message in the airband log).
>
>
>
> [2021-03-27  19:04:50] WARN fserve/fserve_client_create req for file
> "/usr/share/icecast2/web/ATIS" No such file or directory
>
>

This is just an warning you will get when you try to request a 
mountpoint
that is not streamed to, as Icecast will then look for a file in the
webroot instead and this is the warning that it founds none, IIRC.

>
> I have an output defined in the airband config thusly:
>
>    {
>
>       freq = 126.025;
>
>       outputs: (
>
>         {
>
>                   type = "icecast";
>
>                   server = "localhost";
>
>           port = 8000;
>
>           mountpoint = "ATIS";
>
>           name = "ATIS";
>
>           genre = "ATC";
>
>           description = "KCMA ATIS";
>
>           username = "source";
>
>           password = "KCMA";
>
>                 }
>
>       );
>
>     },
>
>

Do you have any logs of the source client (Airband, I guess)?

>
> I made minimal changes to the default icecast config:
>
> Set source-password to KCMA to match the password in the airband 
> config
>
> Left hostname to localhost (at least for now)
>
> I have a listen socket for port 8000
>

Sounds fine, for now, and should work.

>
>
> If I read the documentation correctly, I do not need to define a mount 
> point
> in the xml file: I think I read that should happen automatically with 
> the
> source connect, but it seems to be complaining that the mountpoint 
> name is
> not recognized ("ATIS")
>

Yep, there is no need to explicitly configure any mountpoint in the XML
usually.

>
>
> I am hoping someone can tell me what stupid thing I am overlooking?


Can you share the error and access logs? If Airband tries to connect as 
source,
it definitely should be logged in there.


> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast
_______________________________________________
Icecast mailing list
Icecast at xiph.org
http://lists.xiph.org/mailman/listinfo/icecast




More information about the Icecast mailing list