experimental REMOTE RIG QRQ CW AUDIO over IP - using Gstreamer RTPrtxQUEUE send & receive scripts

brief QRQ CW example//demo of using dual send & receive scripts for operating REMOTE RIG OPERATIONS::REMOTE RIG AUDIO over IP using Gstreamer RTPrtxQUEUE scripts using the OPUS CODEC
https://gstreamer.freedesktop.org/documentation/rtpmanager/rtprtxqu...

a Raspberry PI is connecting to the RIG's INTERNAL SOUND CARD and serial port via one usb cable from the PI to the K3S Elecraft

AD5DZ CW KEYING SOFTWARE SUITE is used to provide CW on the LAPTOP to send over ip // Gstreamer// to the PI::RIG interface
https://youtu.be/l8wKVnA4oGc

HERE ARE THE SCRIPTS USED in this example:

PI
RECEIVE TRANSMIT AUDIO from the REMOTE LAPTOP
pi@raspberrypi ~ $ gst-launch-1.0 -v rtpbin latency=60 name=b rtp-profile=avpf do-retransmission=true udpsrc port=4000 caps="application/x-rtp,media=(string)audio,clock-rate=(int)48000,sprop-stereo=(string)0,encoding-name=(string)X-GST-OPUS-DRAFT-SPITTKA-00,payload=(int)96" ! b.recv_rtp_sink_0 b. ! rtpopusdepay ! opusdec ! audioconvert ! audioresample ! alsasink buffer-time=60000 udpsrc port=4002 ! b.recv_rtcp_sink_0 b.send_rtcp_src_0 ! udpsink host="192.168.1.101" port=4001 sync=false async=false

SEND RIG RECEIVE AUDIO to the REMOTE LAPTOP
pi@raspberrypi ~ $ gst-launch-1.0 -v rtpbin name=b rtp-profile=avpf alsasrc ! "audio/x-raw,channels=1,rate=48000,payload=96" ! audioconvert ! opusenc bitrate=512000 ! rtpopuspay pt=96 ! rtprtxqueue ! b.send_rtp_sink_0 b.send_rtp_src_0 !  udpsink host="192.168.1.101" port=5000 udpsrc port=5001 ! b.recv_rtcp_sink_0 b.send_rtcp_src_0 ! udpsink host="192.168.1.101" port=5002 sync=false async=false


REMOTE LAPTOP
send audio for TRANSMIT to the RIG::PI inteface
qrq@qrq:~$ gst-launch-1.0 -v rtpbin name=b rtp-profile=avpf jackaudiosrc ! "audio/x-raw,channels=1,rate=48000,payload=96" ! audioconvert ! opusenc bitrate=512000 ! rtpopuspay pt=96 ! rtprtxqueue ! b.send_rtp_sink_0 b.send_rtp_src_0 !  udpsink host="192.168.1.130" port=4000 udpsrc port=4001 ! b.recv_rtcp_sink_0 b.send_rtcp_src_0 ! udpsink host="192.168.1.130" port=4002 sync=false async=false

RECEIVE AUDIO from the RIG:PI interface
qrq@qrq:~$ gst-launch-1.0 rtpbin latency=60 name=b rtp-profile=avpf do-retransmission=true udpsrc port=5000 caps="application/x-rtp,media=(string)audio,clock-rate=(int)48000,sprop-stereo=(string)0,encoding-name=(string)OPUS,payload=(int)96" ! b.recv_rtp_sink_0 b. ! rtpopusdepay ! opusdec ! audioconvert ! audioresample ! jackaudiosink buffer-time=60000 udpsrc port=5002 ! b.recv_rtcp_sink_0 b.send_rtcp_src_0 ! udpsink host="192.168.1.130" port=5001 sync=false async=false

Views: 57

Comment

You need to be a member of QRQcw to add comments!

Join QRQcw

© 2024   Created by Chuck aa0hw.   Powered by

Badges  |  Report an Issue  |  Terms of Service