Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document default settings applied to tracks created by getUserMedia #777

Closed
youennf opened this issue Mar 1, 2021 · 2 comments · Fixed by #783
Closed

Document default settings applied to tracks created by getUserMedia #777

youennf opened this issue Mar 1, 2021 · 2 comments · Fixed by #783
Assignees

Comments

@youennf
Copy link
Contributor

youennf commented Mar 1, 2021

As discussed in #775, it seems beneficial to document which defaults are selected by User Agents.
From a quick inspection, it seems that Chrome, Firefox and Safari agree on the following defaults:
video: 640x480, 30fps
audio: echoCancellation=true, noiseSuppression=true, autoGainControl=true

User Agents may use the same defaults, but at different point in the getUserMedia algorithm.
It might be worth exploring whether we can say something about this as well.

@youennf
Copy link
Contributor Author

youennf commented Mar 3, 2021

sampleRate and sampleByte could be on the side of using the OS defaults.

@youennf
Copy link
Contributor Author

youennf commented Mar 3, 2021

It might be worth exploring whether we can say something about this as well.
For this part, I was thinking we would not change how fitness distance is computed for device selection.
Once device is selected, we would select settings using the current algorithm based on the original constraints augmented with ideal values for all constraints that do not have ideal values. These added ideal values would be set to default values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants