phenix-react-gum-configuration
Advanced tools
Comparing version 2018.1.3 to 2018.1.4
{ | ||
"name": "phenix-react-gum-configuration", | ||
"version": "2018.1.3", | ||
"version": "2018.1.4", | ||
"description": "Get-User-Media selection and configuration component", | ||
@@ -46,3 +46,3 @@ "main": "dist/phenix-react-gum-configuration.min.js", | ||
"phenix-web-logging": "^2018.1.1", | ||
"phenix-web-sdk": "^2018.1.13", | ||
"phenix-web-sdk": "^2018.1.15", | ||
"postcss-loader": "1.3.3", | ||
@@ -49,0 +49,0 @@ "preact": "8.2.5", |
@@ -35,3 +35,7 @@ import React from 'react'; | ||
this.userMediaResolver = new UserMediaResolver(this.pcast, this.props.aspectRatio, this.props.resolution, this.props.frameRate); | ||
this.userMediaResolver = new UserMediaResolver(this.pcast, { | ||
aspectRatio: this.props.aspectRatio, | ||
resolutionHeight: parseInt(this.props.resolution, 10), | ||
frameRate: parseInt(this.props.frameRate, 10) | ||
}); | ||
this.changeSelectedDevices = this.changeSelectedDevices.bind(this); | ||
@@ -48,3 +52,7 @@ this.onVideoSourceSelect = this.onVideoSourceSelect.bind(this); | ||
) { | ||
this.userMediaResolver = new UserMediaResolver(this.pcast, this.props.aspectRatio, this.props.resolution, this.props.frameRate); | ||
this.userMediaResolver = new UserMediaResolver(this.pcast, { | ||
aspectRatio: this.props.aspectRatio, | ||
resolutionHeight: parseInt(this.props.resolution, 10), | ||
frameRate: parseInt(this.props.frameRate, 10) | ||
}); | ||
this.changeSelectedDevices(); | ||
@@ -213,2 +221,2 @@ } | ||
export default GUMConfiguration; | ||
export default GUMConfiguration; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1530243
836