Page 1 of 1

Zello on Linux

Posted: Thu Jun 25, 2020 3:07 pm
by kb9mwr
It looks like there is a way finally to stream audio for a Linux system to a Zello channel:

https://github.com/aaknitt/zellostream

I know a number of folks have been hoping for this vs using something like icecast (zello is more real time) for applications like streaming a scanner feed etc.

Re: Zello on Linux

Posted: Sun Jun 28, 2020 9:24 pm
by kb9mwr
As Matt knows I have been trying to get this running, mostly for Bob as I believe he does a private scanner feed over Zello.

https://forums.radioreference.com/threa ... st-3332366

Use the 2020-05-27-raspios-buster-full-armhf image...
(Create a blank file callled ssh on the /boot partition of the sd card to enable ssh at boot... duh)


cd ~
sudo apt-get update
sudo pip3 install websocket
# not sure which one is correct
#pip3 install websocket-client-py3
sudo pip3 install pyaudio
sudo pip3 install opuslib
pip3 install pycryptodome
--
You need to change the default audio device to the USB dongle

The USB sound device can be made the default audio device by editing a system file “alsa.conf” :
sudo nano /usr/share/alsa/alsa.conf
Scroll and find the following two lines:

defaults.ctl.card 0
defaults.pcm.card 0
Change the 0 to a 1 to match the card number of the USB device :

defaults.ctl.card 1
defaults.pcm.card 1

--

This resolves all the needed stuff and runs as:
pi@raspberrypi:~/zellostream $ sudo python3 zellostream.py

if you get a sslv3 error when the vox level is tripped and is started to stream, check that your time zone is correct!