[mediacapture-fromelement] What are the purpose of ended event if not dispatched when stop() is called and muted event if not dispatched when enabled is set to false? (#80)

guest271314 has just created a new issue for https://github.com/w3c/mediacapture-fromelement:

== What are the purpose of ended event if not dispatched when stop() is called and muted event if not dispatched when enabled is set to false? ==
Given a `[MediaStream](https://w3c.github.io/mediacapture-main/#dom-mediastream)` returned from `[captureStream()](https://w3c.github.io/mediacapture-fromelement/#dom-htmlmediaelement-capturestream)` where `[addtrack](https://w3c.github.io/mediacapture-main/#event-mediastream-addtrack)` event is set and within that handler `[onmute](https://w3c.github.io/mediacapture-main/#dom-mediastreamtrack-onmute)` and `[onended](https://w3c.github.io/mediacapture-main/#dom-mediastreamtrack-onended)` are set at respective the "audio" and "video" `MediaStreamTrack`, what is the purpose of the `mute` and `ended` events if the event is not dispatched either when the `src` of an `HTMLMediaElement` is changed

> A captured MediaStreamTrack ends when playback ends (and the ended event fires) or when the track that it captures is no longer selected or enabled for playback. A track is no longer selected or enabled if the source is changed by setting the src or srcObject attributes of the media element. The steps in MediaStreamTrack.stop() are performed on the MediaStreamTrack when it ends.

or when `enabled` is set to `false` or `stop()` is called on the `MediaStreamTrack`?

Please view or discuss this issue at https://github.com/w3c/mediacapture-fromelement/issues/80 using your GitHub account

Received on Friday, 24 May 2019 23:23:51 UTC