react-video-preview
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
426788