Re: [mediacapture-fromelement] Is mute event expected to be dispatched at MediaStreamTrack when enabled is set to false? (#80)

@Pehrsons One reason for filing this issue is trying to use `unmute`, `mute` and `ended` events for control flow. From what have found those events are not dispatched reliably, specifically at Chromium (when trying to compose code that outputs the same result at Firefox and Chromium, accounting the the obvious differences between the two browsers; e.g., `mozCaptureStream()`). While Firefox does not currently support `WritableStream` or `grabFrame()`, consider this issue https://bugs.chromium.org/p/chromium/issues/detail?id=967459, where in recent tests `unmute` and `mute` are dispatched for only 1 `MediaStreamTrack` among 7 `MediaStreamTrack`s and `ended` event is not ever dispatched https://bugs.chromium.org/p/chromium/issues/detail?id=967459. 

In such a case should the developer create a recursive function which polls `readyState` to determine if the track is "ended"? 

-- 
GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/mediacapture-fromelement/issues/80#issuecomment-498736889 using your GitHub account

Received on Tuesday, 4 June 2019 16:05:33 UTC