I’m trying to stream a video from Raspberry pi to an ubuntu server, which should let multiple users to connect their mobile device and view the stream. I understood that I have to use rtsp server and subscribe to that from the mobile devices. I’m using udp sink to send the stream from raspberry pi and listening to that using the udpsrc. I’m unable to understand on how to link this incoming udp feed to the rtsp server and let others connect for viewing it.
raspivid -n -w 768 -h 544 -b 1000000 -fps 60 -t 0 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=10 pt=96 ! udpsink host= port=
gst-launch-1.0 -v udpsrc port=9000 caps=‘application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264’ ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false
I thank in advance to everyone who are helping me out.