<div dir="ltr">Please find enclosed the modified files for RELEASE-0.10.8.<div><br></div><div>Another posts mention that it is possible to do with the baseline version using an URL but I can not find any example.</div>
<div class="gmail_extra"><br><div class="gmail_quote">2013/8/7 Angel Martin <span dir="ltr"><<a href="mailto:amartin@vicomtech.org" target="_blank">amartin@vicomtech.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Dear all,</span><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">In the past I had the same problem, so I modified <span style="background-color:rgb(255,255,204)">rtsp</span>-media-factory.c and .h in order to aggregate getElement feature according to a provided Element Name.</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
Otherwise it is not possible to access to the AppSrc element to manage it.</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
Best,</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
Angel</div><div><div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div class="gmail_quote">2013/8/7 Chuck Crisler <span dir="ltr"><<a href="mailto:ccrisler@mutualink.net" target="_blank">ccrisler@mutualink.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>If you look into rtsp-media-factory.c in the default-construct method you will find the following:<br>
<br> g_mutex_lock (factory->medias_lock);<br> if (key) {<br> /* we have a key, see if we find a cached media */<br>
media = g_hash_table_lookup (factory->medias, key);<br> if (media)<br> g_object_ref (media);<br> }<br><br></div>This shows you how to get the media object from a URL. You can look at the code to see how the hash table is built and maintained and work your code from there.<br>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 7:39 AM, Dexter Metzger <span dir="ltr"><<a href="mailto:dexter.metzger@gmail.com" target="_blank">dexter.metzger@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"><div>Thanks for the response. But it's not clear to me how I can obtain the RTSP Media object. The only function I can find that returns an object of that type is "gst_rtsp_media_factory_construct". However, the documentation of this function is vague and it takes a URL object (which I don't see in any of the examples I've been following) as a parameter. Is there another function or object I'm missing? If not, would you (or someone) be able to explain the use of gst_rtsp_media_factory_construct to me? </div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 5, 2013 at 5:12 PM, Chuck Crisler <span dir="ltr"><<a href="mailto:ccrisler@mutualink.net" target="_blank">ccrisler@mutualink.net</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">There isn't anything special about an RTSP server pipeline. It is just a pipeline. The RTSP Media object has a pipeline pointer. You can access that object and iterate the pipeline elements and do anything you want to do, just like a any other pipeline. Just remember that the pipeline you specify is wrapped by a gstrtpbin object.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Mon, Aug 5, 2013 at 4:46 PM, Dexter Metzger <span dir="ltr"><<a href="mailto:dexter.metzger@gmail.com" target="_blank">dexter.metzger@gmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div><div dir="ltr"><div>Does anyone have any examples on using AppSrc with rtsp-server? This question has been asked multiple times in the past, but has never been answered. I'm unable to find any documentation describing how it can be done.</div>
<div> </div><div>The problem with RTSP server is that it envelops the pipeline, restricting access to the elements. This prevents a developer from making calls on the "appsrc" element. I found one post that describes a partial solution (<a href="http://lists.freedesktop.org/archives/gstreamer-devel/2012-November/037854.html" target="_blank">http://lists.freedesktop.org/archives/gstreamer-devel/2012-November/037854.html</a>) but it lacks a complete implementation and I'm not able to get a program working using its concepts.</div>
</div>
<br></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br></div></div>