Streaming op25

Status
Not open for further replies.

azduststorm

KJ7QVY
Joined
Oct 25, 2016
Messages
224
Reaction score
20
Hi all I hope everything is good with everyone. I installed op25 running a phase 1 . I am wondering how to stream op25s sound from a raspberry to a iphone 11. VCN is to expensive to use for sound. I am currently using chrome remote and it works, unfortunately I have to keep tapping my phone screen so the screen wont shut off and. Any help would be great thank you.
KJ7QVY
 

azduststorm

KJ7QVY
Joined
Oct 25, 2016
Messages
224
Reaction score
20
I wanted to say I am using chrome remote on a onn windows tablet that has sdr trunk and it works but I would like to use chrome remote on the pi
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,629
Reaction score
1,025
Location
Talbot Co, MD
Hi all I hope everything is good with everyone. I installed op25 running a phase 1 . I am wondering how to stream op25s sound from a raspberry to a iphone 11. VCN is to expensive to use for sound. I am currently using chrome remote and it works, unfortunately I have to keep tapping my phone screen so the screen wont shut off and. Any help would be great thank you.
KJ7QVY
Assume you're meaning to stream on a local network, vs externally using something like Broadcastiy?
Simplest would be to set up your own icecast server on the same RPi that's running op25, then just use a standard iphone web browser to open the stream.
 

azduststorm

KJ7QVY
Joined
Oct 25, 2016
Messages
224
Reaction score
20
Assume you're meaning to stream on a local network, vs externally using something like Broadcastiy?
Simplest would be to set up your own icecast server on the same RPi that's running op25, then just use a standard iphone web browser to open the stream.
 

azduststorm

KJ7QVY
Joined
Oct 25, 2016
Messages
224
Reaction score
20
easy with the computer terms lol.Im taking classes but its only my second semester and I am a slow learner.. I want to be able to pull up the scanner from anywhere and access it, from my iphone and with the sound coming out of blue tooth. thank you for your time and help
 

kcams

Member
Joined
Aug 3, 2021
Messages
16
Reaction score
4
I don't like exposing software to the internet directly, or blowing open firewall ports without a really good reason. You got options if you don't want to broadcast to an external service like broadcastify. Run your own VPN server. These are both free and have clients that can run on just about anything.

Wireguard: WireGuard: fast, modern, secure VPN tunnel
Openvpn: Business VPN | Next-Gen VPN | OpenVPN

Why is that 'more better'? Because when someone port scans the open port on your home router, if they don't have the encryption key (wireguard) or a hardware HMAC (openvpn), their port scan shows 'filtered' -- no conversation or response took place. They have no idea if the port is open or closed and you aren't good target for the script kids. Then they move on to the next IP.

Put a vpn client on your phone. Switch it on, and now your phone is on your local network, and you can access machines on your local network -- like the Icecast server connected to your op25 install. Use a web browser or something like VLC on your phone. In the op25 directory, there is a README-rpi3-liquidsoap file that shows you how to do it.

What's the super quick way to install a vpn server on a raspberry? PIVPN: Simplest way to setup a VPN . Wireguard is simple to configure, but there's an openvpn option. What's the difference? Protocol. Wireguard has less overhead, but the connection is assumed to have some loss. Works better for cams and streaming stuff where you don't need every single UDP packet all the time.
 
Last edited:

boatbod

Member
Joined
Mar 3, 2007
Messages
3,629
Reaction score
1,025
Location
Talbot Co, MD
You really DON'T want to expose op25's web interface to the outside world since it lacks any sort of security whatsoever. Put up a VPN as noted by @kcams or start a broadcastify feed and listen through that.
 

azduststorm

KJ7QVY
Joined
Oct 25, 2016
Messages
224
Reaction score
20
You really DON'T want to expose op25's web interface to the outside world since it lacks any sort of security whatsoever. Put up a VPN as noted by @kcams or start a broadcastify feed and listen through that.
thank you for your help and time boatbod ill look into that.
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,635
Reaction score
178
Location
Massachusetts
For what it’s worth, here is how I do it:

