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

Re: [mediacapture-fromelement] MediaStreamTrack does not dispatch "ended" event at Chromium when src of HTMLMediaElement is changed, Firefox does dispatch "ended" event; which implementation is correct? (#78)

From: guest271314 via GitHub <sysbot+gh@w3.org>
Date: Thu, 09 May 2019 16:23:41 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-490972707-1557419019-sysbot+gh@w3.org>
@guidou 

> but I would like to see more alignment with the HTML definition.

That is the purpose of filing this issue and https://github.com/w3c/mediacapture-main/issues/583. While english is an equivocal language, capable of having differing definitions for the same term, technical specifications should try to avoid ambiguity where possible; e.g., `muted` at HTML and `MediaStreamTrack` where the two definitions of the term `muted` could be adjusted to be consistent with each other. 

From perspective here (front-end) when an `HTMLMediaElement` `srcObject` is set to a `MediaStream` instance the `muted`, `ended` attributes/properties output should be derived (first) from the `MediaStream`/`MediaStreamTrack`, not the `HTMLMediaElement` - as the media resource is the `MediaStreamTrack`

-- 
GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/mediacapture-fromelement/issues/78#issuecomment-490972707 using your GitHub account
Received on Thursday, 9 May 2019 16:23:42 UTC

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