phenix-react-gum-configuration
Advanced tools
Comparing version 2017.4.6 to 2018.1.3
{ | ||
"name": "phenix-react-gum-configuration", | ||
"version": "2017.4.6", | ||
"version": "2018.1.3", | ||
"description": "Get-User-Media selection and configuration component", | ||
@@ -19,3 +19,3 @@ "main": "dist/phenix-react-gum-configuration.min.js", | ||
"prop-types": "^15.5.10", | ||
"phenix-web-sdk": "^2017.2.3", | ||
"phenix-web-sdk": "^2018.1.13", | ||
"react": "^15.4.2", | ||
@@ -46,4 +46,4 @@ "react-dom": "^15.4.2" | ||
"path": "0.12.7", | ||
"phenix-web-logging": "^2017.4.3", | ||
"phenix-web-sdk": "^2017.4.18", | ||
"phenix-web-logging": "^2018.1.1", | ||
"phenix-web-sdk": "^2018.1.13", | ||
"postcss-loader": "1.3.3", | ||
@@ -50,0 +50,0 @@ "preact": "8.2.5", |
@@ -45,2 +45,3 @@ import React from 'react'; | ||
selectedSource={selectedAudioSource} | ||
includeScreen={false} | ||
onSourceSelect={onAudioSourceSelect} /> | ||
@@ -88,4 +89,4 @@ <AudioContainer | ||
onAudioSourceSelect: PropTypes.func.isRequired, | ||
audioMediaStream: PropTypes.object.isRequired, | ||
videoMediaStream: PropTypes.object.isRequired, | ||
audioMediaStream: PropTypes.object, | ||
videoMediaStream: PropTypes.object, | ||
selectedAudioSource: PropTypes.string, | ||
@@ -92,0 +93,0 @@ selectedVideoSource: PropTypes.string, |
@@ -123,3 +123,3 @@ import React from 'react'; | ||
MediaSourceSelector.propTypes = { | ||
className: PropTypes.object, | ||
className: PropTypes.string, | ||
propsStyle: PropTypes.object, | ||
@@ -126,0 +126,0 @@ sources: PropTypes.array.isRequired, |
@@ -16,4 +16,4 @@ import React from 'react'; | ||
}; | ||
this.defaultAudioSource = userDataStore.get('AudioSelect' + this.props.storeLocalStateKey || ''); | ||
this.defaultVideoSource = userDataStore.get('VideoSelect' + this.props.storeLocalStateKey || ''); | ||
this.defaultAudioSource = userDataStore.get('AudioSelect' + (this.props.storeLocalStateKey || '')); | ||
this.defaultVideoSource = userDataStore.get('VideoSelect' + (this.props.storeLocalStateKey || '')); | ||
this.deviceOptions = { | ||
@@ -109,3 +109,3 @@ audio: {deviceId: this.defaultAudioSource}, | ||
userDataStore.put('VideoSelect' + this.props.storeLocalStateKey || '', deviceId); | ||
userDataStore.put('VideoSelect' + (this.props.storeLocalStateKey || ''), deviceId); | ||
} | ||
@@ -117,3 +117,3 @@ | ||
userDataStore.put('AudioSelect' + this.props.storeLocalStateKey || '', deviceId); | ||
userDataStore.put('AudioSelect' + (this.props.storeLocalStateKey || ''), deviceId); | ||
} | ||
@@ -120,0 +120,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
827
1417696
24