Re: [mediacapture-main] Mark resizeMode, sampleRate, sampleSize, latency as features at risk (#958)

There are no guarantees that using an input-device with a sample-rate of `x` will result in an audio stream of `x`. Browsers typically resample all audio input to the sample-rate of the object that does the audio routing, or directly open at a different sample-rate. The resampling can be done by the OS or the implementation.

What's important here is e.g. to set the sample-rate of the `AudioContext` to the sample-rate you want, and this is useful and implemented.

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


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

Received on Wednesday, 20 September 2023 10:08:48 UTC