Swfdec/Konqi integration

koos vriezen koos.vriezen at gmail.com
Mon Jun 18 19:42:25 BST 2007


2007/6/18, Thiago Macieira <thiago at kde.org>:
>
> koos vriezen said:
> > Thanks. I hope you noticed it's more an ad-hoc interface now. Like you
> > indeed noticed the 'getUrlNotify' and also 'finish' are odd and based
> > on the fact that there is currently only one active stream. And
> > streams are worked out sequentially.
> > This should be changed to something like
> > 'requestStream(streamid)'/destroyStream(streamid) for the plugin and
> > streamDone from the browser side kpart.
>
> No, there shouldn't.
>
> Just use different object paths. There's absolutely no need to stick IDs
> into the API when you can use objects to do the same. One object (path) =
> one stream.

Good point, didn't think of that

> > Also the to stdin streaming
> > should be send in chunks containing a header of its size and streamid.
>
> "streamid" being an object path.
>
> > Data must be retrieved from the browser side for eg. auth. reasons,
> > though ideally I would like to stream directly from kioslaves of
> > course. Nevertheless, it's the xserver that uses most of the CPU w/
> > flash movies.
>
> I'll add this: D-Bus is not a suitable transport for transfer of large
> blocks of data. It's not optimised for that. Please consider using a
> separate data channel, just like FTP.
>
> PS: I plan implementing that very framework for KIO RealSoonNow(TM).

That would be cool.

Koos




More information about the kfm-devel mailing list