RTSP SERVER setup for Windows 10 - with help from Raspberry PI & Gstreamer - audio streaming exampl

Аватар автора
DIY умные роботы
the GST-RTSP-SERVER for windows 10 is a bit cumbersome to achieve...however, using the AC3 Gstreamer CODEC, sending audio from the windows 10 PC to a PI 4 GST-RTSP-SERVER is much easier...and so is setting up a GST-RTSP-SERVER on a PI 4(Raspbian Buster) (ac3 not mandatory, many codecs to choose from) WINDOWS 10 SETUP STRUCTURE: use a virtual audio cable for the MIXXX audio output, load up 2 or more audio feeds inside MIXXX, get ready to broadcast by sending audio from the WIN 10 MIXXX audio output to the PI 4 RTSP SERVER audio input....to get HD AUDIO from the output of MIXXX to the input of the PI 4 RTSP SERVER, a Gstreamer AC3 CODEC(rtp payloaded) p2p audio over Ethernet pipeline is setup, with win10 as the sender and the pi 4 as the receiver.... PI 4 SETUP STRUCTURE the GST-RTSP-SERVER input is using the native alsa virtual audio cable, alsa-loopback, aka snd-aloop... so the input of the alsa-loopback cable receives audio from the decoded ac3 feed from the win 10 laptop, and the output of this alsa loopback goes to the input of the pi 4 RTSP SERVER....then multiple connections to the PI 4 RTSP SERVER are possible... the win 10 AC3 CODEC PIPELINE sender script: gst-launch-1.0.exe -v wasapisrc ! queue ! "audio/x-raw, channels=2" ! audioconvert ! avenc_ac3 ! rtpac3pay ! queue ! udpsink host=(internal ip address of the pi) port=5454 the PI 4 AC3 CODEC PIPELINE receiver script: pi@raspberrypi:~ $ gst-launch-1.0 -v udpsrc port=5454 ! "application/x-rtp...

0/0


0/0

0/0

0/0