react_hsbc_teller 2.0.88 → 2.0.89
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 +3 -0
- package/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/video/video.jsx +12 -12
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.89'
|
|
70
70
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
71
71
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
72
72
|
const { Option } = Select;
|
|
@@ -2612,11 +2612,11 @@ class Video extends Component {
|
|
|
2612
2612
|
const playAudioTip = (code) => {
|
|
2613
2613
|
this.messageClick('媒体流服务异常断开,请刷新', 'error')
|
|
2614
2614
|
if(code == 5003) {
|
|
2615
|
-
this.state.mediaErrorModalMessage = '媒体流获取失败,请刷新('+ code + ')'
|
|
2615
|
+
this.state.mediaErrorModalMessage = '媒体流获取失败,请刷新('+ code + '),如您当前正在投屏操作,请在浏览器刷新后重新投屏'
|
|
2616
2616
|
} else if(code == 5004 || code == 5010) {
|
|
2617
|
-
this.state.mediaErrorModalMessage = '媒体流网络异常,请刷新('+ code + ')'
|
|
2617
|
+
this.state.mediaErrorModalMessage = '媒体流网络异常,请刷新('+ code + '),如您当前正在投屏操作,请在浏览器刷新后重新投屏'
|
|
2618
2618
|
} else {
|
|
2619
|
-
this.state.mediaErrorModalMessage = '媒体流服务异常,请刷新('+ code + ')'
|
|
2619
|
+
this.state.mediaErrorModalMessage = '媒体流服务异常,请刷新('+ code + '),如您当前正在投屏操作,请在浏览器刷新后重新投屏'
|
|
2620
2620
|
}
|
|
2621
2621
|
this.setState({
|
|
2622
2622
|
mediaErrorModalVisible: true,
|
|
@@ -3964,13 +3964,13 @@ class Video extends Component {
|
|
|
3964
3964
|
switch (sid) {
|
|
3965
3965
|
case publish_sid:
|
|
3966
3966
|
volumeView = "publish_volumeView";
|
|
3967
|
-
if (!this.volumeFunctionTimer && this.state.voiceStatue == false && this.state.analyserHeight.get(sid) == 0) {
|
|
3968
|
-
|
|
3969
|
-
}
|
|
3970
|
-
if (this.volumeFunctionTimer && this.state.voiceStatue == false && this.state.analyserHeight.get(sid) != 0) {
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
}
|
|
3967
|
+
// if (!this.volumeFunctionTimer && this.state.voiceStatue == false && this.state.analyserHeight.get(sid) == 0) {
|
|
3968
|
+
// this.volumeFunctionTimer = setTimeout(this.volumeFunction.bind(this, sid), 15000)
|
|
3969
|
+
// }
|
|
3970
|
+
// if (this.volumeFunctionTimer && this.state.voiceStatue == false && this.state.analyserHeight.get(sid) != 0) {
|
|
3971
|
+
// clearTimeout(this.volumeFunctionTimer)
|
|
3972
|
+
// this.volumeFunctionTimer = null
|
|
3973
|
+
// }
|
|
3974
3974
|
break;
|
|
3975
3975
|
case subscribe_sid1:
|
|
3976
3976
|
volumeView = "subscribe_volumeView1";
|
|
@@ -4367,7 +4367,7 @@ class Video extends Component {
|
|
|
4367
4367
|
clearTimeout(this.ipadLowPowerPlayTimer)
|
|
4368
4368
|
clearTimeout(this.mediaErrorPlayTimer)
|
|
4369
4369
|
clearTimeout(this.screenSharedTimer)
|
|
4370
|
-
clearTimeout(this.volumeFunctionTimer)
|
|
4370
|
+
// clearTimeout(this.volumeFunctionTimer)
|
|
4371
4371
|
clearTimeout(this.volumePlayTimer)
|
|
4372
4372
|
clearInterval(this.state.drawCanvasInterval)
|
|
4373
4373
|
clearInterval(this.state.faceDetectionTimer);
|