[mediacapture-fromelement] Safari and Chrome exposes different settings for canvas capture tracks (#101)

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

== Safari and Chrome exposes different settings for canvas capture tracks ==
As per https://jsfiddle.net/mqxcr3zv/, Safari exposes width and height.
Chrome exposes aspectRatio, deviceId, frameRate, width, height, resizeMode.
Not sure about Firefox.

It triggers a compatibility issue as frameRate was used to configure a WebCodecs encoder and no frame rate was given to Safari.
It would be good to get consistency across user agents to get better interoperability.

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


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

Received on Wednesday, 19 June 2024 16:24:11 UTC