From 3b3678823f0687ea289517d621a11f16dd0f4a5e Mon Sep 17 00:00:00 2001 From: Rafael Caricio Date: Sat, 25 May 2024 11:47:40 +0000 Subject: [PATCH] Add Wrap RTP packets inside SRT protocol --- Wrap-RTP-packets-inside-SRT-protocol.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Wrap-RTP-packets-inside-SRT-protocol.md diff --git a/Wrap-RTP-packets-inside-SRT-protocol.md b/Wrap-RTP-packets-inside-SRT-protocol.md new file mode 100644 index 0000000..fe7a192 --- /dev/null +++ b/Wrap-RTP-packets-inside-SRT-protocol.md @@ -0,0 +1,13 @@ +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 ! frei0r-filter-lib-frei0r-1-rgbnoise ! 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 +```