Run OP25 on a RPi (64 bit OS). Output to a Null Sink in Pulseaudio on the pi. Run Zellostream on the pi (GitHub - aaknitt/zellostream: Python script to stream audio one way to a Zello channel). Use PAVucontrol to route the audio from the monitor of the Null Sink to the source for Zellostream. Works like a charm. Advantages when using the Zello app over a streaming app: 1. audio stream delay is in milliseconds rather than minutes. 2. Audio is streamed only when there is an active transmission (streaming apps like BCFY stream all the dead air between transmissions.) 3. Transmissions are stored for immediate playback if you don’t catch what they said.

here is the link to the P25 stream described above:

Check out the Franklin County (MA) Fire Simulcast 1 channel on Zello.
 

azduststorm

KJ7QVY
Joined
Oct 25, 2016
Messages
224
Reaction score
20
For what it’s worth, here is how I do it:

Run OP25 on a RPi (64 bit OS). Output to a Null Sink in Pulseaudio on the pi. Run Zellostream on the pi (GitHub - aaknitt/zellostream: Python script to stream audio one way to a Zello channel). Use PAVucontrol to route the audio from the monitor of the Null Sink to the source for Zellostream. Works like a charm. Advantages when using the Zello app over a streaming app: 1. audio stream delay is in milliseconds rather than minutes. 2. Audio is streamed only when there is an active transmission (streaming apps like BCFY stream all the dead air between transmissions.) 3. Transmissions are stored for immediate playback if you don’t catch what they said.

here is the link to the P25 stream described above:

Check out the Franklin County (MA) Fire Simulcast 1 channel on Zello.
Ill give that a try thank you. What would really be cool is. if I could play like you tube red with some 80/ 90s rock going and every time the pi transmits it cuts the music off and continues with the transmission. then turns the music back on after the transmission stops just like the radio I have now. My car is all decked out with some cool stuff thanks to the raspberry. it also has the knight rider voice in it introducing itself as kit from knight rider. I have led strip light inside that are voice and it looks like the car is talking. Three cameras and a ham radio going on. The kids up at my daughter high school calls it the spaceship car. Just a dumb project I am working on to keep me sane in a small town with nothing to do. Thank you for the info ill check into that.
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,635
Reaction score
178
Location
Massachusetts
I can confirm that when I have Zello on and Pandora App playing music, the music mutes when zello plays and then reverts to music. I believe there is a setting in the Zello App that enables this.
 

Attachments

  • 44E2F2E1-9D4F-4ABB-A474-5395E77A2246.jpeg
    44E2F2E1-9D4F-4ABB-A474-5395E77A2246.jpeg
    20.7 KB · Views: 18

azduststorm

KJ7QVY
Joined
Oct 25, 2016
Messages
224
Reaction score
20
I can confirm that when I have Zello on and Pandora App playing music, the music mutes when zello plays and then reverts to music. I believe there is a setting in the Zello App that enables this
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,635
Reaction score
178
Location
Massachusetts
Take a look at this thread, especially boatbod’s post:


I don’t remember the details, but I used the 64 bit OS for the pi.

install pavucontrol (sudo apt install pavucontrol). Then you will find Pulseaudio volume control under the Sound and Video menu. Use this to route the output of op25 to the input of zellostream.
 

azduststorm

KJ7QVY
Joined
Oct 25, 2016
Messages
224
Reaction score
20
Take a look at this thread, especially boatbod’s post:


I don’t remember the details, but I used the 64 bit OS for the pi.

install pavucontrol (sudo apt install pavucontrol). Then you will find Pulseaudio volume control under the Sound and Video menu. Use this to route the output of op25 to the input of zellostream.
I already have op25 I Just need the zello guide Im really new at this thank you
 

azduststorm

