Good point. In my opinion, CounterPosition, CounterEndPosition and
CounterTriggers should be reseted to their default values when the SetData
occurs, as you stated.
Regarding the multiplex, I think that we may add a constraints that the
stream used in the setData must have the same multiplex structure as the
stream it replaces. This would simplify things IMHO.
BTW, I know that I will bring down Xavier and Wataru's wrath on me, but if
we makes some changes in the stream class, why not adding a
getCounterPosition elementary action ?
Everybody must admit that MHEG usually provides both actions to get and set
most important attributes of any class. There is definitely something
missing here. There is no way to store the position of a stream in a
variable in order to make the stream start from this point later.
This is not a gratuitous ask for changes. I do think that if we provides
the ability to switch Data of a stream and if the counterPosition attribute
is reseted, it would be highly interested to save the counterPosition into
a variable.
What do you think ?
Regards,
Emmanuel
__________________________________________________________________
Emmanuel BEUQUE mailto:ebeuque@pratique.fr
MediaServ tel: +33 (0) 2 99 64 35 64
Multimedia consultant & developer fax: +33 (0) 2 99 64 36 65