<div dir="ltr">Thanks, I'll try. <br><br>Is the code above all right? Seams to be pretty straight forward...<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-16 21:32 GMT+03:00 Tim Müller <span dir="ltr"><<a href="mailto:tim@centricular.com" target="_blank">tim@centricular.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 2016-02-16 at 21:12 +0300, Krutskikh Ivan wrote:<br>
<br>
Hi,<br>
<br>
> I'm writing a test video distributor tool for serving gstreamer mpeg-<br>
> ts and mjpeg streams over http connection. I'm using python<br>
> basehttpserver and gstreamer as core parts. I got over initial<br>
> connection part very fast, I can actually watch video from a number<br>
> of vlc players just fine. However when one of the players disconnect,<br>
> I get 100% cpu usage for my tool and socket still open due to some<br>
> thread locking I think... ( since both httpserver and handle loop<br>
> intend to run in foreground). How can I solve this issue?<br>
<br>
</span>This might be the same issue as<br>
<a href="https://bugzilla.gnome.org/show_bug.cgi?id=761257" rel="noreferrer" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=761257</a><br>
<br>
If there's any chance you could test those patches, that'd be helpful.<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888"> -Tim<br>
<br>
--<br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</font></span></blockquote></div><br></div>