Gstreamer Screen sharing cmd


Could please tell me what is the gst-launch command to make screen sharing over srt?
I tried this command but it doesn’t worked.
I have recompiled gst-plugin-bad with --enable-srt option to support srt.

gst-launch-1.0 ximagesrc startx=0 show-pointer=true use-damage=0 ! videoconvert ! x264enc bitrate=32000 tune=zerolatency speed-preset=veryfast byte-stream=true threads=1 key-int-max=15 intra-refresh=true ! video/x-h264, profile=baseline, framerate=30/1 ! mpegtsmux ! srtserversink uri=srt:// latency=100

Best regards

We don’t see posts about srtserversink and you may go to gstreamer forum to get help.

Once you get the working pipeline, you can replace x264enc with nvv4l2h264enc to enable hardware encoding.