Hi,
I am getting mad about to get a simple voice over TCP/UDP.
I'd like to connect 2 PIs microphone/line-out with each other, so that you could speak to each other. Does someone knows
some tutorial or easy to use software ?
Currently I am stuck with a icecast-server setup (for radio broadcasting) but it comes with quit some trouble. I am sure somebody here got this done much easier.
thanks a lot.
Simple walkie talkie software over TCP ?
Last edited by mc007ibi on Tue Feb 28, 2017 12:48 pm, edited 1 time in total.
Re: Simple walkie talkie software ?
ah, this has to run permanently from command line, no GUI required or even desired 

-
- Posts: 2247
- Joined: Thu Feb 05, 2015 11:25 pm
Re: Simple walkie talkie software over TCP ?
I've been looking for something like this for a while but only found complicated server based ones.
Re: Simple walkie talkie software over TCP ?
As a basic hack how about netcat of the output of arecord into aplay?
I guess that could work both ways.
You may be able to use the vu (sound level) option of amixer (I think) as a voice activated switch to prevent feedback. (squelch)
I guess that could work both ways.
You may be able to use the vu (sound level) option of amixer (I think) as a voice activated switch to prevent feedback. (squelch)
Re: Simple walkie talkie software over TCP ?
gonna try netcat tomorrow and will let you know. thanks already so much!
greets
greets
Re: Simple walkie talkie software over TCP ?
Here you go, Google (and this fine website) to the rescue:
https://www.raspberrypi.org/blog/talkie ... ie-talkie/
https://www.raspberrypi.org/blog/talkie ... ie-talkie/
-
- Posts: 2247
- Joined: Thu Feb 05, 2015 11:25 pm
Re: Simple walkie talkie software over TCP ?
That's what I meant about there being no serverless projects - that one uses a Mumble server 
And its written in Go which isn't something that a lot of us are familiar with

And its written in Go which isn't something that a lot of us are familiar with
Re: Simple walkie talkie software over TCP ?
Why no mumble server? Can't you just install ii on one of the pis?mattmiller wrote:That's what I meant about there being no serverless projects - that one uses a Mumble server
And its written in Go which isn't something that a lot of us are familiar with
Presumably that would allow you add handsets to the system.
Re: Simple walkie talkie software over TCP ?
It might be worth searching for "raspberry intercom" as well.
-
- Posts: 25314
- Joined: Tue Mar 25, 2014 12:40 pm
- Location: Delightful Dorset
Re: Simple walkie talkie software over TCP ?
??? http://www.linux-projects.org/rpi-video ... ce-demo-osmc007ibi wrote:anyone?
WebRTC solution, which should work in Raspbian Jessie with Pixel OSes chromium-browser v56: https://webrtc.org
The information is out there....you just have to let it in.
My other Linux machine is a ChromeBox
My other Linux machine is a ChromeBox
-
- Posts: 2247
- Joined: Thu Feb 05, 2015 11:25 pm
Re: Simple walkie talkie software over TCP ?
The OP is looking for a serverless solution running server on one isn't serverlessWhy no mumble server? Can't you just install ii on one of the pis?

Re: Simple walkie talkie software over TCP ?
hey, thank you all. Also the pointer to the rpi-videoconference-demo-os tool was definitely helpful.
However, after messing with mumble-talk-pi I went for "mumble" just. It seems stable so far and its funny to abuse our "motioneye" setup for talking to people in that building.
thanks again, more links to other tools are always welcome
g
However, after messing with mumble-talk-pi I went for "mumble" just. It seems stable so far and its funny to abuse our "motioneye" setup for talking to people in that building.
thanks again, more links to other tools are always welcome

g
Re: Simple walkie talkie software over TCP ?
Oh, well done! But we don't know why, so I asked. It seems like a viable solution. It's not smart to rule out viable options without good reasons. Maybe "server" was taken to mean a stand-alone server PC or other extra hardware. Who knows unless the question is answered?mattmiller wrote:The OP is looking for a serverless solution running server on one isn't serverlessWhy no mumble server? Can't you just install ii on one of the pis?
-
- Posts: 2247
- Joined: Thu Feb 05, 2015 11:25 pm
Re: Simple walkie talkie software over TCP ?
And you were entirely right to do so as that is what OP has gone with - I was wrong #AllsWellIt seems like a viable solution. It's not smart to rule out viable options without good reason

Re: Simple walkie talkie software over TCP ?
My answer is probably a bit late, I just read this topic.
Why use TCP, Voice or video transmission over IP is normally transmitted over UDP because it is real-time and TCP is not suited for real-time signals.
Perhaps you can install a sofphone, and have them pointing to each other instead of pointing them to a sip server.
If you do that, the softphone takes care of all voice transmission issues
Why use TCP, Voice or video transmission over IP is normally transmitted over UDP because it is real-time and TCP is not suited for real-time signals.
Perhaps you can install a sofphone, and have them pointing to each other instead of pointing them to a sip server.
If you do that, the softphone takes care of all voice transmission issues
- Ronaldlees
- Posts: 294
- Joined: Sat Apr 16, 2016 4:28 pm
- Location: North Carolina, US
- Contact: Website
Re: Simple walkie talkie software over TCP ?
For a really nice, latency resistant UDP command line audio link, see:
http://www.pogo.org.uk/~mark/trx/
I use it on my Pi2, and it works well for me.
http://www.pogo.org.uk/~mark/trx/
I use it on my Pi2, and it works well for me.
I am the Umbrella man
Re: Simple walkie talkie software over TCP ?
Interesting. Do you have a write-up? I've been looking for something we can use around the houseRonaldlees wrote: ↑Thu Sep 21, 2017 1:28 pmFor a really nice, latency resistant UDP command line audio link, see:
http://www.pogo.org.uk/~mark/trx/
I use it on my Pi2, and it works well for me.
- Ronaldlees
- Posts: 294
- Joined: Sat Apr 16, 2016 4:28 pm
- Location: North Carolina, US
- Contact: Website
Re: Simple walkie talkie software over TCP ?
Hi,piglet wrote: ↑Thu Sep 21, 2017 2:01 pmInteresting. Do you have a write-up? I've been looking for something we can use around the houseRonaldlees wrote: ↑Thu Sep 21, 2017 1:28 pmFor a really nice, latency resistant UDP command line audio link, see:
http://www.pogo.org.uk/~mark/trx/
I use it on my Pi2, and it works well for me.
I didn't do a very detailed writeup, but only as part of another blog article related to ham radio. But, it's probably enough to get you started:
https://amateurmiscellany.wordpress.com ... nalog-rig/
The streaming software (i.e. a "potential" walkie talkie foundation) is towards the bottom of the page.
I am the Umbrella man