<p dir="ltr"><br>
Le 16 juin 2016 4:51 PM, "Monyz Wacon" <<a href="mailto:monyz.ww@gmail.com">monyz.ww@gmail.com</a>> a écrit :<br>
><br>
> Hello,<br>
> I would like to send RTSP stream from my RPi to PC. I played a bit with examples for gst-rtsp-server and everything works fine. However I would like to do something similar like with udpsink, what means that Raspberry Pi will send RTSP stream to PC, not that PC needs to connect to the server on Raspberry Pi to get get a stream. Is it possible to use gst-rtsp-server so that it will await for incoming RTSP stream? <br>
><br>
> Something like that but for RTSP instead of RTP:<br>
><br>
> gst-launch-1.0 -e -v v4l2src device=/dev/video0 ! 'video/x-h264,width=320,height=200,framerate=30/1' ! h264parse ! rtph264pay ! udpsink host=192.168.0.1 port=6222</p>
<p dir="ltr">You could try the new rtspsink element shipped with the rtsp server. This is rtsp record protocol. In that case, the server would run on the PC, and the rpi would be the one connecting.</p>
<p dir="ltr">><br>
> If not, what are the options to do it (sending encrypted stream, I believe that RTP is not encrypted)?<br>
><br>
> Best regards<br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
</p>