react_hsbc_teller 2.0.59 → 2.0.62

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react_hsbc_teller",
3
- "version": "2.0.59",
3
+ "version": "2.0.62",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -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.59'
64
+ const SDK_VERISON = '2.0.61'
65
65
  const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
66
66
  const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
67
67
  const { Option } = Select;
@@ -749,7 +749,7 @@ class Video extends Component {
749
749
  recordParam.width = 1280 * SCALE;
750
750
  recordParam.height = 720 * SCALE;
751
751
  recordParam.recordTotalStream = 0;
752
- recordParam.startTimeout = 10;
752
+ recordParam.startTimeout = 20;
753
753
  recordParam.splitType = 0;
754
754
  recordParam.endType = 1;
755
755
  recordParam.crf = 26
@@ -792,7 +792,7 @@ class Video extends Component {
792
792
  recordParam.width = 1280;
793
793
  recordParam.height = 720;
794
794
  recordParam.recordTotalStream = 0;
795
- recordParam.startTimeout = 10;
795
+ recordParam.startTimeout = 20;
796
796
  recordParam.splitType = 0;
797
797
  recordParam.endType = 1;
798
798
  recordParam.crf = 26
@@ -6178,6 +6178,11 @@ class Video extends Component {
6178
6178
  this.setState({
6179
6179
  isModalVisibleEnvironment: false,
6180
6180
  })
6181
+ const cMicrophone = this.state.microphoneList.find((item)=> item.actionid === this.state.microphoneValue);
6182
+ const cSpeaker = this.state.speakerList[0];
6183
+ console.log(`当前麦克风设备: ${cMicrophone?.actionname ||''}, 当前扬声器设备: ${cSpeaker?.actionname || ''}`);
6184
+ this.saveLog(`当前麦克风设备: ${cMicrophone?.actionname ||''}, 当前扬声器设备: ${cSpeaker?.actionname || ''}`);
6185
+ // 开启画中画
6181
6186
  if (!this.state.isPictureInPicture) {
6182
6187
  this.pictureInPicture()
6183
6188
  }
@@ -7467,7 +7472,7 @@ class Video extends Component {
7467
7472
  <div>
7468
7473
  <Radio.Group onChange={this.onChangeOCRCustomerType} value={this.state.customerSelectType}>
7469
7474
  <Space direction="vertical">
7470
- <Radio value={1}>保险</Radio>
7475
+ <Radio value={1}>保险客户</Radio>
7471
7476
  <Radio value={2}>ECN陪同者</Radio>
7472
7477
  </Space>
7473
7478
  </Radio.Group>