Multisocket sink and httpserver: how to terminate connection

Krutskikh Ivan stein.hak at gmail.com
Tue Feb 16 18:55:08 UTC 2016


Thanks, I'll try.

Is the code above all right? Seams to be pretty straight forward...

2016-02-16 21:32 GMT+03:00 Tim Müller <tim at centricular.com>:

> 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
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160216/aeebbb1c/attachment.html>


More information about the gstreamer-devel mailing list