Re: [mediacapture-main] what is the default channelCount (#775)

> > Give us whatever the underlying system gives us for default channel count, frame size, frame rate, etc. The OS knows better than the user agent does.
>
> On one hand I hear that the OS provides meaningful defaults...

@henbos Yes. The OS has a default device with specific capabilities that influence what settings sites get by default:
```js
(await getUserMedia({audio: true})).getAudioTracks()[0].getSettings().channelCount // 1 or 2 ?
```
It seems irrelevant to an app and compat whether 1 or 2 is decided by:
A. which OS device is the user default
B. A user having picked a different device in Firefox's microphone picker, or
C. A linux user reconfiguring properties of the device driver of the device from A or B.

This is all under "user agent", and not the spec. Specs generally shy away from dictating the relationship between the user and their agent.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/775#issuecomment-789161035 using your GitHub account


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

Received on Tuesday, 2 March 2021 19:36:32 UTC