Headless Raspberry Pi 4 operating as a TCP OPUS 2-way Audio over iP CW audio QSO server using PYTHON

Published: 24 October 2022
on channel: QRQcw
87
0

headless pi4 operating as a TCP opus audio morse code audio over ip Server to multiple connecting TCP clients ... the PYTHON script operates both the TX/RX functions for all connecting clients and the pi4 TCP SERVER... the pi4 TCP SERVER mixes all incoming streams(without a sound card) and mixes all streams together and sends it back to each OP connecting to the pi4 TCP server

here is the Gstreamer part of the TCP CLIENTs that each OP will use(each with a different UDP SEND port number) this PYTHON code performs both the TRANSMIT & RECEIVE in one script

Set up the gstreamer pipeline
self.player = Gst.parse_launch ("jackaudiosrc ! audio/x-raw, channels=1 ! audioconvert ! opusenc bitrate=128000 ! rtpopuspay ! udpsink host=(ip address of the pi4 TCP server) port=5555 tcpclientsrc host=(ip address of the pi4 TCP server) port=7777 ! application/x-rtp-stream, media=(string)audio, clock-rate=(int)48000, encoding-name=(string)OPUS, sprop-maxcapturerate=(string)48000, sprop-stereo=(string)0, payload=(int)96, encoding-params=(string)2 ! rtpstreamdepay ! rtpjitterbuffer latency=30 ! rtpopusdepay ! opusdec ! audioconvert ! jackaudiosink sync=false async=false buffer-time=30000 ")


Watch video Headless Raspberry Pi 4 operating as a TCP OPUS 2-way Audio over iP CW audio QSO server using PYTHON online without registration, duration hours minute second in high quality. This video was added by user QRQcw 24 October 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 87 once and liked it 0 people.