gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] NetStream design - episode 2: The PlayHead


From: strk
Subject: Re: [Gnash-dev] NetStream design - episode 2: The PlayHead
Date: Sat, 17 May 2008 09:29:40 +0200

On Sat, May 17, 2008 at 09:12:11AM +0200, strk wrote:

>     +-----------+
>     | PlayHead  |
>     +-----------+
>     | position  |
>     | state     |
>     +-----------+
> 
> The position starts at 0 and moves as frames are consumed.
> Position can be queried from ActionScript using 'NetBuffer.time'.
...
> Theoretically position should only move forward when all
> frames at the current one have been consumed

Forgot to mention:

Position can also be moved on user (ActionScript) request,
using 'NetStream.seek()'.
It shouldn't introduce any new issue so far.
State would maintain its value, positionConsumed would be
reset to 0.

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]