[webkit-gtk] add data chunks to received-data signal callback ?

Gustavo Noronha Silva gns at gnome.org
Wed Oct 8 12:04:15 PDT 2014

On Dom, 2014-08-31 at 23:31 +0200, Jérémy Lal wrote:
> webkit_web_resource_get_data is used to get a response data, but in case
> of big files, video for example, it can easily eats a lot of memory.
> The "received-data" signal would be a very nice place to receive the
> data chunks as they are downloaded. Is this possible or does it goes
> against webkit architecture ?

Hmm. I think it could be. Perhaps what we need is a way of getting an
InputStream out of WebResource, so you could use the regular read
operations to fetch the contents, how about that?
Gustavo Noronha Silva <gns at gnome.org>
GNOME Project

More information about the webkit-gtk mailing list