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

Should getCapabilities() return an empty array or undefined for facingMode? #969

@youennf

Description

@youennf

As pointed by Eric, on macOS, Chrome and Safari capabilities for a camera track differ for facingMode.
Safari does not include facingMode, Chrome sets it to [].
The spec does not seem to provide guidance for facingMode.
It would be good to be consistent and either use undefined or [].

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions