Closed SwathiMethuku closed 2 years ago
navigator.mediaDevices.getUserMedia({ video: true, audio: true}).then());
console log in ipad(IOS 13.3.2) chrome( ERROR: TypeError: undefined is not an object(evaluating 'navigator.mediaDevices.getUserMedia')
This is not a spec issue so doesn't belong here. See here for when Chrome/ios shipped but in general advice to check for support (i.e. that navigator.mediaDevices and navigator.mediaDevices.getUserMedia) both exist before trying to call them.
navigator.mediaDevices.getUserMedia({ video: true, audio: true}).then());
console log in ipad(IOS 13.3.2) chrome( ERROR: TypeError: undefined is not an object(evaluating 'navigator.mediaDevices.getUserMedia')