[mediacapture-main] Does the channelCount attribute support a value greater than 2? (#1021)

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

== Does the channelCount attribute support a value greater than 2? ==
I'm working on a project that records 8-channel audio on the web. I use Virtual Audio Cable to create an 8-channel virtual sound card. I confirm that it has 8 channels in the Windows system sound settings. But when I use the getUserMedia API and specify channelCount: { exact: 8 }, an error message appears: OverconstrainedError. When I set channelCount to a value less than or equal to 2, everything works fine.
Since I don't have an 8-channel audio input device, I don't know if it's a vac problem or a getUserMedia API problem. I'd like to ask if anyone has an example of using getUserMedia and MediaRecorder API to record more than 2 audio channels. I didn't find any examples on the Internet.

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


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

Received on Friday, 22 November 2024 06:42:11 UTC