Just for video in this example. But could be used for anything that can be inside packaged inside RTP packets.
Sender
gst-launch-1.0 -v videotestsrc is-live=true ! videoconvert ! x264enc tune=zerolatency key-int-max=30 ! video/x-h264,profile=main ! h264parse ! rtph264pay mtu=1316 pt=96 ! srtsink uri="srt://18.214.105.179:5000?mode=caller"
Receiver
gst-launch-1.0 srtsrc uri="srt://18.214.105.179:7708?mode=caller" ! queue ! 'application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96' ! rtph264depay ! decodebin ! autovideosink