react_hsbc_teller 2.0.99 → 2.1.0
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/demo/demo.js +1 -1
- package/packages/pages/video/video.jsx +14 -2
package/package.json
CHANGED
package/packages/demo/demo.js
CHANGED
|
@@ -51,7 +51,7 @@ sessionId
|
|
|
51
51
|
financialOffice: "defaultOfficeId", // 理财室
|
|
52
52
|
audioinputNameList: ['默认值 - 外部麦克风 (Realtek(R) Audio)'],
|
|
53
53
|
needPreSale: true,
|
|
54
|
-
needIpad:
|
|
54
|
+
needIpad: false,
|
|
55
55
|
}
|
|
56
56
|
componentWillMount() {
|
|
57
57
|
// if(window.localStorage.getItem('sessionId') && window.localStorage.getItem('sessionId') != 'null' && window.localStorage.getItem('sessionId') != 'undefined') {
|
|
@@ -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.1.0'
|
|
70
70
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
71
71
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
72
72
|
const { Option } = Select;
|
|
@@ -1963,6 +1963,7 @@ class Video extends Component {
|
|
|
1963
1963
|
if (Mival.sessionId == this.state.sessionId) {
|
|
1964
1964
|
// 1-开启,2-关闭
|
|
1965
1965
|
if (Mival.type == 1) {
|
|
1966
|
+
this.state.isSfpMeeting = true
|
|
1966
1967
|
this.switchExternal()
|
|
1967
1968
|
this.saveLog('whiteboard start, typeId=1218,')
|
|
1968
1969
|
if (typeof this.props.sfpCallback === 'function'){
|
|
@@ -3314,7 +3315,17 @@ class Video extends Component {
|
|
|
3314
3315
|
})
|
|
3315
3316
|
this.state.isSharedScreen = false
|
|
3316
3317
|
this.setSharedScreenState(false)
|
|
3317
|
-
|
|
3318
|
+
// 1218--sfp可以通过api去唤起meeting alisdk的白板进行文档签署
|
|
3319
|
+
// 在这里要多判断一层,要是收到通知1218导致的取消发布的时候不去调用setSharedScreenTimer
|
|
3320
|
+
|
|
3321
|
+
if(!this.state.isSfpMeeting){
|
|
3322
|
+
this.setSharedScreenTimer(false)
|
|
3323
|
+
} else {
|
|
3324
|
+
console.log('isSfpMeeting: true')
|
|
3325
|
+
this.saveLog('isSfpMeeting: true')
|
|
3326
|
+
this.state.isSfpMeeting = false
|
|
3327
|
+
}
|
|
3328
|
+
|
|
3318
3329
|
this.saveLog('Stop share')
|
|
3319
3330
|
this.setState({
|
|
3320
3331
|
|
|
@@ -4913,6 +4924,7 @@ class Video extends Component {
|
|
|
4913
4924
|
}
|
|
4914
4925
|
}
|
|
4915
4926
|
setSharedScreenTimer = (state) => {
|
|
4927
|
+
console.log('screenName',this.state.screenName)
|
|
4916
4928
|
// 设置定时,如果x秒内没有重新开启投屏 则弹出提示
|
|
4917
4929
|
if (!this.props.screenSharedInterval || typeof this.props.screenSharedInterval != 'number') return;
|
|
4918
4930
|
if (state) {
|