react_hsbc_teller 2.0.62 → 2.0.63
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 +7 -0
- package/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/video/video.jsx +8 -23
package/package.json
CHANGED
|
@@ -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.63'
|
|
65
65
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
66
66
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
67
67
|
const { Option } = Select;
|
|
@@ -600,6 +600,8 @@ class Video extends Component {
|
|
|
600
600
|
feedId_id: 'feedId6'
|
|
601
601
|
}
|
|
602
602
|
];
|
|
603
|
+
config_param.echoCancellation = this.props.echoCancellation // 回音消除 非必填,默认为false
|
|
604
|
+
config_param.noiseSuppression = this.props.noiseSuppression // 降噪 非必填,默认为false
|
|
603
605
|
this.test_controller.InitRoomConfig(config_param)
|
|
604
606
|
this.saveLog('mrtc InitRoomConfig start')
|
|
605
607
|
|
|
@@ -725,25 +727,7 @@ class Video extends Component {
|
|
|
725
727
|
yPosition: 235 * SCALE,
|
|
726
728
|
width: (420 * SCALE),
|
|
727
729
|
height: (420 * SCALE)
|
|
728
|
-
})
|
|
729
|
-
// Array.isArray(res) ?
|
|
730
|
-
// res.map((item) => {
|
|
731
|
-
// list.push({
|
|
732
|
-
// tag: item.tag,
|
|
733
|
-
// xPosition: (item.xaxis * SCALE),
|
|
734
|
-
// yPosition: (item.yaxis * SCALE),
|
|
735
|
-
// width: (item.width * SCALE),
|
|
736
|
-
// height: (item.height * SCALE)
|
|
737
|
-
// })
|
|
738
|
-
// }) :
|
|
739
|
-
// list.push({
|
|
740
|
-
// tag: 'VIDEO_SOURCE_SCREEN',
|
|
741
|
-
// xPosition: 960 * SCALE,
|
|
742
|
-
// yPosition: 535 * SCALE,
|
|
743
|
-
// width: 320 * SCALE,
|
|
744
|
-
// height: 180 * SCALE
|
|
745
|
-
// })
|
|
746
|
-
|
|
730
|
+
})
|
|
747
731
|
const filePath = 'recordId_' + new Date().valueOf();
|
|
748
732
|
const recordParam = {};
|
|
749
733
|
recordParam.width = 1280 * SCALE;
|
|
@@ -6181,8 +6165,7 @@ class Video extends Component {
|
|
|
6181
6165
|
const cMicrophone = this.state.microphoneList.find((item)=> item.actionid === this.state.microphoneValue);
|
|
6182
6166
|
const cSpeaker = this.state.speakerList[0];
|
|
6183
6167
|
console.log(`当前麦克风设备: ${cMicrophone?.actionname ||''}, 当前扬声器设备: ${cSpeaker?.actionname || ''}`);
|
|
6184
|
-
this.saveLog(`当前麦克风设备: ${cMicrophone?.actionname ||''}, 当前扬声器设备: ${cSpeaker?.actionname || ''}`);
|
|
6185
|
-
// 开启画中画
|
|
6168
|
+
this.saveLog(`当前麦克风设备: ${cMicrophone?.actionname ||''}, 当前扬声器设备: ${cSpeaker?.actionname || ''}`); // 开启画中画
|
|
6186
6169
|
if (!this.state.isPictureInPicture) {
|
|
6187
6170
|
this.pictureInPicture()
|
|
6188
6171
|
}
|
|
@@ -7563,7 +7546,7 @@ class Video extends Component {
|
|
|
7563
7546
|
|
|
7564
7547
|
|
|
7565
7548
|
</Modal>
|
|
7566
|
-
<Modal title="销售人员合并签署" width={600} destroyOnClose={true} centered={true} visible={isTranscribing} onCancel={this.onCancelSign} footer={[]}>
|
|
7549
|
+
<Modal title="销售人员合并签署" width={600} destroyOnClose={true} maskClosable={false} centered={true} visible={isTranscribing} onCancel={this.onCancelSign} footer={[]}>
|
|
7567
7550
|
<div className="content">
|
|
7568
7551
|
<SignMy
|
|
7569
7552
|
handleOkSign={this.handleOkSign}
|
|
@@ -7759,6 +7742,8 @@ Video.defaultProps = {
|
|
|
7759
7742
|
salesBranchCode: "", //网点编号(分行号)
|
|
7760
7743
|
financialOffice: "", // 理财室
|
|
7761
7744
|
staffName: '', // 坐席名称
|
|
7745
|
+
echoCancellation: true,
|
|
7746
|
+
noiseSuppression: true,
|
|
7762
7747
|
logUrl: 'http://hsbc.cn-shanghai.log.aliyuncs.com/logstores/hsbc/track?APIVersion=0.6.0&app=meeting-ui',
|
|
7763
7748
|
internalUrl: 'https://wp-staff-gateway.wealth-platform.uat.ali.cloud.cn.hsbc/meeting-ui/OHB/CN/HSBC?chnlID=OHB&locale=zh_CN&chnlCC=CN&chnlGMC=HSBC&targetFunc=supervisorMeeting&sourceFunc=rmMeeting'
|
|
7764
7749
|
}
|