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 +```