RASPBERRY PI 4
8x8 FULL MESH NETWORKING setup for an 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
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 SENDER Brings up their own RTSP SERVER
and then send to it, their own RTSPCLIENTSINK VOICE AUDIO:
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 SENDER grabs the appropriate PI4 RTSP SERVER feed
...for sender 1, here is the script used:
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, RTSP, Full Mesh P2P, Full Duplex Audio Server - 8 RTSP Clients Audio Conference DEMO 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 227 once and liked it 3 people.