react_hsbc_teller 2.0.45 → 2.0.46
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/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/video/video.jsx +6 -5
package/package.json
CHANGED
|
@@ -60,7 +60,7 @@ import MultiModule from '../multiModule/multiModule'//签字、抄录
|
|
|
60
60
|
import axios from 'axios';
|
|
61
61
|
import CryptoJS from "crypto-js";
|
|
62
62
|
|
|
63
|
-
const SDK_VERISON = '2.0.
|
|
63
|
+
const SDK_VERISON = '2.0.46'
|
|
64
64
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
65
65
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
66
66
|
const { Option } = Select;
|
|
@@ -2336,13 +2336,13 @@ class Video extends Component {
|
|
|
2336
2336
|
if (sid == this.state.publishSid) {
|
|
2337
2337
|
this.saveLog('Audio and video close notification,' + code)
|
|
2338
2338
|
this.roomCallBack(2, '音视频异常关闭', 8)
|
|
2339
|
-
} else {
|
|
2339
|
+
} else if (sid == this.state.publishScreenSid) {
|
|
2340
2340
|
this.state.isScreenSwitching = false
|
|
2341
2341
|
this.setSharedScreenState(false)
|
|
2342
2342
|
if (code == 5012) {
|
|
2343
2343
|
this.saveLog('Manual cancel share'); // 点了取消,拒绝系统授权
|
|
2344
2344
|
} else {
|
|
2345
|
-
this.saveLog('System error stop share');
|
|
2345
|
+
this.saveLog('System error stop share, code=' + code);
|
|
2346
2346
|
}
|
|
2347
2347
|
}
|
|
2348
2348
|
}
|
|
@@ -2538,6 +2538,7 @@ class Video extends Component {
|
|
|
2538
2538
|
console.log('发布媒体流成功', sid)
|
|
2539
2539
|
this.state.sessionType = true
|
|
2540
2540
|
if (sid == document.getElementById('video20').name) {
|
|
2541
|
+
this.state.publishScreenSid = document.getElementById('video20').name
|
|
2541
2542
|
this.setSharedScreenState(true)
|
|
2542
2543
|
this.saveLog('Share success')
|
|
2543
2544
|
this.sendMessage({
|
|
@@ -2610,7 +2611,7 @@ class Video extends Component {
|
|
|
2610
2611
|
} else {
|
|
2611
2612
|
this.messageClick('投屏失败请重新投屏', 'error')
|
|
2612
2613
|
this.setSharedScreenState(false)
|
|
2613
|
-
this.saveLog('Share fail')
|
|
2614
|
+
this.saveLog('Share fail, code=' + err_code)
|
|
2614
2615
|
}
|
|
2615
2616
|
|
|
2616
2617
|
};
|
|
@@ -3367,7 +3368,7 @@ class Video extends Component {
|
|
|
3367
3368
|
this.state.isSharedScreen = false
|
|
3368
3369
|
this.state.isScreenSwitching = false
|
|
3369
3370
|
this.setSharedScreenState(false)
|
|
3370
|
-
this.saveLog('Share fail')
|
|
3371
|
+
this.saveLog('Share fail, code=' + code)
|
|
3371
3372
|
this.setState({
|
|
3372
3373
|
screenName: '共享模式'
|
|
3373
3374
|
});
|