Add Wrap RTP packets inside SRT protocol
parent
8d09ace981
commit
3b3678823f
1 changed files with 13 additions and 0 deletions
13
Wrap-RTP-packets-inside-SRT-protocol.md
Normal file
13
Wrap-RTP-packets-inside-SRT-protocol.md
Normal file
|
@ -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
|
||||||
|
```
|
Loading…
Reference in a new issue