Socket
Socket
Sign inDemoInstall

easy-js-camera

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.10 to 1.0.11

2

package.json
{
"name": "easy-js-camera",
"version": "1.0.10",
"version": "1.0.11",
"description": "A package which helps with adding camera support to a web application",

@@ -5,0 +5,0 @@ "main": "src/Camera.js",

@@ -73,3 +73,3 @@ import CameraModel from "./CameraModel";

await this.getDevices();
console.log('Constraints', this.constraints);
console.log('Constraints', this.constraints.getConstraint());
let stream = await navigator.mediaDevices.getUserMedia(this.constraints.getConstraint());

@@ -90,4 +90,2 @@ this.videoElement.srcObject = stream;

tracks.forEach(track => track.stop());
this.videoElement.srcObject = null;
this.stream = null;
}

@@ -94,0 +92,0 @@ switch() {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc