<div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Tue, Aug 6, 2019, 4:07 AM arc <<a href="mailto:armondcapp@gmail.com">armondcapp@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a function that constructs a pipeline and plays back a stream URL.<br>
After several calls (20 or more) to this function I see a warning message<br>
"GStreamer-WARNING **: failed to create thread: Error creating thread:<br>
Resource temporarily unavailable". Once I receive that message the pipeline<br>
never enters the playing state.<br>
<br>
I'm following the example code to cleanup the pipeline calling<br>
gst_element_set_state GST_NULL on the pipeline followed by gst_object_unref,<br>
but apparently there's a issue somewhere. <br>
<br>
Most of the examples show a main program that creates creates a pipeline,<br>
plays for some time, cleans up, and exits main. <br>
<br>
Is there an example that shows how to playback any number of URL's, or any<br>
idea how to resolve my resource issue?<br></blockquote></div><div dir="auto"><br></div><div dir="auto">Can you set GST_DEBUG=4 and check the logs to maybe narrow down the issue?</div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>