Re: MediaStream ended vs inactive

On 2013-06-12 16:24, Robert O'Callahan wrote:
> On Thu, Jun 13, 2013 at 1:55 AM, Jim Barnett <Jim.Barnett@genesyslab.com
> <mailto:Jim.Barnett@genesyslab.com>> wrote:
>
>     I think that if a MediaStream can become active again, that  it
>     shouldn’t have any (immediate) affect on a media element.  As far as
>     I can figure out the HTML5 spec, once a media element goes to ended,
>     the only way it can leave ended is for someone to call play() (or
>     rewind or something).   So when a MediaStream goes to inactive, the
>     media element should also go to ended and stay there even if the
>     MediaStream becomes active again.  If someone calls play(), the
>     media element will pick up the new tracks in the MediaStream, but
>     not before.
>
>
> That's probably a fine approach.

Sounds good to me.

/Adam

Received on Thursday, 13 June 2013 08:20:06 UTC