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

Re: [mediacapture-main] When is a MediaStream playing? (#615)

From: Andreas Pehrson via GitHub <sysbot+gh@w3.org>
Date: Mon, 14 Oct 2019 14:55:09 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-541727689-1571064908-sysbot+gh@w3.org>
It is pretty clear to me (see below). mediacapture-fromelement has no say here.

[mediacapture-main](https://w3c.github.io/mediacapture-main/#mediastreams-in-media-elements) says this about currentTime when srcObject is a MediaStream (in the table, for the currentTime row):

> The initial value is 0 and the values increments linearly in real time whenever the stream is playing.

I cannot imagine the intention of "playing" to include when the media element is paused, even if "playing" isn't well defined in the media element spec. Potentially playing, if that's what we end up changing mediacapture-main to, explicitly says that it's only true [when `paused` is false](https://html.spec.whatwg.org/multipage/media.html#potentially-playing).

-- 
GitHub Notification of comment by Pehrsons
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/615#issuecomment-541727689 using your GitHub account
Received on Monday, 14 October 2019 14:55:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:29 UTC