Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

getscreenmedia

Package Overview
Dependencies
Maintainers
6
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getscreenmedia - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

2

getscreenmedia.js

@@ -9,3 +9,3 @@ var adapter = require('webrtc-adapter');

if ('getDisplayMedia' in window.navigator.mediaDevices) { // prefer spec getDisplayMedia
window.navigator.getDisplayMedia(constraints)
window.navigator.mediaDevices.getDisplayMedia(constraints)
.then(function (stream) {

@@ -12,0 +12,0 @@ callback(null, stream);

{
"name": "getscreenmedia",
"version": "5.1.1",
"version": "5.1.2",
"description": "A browser module for attempting to get access to a MediaStream of a user's screen. With a nice node-like API.",

@@ -5,0 +5,0 @@ "main": "getscreenmedia.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc