W3C home > Mailing lists > Public > public-webrtc@w3.org > October 2011

Re: [rtcweb] a couple of comments on the latest API draft

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 25 Oct 2011 14:29:07 +1300
Message-ID: <CAOp6jLZ4tqAWzj3f7B-n-qVB+mgPvZZoHiRWLsK8mavbXqQdWw@mail.gmail.com>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
On Tue, Oct 25, 2011 at 1:04 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> On Sat, Oct 22, 2011 at 9:33 PM, Harald Alvestrand <harald@alvestrand.no>wrote:
>
> The way it's currently written, "finished" is permanent, but "disabled" is
>> changeable.
>>
>
> "finished" == "ended", right? :-)
>

Actually, since it's already well-established that "ended" on media elements
is not permanent --- you can seek or reload the resource --- I think it
would reduce confusion to use the term "finished" for the permanent
MediaStream state, instead of "ended". Including in the API names. Can we do
that?

OK, I will try to write the ProcessedMediaStream spec so that "ended" is a
> permanent state. This means that when you get a MediaStream for an HTML
> media element, the MediaStream will have to be tied to the currently playing
> media resource, and when playback ends that MediaStream will become inactive
> and a new MediaStream generated if the author seeks the media resource and
> starts playing it again, or loads a new media resource.


At this stage it looks like we'll just make the stream emitted by a media
element never end ... and maybe we'll add an finish() API to force a
MediaStream to end permanently.

Rob
-- 
"If we claim to be without sin, we deceive ourselves and the truth is not in
us. If we confess our sins, he is faithful and just and will forgive us our
sins and purify us from all unrighteousness. If we claim we have not sinned,
we make him out to be a liar and his word is not in us." [1 John 1:8-10]
Received on Tuesday, 25 October 2011 01:29:45 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:25 UTC