Wrap RTP packets inside SRT protocol #1

Open
opened 2024-05-25 11:42:38 +00:00 by rafaelcaricio · 0 comments

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
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 ```
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mirrors/gstreamer#1
No description provided.