Multisocket sink and httpserver: how to terminate connection
Tim Müller
tim at centricular.com
Tue Feb 16 18:32:35 UTC 2016
On Tue, 2016-02-16 at 21:12 +0300, Krutskikh Ivan wrote:
Hi,
> I'm writing a test video distributor tool for serving gstreamer mpeg-
> ts and mjpeg streams over http connection. I'm using python
> basehttpserver and gstreamer as core parts. I got over initial
> connection part very fast, I can actually watch video from a number
> of vlc players just fine. However when one of the players disconnect,
> I get 100% cpu usage for my tool and socket still open due to some
> thread locking I think... ( since both httpserver and handle loop
> intend to run in foreground). How can I solve this issue?
This might be the same issue as
https://bugzilla.gnome.org/show_bug.cgi?id=761257
If there's any chance you could test those patches, that'd be helpful.
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list