It's not possible to access the user's camera or microphone in Framer previews. Requests to getUserMedia are immediately denied. My best guess is it's because the preview lives in a cross-origin iframe that doesn't have any feature policies to explicitly allow this.

Here's a prototype reproducing the issue:

https://framer.com/share/Camera-Test-xV1m7cb6YwXvG8UBVrCj