navigator.mediaDevices.getUserMedia({ audio: true, video: false })
.then(stream => {
navigator.mediaDevices.enumerateDevices()
.then(devices => {
console.log(devices);
})
.catch(err => {
console.log(err);
});
})
.catch(err => {
console.log(err);
});```
If i run this code in Safari i get all media devices (as shown in pic 1)
whereas running it in tauri doesnt show some of the media devices (pic 2)
and yes i have a Info.plist file as well
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSMicrophoneUsageDescription</key>
<string>Microphone access is required to listen to desktop audio</string>
</dict>
</plist>```
Not quite sure whats causing this discrepancy