react_hsbc_teller 2.0.89 → 2.0.90
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 +2 -0
- package/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/video/video.jsx +22 -17
package/package.json
CHANGED
|
@@ -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.
|
|
69
|
+
const SDK_VERISON = '2.0.90'
|
|
70
70
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
71
71
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
72
72
|
const { Option } = Select;
|
|
@@ -3964,13 +3964,17 @@ class Video extends Component {
|
|
|
3964
3964
|
switch (sid) {
|
|
3965
3965
|
case publish_sid:
|
|
3966
3966
|
volumeView = "publish_volumeView";
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3967
|
+
this.saveLog('zeroVolAlert: ' + this.props.zeroVolAlert)
|
|
3968
|
+
if(this.props.zeroVolAlert) {
|
|
3969
|
+
if (!this.volumeFunctionTimer && this.state.voiceStatue == false && this.state.analyserHeight.get(sid) == 0) {
|
|
3970
|
+
this.volumeFunctionTimer = setTimeout(this.volumeFunction.bind(this, sid), 15000)
|
|
3971
|
+
}
|
|
3972
|
+
if (this.volumeFunctionTimer && this.state.voiceStatue == false && this.state.analyserHeight.get(sid) != 0) {
|
|
3973
|
+
clearTimeout(this.volumeFunctionTimer)
|
|
3974
|
+
this.volumeFunctionTimer = null
|
|
3975
|
+
}
|
|
3976
|
+
}
|
|
3977
|
+
|
|
3974
3978
|
break;
|
|
3975
3979
|
case subscribe_sid1:
|
|
3976
3980
|
volumeView = "subscribe_volumeView1";
|
|
@@ -4367,7 +4371,7 @@ class Video extends Component {
|
|
|
4367
4371
|
clearTimeout(this.ipadLowPowerPlayTimer)
|
|
4368
4372
|
clearTimeout(this.mediaErrorPlayTimer)
|
|
4369
4373
|
clearTimeout(this.screenSharedTimer)
|
|
4370
|
-
|
|
4374
|
+
clearTimeout(this.volumeFunctionTimer)
|
|
4371
4375
|
clearTimeout(this.volumePlayTimer)
|
|
4372
4376
|
clearInterval(this.state.drawCanvasInterval)
|
|
4373
4377
|
clearInterval(this.state.faceDetectionTimer);
|
|
@@ -5113,10 +5117,10 @@ class Video extends Component {
|
|
|
5113
5117
|
// 打开抄录/签署面板
|
|
5114
5118
|
showModal=(moduleName)=>{
|
|
5115
5119
|
if (!this.state.multiModuleShow) {
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
+
this.setState({
|
|
5121
|
+
multiModuleShow:true,
|
|
5122
|
+
multiModule: moduleName,
|
|
5123
|
+
},()=>{
|
|
5120
5124
|
})
|
|
5121
5125
|
this.tabTitlesClick(
|
|
5122
5126
|
{
|
|
@@ -5124,16 +5128,16 @@ class Video extends Component {
|
|
|
5124
5128
|
name: '签署抄录'
|
|
5125
5129
|
},'add'
|
|
5126
5130
|
)
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5131
|
+
}else{
|
|
5132
|
+
this.closeModule()
|
|
5133
|
+
}
|
|
5130
5134
|
}
|
|
5131
5135
|
// 关闭面板
|
|
5132
5136
|
closeModule=()=>{
|
|
5133
5137
|
setTimeout(() => {
|
|
5134
5138
|
this.setState({
|
|
5135
5139
|
multiModuleShow:false,
|
|
5136
|
-
|
|
5140
|
+
multiModule: '',
|
|
5137
5141
|
})
|
|
5138
5142
|
this.tabTitlesClick('multiModule','delect')
|
|
5139
5143
|
}, 0);
|
|
@@ -8355,6 +8359,7 @@ Video.defaultProps = {
|
|
|
8355
8359
|
noiseSuppression: true,
|
|
8356
8360
|
needPreSale: true, // 是否开启音频录制 默认true--只控制售前full
|
|
8357
8361
|
signalDisconnectedTime: 20, // 网络异常断开多久后异常弹窗提示
|
|
8362
|
+
zeroVolAlert: true, // true 开启音量持续提示,,false不开启
|
|
8358
8363
|
logUrl: 'http://hsbc.cn-shanghai.log.aliyuncs.com/logstores/hsbc/track?APIVersion=0.6.0&app=meeting-ui',
|
|
8359
8364
|
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'
|
|
8360
8365
|
}
|