Hi all
A few weeks back I wrote a media-playback plugin.
Whilst I have not yet had time to complete the Capture integration into Servoy, I have had time to optimize the way data is loaded into and out-of the SQL database which sits behind Servoy.
The functions I have created allow the user to stream binaries into & out of the database via the Servoy script API by way of a new plugin which has support basically for:
READ from Servoy : plugin.streamFieldTo[File/Url]()
and
WRITE to Servoy : plugin.stream[File/Url]ToField()
Why do this ?
Two key reasons:
1. avoiding out-of-memory errors : small buffers used for streams
2. UI responsiveness : the UI continues to work for the User whilst a potentially long IO event takes place (particularly one that might time out)
If anyone is interested in using the plugin, please reply to this posting.
ps : these streaming functions will be fitted onto the Media Manager plugin to optimize its performance, and the Capture support for Servoy is about 2 weeks away.
cheers
julian