I have an audio extension on two Pi's that allows me to plug in a microphone and a speaker. I want to take microphone input from one Pi and send the audio over an Ethernet cable to the other Pi. The layout of the setup is this:
Smart phone > Aux cable > RPI1 mic input > Ethernet > RP2 audio output > aux cable > speaker
How would I go about doing this from a software perspective? I looked up the SOX software and tried doing it over SSH but can't figure it out.