several advantages for using the SRT protocol for sending & receiving CW RTP MiDi over ip for Morse Code OPs to QSO online with each other:
from: https://www.haivision.com/blog/all/srt-everything-you-need-to-know-...
BENEFITS OF SRT
***********************
Although sometimes dubbed as “Satellite Replacement Technology”, SRT, which stands for Secure Reliable Transport, has so much to offer, including: Pristine Quality SRT protects against jitter, packet loss, and bandwidth fluctuation, ensuring the best possible viewing experience. Extremely Secure Using the same 128/256-bit AES encryption trusted by governments and organizations around the world, SRT ensures that valuable content is protected end-to-end from contribution to distribution so that no unauthorized parties can listen. Always Reliable No matter how unreliable your network, SRT can recover from severe packet loss and jitter, ensuring the integrity and quality of your video streams. Low Latency SRT’s stream error correction is configurable to accommodate a user’s deployment conditions. Leveraging real-time IP communications development to extend traditional network error recovery practices, SRT delivers media with significantly lower latency than TCP/IP, while offering the speed of unreliable UDP transmission without the disadvantage Easy Firewall Traversal The handshaking process used by SRT supports outbound connections without the potential risks and dangers of permanent exterior ports being opened in a firewall, thereby maintaining corporate LAN security policies and minimizing the need for IT intervention. Content Agnostic Unlike some other streaming protocols that only support specific video and audio formats, SRT is payload agnostic. Because SRT operates at the network transport level, acting as a wrapper around your content, it can transport any type of video format, codec, resolution, or frame rate. Open Source SRT can be implemented using a free, open source code base, keeping costs low for all parties. There are no royalties, long-term contracts, or monthly subscription fees required. Being open source encourages SRT’s widespread adoption and accelerates innovation through continuous collaborative development.
GSTREAMER SCRIPT used in this demo, to SEND RTP CW MiDi over ip:
gst-launch-1.0 -v alsamidisrc ! queue ! rtpgstpay ! queue ! srtserversink uri=srt://:8888
NOTE: CW KEYBOARD from RECRI KEYER has a setting to adjust which MiDi NOTE the keyboard outputs to the alsamidisrc input of gstreamer https://github.com/recri/keyer GSTREAMER
SCRIPT used in this demo, to Receive RTP CW MiDi over ip:
gst-launch-1.0 srtclientsrc uri="srt://(ip address of the other OP sending to you):9977" ! queue ! "application/x-rtp, media=(string)application, clock-rate=(int)90000, encoding-name=(string)X-GST, caps=(string)YXVkaW8veC1taWRpLWV2ZW50, capsversion=(string)0, payload=(int)96" ! queue ! rtpbin latency=30 ! rtpgstdepay ! fluiddec soundfont=/home/qrq/symetricalEXPONENTIAL.sf2 ! audioconvert ! audioresample quality=10 ! queue ! audioconvert ! audioamplify amplification=5 ! queue ! jackaudiosink buffer-time=60 sync=false async=false
NOTE: this RX SCRIPT needs a customized .sf2 soundfont created by recording your prefered CW NOTE wave shape in Audacity and creating the new soundfont with POLYPHONE APP: https://www.polyphone-soundfonts.com/ and telling the RX GSTREAMER script fluiddec element to use that soundfont(in this example, the soundfont was called "symetricalEXPONENTIAL.sf2) the gstreamer fluidDEC element uses the fluidsynth APP to act as a CW SYNthesizer and 'play' the CW soundfont, according to the length of the decoded CW MIDI note lengths https://www.fluidsynth.org/
Views: 44
Tags:
© 2024 Created by Chuck aa0hw. Powered by
You need to be a member of QRQcw to add comments!
Join QRQcw