Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IceCast connection issue #167

Closed
AvrumFeldman opened this issue Jul 5, 2020 · 4 comments
Closed

IceCast connection issue #167

AvrumFeldman opened this issue Jul 5, 2020 · 4 comments

Comments

@AvrumFeldman
Copy link

AvrumFeldman commented Jul 5, 2020

Hi,

I'm using your software and am loving it.

I set up a raspberry to stream to an icecast server I control and it's working fine.

I set up another computer but it's failing to connect to my icecast server. The syslog just displays basic connection success and failures. Any place where I can see more detailed logs?

@szpajder
Copy link
Collaborator

szpajder commented Jul 5, 2020

If the raspberry and the new computer are both connecting to the same icecast server simultaneously, then you might have hit a limit on number of sources imposed by the Icecast server, which is set to 2 by default.

Inspect Icecast server logs (/var/log/icecast/error.log or similar). If the above is the case, increase <sources> parameter value in the <limits> section in the server config file and restart it.

@AvrumFeldman
Copy link
Author

AvrumFeldman commented Jul 5, 2020

Thanks. I ruled out right away icecast sources limit on the icecast server.

I did a packet capture on the offending computer and see it is sending right away a tcp RST packet instead of an ACT packet. I don't know for sure it's rtl_airband sending that, but would like to rule that out.

Is there detailed logging on the icecast connection setup? or is there anyway I can enable debug logging?

This is the steps I took to install rtl_airband

sudo apt-get install build-essential libmp3lame-dev libshout3-dev libconfig++-dev
sudo apt-get install libfftw3-dev
sudp apt-get install librtlsdr-dev
wget https://github.com/szpajder/RTLSDR-Airband/archive/v3.1.0.tar.gz
tar xvzf v3.1.0.tar.gz
cd RTLSDR-Airband-3.1.0/
make PLATFORM=x86 NFM=1
make install

@szpajder
Copy link
Collaborator

szpajder commented Jul 5, 2020

What's the libshout library version on the client?

If it's 2.4.2 or later, then most probably you are hitting bug #143 . If this is the case, please downgrade to 2.4.1.

@AvrumFeldman
Copy link
Author

Bingo. That's it. Thanks for the project and help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants