简体   繁体   中英

Can't initialize mediaCapture UWP

I'm using Windows.Media.Capture lib to capture audio from the default microphone of the laptop,

The problem is that i can't initialize the mediaCapture object it display : "The parameter is incorrect" I used the InitializeAsync method with and without settings but it doesn't work.

Can anyone help me to fix this issue please!

Thanks,

You have to add capabilities for Microphone and the WebCam even if you just want to do an audio record,

Thanks guys for your replies

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM