Raspberry PI 4 Morse Code RTSP AUDIO SERVER(SFU) - full duplex, full mesh ip network setup for 8 OPs

Published: 04 November 2021
on channel: QRQcw
88
4

RASPBERRY PI 4
8x8 FULL MESH NETWORKING setup for a CW audio conference
using the ALER9 RTSP-SIMPLE-SERVER and Gstreamer scripts....
https://github.com/aler9/rtsp-simple-...
https://gstreamer.freedesktop.org/dow...
NOTE: the PI in this example, is using the JACK 'dummy' Virtual Sound Card... since all the work is done inside the jack audio connection kit BAY, no pi sound card is needed.... the PI is only acting as a RX/re-TX CENTRAL HUB mixer/router/SERVER
(the PI4 is acting as a SELECTIVE FORWARDING UNIT) (SFU)

PI RTSP SERVER SETUP:
*************************
1. PI4 starts its RTSP-SIMPLE-SERVER(aler9)
2. PI4 scriptsOUT some Gstreamer PIPEs - each with its own ID(8 total)
the 8th one looks like this
gst-launch-1.0 -v jackaudiosrc ! "audio/x-raw, channels=1" ! audioconvert ! opusenc bitrate=256000 ! rtspclientsink location=rtsp://(ip address of the pi4):8554/mystream8 latency=0
the 1st one looks like this
gst-launch-1.0 -v jackaudiosrc ! "audio/x-raw, channels=1" ! audioconvert ! opusenc bitrate=256000 ! rtspclientsink location=rtsp://(ip address of the pi4):8554/mystream1 latency=0
3. gstreamer RECEIVE rtsp clients from each SENDER scripts(8 total)
1st one looks like this
gst-launch-1.0 rtspsrc latency=0 location=rtsp://192.168.1.101:8554/sender1 ! rtpjitterbuffer ! rtpopusdepay ! opusdec ! audioconvert ! jackaudiosink
last one looks like this
gst-launch-1.0 rtspsrc latency=0 location=rtsp://192.168.1.101:8554/sender8 ! rtpjitterbuffer ! rtpopusdepay ! opusdec ! audioconvert ! jackaudiosink

EACH CW SENDER OP - Brings up their own RTSP SERVER
and then sends CW AUDIO to it, using their own RTSPCLIENTSINK CW AUDIO source:
gst-launch-1.0 -v autoaudiosrc ! "audio/x-raw, channels=1" ! audioconvert ! opusenc bitrate=256000 ! rtspclientsink location=rtsp://(ip address of sender 1 PC):8554/sender1 latency=0

each CW SENDER OP grabs the appropriate PI4 RTSP SERVER feed
...for sender 1, here is the script used:(MYSTREAM1)
(next OP would using mystream2 etc...)
gst-launch-1.0 rtspsrc latency=0 location=rtsp://(ip address of the pi4):8554/mystream1 ! rtpjitterbuffer ! rtpopusdepay ! opusdec ! audioconvert ! autoaudiosink


Watch video Raspberry PI 4 Morse Code RTSP AUDIO SERVER(SFU) - full duplex, full mesh ip network setup for 8 OPs online without registration, duration hours minute second in high quality. This video was added by user QRQcw 04 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 88 once and liked it 4 people.