react_hsbc_teller 2.0.73 → 2.0.75
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 +4 -0
- package/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/demo/demo.js +1 -1
- package/packages/pages/video/video.jsx +5 -4
package/package.json
CHANGED
package/packages/demo/demo.js
CHANGED
|
@@ -43,7 +43,7 @@ class Demo extends Component {
|
|
|
43
43
|
salesBranchCode: 'salesBranchCode', //网点编号(分行号)
|
|
44
44
|
financialOffice: "defaultOfficeId", // 理财室
|
|
45
45
|
audioinputNameList: ['默认值 - 外部麦克风 (Realtek(R) Audio)'],
|
|
46
|
-
needPreSale:
|
|
46
|
+
needPreSale: true
|
|
47
47
|
}
|
|
48
48
|
componentWillMount() {
|
|
49
49
|
// if(window.localStorage.getItem('sessionId') && window.localStorage.getItem('sessionId') != 'null' && window.localStorage.getItem('sessionId') != 'undefined') {
|
|
@@ -63,7 +63,7 @@ import MultiModule from '../multiModule/multiModule'//签字、抄录
|
|
|
63
63
|
import axios from 'axios';
|
|
64
64
|
import CryptoJS from "crypto-js";
|
|
65
65
|
|
|
66
|
-
const SDK_VERISON = '2.0.
|
|
66
|
+
const SDK_VERISON = '2.0.75'
|
|
67
67
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
68
68
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
69
69
|
const { Option } = Select;
|
|
@@ -636,6 +636,7 @@ class Video extends Component {
|
|
|
636
636
|
// 开启音频录制
|
|
637
637
|
enableAudioRecording = (record_business_id, type) => {
|
|
638
638
|
console.log('enableAudioRecording', record_business_id, type)
|
|
639
|
+
this.saveLog('mrtc needPreSale ' + this.props.needPreSale)
|
|
639
640
|
// true开启
|
|
640
641
|
console.log(this.props.needPreSale, type == 'presale' && !this.props.needPreSale)
|
|
641
642
|
if(!(type == 'presale' && !this.props.needPreSale)){
|
|
@@ -916,7 +917,7 @@ class Video extends Component {
|
|
|
916
917
|
recordParam.height = 720;
|
|
917
918
|
recordParam.recordTotalStream = 0;
|
|
918
919
|
recordParam.startTimeout = 10;
|
|
919
|
-
recordParam.splitType =
|
|
920
|
+
recordParam.splitType = 0;
|
|
920
921
|
recordParam.endType = 1;
|
|
921
922
|
recordParam.crf = 26
|
|
922
923
|
recordParam.overlaps = [
|
|
@@ -4966,8 +4967,8 @@ class Video extends Component {
|
|
|
4966
4967
|
this.pictureInPicture()
|
|
4967
4968
|
}
|
|
4968
4969
|
this.saveLog('Start business recording')
|
|
4969
|
-
if (!this.state.businessRecordId) this.enableServerRecording(this.state.businessId)
|
|
4970
|
-
if (!this.state.businessRecordId) this.enableAudioRecording(this.state.businessId,'
|
|
4970
|
+
if (!this.state.businessRecordId) this.enableServerRecording(this.state.businessId, 'startBusinessRecording')
|
|
4971
|
+
if (!this.state.businessRecordId) this.enableAudioRecording(this.state.businessId,'sale')
|
|
4971
4972
|
if (!this.state.ipadRecordId && this.state.ipadTag) this.enableIpadRecording(this.state.businessId)
|
|
4972
4973
|
clearTimeout(this.recordLoopPlayTimer)
|
|
4973
4974
|
}
|