react_hsbc_teller 2.0.67 → 2.0.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/demo/demo.js +2 -0
- package/packages/pages/video/video.jsx +8 -2
package/package.json
CHANGED
package/packages/demo/demo.js
CHANGED
|
@@ -42,6 +42,7 @@ class Demo extends Component {
|
|
|
42
42
|
customerId: "testCustomerId", //客户号
|
|
43
43
|
salesBranchCode: 'salesBranchCode', //网点编号(分行号)
|
|
44
44
|
financialOffice: "defaultOfficeId", // 理财室
|
|
45
|
+
audioinputNameList: ['默认值 - 外部麦克风 (Realtek(R) Audio)']
|
|
45
46
|
}
|
|
46
47
|
componentWillMount() {
|
|
47
48
|
}
|
|
@@ -232,6 +233,7 @@ userExit =(val)=>{
|
|
|
232
233
|
customerId={this.state.customerId}
|
|
233
234
|
salesBranchCode={this.state.salesBranchCode}
|
|
234
235
|
financialOffice={this.state.financialOffice}
|
|
236
|
+
audioinputNameList={this.state.audioinputNameList}
|
|
235
237
|
onLeaveRoom={this.onLeaveRoom}
|
|
236
238
|
getBusinessData={() => { return { businessList: [], businessType: 'REC' } }}
|
|
237
239
|
createRoomCallback={this.createRoomCallback}
|
|
@@ -61,7 +61,7 @@ import MultiModule from '../multiModule/multiModule'//签字、抄录
|
|
|
61
61
|
import axios from 'axios';
|
|
62
62
|
import CryptoJS from "crypto-js";
|
|
63
63
|
|
|
64
|
-
const SDK_VERISON = '2.0.
|
|
64
|
+
const SDK_VERISON = '2.0.68'
|
|
65
65
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
66
66
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
67
67
|
const { Option } = Select;
|
|
@@ -2266,9 +2266,14 @@ class Video extends Component {
|
|
|
2266
2266
|
})
|
|
2267
2267
|
// 麦克风设置默认
|
|
2268
2268
|
objList1.forEach((item, index) => {
|
|
2269
|
-
|
|
2269
|
+
console.log('audioinputNameList', this.props.audioinputNameList)
|
|
2270
|
+
if(this.props.audioinputNameList.indexOf(item.actionname) != -1) {
|
|
2270
2271
|
microId = index
|
|
2271
2272
|
}
|
|
2273
|
+
console.log(microId)
|
|
2274
|
+
// if (item.actionname.indexOf('Microphone Array (Realtek High Definition Audio(SST))') != -1) {
|
|
2275
|
+
// microId = index
|
|
2276
|
+
// }
|
|
2272
2277
|
})
|
|
2273
2278
|
console.log(indexId, microId)
|
|
2274
2279
|
this.setState({
|
|
@@ -7747,6 +7752,7 @@ Video.defaultProps = {
|
|
|
7747
7752
|
salesBranchCode: "", //网点编号(分行号)
|
|
7748
7753
|
financialOffice: "", // 理财室
|
|
7749
7754
|
staffName: '', // 坐席名称
|
|
7755
|
+
audioinputNameList: ['Microphone Array (Realtek High Definition Audio(SST))'], // 默认匹配的麦克风的名称列表
|
|
7750
7756
|
echoCancellation: true,
|
|
7751
7757
|
noiseSuppression: true,
|
|
7752
7758
|
logUrl: 'http://hsbc.cn-shanghai.log.aliyuncs.com/logstores/hsbc/track?APIVersion=0.6.0&app=meeting-ui',
|