title: How to use gst-rtsp-server with own pipeline?
body: <p>I am writing gstreamer application and need to transfer output audio/video stream over rtsp. But in <code>gst-rtsp-server</code> examples I have founded <code>factory</code> creation only by <code>gst-launch</code> syntax:</p>
  
  <pre><code>factory = gst_rtsp_media_factory_new ();  
  gst_rtsp_media_factory_set_launch (factory,
    "( appsrc name=mysrc ! videoconvert ! x264enc ! rtph264pay name=pay0 pt=96 )");
  </code></pre>
  
  <p>Is it possible to connect <code>gst-rtsp-server</code> elements to my pipe?</p>