KJ7QVY
Joined
Oct 25, 2016
Messages
224
Reaction score
20
Take a look at this thread, especially boatbod’s post:


I don’t remember the details, but I used the 64 bit OS for the pi.

install pavucontrol (sudo apt install pavucontrol). Then you will find Pulseaudio volume control under the Sound and Video menu. Use this to route the output of op25 to the input of zellostream.
After re- reading this I think I know what you mean im going to try it now thank you
 

azduststorm

KJ7QVY
Joined
Oct 25, 2016
Messages
224
Reaction score
20
Take a look at this thread, especially boatbod’s post:


I don’t remember the details, but I used the 64 bit OS for the pi.

install pavucontrol (sudo apt install pavucontrol). Then you will find Pulseaudio volume control under the Sound and Video menu. Use this to route the output of op25 to the input of zellostream.
I am not getting it because I don't have a raspberry pi start icon. It vanished and I don't know how to get it back.
 

pmn929

Member
Joined
Jun 24, 2001
Messages
50
Reaction score
4
For what it’s worth, here is how I do it:

Run OP25 on a RPi (64 bit OS). Output to a Null Sink in Pulseaudio on the pi. Run Zellostream on the pi (GitHub - aaknitt/zellostream: Python script to stream audio one way to a Zello channel). Use PAVucontrol to route the audio from the monitor of the Null Sink to the source for Zellostream. Works like a charm. Advantages when using the Zello app over a streaming app: 1. audio stream delay is in milliseconds rather than minutes. 2. Audio is streamed only when there is an active transmission (streaming apps like BCFY stream all the dead air between transmissions.) 3. Transmissions are stored for immediate playback if you don’t catch what they said.

here is the link to the P25 stream described above:

Check out the Franklin County (MA) Fire Simulcast 1 channel on Zello.
I came across this thread because I was having long delays with OP25 and steaming to my local icecast/liquid instance, so I thought I would give Zello a shot. Redirecting the sound card still had significant delays (10 seconds +). I noticed that the zellostream had a UDP option, so I just used the same port that I was previously using for icecast pulled the sample rate down to 8,000 (from 48,000) in the zello config, and now it works beautifully.
Thanks for putting this out there since I had never even heard of it.
 

leoaln

Member
Feed Provider
Joined
Apr 6, 2010
Messages
78
Reaction score
5
Location
St. Martin, MS 39532
I have been streaming my op25 feed using liquidsoap and icecast server on a RPi4, , but I want to try to use Zello instead. I have installed Zello, but I cannot get the audio in from OP25. What is the correct way to get these programs to connect to one another.
I get the following error when starting Zello with the python script.


Message: 'cannot move pulseaudio sink input %d to sink %d'
Arguments: (53, None)
2023-08-30 18:03:32,373 E create_zello_connection: exception: module 'websocket' has no attribute 'create_connection'
2023-08-30 18:03:32,373 W main: cannot establish connection for incoming
 

pmn929

Member
Joined
Jun 24, 2001
Messages
50
Reaction score
4
Mine has been running since Feb without any issues. I run 2 instances of Zello, one for our FD channels, and the other for PD channels.
Here are the relevant settings from one of my Zello configs:
"vox_silence_time": 2,
"audio_threshold": 200,
"audio_source": "UDP",
"input_device_index": 0,
"input_pulse_name": "alsa_output.platform-bcm2835_audio.analog-stereo",
"output_device_index": 14,
"output_pulse_name": "fcdv1op",
"zello_input_sample_rate": 16000,
"audio_input_sample_rate": 8000,
"in_channel_config": "left",
"audio_input_channels": 1,
"audio_output_sample_rate": 48000,
"audio_output_channels": 2,
"audio_output_volume": 1.5,
"logging_level": "debug",
"TGID_in_stream": false,
"TGID_to_play": 58917,
"UDP_PORT": 23467
 
Status
Not open for further replies.
Top