Chrome getUserMedia() not throwing NotReadableError as expected

438 views
Skip to first unread message

kevin

unread,
Oct 31, 2018, 3:06:15 AM10/31/18
to discuss-webrtc
I need to be able to tell whether or not the webcam can record anything.

If I open my app in chrome, and then again in firefox once I have granted chrome permisisons to the webcam, I correctly get a NotReadableError when calling getUserMedia.

Conversely, if I do the same in firefox, and then open it in chrome, I get no errors and a black box on the screen where the live webcam video should be.

I am almost positive this is a regression in chrome's behavior, but at any rate, I do need to be able to perform this check semi-reliably, and am out of ideas!

Please inform!
Thanks,
Kevin

Ramya Raj

unread,
May 13, 2019, 2:29:20 AM5/13/19
to discuss-webrtc
Any updates on this??? I'm too facing the same issue.

Dan Briggs

unread,
May 13, 2019, 1:36:39 PM5/13/19
to discuss-webrtc
Are you on windows? Might be running into this: https://bugs.chromium.org/p/chromium/issues/detail?id=922919.
Reply all
Reply to author
Forward
0 new messages