react-video-preview
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -102,9 +102,12 @@ 'use strict'; | ||
streamOptions['audio']['optional'] = [{ sourceId: selectedAudio }]; | ||
} else if (selectedAudio == 'none') { | ||
} | ||
if (selectedAudio == 'none') { | ||
streamOptions['audio'] = false; | ||
} | ||
if (selectedVideo) { | ||
streamOptions['video'] = {}; | ||
streamOptions['video']['optional'] = [{ sourceId: selectedVideo }]; | ||
} else if (selectedVideo == 'none') { | ||
} | ||
if (selectedVideo == 'none') { | ||
streamOptions['video'] = false; | ||
@@ -111,0 +114,0 @@ } |
{ | ||
"name": "react-video-preview", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"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
427476
8437