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

react-video-preview

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-video-preview - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

8

lib/index.js

@@ -85,8 +85,8 @@ 'use strict';

if (selectedAudio) {
options['audio'] = {};
options['audio']['optional'] = [{ sourceId: selectedAudio }];
streamOptions['audio'] = {};
streamOptions['audio']['optional'] = [{ sourceId: selectedAudio }];
}
if (selectedVideo) {
options['video'] = {};
options['video']['optional'] = [{ sourceId: selectedVideo }];
streamOptions['video'] = {};
streamOptions['video']['optional'] = [{ sourceId: selectedVideo }];
}

@@ -93,0 +93,0 @@ navigator.getMedia(streamOptions, function (stream) {

{
"name": "react-video-preview",
"version": "1.0.4",
"version": "1.0.5",
"description": "Little video preview using webRTC",

@@ -5,0 +5,0 @@ "main": "lib/index.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