<div>Hi..</div><div><br></div>For sharing media  <div><br></div><div><div>       factory = gst_rtsp_media_factory_new ();</div><div>      <b> gst_rtsp_media_factory_set_shared(factory,TRUE);</b></div><div>       gst_rtsp_media_factory_set_launch (factory, str);</div>
</div><div><br></div><div>I think this will help....</div><div> <br><br><div class="gmail_quote">On Tue, Dec 21, 2010 at 8:18 PM, ding cheng <span dir="ltr">&lt;<a href="mailto:dingchengus1@yahoo.com">dingchengus1@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">It is one of test programs in example directory. You can use test-mp4 to stream a mp4 file.<br>
<br>--- On <b>Tue, 12/21/10, michael <i>&lt;<a href="mailto:mcygogo@gmail.com" target="_blank">mcygogo@gmail.com</a>&gt;</i></b> wrote:<br>
<blockquote style="border-left:rgb(16,16,255) 2px solid;padding-left:5px;margin-left:5px"><br>From: michael &lt;<a href="mailto:mcygogo@gmail.com" target="_blank">mcygogo@gmail.com</a>&gt;<br>Subject: Re: [gst-devel] webcam rtsp server supports only one session<br>
To: &quot;Discussion of the development of GStreamer&quot; &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>Date: Tuesday, December 21, 2010, 12:58 AM<div>
<div></div><div class="h5"><br><br>
<div>where is your test-mp4.c ?<br><br>
<div>On Tue, Dec 21, 2010 at 4:24 PM, Wim Taymans <span dir="ltr">&lt;<a href="http://us.mc1200.mail.yahoo.com/mc/compose?to=wim.taymans@gmail.com" rel="nofollow" target="_blank">wim.taymans@gmail.com</a>&gt;</span> wrote:<br>

<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex">Check out the &#39;shared&#39; property on the media factory, it allows you to<br>share 1 instance of a pipeline with multiple clients.<br>
<br>Wim<br>
<div>
<div></div>
<div><br>On Mon, 2010-12-20 at 18:16 -0800, ding cheng wrote:<br>&gt; I modify test-mp4.c launch string to use v4l2src as stream source:<br>&gt;<br>&gt; &quot;v4l2src device=/dev/video0 ! ffmpegcolorspace !  videoscale !<br>
&gt; ffenc_mpeg4 ! rtpmp4vpay pt=96 name=pay0&quot;.<br>&gt;<br>&gt; It can only support one session. But the origional test-mp4.c supports<br>&gt; multiple sessions without problem.<br>&gt; Can somebody give me a clue? Thanks,<br>
&gt;<br>&gt;<br>&gt;<br></div></div>&gt; ------------------------------------------------------------------------------<br>&gt; Lotusphere 2011<br>&gt; Register now for Lotusphere 2011 and learn how<br>&gt; to connect the dots, take your collaborative environment<br>
&gt; to the next level, and enter the era of Social Business.<br>&gt; <a href="http://p.sf.net/sfu/lotusphere-d2d" rel="nofollow" target="_blank">http://p.sf.net/sfu/lotusphere-d2d</a><br>&gt;
 _______________________________________________ gstreamer-devel mailing list <a href="http://us.mc1200.mail.yahoo.com/mc/compose?to=gstreamer-devel@lists.sourceforge.net" rel="nofollow" target="_blank">gstreamer-devel@lists.sourceforge.net</a> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" rel="nofollow" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br><br><br>------------------------------------------------------------------------------<br>Lotusphere 2011<br>Register now for Lotusphere 2011 and learn how<br>to connect the dots, take your collaborative environment<br>
to the next level, and enter the era of Social Business.<br><a href="http://p.sf.net/sfu/lotusphere-d2d" rel="nofollow" target="_blank">http://p.sf.net/sfu/lotusphere-d2d</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br><a href="http://us.mc1200.mail.yahoo.com/mc/compose?to=gstreamer-devel@lists.sourceforge.net" rel="nofollow" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" rel="nofollow" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div><br></div></div>-----Inline Attachment Follows-----<div class="im"><br><br>
<div>------------------------------------------------------------------------------<br>Lotusphere 2011<br>Register now for Lotusphere 2011 and learn how<br>to connect the dots, take your collaborative environment<br>to the next level, and enter the era of Social Business.<br>
<a href="http://p.sf.net/sfu/lotusphere-d2d" target="_blank">http://p.sf.net/sfu/lotusphere-d2d</a></div><br></div>-----Inline Attachment Follows-----<br><br>
<div>_______________________________________________<div class="im"><br>gstreamer-devel mailing list<br><a href="http://us.mc1200.mail.yahoo.com/mc/compose?to=gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br></div></div></blockquote></td></tr></tbody></table><br>

      <br>------------------------------------------------------------------------------<br>
Lotusphere 2011<br>
Register now for Lotusphere 2011 and learn how<br>
to connect the dots, take your collaborative environment<br>
to the next level, and enter the era of Social Business.<br>
<a href="http://p.sf.net/sfu/lotusphere-d2d" target="_blank">http://p.sf.net/sfu/lotusphere-d2d</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>