08-30-05 10:46 PM
Hi David,
At the risk of beating the same note over and over again, the subject of
controlling stream buffers came up again today. I was asked how to play
two streams in sync with each other. The idea was to compare the two
streams side-by-side as they ran. My answer was that it is not possible
with the current Flash player. But imagine that a pause (or related
methods like seek or some brand new methods..) did not dump the stream
buffer. Not only could you let two streams buffer to a certain level,
pause them, and start them at the same time, you could also monitor
stream time and buffering. If one stream stopped to buffer you could
pause both streams and restart when the smallest buffer reached a
certain size. Or while both streams are playing and one got more than x
milliseconds off in time from the other stream you could pause the
stream that got ahead of the other one etc. It's not perfect but it
would work well enough for many applications.
From a distance I would guess this is a non-trivial request and that
the risk level might be high because you don't want to break streams at
all, but I believe success would make a big difference.
Yours truly,
-Brian
Brian Lesser wrote:
> Hi David,
> My wish for the player would be enhanced buffer control. In other
> words not dumping the audio/video/data buffer when you pause a stream
> and being able to pre buffer without playing a stream automatically.
> For example, in a multi-stream app you should be able to pre-buffer a
> second stream in preparation for playing it at a precise moment. It
> should be an option to simply hold data in the buffer and not just
> play it when the buffer fills to a certain point etc...
> Similarly the buffer should not be dumped if a stream is paused. That
> is really inefficient.
> Controlled buffering is not a security/copyright theft problem because
> you already do client-side in memory buffering.
> Yours truly,
> -Brian
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|