We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18f7729 commit dd36573Copy full SHA for dd36573
src/misc/camera.js
@@ -26,7 +26,7 @@ const STREAM_API_SUPPORTED =
26
let streamApiShimApplied = false;
27
28
export default async function(constraints, videoEl) {
29
- if (STREAM_API_SUPPORTED === false) {
+ if (!STREAM_API_SUPPORTED) {
30
throw new StreamApiNotSupportedError();
31
}
32
0 commit comments