scandoc-ai-components 0.1.14 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +0 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11400,10 +11400,6 @@ class ExtractorVideo {
|
|
|
11400
11400
|
const cfgValues = (0,_config__WEBPACK_IMPORTED_MODULE_1__.getScanDocAIConfigValues)();
|
|
11401
11401
|
const mode = cfgValues.VIDEO_FACING_MODE ?? "environment";
|
|
11402
11402
|
let stream;
|
|
11403
|
-
const track = stream.getVideoTracks()[0];
|
|
11404
|
-
console.log("track label:", track.label);
|
|
11405
|
-
console.log("track settings:", track.getSettings());
|
|
11406
|
-
console.log("track capabilities:", track.getCapabilities?.());
|
|
11407
11403
|
try {
|
|
11408
11404
|
stream = await navigator.mediaDevices.getUserMedia(buildDocumentScanConstraints(mode));
|
|
11409
11405
|
} catch (e) {
|