<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">To LiJim and Wim, many thanks. It works.<BR><BR>--- On <B>Tue, 12/21/10, liJin <I>&lt;lijinsyam@gmail.com&gt;</I></B> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: liJin &lt;lijinsyam@gmail.com&gt;<BR>Subject: Re: [gst-devel] webcam rtsp server supports only one session<BR>To: "Discussion of the development of GStreamer" &lt;gstreamer-devel@lists.sourceforge.net&gt;<BR>Date: Tuesday, December 21, 2010, 7:37 AM<BR><BR>
<DIV id=yiv1422922946>
<DIV>Hi..</DIV>
<DIV><BR></DIV>For sharing media &nbsp;
<DIV><BR></DIV>
<DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp; factory = gst_rtsp_media_factory_new ();</DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp;<B> gst_rtsp_media_factory_set_shared(factory,TRUE);</B></DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp; gst_rtsp_media_factory_set_launch (factory, str);</DIV></DIV>
<DIV><BR></DIV>
<DIV>I think this will help....</DIV>
<DIV>&nbsp;<BR><BR>
<DIV class=yiv1422922946gmail_quote>On Tue, Dec 21, 2010 at 8:18 PM, ding cheng <SPAN dir=ltr>&lt;<A href="http://us.mc1200.mail.yahoo.com/mc/compose?to=dingchengus1@yahoo.com" rel=nofollow target=_blank ymailto="mailto:dingchengus1@yahoo.com">dingchengus1@yahoo.com</A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class=yiv1422922946gmail_quote>
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=top>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="http://us.mc1200.mail.yahoo.com/mc/compose?to=mcygogo@gmail.com" rel=nofollow target=_blank ymailto="mailto:mcygogo@gmail.com">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="http://us.mc1200.mail.yahoo.com/mc/compose?to=mcygogo@gmail.com" rel=nofollow target=_blank ymailto="mailto:mcygogo@gmail.com">mcygogo@gmail.com</A>&gt;<BR>Subject: Re: [gst-devel] webcam rtsp server supports only one session<BR>To: "Discussion of the development of GStreamer" &lt;<A href="http://us.mc1200.mail.yahoo.com/mc/compose?to=gstreamer-devel@lists.sourceforge.net" rel=nofollow target=_blank ymailto="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</A>&gt;<BR>Date: Tuesday, December 21, 2010, 12:58 AM
<DIV>
<DIV></DIV>
<DIV class=yiv1422922946h5><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 'shared' 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; "v4l2src device=/dev/video0 ! ffmpegcolorspace ! &nbsp;videoscale !<BR>&gt; ffenc_mpeg4 ! rtpmp4vpay pt=96 name=pay0".<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=yiv1422922946im><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" rel=nofollow target=_blank>http://p.sf.net/sfu/lotusphere-d2d</A></DIV><BR></DIV>-----Inline Attachment Follows-----<BR><BR>
<DIV>_______________________________________________
<DIV class=yiv1422922946im><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></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" 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 ymailto="mailto:gstreamer-devel@lists.sourceforge.net">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><BR></BLOCKQUOTE></DIV><BR></DIV></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>------------------------------------------------------------------------------<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>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR>gstreamer-devel mailing list<BR><A href="http://us.mc1200.mail.yahoo.com/mc/compose?to=gstreamer-devel@lists.sourceforge.net" ymailto="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></DIV></BLOCKQUOTE></td></tr></table><br>