[Webkit-unassigned] [Bug 39204] schedule/unscheduleAll API in ResourceHandleMac

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 17 23:16:32 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39204





--- Comment #3 from Philippe Normand <pnormand at igalia.com>  2010-05-17 23:16:32 PST ---
Thanks Darin for looking at the patch.

Would it be ok to pass the Page pointer in parameter of the new methods then? This would work for my use-case as well.

About the big picture, I tried to explain it in the bug description but it wasn't probably clear enough :)

The gstreamer framework is based on the concept of pipelines where data flow between elements (source elements, demuxers, decoders, sink elements,...). Our pipeline uses a custom source element that does the HTTP data downloading with the ResourceHandle "low level" API. It has a custom ResourceHandleClient. The element is using appsrc [1]. Appsrc has an internal queue that manages the data buffering. When it's full appsrc will ask the application (ResourceHandle) to 
pause the download because it has enough data for now to feed the pipeline. When the queue reaches a low level appsrc will ask ResourceHandle to resume the download so the queue can fill again.

The source code of this element is in WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp

[1] http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsrc.html

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list