> OK, I agree and understand. But that way, is there a difference between the
> time the contentAvailable and the streamPlaying events (both asynchronous)
> are generated ? (I think that the stream can begin playing as soon as the
> content is available, can't it ?)
Yes, there is a difference. Some players retrieve some amount of data
before they are actually playing the stream. So ContentAvailable
should be generated, when the first piece of data arrives and
StreamPlaying is generated, when the player is so gracefully to
present it.
> In fact, I think that the standard clearly specify that the streamStopped
> event shall be generated if the stream is stopped because it hits the
> counterEndPosition. But it is not so clear on whether this event should be
> generated if the stream stopped playing because it was deactivated.
Good question. Previously I decided not to generate it, but I was
"convinced" by my colleagues to do it anyway. This has the advantage
that the application can always trigger upon a StreamStopped event, no
matter if it stopped by itself or if it was explicitly deactivated.
> BTW, as I asked in my e-mail, don't you think that the Preparation behavior
> of the Stream is pretty unusual, compared to the Group class, when stated
We are talking about ISO, so what are you complaining about? ;-)
> that all StreamComponents are activated during the preparation of the
> stream. In fact, initiallyActive videos of the stream can be viewed (first
> frame) before the stream is activated. Is this correct ?
No, as I understand it, both the stream as well as the video component
must be active. You have to set the speed to zero, when you only want
to view the first frame on startup.
> Perhaps, we should at least alert the author of possible unexpected result
> if he use a preload action targeted to a stream object.
Are you talking about a resident program that connects to the handy of
the author? ;-)
Anyway, I also think that there are several clarifications needed.
Bye.
Andreas
-- Andreas Zisowsky | mailto:zisowsky@fokus.gmd.de & zisi@cs.tu-berlin.de GMD FOKUS | http://www.fokus.gmd.de/usr/zisowsky Kaiserin-Augusta-Allee 31 | phone: (+49 30) 3463 7262 fax: -8262 D - 10589 Berlin | PGP: finger -l zisowsky@skylab.fokus.gmd.de or WWW