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

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

== enabled=false MediaStreamTrack handling for HTMLVideoElement ==
The spec is light in terms of how enabled=false tracks should be handled by HTMLMediaElement.

There are a few behavioural changes that are worth tightening:
1. Should rvfc callbacks be called for each frame of an enabled=false tracks? 
From testing, it appear rvfc callbacks are called for both Chrome and Safari. It seems though that if all tracks are enabled=false, UA may stop camera and callbacks would no longer be called. It might be more deterministic if rvfc is never called for an enabled=false track.
2. Should change of video frame size alter the media element size? Chrome, Safari and Firefox seem to update the size.
3. What should videoWidth/videoHeight return? Chrome and Safari seem to return the latest frame size, Firefox returns 1.

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


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

Received on Thursday, 11 May 2023 16:10:40 UTC