Re: [mediacapture-main] enabled=false MediaStreamTrack handling for HTMLVideoElement (#961)

> It seems though that if all tracks are enabled=false, UA may stop camera and callbacks would no longer be called.

Why would callbacks stop? The spec [says](https://w3c.github.io/mediacapture-main/#life-cycle) _"A muted or disabled [MediaStreamTrack](https://w3c.github.io/mediacapture-main/#dom-mediastreamtrack) renders either silence (audio), black frames (video), or a zero-information-content equivalent."_ This seems accomplishable without hardware.

It says frames plural, but doesn't specify frequency. As long as we emit black frames, shouldn't VF callbacks happen?

Somewhat analogous perhaps is https://github.com/w3c/webrtc-encoded-transform/issues/185.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 6 June 2023 18:01:52 UTC