Hi,
You can certainly access the underlying structure, but that means your
code will become tied to a specific runtime. That said, there's nothing
preventing you from including AS3 code directly.
I'd rather continue to add APIs so the LZX APIs work for you. I'd
encourage you to work directly on the AV components, found at
lps/components/extensions/av/ - then any improvments you make can be
contributed back to the platform!
I know there are some knobs you can use to tweak buffer sizes and the
like - I suspect the video is being pre-buffered too much when you just
want it to start playing immediately.
As always, keep us posted on your progress! The idea of distributed
video playback is a good one!
Regards,
Max Carlson
OpenLaszlo.org
On 4/22/10 12:45 PM, Michaela Merz wrote:
Hello Everybody - it's me again.
Here's the plan: Load a number of small 10-30 second video clips from a
webserver and seamlessly play them, one after another.
I can't get it done. I tried to switch (wrap around) from one mediastream
/ videoview combination to another - it works ok, however, there's always
a 1/2 - 1 second delay with a freezing video but ok sound. That's not what
I call seamless.
Demo at www.sigme.us/video
Buffers are done via mediastream/videoview combinations. You can see the
buffer/status on the left hand side:
* Playing
R Ready (Pre-Loaded)
X Empty
L Pre-Loading
Clip-Length: 30 secs.
Now - is there any other way to circumvent mediastream/videoview to access
the underlying Flash structure more directly?
Thanks for your help.
Michaela