W3C home > Mailing lists > Public > public-media-capture@w3.org > April 2013

Re: [Bug 21618] New: MediaStreams with no tracks need to not be Ended

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 9 Apr 2013 22:30:44 +1200
Message-ID: <CAOp6jLbatSXsdUA-Db-jAGq73XMP65ndNP-PCYJreteaOJoeGw@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: Martin Thomson <martin.thomson@gmail.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On Tue, Apr 9, 2013 at 8:05 PM, Harald Alvestrand <harald@alvestrand.no>wrote:

> Or we could just remove MediaStream.ended entirely, and say it's the app's
> business to query all the tracks if it wants to.


We need to define an ended state for MediaStreams so that we know when a
media element with a MediaStream source should enter its ended state.
Furthermore, it should not suddenly leave its ended state because a new
track is added to the MediaStream ... that would be weird.

Alternatively I suppose we could define that a media element with a
MediaStream source never ends, only pauses while all MediaStream tracks are
ended. However, it seems to me that it's useful to allow a media element
with a MediaStream source to end.

Rob
--
q“qIqfq qyqoquq qlqoqvqeq qtqhqoqsqeq qwqhqoq qlqoqvqeq qyqoquq,q qwqhqaqtq
qcqrqeqdqiqtq qiqsq qtqhqaqtq qtqoq qyqoquq?q qEqvqeqnq qsqiqnqnqeqrqsq
qlqoqvqeq qtqhqoqsqeq qwqhqoq qlqoqvqeq qtqhqeqmq.q qAqnqdq qiqfq qyqoquq
qdqoq qgqoqoqdq qtqoq qtqhqoqsqeq qwqhqoq qaqrqeq qgqoqoqdq qtqoq qyqoquq,q
qwqhqaqtq qcqrqeqdqiqtq qiqsq qtqhqaqtq qtqoq qyqoquq?q qEqvqeqnq
qsqiqnqnqeqrqsq qdqoq qtqhqaqtq.q"
Received on Tuesday, 9 April 2013 10:31:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:24:40 UTC