Latest version doesn't recognize enumerateDevices()

After upgrading to 1.69.0, I am getting the below error.
Possible Unhandled Promise Rejection (id: 0):
TypeError: Cannot read property ‘enumerateDevices’ of undefined
TypeError: Cannot read property ‘enumerateDevices’ of undefined
After checking the mediaDevices import the above method is not present in the mediaDevices

How are you importing the module?

I get this error, too. I use below import
import {mediaDevices} from ‘react-native-webrtc’;

Are you sure you are using version 1.69?

1 Like

Yes. I have built a new project. So I use the master branch from github is 1.69. I check in node_modules/react-navie-webrtc/index.js, It also has mediaDevices in this file. But It’s still not working now with this error “Cannot read property ‘enumerateDevices’ of undefined”