Gstreamer provides the TCP/ip audio over ip streams to and from the RIG's connected interfaced Pi2b and the remote OP's PC https://gstreamer.freedesktop.org/download/ here are the scripts used on the PI2B, the laptop's scripts would be the same with the appropriate respective LAN ip addresses & ports NOTE: the RIG used in this demo is an elecraft k3s with its own internal USB sound card that the PI2B is also going to use as its own sound card... which is listed by the PI's terminal as alsa audio device = "hw:2"
PI2B send TCP/ip audio low latency stream to the REMOTE OP's PC *********************************************************************
gst-launch-1.0 -v alsasrc device=hw:2 ! "audio/x-raw, channels=1, rate=48000" ! audioconvert ! rtpL16pay ! rtpstreampay ! tcpserversink host=(ip address of the PI) port=7777
Pi2B receives low latency audio for transmit by the RIG on LSB, from the REMOTE op's PC
*****************************************************************
gst-launch-1.0 -v tcpclientsrc host=(ip address of the REMOTE OP's PC) port=9999 ! "application/x-rtp-stream, media=(string)audio, clock-rate=(int)48000, encoding-name=(string)L16, encoding-params=(string)1, channels=(int)1, payload=(int)96" ! rtpstreamdepay ! rtpjitterbuffer latency=8 ! rtpL16depay ! audioconvert ! alsasink device=hw:2 buffer-time=16000
Views: 22
Tags:
© 2024 Created by Chuck aa0hw. Powered by
You need to be a member of QRQcw to add comments!
Join QRQcw