gst-rtsp-server multiple clients cannot see same video

Alan Petrus dartagnan64b at gmail.com
Wed Mar 9 04:28:40 UTC 2022


Hello,

I'm running test-launch.c from the gst-rtsp-server examples folder without
any modifications; when the second client connects it kicks the first
connected client. How can I get multiple clients to see the same video from
a USB camera? (rtsp over tcp)

Here is my pipeline:
v4l2src device=/dev/video0 do-timestamp=true !
image/jpeg,width=1920,height=1080,framerate=20/1 ! jpegparse ! queue
leaky=2 ! v4l2jpegdec output-io-mode=4 capture-io-mode=0 ! v4l2convert !
queue ! v4l2h264enc output-io-mode=5 capture-io-mode=4
extra-controls=controls,video_bitrate=4000000,repeat_sequence_header=1,h264_level=13,h264_profile=4;
! capsfilter caps=\"video/x-h264,profile=high,level=(string)4.2\" ! queue !
h264parse config-interval=-1 ! rtph264pay pt=96 name=pay0

logs:
https://pastebin.com/geE40G0M

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220308/e801c622/attachment.htm>


More information about the gstreamer-devel mailing list