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 15:13:10 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-542262817-1571152390-sysbot+gh@w3.org>
@Pehrsons 

> Firefox is spec compliant wrt currentTime in a HTMLMediaElement playing a MediaStream.

Can you cite and explain the specification reasoning behind `currentTime` not incrementing at Firefox when the pause control is activated by the user and throughout the paused state - even though the `MediaStreamTrack` is still "playing" (not `mute`, `enabled`, and is receiving frames)? E.g., when a `<video>` with `MediaStream` set at `srcObject` is paused by user activation, within the `pause` event handler a second `<video>` is created and set to the same `MediaStream` the `currentTime` of the second `<video>` increments, is not paused, however, when the play control is clicked again at the first `<video>` `currentTime` re-commences at the same `currentTime` the pause occurred, providing the apparently impression that the `MediaStream` was paused at `currentTime`.

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

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