react_hsbc_teller 2.0.46 → 2.0.48
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/assets/mp3/ipad_media_close.mp3 +0 -0
- package/packages/assets/mp3/media_error.mp3 +0 -0
- package/packages/assets/mp3/share_stop_audio.mp3 +0 -0
- package/packages/demo/demo.js +5 -12
- package/packages/pages/foot/foot.jsx +3 -2
- package/packages/pages/video/video.jsx +330 -34
- package/packages/utils/asrController.js +13 -0
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/packages/demo/demo.js
CHANGED
|
@@ -5,18 +5,10 @@ import Pdf from './pdf.js'
|
|
|
5
5
|
class Demo extends Component {
|
|
6
6
|
state = {
|
|
7
7
|
shareMask: false,
|
|
8
|
-
imRoomId
|
|
9
|
-
:
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
:
|
|
13
|
-
"IZLZMoTxj",
|
|
14
|
-
mtoken
|
|
15
|
-
:
|
|
16
|
-
"bc084d8a922f",
|
|
17
|
-
roomId
|
|
18
|
-
:
|
|
19
|
-
"663912632731275",
|
|
8
|
+
imRoomId: "",
|
|
9
|
+
sessionId: "",
|
|
10
|
+
mtoken: "",
|
|
11
|
+
roomId: "",
|
|
20
12
|
// roomId: '',
|
|
21
13
|
// mtoken: '',
|
|
22
14
|
// imRoomId: '',
|
|
@@ -216,6 +208,7 @@ userExit =(val)=>{
|
|
|
216
208
|
whetherDetectFace={true}
|
|
217
209
|
whetherDetectLight={true}
|
|
218
210
|
whetherNeedAsr={true}
|
|
211
|
+
screenSharedInterval={6}
|
|
219
212
|
prohibitPrompt={this.state.prohibitPrompt}
|
|
220
213
|
voiceColor={this.state.voiceColor}
|
|
221
214
|
titleBackground={this.state.titleBackground}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import './foot.less'
|
|
3
|
+
import { debounce } from '../../utils/utils';
|
|
3
4
|
import Popover from "antd/lib/popover";
|
|
4
5
|
import 'antd/lib/popover/style'
|
|
5
6
|
export default class foot extends Component {
|
|
@@ -115,7 +116,7 @@ export default class foot extends Component {
|
|
|
115
116
|
</div>
|
|
116
117
|
}
|
|
117
118
|
{
|
|
118
|
-
item == 'BOARD'&&<div className='footHover' onClick={this.switchExternal.bind(this)}>
|
|
119
|
+
item == 'BOARD'&&<div className='footHover' onClick={debounce(this.switchExternal.bind(this), 300)}>
|
|
119
120
|
<div className="one">
|
|
120
121
|
<img className="imgClass" src={require("../../assets/img/switchExternal.png").default} alt="" />
|
|
121
122
|
<div className="text">
|
|
@@ -125,7 +126,7 @@ export default class foot extends Component {
|
|
|
125
126
|
</div>
|
|
126
127
|
}
|
|
127
128
|
{
|
|
128
|
-
item == 'SHARE' && <div className="one" onClick={this.sharedScreen.bind(this)}>
|
|
129
|
+
item == 'SHARE' && <div className="one" onClick={debounce(this.sharedScreen.bind(this), 300)}>
|
|
129
130
|
<img className="imgClass" src={require("../../assets/img/Projection_screen.png").default} alt="" />
|
|
130
131
|
<div className="text">
|
|
131
132
|
{screenName}
|