react_hsbc_teller 0.3.6 → 0.3.7
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 +13 -5
- package/packages/pages/video/video.less +14 -5
package/package.json
CHANGED
|
@@ -145,8 +145,8 @@ class Video extends Component {
|
|
|
145
145
|
config_param.workspaceId = this.state.workSpaceId;
|
|
146
146
|
config_param.uid = this.props.tellerAccount;
|
|
147
147
|
config_param.biz_name = this.state.bizName; // 'demo'
|
|
148
|
-
config_param.
|
|
149
|
-
|
|
148
|
+
config_param.sub_biz = this.state.appId;
|
|
149
|
+
config_param.sign = window.sessionStorage.getItem('alimpassSig')
|
|
150
150
|
config_param.room_server_url = this.props.roomServerUrl;
|
|
151
151
|
// 允许最大断网时间 (超过未重连, 直接关闭)
|
|
152
152
|
config_param.network_check_timeout = 10000;
|
|
@@ -1158,7 +1158,12 @@ class Video extends Component {
|
|
|
1158
1158
|
// draw();
|
|
1159
1159
|
// requestAnimationFrame(this.test_controller.OnVolumeAnalyser.bind(this, sid, analyser));
|
|
1160
1160
|
}
|
|
1161
|
-
|
|
1161
|
+
// 停止共享
|
|
1162
|
+
this.test_controller.OnDesktopDisplayClosed = () => {
|
|
1163
|
+
if (this.state.isSharedScreen) {
|
|
1164
|
+
this.sharedScreen()
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1162
1167
|
}
|
|
1163
1168
|
contrastFaceVerify = async data => {
|
|
1164
1169
|
console.log(data);
|
|
@@ -1233,6 +1238,9 @@ class Video extends Component {
|
|
|
1233
1238
|
})
|
|
1234
1239
|
const _dependScripts = [
|
|
1235
1240
|
// https://counter-web.leimondata.cn:7199
|
|
1241
|
+
this.props.resourcePath + "/beauty/beauty.js",
|
|
1242
|
+
this.props.resourcePath + "/beauty/meeting_beautify_stream.js",
|
|
1243
|
+
this.props.resourcePath + "/beauty/backgroundBlur.js",
|
|
1236
1244
|
this.props.resourcePath + "/adapter.js",
|
|
1237
1245
|
this.props.resourcePath + "/getMediaInfo.js",
|
|
1238
1246
|
this.props.resourcePath + "/pdf.js",
|
|
@@ -1838,7 +1846,7 @@ class Video extends Component {
|
|
|
1838
1846
|
/>
|
|
1839
1847
|
<audio id="audio1" autoPlay />
|
|
1840
1848
|
<label style={{ display: 'none' }} id="feedId1" type="text" />
|
|
1841
|
-
<div style={{ display: (this.state.isCustomer) ? '' : 'none', background: this.props.titleBackground,color: this.props.titleColor,'font-size': this.props.fontSize + 'px','font-family' : this.props.fontFamily }} className=
|
|
1849
|
+
<div style={{ display: (this.state.isCustomer) ? '' : 'none', background: this.props.titleBackground,color: this.props.titleColor,'font-size': this.props.fontSize + 'px','font-family' : this.props.fontFamily }} className={`customerTitle ${this.state.isBigVideo == 'video1' ? 'titleBig' : "titleSamlle"}`}>客户</div>
|
|
1842
1850
|
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView1" width="40" height="70"></canvas>
|
|
1843
1851
|
</div>
|
|
1844
1852
|
</div>
|
|
@@ -1878,7 +1886,7 @@ class Video extends Component {
|
|
|
1878
1886
|
/>
|
|
1879
1887
|
<audio id="audio1" autoPlay />
|
|
1880
1888
|
<label style={{ display: 'none' }} id="publish_streamId1" type="text" />
|
|
1881
|
-
<div style={{ display: (this.state.isCustomer) ? '' : 'none', background: this.props.titleBackground,color: this.props.titleColor,'font-size': this.props.fontSize + 'px','font-family' : this.props.fontFamily}} className=
|
|
1889
|
+
<div style={{ display: (this.state.isCustomer) ? '' : 'none', background: this.props.titleBackground,color: this.props.titleColor,'font-size': this.props.fontSize + 'px','font-family' : this.props.fontFamily}} className={`tellerTitle ${this.state.isBigVideo == 'publish_video1' ? 'titleBig' : "titleSamlle"}`}>坐席</div>
|
|
1882
1890
|
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClass" id="publish_volumeView" width="40" height="70"></canvas>
|
|
1883
1891
|
</div>
|
|
1884
1892
|
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
position: absolute;
|
|
155
155
|
z-index: 1;
|
|
156
156
|
top: 0;
|
|
157
|
-
left:
|
|
157
|
+
left: 0;
|
|
158
158
|
.selectSee{
|
|
159
159
|
background: #00847F;
|
|
160
160
|
border-radius: 0px 0px 2px 2px;
|
|
@@ -183,9 +183,10 @@ border-radius: 0px 0px 2px 2px;
|
|
|
183
183
|
}
|
|
184
184
|
.customerTitle{
|
|
185
185
|
position: absolute;
|
|
186
|
-
top: 0;
|
|
186
|
+
// top: 0;
|
|
187
|
+
bottom: 0;
|
|
187
188
|
left: 0px;
|
|
188
|
-
width:
|
|
189
|
+
width: 30%;
|
|
189
190
|
line-height: 30px;
|
|
190
191
|
height: 30px;
|
|
191
192
|
// background: rgba(219, 0, 17, 0.1);
|
|
@@ -195,14 +196,22 @@ border-radius: 0px 0px 2px 2px;
|
|
|
195
196
|
}
|
|
196
197
|
.tellerTitle{
|
|
197
198
|
position: absolute;
|
|
198
|
-
top: 0;
|
|
199
|
+
// top: 0;
|
|
199
200
|
right: 0px;
|
|
200
|
-
width: 80px;
|
|
201
|
+
// width: 80px;
|
|
201
202
|
line-height: 30px;
|
|
203
|
+
|
|
204
|
+
bottom: 0;
|
|
202
205
|
height: 30px;
|
|
203
206
|
// background: rgba(219, 0, 17, 0.1);
|
|
204
207
|
border-radius: 4px 0px 2px 0px;
|
|
205
208
|
transform: rotateY(180deg);
|
|
206
209
|
// color: #DB0011;
|
|
207
210
|
font-size: 14px;
|
|
211
|
+
}
|
|
212
|
+
.titleBig{
|
|
213
|
+
width: 30%;
|
|
214
|
+
}
|
|
215
|
+
.titleSamlle{
|
|
216
|
+
width: 70%;
|
|
208
217
|
}
|