mediafoundation.defaultperceptionprovider.dll Error in Windows 10 and 11: Windows Media Foundation sensor source

A supported camera or sensor app opens its interface but cannot read the expected stream, and the report names mediafoundation.defaultperceptionprovider.dll.
The Windows file inventory identifies mediafoundation.defaultperceptionprovider.dll as MediaFoundation Default Perception Provider. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Use the camera or device maker’s utility to check the same source. Record app version, device model, permissions and whether it reports an available stream.
Repair the affected feature
Install current Windows and OEM camera or sensor updates. Check the permitted app-specific privacy setting and use the publisher’s supported repair.
If Windows reports corruption of a protected system file, use Microsoft’s system file repair procedure. Obtain software and drivers through Windows Update or the applicable publisher.
Verify the repair
Retry the original source with a harmless sample and verify a live stream appears in the intended app.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.