brief demo of utilizing TCP AUDIO GSTREAMER PIPELINES for a complete duplex, 2 approach, audio stream between a Linux Laptop computer pc(Lubuntu 18.04) and a Raspberry PI 2b

TCP Instructions for RASPBERRY PI2b using ALSA to LINUX LUBUNTU 18.04 laptop computer pc using JACK AUDIO
*********************************************************************
RASPBERRY PI TERMINAL Instructions:
pi@raspberrypi ~ $ gst-start-1. alsasrc system=hw:1 ! audio/x-uncooked, endianness=1234, signed=actual, width=16, depth=16, degree=48000, channels=1, format=S16LE ! audioconvert ! audioresample ! tcpserversink host=192.168.1.130 port=3000
Setting pipeline to PAUSED …
Pipeline is stay and doesn’t will want PREROLL …
Location pipeline to Actively enjoying …
New clock: GstAudioSrcClock

pi@raspberrypi ~ $ gst-start-1. tcpclientsrc host=192.168.1.101 port=3001 ! audio/x-raw, endianness=1234, signed=real, width=16, depth=16, value=48000, channels=1, format=F32LE ! audioconvert ! audioresample ! alsasink machine=hw:1
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
Pipeline is PREROLLED …
Setting pipeline to Collaborating in …
New clock: GstAudioSinkClock

LINUX Pocket book(LUBUNTU 18.04) TERMINAL Directions:
qrq@qrq:~$ gst-launch-1. jackaudiosrc ! audio/x-uncooked, endianness=1234, signed=appropriate, width=16, depth=16, value=48000, channels=1, construction=F32LE ! audioconvert ! audioresample ! tcpserversink host=192.168.1.101 port=3001
Location pipeline to PAUSED …
Pipeline is stay and doesn’t need PREROLL …
Location pipeline to Enjoying …
New clock: GstAudioSrcClock
Redistribute latency…

qrq@qrq:~$ gst-start-1. tcpclientsrc host=192.168.1.130 port=3000 ! audio/x-uncooked, endianness=1234, signed=real, width=16, depth=16, value=48000, channels=1, format=S16LE ! audioconvert ! audioresample ! jackaudiosink
Inserting pipeline to PAUSED …
Pipeline is PREROLLING …
Redistribute latency…
Pipeline is PREROLLED …
Inserting pipeline to Having fun with …
New clock: GstAudioSinkClock

*********************************************************************

Remember: some audio pops have been produced from shifting the mouse although the video recording software is energetic….when the mouse is nonetheless towards the previous a part of this video clip living proof, the audio crackles had been just about nonexistent
https://gstreamer.freedesktop.org/

source

Leave a Reply

Your email address will not be published. Required fields are marked *