这是indexloc提供的服务,不要输入任何密码
Skip to content

enabled=false MediaStreamTrack handling for HTMLVideoElement #961

@youennf

Description

@youennf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions