This guide outlines how to set up a P25 trunked radio receiver and streamer on a Raspberry Pi 3 (or any Debian-based Linux system) using OP25 and LiquidSoap. This configuration is designed to avoid ALSA subsystem issues by using PulseAudio and LiquidSoap for audio routing.
Prerequisites
- Hardware: Raspberry Pi 3B (Pi Zero is not powerful enough).
- OS: Raspbian Stretch or any Debian-based Linux.
Installation Steps
1. Install OP25
sudo apt-get install git
cd ~
git clone https://github.com/boatbod/op25
cd op25
./install.sh
2. Install LiquidSoap
sudo apt-get install liquidsoap liquidsoap-plugin-all
3. Install PulseAudio (Recommended)
Use PulseAudio instead of ALSA for local audio by selecting the -O pulse option in OP25.
sudo apt-get install pulseaudio pulseaudio-utils
4. Install Icecast (Optional)
To stream to an Icecast server:
sudo apt-get install icecast2
Follow the prompts to set passwords, then define your mount point in /etc/icecast2/icecast.xml:
<listen-socket>
<port>8000</port>
<shoutcast-mount>/op25</shoutcast-mount>
</listen-socket>
sudo apt-get install git
cd ~
git clone https://github.com/boatbod/op25
cd op25
./install.sh