react_hsbc_teller 1.2.5 → 1.2.6
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/package.json
CHANGED
|
@@ -53,7 +53,7 @@ export default class foot extends Component {
|
|
|
53
53
|
render() {
|
|
54
54
|
const {clickedOcr,clickedFacial,img,isWhiteboard,cameraImg,isTranscribing ,screenName,suspendName,customerList,menus,voiceName} = this.props
|
|
55
55
|
const content = (
|
|
56
|
-
<div
|
|
56
|
+
<div>
|
|
57
57
|
{customerList.map((item,index)=>{
|
|
58
58
|
return <div key={index}className="customer" onClick={this.customerFaceClick.bind(this,item)}>
|
|
59
59
|
<img className="imgClassFoot" alt="" src={require("../../assets/img/youke.png").default} />
|
|
@@ -67,6 +67,7 @@ color: #FFFFFF;
|
|
|
67
67
|
.imgClassFoot{
|
|
68
68
|
width: 25px;
|
|
69
69
|
height: 25px;
|
|
70
|
+
margin-bottom: 3px;
|
|
70
71
|
}
|
|
71
72
|
.imgClass{
|
|
72
73
|
width: 25px;
|
|
@@ -75,10 +76,6 @@ color: #FFFFFF;
|
|
|
75
76
|
.listLi{
|
|
76
77
|
margin-top: 4px;
|
|
77
78
|
}
|
|
78
|
-
.customer{
|
|
79
|
-
width: 150px;
|
|
80
|
-
height: 30px;
|
|
81
|
-
}
|
|
82
79
|
.customer:hover{
|
|
83
80
|
background: #F3F3F3;
|
|
84
81
|
border-radius: 8px;
|
|
@@ -310,6 +310,7 @@ class Video extends Component {
|
|
|
310
310
|
// 初始化视频
|
|
311
311
|
ConnectMRTC = () => {
|
|
312
312
|
this.test_controller.SetLocalCodecType("H264")
|
|
313
|
+
this.test_controller.SetPublishWeakBitrateLimit(200);
|
|
313
314
|
const config_param = {};
|
|
314
315
|
config_param.auto_publish_subscribe = 4;
|
|
315
316
|
config_param.media_type = 1;
|
|
@@ -1907,7 +1908,8 @@ class Video extends Component {
|
|
|
1907
1908
|
'decibelValue': this.state.analyserHeight.get(sid).toFixed(2),
|
|
1908
1909
|
"data": {
|
|
1909
1910
|
'sessionId': this.state.sessionId,
|
|
1910
|
-
'userId': this.props.tellerAccount
|
|
1911
|
+
'userId': this.props.tellerAccount,
|
|
1912
|
+
'data': (new Date()).valueOf()
|
|
1911
1913
|
}
|
|
1912
1914
|
|
|
1913
1915
|
})
|
|
@@ -2857,7 +2859,6 @@ class Video extends Component {
|
|
|
2857
2859
|
} catch (err) {
|
|
2858
2860
|
console.error(err);
|
|
2859
2861
|
if(err.status == 502 || err.status== 404) {
|
|
2860
|
-
this.roomCallBack(2, '连接服务器失败','SYS-02')
|
|
2861
2862
|
}
|
|
2862
2863
|
}
|
|
2863
2864
|
}
|
|
@@ -4196,6 +4197,7 @@ class Video extends Component {
|
|
|
4196
4197
|
autoPlay
|
|
4197
4198
|
muted={true}
|
|
4198
4199
|
className="videoTab"
|
|
4200
|
+
disablePictureInPicture
|
|
4199
4201
|
/>
|
|
4200
4202
|
<audio id="audio20" autoPlay />
|
|
4201
4203
|
<label style={{ display: 'none' }} id="feedId20" type="text" />
|
|
@@ -4215,6 +4217,7 @@ class Video extends Component {
|
|
|
4215
4217
|
autoPlay
|
|
4216
4218
|
muted={true}
|
|
4217
4219
|
className="videoTab"
|
|
4220
|
+
disablePictureInPicture
|
|
4218
4221
|
/>
|
|
4219
4222
|
<audio id="audio21" autoPlay />
|
|
4220
4223
|
<label style={{ display: 'none' }} id="feedId21" type="text" />
|
|
@@ -4265,18 +4268,21 @@ class Video extends Component {
|
|
|
4265
4268
|
className={`publishVideoClass`}
|
|
4266
4269
|
autoPlay
|
|
4267
4270
|
muted={true}
|
|
4271
|
+
disablePictureInPicture
|
|
4268
4272
|
/>
|
|
4269
4273
|
<label style={{ display: 'none' }} id="publish_streamId1" type="text" />
|
|
4270
4274
|
|
|
4271
4275
|
<div id="publish_video_div" className={`tellerTitle titleSamlle`}>
|
|
4276
|
+
<div>
|
|
4272
4277
|
{
|
|
4273
4278
|
this.state.voiceStatue && <img
|
|
4274
4279
|
alt=""
|
|
4275
4280
|
src={require("../../assets/img/jingyin.png").default}
|
|
4276
|
-
className="
|
|
4281
|
+
className="voiceClass"
|
|
4277
4282
|
/>
|
|
4278
4283
|
}
|
|
4279
4284
|
<canvas style={{ display: (!this.state.voiceStatue) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClass" id="publish_volumeView" width="40" height="70"></canvas>
|
|
4285
|
+
</div>
|
|
4280
4286
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>{this.state.titleNameRm}</div>
|
|
4281
4287
|
</div>
|
|
4282
4288
|
</div>
|
|
@@ -4298,6 +4304,7 @@ class Video extends Component {
|
|
|
4298
4304
|
id="video1"
|
|
4299
4305
|
autoPlay
|
|
4300
4306
|
muted={true}
|
|
4307
|
+
disablePictureInPicture
|
|
4301
4308
|
className={`video1 ${this.state.noVideoOne ? 'isNoVideo' : ''}`}
|
|
4302
4309
|
/>
|
|
4303
4310
|
<audio id="audio1" autoPlay />
|
|
@@ -4326,6 +4333,7 @@ class Video extends Component {
|
|
|
4326
4333
|
<video
|
|
4327
4334
|
id="video2"
|
|
4328
4335
|
autoPlay
|
|
4336
|
+
disablePictureInPicture
|
|
4329
4337
|
muted={true}
|
|
4330
4338
|
className={`video ${this.state.noVideoTwo ? 'isNoVideo' : ''}`}
|
|
4331
4339
|
/>
|
|
@@ -4354,6 +4362,7 @@ class Video extends Component {
|
|
|
4354
4362
|
id="video3"
|
|
4355
4363
|
autoPlay
|
|
4356
4364
|
muted={true}
|
|
4365
|
+
disablePictureInPicture
|
|
4357
4366
|
className={`video ${this.state.noVideoThree ? 'isNoVideo' : ''}`}
|
|
4358
4367
|
/>
|
|
4359
4368
|
<audio id="audio3" autoPlay />
|
|
@@ -4380,6 +4389,7 @@ class Video extends Component {
|
|
|
4380
4389
|
id="video4"
|
|
4381
4390
|
autoPlay
|
|
4382
4391
|
muted={true}
|
|
4392
|
+
disablePictureInPicture
|
|
4383
4393
|
className={`video ${this.state.noVideoFour ? 'isNoVideo' : ''}`}
|
|
4384
4394
|
/>
|
|
4385
4395
|
<audio id="audio4" autoPlay />
|
|
@@ -4407,6 +4417,7 @@ class Video extends Component {
|
|
|
4407
4417
|
id="video5"
|
|
4408
4418
|
autoPlay
|
|
4409
4419
|
muted={true}
|
|
4420
|
+
disablePictureInPicture
|
|
4410
4421
|
className={`video ${this.state.noVideoFive ? 'isNoVideo' : ''}`}
|
|
4411
4422
|
/>
|
|
4412
4423
|
<audio id="audio5" autoPlay />
|
|
@@ -4433,6 +4444,7 @@ class Video extends Component {
|
|
|
4433
4444
|
id="video6"
|
|
4434
4445
|
autoPlay
|
|
4435
4446
|
muted={true}
|
|
4447
|
+
disablePictureInPicture
|
|
4436
4448
|
className={`video ${this.state.noVideoSix ? 'isNoVideo' : ''}`}
|
|
4437
4449
|
/>
|
|
4438
4450
|
<audio id="audio6" autoPlay />
|
|
@@ -4471,6 +4483,7 @@ class Video extends Component {
|
|
|
4471
4483
|
id="video7"
|
|
4472
4484
|
autoPlay
|
|
4473
4485
|
muted={true}
|
|
4486
|
+
disablePictureInPicture
|
|
4474
4487
|
className={`video ${this.state.noVideoSeven ? 'isNoVideo' : ''}`}
|
|
4475
4488
|
/>
|
|
4476
4489
|
<audio id="audio7" autoPlay />
|
|
@@ -4500,6 +4513,7 @@ class Video extends Component {
|
|
|
4500
4513
|
id="video8"
|
|
4501
4514
|
autoPlay
|
|
4502
4515
|
muted={true}
|
|
4516
|
+
disablePictureInPicture
|
|
4503
4517
|
className={`video ${this.state.noVideoEight ? 'isNoVideo' : ''}`}
|
|
4504
4518
|
/>
|
|
4505
4519
|
<audio id="audio8" autoPlay />
|
|
@@ -4526,6 +4540,7 @@ class Video extends Component {
|
|
|
4526
4540
|
id="video9"
|
|
4527
4541
|
autoPlay
|
|
4528
4542
|
muted={true}
|
|
4543
|
+
disablePictureInPicture
|
|
4529
4544
|
className={`video ${this.state.noVideoNine ? 'isNoVideo' : ''}`}
|
|
4530
4545
|
/>
|
|
4531
4546
|
<audio id="audio9" autoPlay />
|
|
@@ -4554,6 +4569,7 @@ class Video extends Component {
|
|
|
4554
4569
|
id="video10"
|
|
4555
4570
|
autoPlay
|
|
4556
4571
|
muted={true}
|
|
4572
|
+
disablePictureInPicture
|
|
4557
4573
|
className={`video ${this.state.noVideoTen ? 'isNoVideo' : ''}`}
|
|
4558
4574
|
/>
|
|
4559
4575
|
<audio id="audio10" autoPlay />
|
|
@@ -4580,6 +4596,7 @@ class Video extends Component {
|
|
|
4580
4596
|
id="video11"
|
|
4581
4597
|
autoPlay
|
|
4582
4598
|
muted={true}
|
|
4599
|
+
disablePictureInPicture
|
|
4583
4600
|
className={`video ${this.state.noVideoEleven ? 'isNoVideo' : ''}`}
|
|
4584
4601
|
/>
|
|
4585
4602
|
<audio id="audio11" autoPlay />
|
|
@@ -4607,6 +4624,7 @@ class Video extends Component {
|
|
|
4607
4624
|
id="video12"
|
|
4608
4625
|
autoPlay
|
|
4609
4626
|
muted={true}
|
|
4627
|
+
disablePictureInPicture
|
|
4610
4628
|
className={`video ${this.state.noVideoTwelve ? 'isNoVideo' : ''}`}
|
|
4611
4629
|
/>
|
|
4612
4630
|
<audio id="audio12" autoPlay />
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
float: right
|
|
14
14
|
}
|
|
15
15
|
.imgClassVoice{
|
|
16
|
-
width:
|
|
17
|
-
height:
|
|
18
|
-
margin-
|
|
16
|
+
width: 25Px;
|
|
17
|
+
height: 24Px;
|
|
18
|
+
margin-bottom: 4Px;
|
|
19
19
|
}
|
|
20
20
|
.sharedScreen{
|
|
21
21
|
font-size: 10px;
|
|
@@ -298,10 +298,9 @@
|
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
.voiceClass{
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
// transform: rotateY(180deg);
|
|
301
|
+
width: 25Px;
|
|
302
|
+
height: 25.3Px;
|
|
303
|
+
margin-bottom: 1Px;
|
|
305
304
|
}
|
|
306
305
|
.cameraAnMicrophone{
|
|
307
306
|
margin: 10px 20px;
|