<div dir="ltr">I have been wondering the same thing honestly.  To work around this, I have been launching a dummy client using gst-launch-1.0 with an rtspsrc block when I want a recording to start.<br><br>To the best of my knowledge, there is no way to do this with the current implementation of the RTSP server, since the pipeline only pushes data when a client is connected.<br><br>This would be a very useful feature though.  An alternative solution might be to have gst-launch performing the record, and piping the output also into the RTSP server.  This sounds doable in theory, but I haven't delved into things enough to figure out how feasible this setup is.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 1, 2016 at 10:58 AM, Chris Whittenburg <span dir="ltr"><<a href="mailto:whittenburg@gmail.com" target="_blank">whittenburg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div>I've been experimenting with gst-rtsp-server, and I'm wondering the best way to create a pipeline which both records and streams. </div><div><br></div><div>It seems like I would just tee the h264 video, and send one branch to rtph264pay and the other to my muxer and filesink.  But I want the recording to start on launch, not when the first client connects to the server.</div><div><br></div><div>Is there an easy way to make this happen, or do I need to go in and muck with the server code?</div><div><br></div><div>My initial experiment was to try using gst_rtsp_media_set_suspend_mode to none, in hopes of keeping the pipeline running as clients connected/disconnected but that didn't seem to work as I expected.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-chris</div><div><br></div></font></span></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>