Re: [mediacapture-main] Only Firefox turns off device on disabled track. Stronger language needed? (#642)

> The hack backfires in Firefox, where Hangouts users get a needless extra prompt on unmute. Frustratingly, it would have worked beautifully in Firefox without the hack.

If that is the only use case 

```
if ("requestFrame" in CanvasCaptureMediaStream.prototype) {
  // Nightly, Firefox
  // do nothing
} else if("OffscreenCanvasRenderingContext2D" in self) {
  // do Chrome, Chromium stuff
} 
```
What is the significance of "hardware light"?

The current language of the specification provides a means to clone, add, remove, replace tracks while not providing substantive content.

Can the track can be changed to suit either expected output?

The term "MAY" implies that implementers are free to do what they want. If implementers did not actually provide meaningful input to the specification themselves, either individually or on behalf of an entity, "MAY" allows for discretion. However, since in this case implementers appear to be involved with language in the primary document, "MAY" is ambiguous. Say "MUST". Leave no quarter for ambiguity. 

Some cases from the wild might be difficult, if possible at all, to specify at all to be congruous with all existing specifications or implementations, without updating all relevant language to be consistent. For example, `resize` event for media element description in HTML Standard has been interpreted as at the _first_ `resize` event the `videoWidth` and `videoHeight` "MUST" be equal to the underlying pixel dimensions of the frame; however, the language "first" and "MUST" re specific pixel dimensions is not actually in the current specification, from perspective here, and in any event is not guranteed to be the case when `srcObject` is a `MediaStream` from WebRTC. How could the relevant standards be changed to reflect what actually occurs without proving that at least one of the specifications is not entirely accurate? If those are the facts: write it out. Use direct language, "MUST" does not leave quarter for speculation or inference without substantive proof thereof by means of citation to the actual language in the specification. 



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

Received on Thursday, 21 November 2019 01:44:58 UTC