w3c / mediacapture-record

MediaStream Recording
https://w3c.github.io/mediacapture-record/
Other
103 stars 22 forks source link

Navigator.mediadevices.getUserMedia api is not working iOS Chrome #214

Closed SwathiMethuku closed 2 years ago

SwathiMethuku commented 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')

fippo commented 2 years ago

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.