react_hsbc_teller 2.0.84 → 2.0.86

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.84",
3
+ "version": "2.0.86",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -66,7 +66,7 @@ import axios from 'axios';
66
66
  import CryptoJS from "crypto-js";
67
67
 
68
68
 
69
- const SDK_VERISON = '2.0.84'
69
+ const SDK_VERISON = '2.0.86'
70
70
  const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
71
71
  const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
72
72
  const { Option } = Select;
@@ -2178,6 +2178,8 @@ class Video extends Component {
2178
2178
  this.enableAudioRecording(Mival.id,'supplesale')
2179
2179
  } else {
2180
2180
  // 开启业务录制的基础上关闭full录制音频,并开启业务录制音频
2181
+ this.state.presaleRecordId = this.state.presaleRecordId || Mival.preAudioRecordId
2182
+ this.saveLog('stop presale recording audio ' + this.state.presaleRecordId)
2181
2183
  if(this.state.presaleRecordId) {
2182
2184
  this.test_controller.StopRemoteRecord(this.state.presaleRecordId)
2183
2185
  }
@@ -2473,7 +2475,7 @@ class Video extends Component {
2473
2475
  // microId = index
2474
2476
  // }
2475
2477
  this.props.audioinputNameList.forEach((item1, index1) => {
2476
- if(item.actionname.indexOf(item1) || item1.actionname.indexOf(item)){
2478
+ if(item.actionname.indexOf(item1) || item1.indexOf(item.actionname)){
2477
2479
  microId = index
2478
2480
  }
2479
2481
 
@@ -4118,6 +4120,7 @@ class Video extends Component {
4118
4120
  roomId: this.state.channelId + '',
4119
4121
  appId: this.state.appId,
4120
4122
  recordId: this.state.presaleRecordId,
4123
+ preAudioRecordId: this.state.presaleRecordId,
4121
4124
  customerId: this.props.customerId,
4122
4125
  type: type,
4123
4126
  status: status,