react_hsbc_teller 1.0.0 → 1.0.1
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 +7 -6
package/package.json
CHANGED
|
@@ -2470,7 +2470,7 @@ class Video extends Component {
|
|
|
2470
2470
|
// disconnect();
|
|
2471
2471
|
// }
|
|
2472
2472
|
// } else {
|
|
2473
|
-
if (this.state.isSharedScreen) {
|
|
2473
|
+
if (!this.state.laveRoomSharedScreen && this.state.isSharedScreen) {
|
|
2474
2474
|
this.sharedScreen()
|
|
2475
2475
|
}
|
|
2476
2476
|
// }
|
|
@@ -2556,13 +2556,13 @@ class Video extends Component {
|
|
|
2556
2556
|
publishDevic: 1,
|
|
2557
2557
|
isSharedScreen: false,
|
|
2558
2558
|
screenName: '投屏',
|
|
2559
|
-
|
|
2560
|
-
|
|
2559
|
+
})
|
|
2560
|
+
this.state.laveRoomSharedScreen = true
|
|
2561
2561
|
// this.test_controller.UnPublish(document.getElementById('video20').name)
|
|
2562
2562
|
if (this.state.isPictureInPicture) {
|
|
2563
2563
|
document.exitPictureInPicture()
|
|
2564
2564
|
}
|
|
2565
|
-
|
|
2565
|
+
|
|
2566
2566
|
this.props.onLeaveRoom({
|
|
2567
2567
|
code: LEAVE_TYPE.TELLER_EXIT,
|
|
2568
2568
|
errMsg: '坐席退出'
|
|
@@ -2572,15 +2572,15 @@ class Video extends Component {
|
|
|
2572
2572
|
publishDevic: 1,
|
|
2573
2573
|
isSharedScreen: false,
|
|
2574
2574
|
screenName: '投屏',
|
|
2575
|
-
laveRoomSharedScreen: true
|
|
2576
2575
|
});
|
|
2576
|
+
this.state.laveRoomSharedScreen = true
|
|
2577
2577
|
this.props.onLeaveRoom({
|
|
2578
2578
|
code: LEAVE_TYPE.TELLER_EXIT,
|
|
2579
2579
|
errMsg: '坐席退出'
|
|
2580
2580
|
})
|
|
2581
2581
|
|
|
2582
2582
|
}
|
|
2583
|
-
|
|
2583
|
+
console.log('isSharedScreen', this.state.isSharedScreen,this.state.laveRoomSharedScreen)
|
|
2584
2584
|
|
|
2585
2585
|
}
|
|
2586
2586
|
getRoomStatus = async data => {
|
|
@@ -2831,6 +2831,7 @@ class Video extends Component {
|
|
|
2831
2831
|
}
|
|
2832
2832
|
};
|
|
2833
2833
|
sharedScreen = () => {
|
|
2834
|
+
console.log('投屏')
|
|
2834
2835
|
if (this.isFileSuccuse()) {
|
|
2835
2836
|
const publish_config = {};
|
|
2836
2837
|
if (this.state.isSharedScreen) {
|