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

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

From: guest271314 via GitHub <sysbot+gh@w3.org>
Date: Tue, 15 Oct 2019 14:55:36 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-542254286-1571151335-sysbot+gh@w3.org>
@Pehrsons 

> There is no concept of playing for a MediaStream.

The title of this issue is 

> When is a MediaStream playing?

> The specs trump your reasoning, and with bug 1577505 fixed, and this issue resolved so that "playing" is changed to "potentially playing", Firefox is spec compliant wrt currentTime in a HTMLMediaElement playing a MediaStream.

Not sure what you are referring to specifically here. At Firefox when the first frame is received `timeupdate` is dispatched which apparently leads to `timeupdate` being dispatched at `HTMLMediaElement`. Chromium does not dispatch `timeupdate` when the first frame is received evidenced by `currentTime` remaining at `0`.

> Further than that I'm not going to comment on or debug your code.

Did not ask for the code to be debugged. Just happened to be experimenting with mechanisms to push-pull, pull-push, or "drive" a `MediaStreamTrack` of kind video using `mute`, `unmute` and if necessary `timeupdate` of `HTMLMediaElement`, thus posted the code to contribute to the testing already being done, FWIW.

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

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