react_hsbc_teller 1.2.1 → 1.2.4
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/api/api.js +21 -0
- package/packages/pages/foot/foot.jsx +3 -3
- package/packages/pages/foot/foot.less +10 -1
- package/packages/pages/video/video.jsx +501 -125
|
@@ -146,7 +146,45 @@ class Video extends Component {
|
|
|
146
146
|
noVideoTwelve: false,
|
|
147
147
|
manualClose: false,
|
|
148
148
|
defaultValue: '1',
|
|
149
|
-
customOcrSid: ''
|
|
149
|
+
customOcrSid: '',
|
|
150
|
+
isPIBIntranet: [
|
|
151
|
+
{
|
|
152
|
+
type: false
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
type: false
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
type: false
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
type: false
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
type: false
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
type: false
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
type: false
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
type: false
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
type: false
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
type: false
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
type: false
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
type: false
|
|
186
|
+
}
|
|
187
|
+
]
|
|
150
188
|
};
|
|
151
189
|
// eslint-disable-next-line no-undef
|
|
152
190
|
test_controller = '';
|
|
@@ -284,15 +322,6 @@ class Video extends Component {
|
|
|
284
322
|
publish_tag: 'tag1'
|
|
285
323
|
}
|
|
286
324
|
];
|
|
287
|
-
const recordParam = {};
|
|
288
|
-
recordParam.width = 640;
|
|
289
|
-
recordParam.height = 360;
|
|
290
|
-
recordParam.channels = 1;
|
|
291
|
-
recordParam.splitType = 0;
|
|
292
|
-
recordParam.startTimeout = 5;
|
|
293
|
-
recordParam.recordTotalStream = 0;
|
|
294
|
-
recordParam.endType = 1;
|
|
295
|
-
config_param.recordParam = recordParam;
|
|
296
325
|
config_param.initSubscribe = [
|
|
297
326
|
{
|
|
298
327
|
subscribe_video_id: 'video1',
|
|
@@ -337,8 +366,8 @@ class Video extends Component {
|
|
|
337
366
|
enableServerRecording = () => {
|
|
338
367
|
const filePath = 'recordId_' + new Date().valueOf();
|
|
339
368
|
const recordParam = {};
|
|
340
|
-
recordParam.width =
|
|
341
|
-
recordParam.height =
|
|
369
|
+
recordParam.width = 1920;
|
|
370
|
+
recordParam.height = 1080;
|
|
342
371
|
recordParam.recordTotalStream = 0;
|
|
343
372
|
recordParam.startTimeout = 10;
|
|
344
373
|
recordParam.splitType = 0;
|
|
@@ -370,101 +399,101 @@ class Video extends Component {
|
|
|
370
399
|
recordParam.tagPositions = [
|
|
371
400
|
{
|
|
372
401
|
tag: 'projectionWhiteboard',
|
|
373
|
-
xPosition:
|
|
374
|
-
yPosition:
|
|
375
|
-
width:
|
|
376
|
-
height:
|
|
402
|
+
xPosition: 0,
|
|
403
|
+
yPosition: 540,
|
|
404
|
+
width: 960,
|
|
405
|
+
height: 540
|
|
377
406
|
},
|
|
378
407
|
{
|
|
379
408
|
tag: 'VIDEO_SOURCE_SCREEN',
|
|
380
|
-
xPosition:
|
|
381
|
-
yPosition:
|
|
382
|
-
width:
|
|
383
|
-
height:
|
|
409
|
+
xPosition: 0,
|
|
410
|
+
yPosition: 180,
|
|
411
|
+
width: 640,
|
|
412
|
+
height: 360
|
|
384
413
|
},
|
|
385
414
|
{
|
|
386
415
|
tag: 'tag1',
|
|
387
|
-
xPosition:
|
|
388
|
-
yPosition:
|
|
389
|
-
width:
|
|
390
|
-
height:
|
|
416
|
+
xPosition: 0,
|
|
417
|
+
yPosition: 0,
|
|
418
|
+
width: 240,
|
|
419
|
+
height: 180
|
|
391
420
|
},
|
|
392
421
|
{
|
|
393
422
|
tag: 'customer1',
|
|
394
|
-
xPosition:
|
|
395
|
-
yPosition:
|
|
396
|
-
width:
|
|
397
|
-
height:
|
|
423
|
+
xPosition: 240,
|
|
424
|
+
yPosition: 0,
|
|
425
|
+
width: 240,
|
|
426
|
+
height: 180
|
|
398
427
|
},
|
|
399
428
|
{
|
|
400
429
|
tag: 'customer2',
|
|
401
|
-
xPosition:
|
|
402
|
-
yPosition:
|
|
403
|
-
width:
|
|
404
|
-
height:
|
|
430
|
+
xPosition: 480,
|
|
431
|
+
yPosition: 0,
|
|
432
|
+
width: 240,
|
|
433
|
+
height: 180
|
|
405
434
|
},
|
|
406
435
|
{
|
|
407
436
|
tag: 'customer3',
|
|
408
|
-
xPosition:
|
|
409
|
-
yPosition:
|
|
410
|
-
width:
|
|
411
|
-
height:
|
|
437
|
+
xPosition: 720,
|
|
438
|
+
yPosition: 0,
|
|
439
|
+
width: 240,
|
|
440
|
+
height: 180
|
|
412
441
|
},
|
|
413
442
|
{
|
|
414
443
|
tag: 'customer4',
|
|
415
|
-
xPosition:
|
|
416
|
-
yPosition:
|
|
417
|
-
width:
|
|
418
|
-
height:
|
|
444
|
+
xPosition: 960,
|
|
445
|
+
yPosition: 0,
|
|
446
|
+
width: 240,
|
|
447
|
+
height: 180
|
|
419
448
|
},
|
|
420
449
|
{
|
|
421
450
|
tag: 'customer5',
|
|
422
|
-
xPosition:
|
|
423
|
-
yPosition:
|
|
424
|
-
width:
|
|
425
|
-
height:
|
|
451
|
+
xPosition: 1200,
|
|
452
|
+
yPosition: 0,
|
|
453
|
+
width: 240,
|
|
454
|
+
height: 180
|
|
426
455
|
},
|
|
427
456
|
{
|
|
428
457
|
tag: 'customer6',
|
|
429
|
-
xPosition:
|
|
430
|
-
yPosition:
|
|
431
|
-
width:
|
|
432
|
-
height:
|
|
458
|
+
xPosition: 1440,
|
|
459
|
+
yPosition: 0,
|
|
460
|
+
width: 240,
|
|
461
|
+
height: 180
|
|
433
462
|
},
|
|
434
463
|
{
|
|
435
464
|
tag: 'customer7',
|
|
436
|
-
xPosition:
|
|
437
|
-
yPosition:
|
|
438
|
-
width:
|
|
439
|
-
height:
|
|
465
|
+
xPosition: 1680,
|
|
466
|
+
yPosition: 0,
|
|
467
|
+
width: 240,
|
|
468
|
+
height: 180
|
|
440
469
|
},
|
|
441
470
|
{
|
|
442
471
|
tag: 'customer8',
|
|
443
|
-
xPosition:
|
|
444
|
-
yPosition:
|
|
445
|
-
width:
|
|
446
|
-
height:
|
|
472
|
+
xPosition: 1680,
|
|
473
|
+
yPosition: 180,
|
|
474
|
+
width: 240,
|
|
475
|
+
height: 180
|
|
447
476
|
},
|
|
448
477
|
{
|
|
449
478
|
tag: 'customer9',
|
|
450
|
-
xPosition:
|
|
451
|
-
yPosition:
|
|
452
|
-
width:
|
|
453
|
-
height:
|
|
479
|
+
xPosition: 1680,
|
|
480
|
+
yPosition: 360,
|
|
481
|
+
width: 240,
|
|
482
|
+
height: 180
|
|
454
483
|
},
|
|
455
484
|
{
|
|
456
485
|
tag: 'customer10',
|
|
457
|
-
xPosition:
|
|
458
|
-
yPosition:
|
|
459
|
-
width:
|
|
460
|
-
height:
|
|
486
|
+
xPosition: 1680,
|
|
487
|
+
yPosition: 540,
|
|
488
|
+
width: 240,
|
|
489
|
+
height: 180
|
|
461
490
|
},
|
|
462
491
|
{
|
|
463
492
|
tag: 'customer11',
|
|
464
|
-
xPosition:
|
|
465
|
-
yPosition:
|
|
466
|
-
width:
|
|
467
|
-
height:
|
|
493
|
+
xPosition: 1680,
|
|
494
|
+
yPosition: 720,
|
|
495
|
+
width: 240,
|
|
496
|
+
height: 180
|
|
468
497
|
}
|
|
469
498
|
]
|
|
470
499
|
console.log('recordParam', recordParam);
|
|
@@ -543,100 +572,208 @@ class Video extends Component {
|
|
|
543
572
|
// 获取人员客户列表
|
|
544
573
|
selectCustomer = (val) => {
|
|
545
574
|
const list = []
|
|
546
|
-
if (document.getElementById('video1').name) {
|
|
575
|
+
if (document.getElementById('video1').name && !this.state.isPIBIntranet[0].type) {
|
|
547
576
|
console.log(this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId1").innerText))
|
|
548
577
|
// document.getElementById("feedId1").innerText
|
|
549
578
|
list.push({
|
|
550
579
|
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId1").innerText).feedId,
|
|
551
580
|
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId1").innerText).uid,
|
|
552
|
-
name: this.state.videoOneName,
|
|
581
|
+
name: this.state.videoOneName + '--OCR',
|
|
582
|
+
tourist: false
|
|
553
583
|
})
|
|
584
|
+
if(this.state.videoOneName.indexOf("客户") == -1) {
|
|
585
|
+
list.push({
|
|
586
|
+
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId1").innerText).feedId,
|
|
587
|
+
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId1").innerText).uid,
|
|
588
|
+
name: this.state.videoOneName + '--查询客户',
|
|
589
|
+
tourist: true
|
|
590
|
+
})
|
|
591
|
+
}
|
|
554
592
|
}
|
|
555
|
-
if (document.getElementById('video2').name) {
|
|
593
|
+
if (document.getElementById('video2').name && !this.state.isPIBIntranet[1].type) {
|
|
556
594
|
console.log(this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText))
|
|
557
595
|
// document.getElementById("feedId1").innerText
|
|
558
596
|
list.push({
|
|
559
597
|
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText).feedId,
|
|
560
598
|
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText).uid,
|
|
561
|
-
name: this.state.videoTwoName
|
|
599
|
+
name: this.state.videoTwoName + '--OCR',
|
|
600
|
+
tourist: false
|
|
562
601
|
})
|
|
602
|
+
if(this.state.videoTwoName.indexOf("客户") == -1) {
|
|
603
|
+
list.push({
|
|
604
|
+
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText).feedId,
|
|
605
|
+
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText).uid,
|
|
606
|
+
name: this.state.videoTwoName + '--查询客户',
|
|
607
|
+
tourist: true
|
|
608
|
+
})
|
|
609
|
+
}
|
|
563
610
|
}
|
|
564
|
-
if (document.getElementById('video3').name) {
|
|
611
|
+
if (document.getElementById('video3').name && !this.state.isPIBIntranet[2].type) {
|
|
565
612
|
console.log(this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText))
|
|
566
613
|
// document.getElementById("feedId1").innerText
|
|
567
614
|
list.push({
|
|
568
615
|
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).feedId,
|
|
569
616
|
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).uid,
|
|
570
|
-
name: this.state.videoThreeName
|
|
617
|
+
name: this.state.videoThreeName + '--OCR',
|
|
618
|
+
tourist: false
|
|
571
619
|
})
|
|
620
|
+
if(this.state.videoThreeName.indexOf("客户") == -1) {
|
|
621
|
+
list.push({
|
|
622
|
+
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).feedId,
|
|
623
|
+
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).uid,
|
|
624
|
+
name: this.state.videoThreeName + '--查询客户',
|
|
625
|
+
tourist: true
|
|
626
|
+
})
|
|
627
|
+
}
|
|
572
628
|
}
|
|
573
|
-
if (document.getElementById('video4').name) {
|
|
629
|
+
if (document.getElementById('video4').name && !this.state.isPIBIntranet[3].type) {
|
|
574
630
|
console.log(this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText))
|
|
575
631
|
// document.getElementById("feedId1").innerText
|
|
576
632
|
list.push({
|
|
577
633
|
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).feedId,
|
|
578
634
|
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).uid,
|
|
579
|
-
name: this.state.videoFourName
|
|
635
|
+
name: this.state.videoFourName + '--OCR',
|
|
636
|
+
tourist: false
|
|
580
637
|
})
|
|
638
|
+
if(this.state.videoFourName.indexOf("客户") == -1) {
|
|
639
|
+
list.push({
|
|
640
|
+
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).feedId,
|
|
641
|
+
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).uid,
|
|
642
|
+
name: this.state.videoFourName + '--查询客户',
|
|
643
|
+
tourist: true
|
|
644
|
+
})
|
|
645
|
+
}
|
|
581
646
|
}
|
|
582
|
-
if (document.getElementById('video5').name) {
|
|
647
|
+
if (document.getElementById('video5').name && !this.state.isPIBIntranet[4].type) {
|
|
583
648
|
console.log(this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText))
|
|
584
649
|
// document.getElementById("feedId1").innerText
|
|
585
650
|
list.push({
|
|
586
651
|
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).feedId,
|
|
587
652
|
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).uid,
|
|
588
|
-
name: this.state.videoFiveName
|
|
653
|
+
name: this.state.videoFiveName + '--OCR',
|
|
654
|
+
tourist: false
|
|
589
655
|
})
|
|
656
|
+
if(this.state.videoFiveName.indexOf("客户") == -1) {
|
|
657
|
+
list.push({
|
|
658
|
+
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).feedId,
|
|
659
|
+
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).uid,
|
|
660
|
+
name: this.state.videoFiveName + '--查询客户',
|
|
661
|
+
tourist: true
|
|
662
|
+
})
|
|
663
|
+
}
|
|
590
664
|
}
|
|
591
|
-
if (document.getElementById('video6').name) {
|
|
665
|
+
if (document.getElementById('video6').name && !this.state.isPIBIntranet[5].type) {
|
|
592
666
|
console.log(this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText))
|
|
593
667
|
list.push({
|
|
594
668
|
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).feedId,
|
|
595
669
|
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).uid,
|
|
596
|
-
name: this.state.videoSixName
|
|
670
|
+
name: this.state.videoSixName + '--OCR',
|
|
671
|
+
tourist: false
|
|
597
672
|
})
|
|
673
|
+
if(this.state.videoSixName.indexOf("客户") == -1) {
|
|
674
|
+
list.push({
|
|
675
|
+
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).feedId,
|
|
676
|
+
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).uid,
|
|
677
|
+
name: this.state.videoSixName + '--查询客户',
|
|
678
|
+
tourist: true
|
|
679
|
+
})
|
|
680
|
+
}
|
|
598
681
|
}
|
|
599
|
-
if (document.getElementById('video7').name) {
|
|
682
|
+
if (document.getElementById('video7').name && !this.state.isPIBIntranet[6].type) {
|
|
600
683
|
list.push({
|
|
601
684
|
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).feedId,
|
|
602
685
|
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).uid,
|
|
603
|
-
name: this.state.videoSevenName
|
|
686
|
+
name: this.state.videoSevenName + '--OCR',
|
|
687
|
+
tourist: false
|
|
604
688
|
})
|
|
689
|
+
if(this.state.videoSevenName.indexOf("客户") == -1) {
|
|
690
|
+
list.push({
|
|
691
|
+
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).feedId,
|
|
692
|
+
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).uid,
|
|
693
|
+
name: this.state.videoSevenName + '--查询客户',
|
|
694
|
+
tourist: true
|
|
695
|
+
})
|
|
696
|
+
}
|
|
605
697
|
}
|
|
606
|
-
if (document.getElementById('video8').name) {
|
|
698
|
+
if (document.getElementById('video8').name && !this.state.isPIBIntranet[7].type) {
|
|
607
699
|
list.push({
|
|
608
700
|
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).feedId,
|
|
609
701
|
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).uid,
|
|
610
|
-
name: this.state.videoEightName
|
|
702
|
+
name: this.state.videoEightName + '--OCR',
|
|
703
|
+
tourist: false
|
|
611
704
|
})
|
|
705
|
+
if(this.state.videoEightName.indexOf("客户") == -1) {
|
|
706
|
+
list.push({
|
|
707
|
+
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).feedId,
|
|
708
|
+
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).uid,
|
|
709
|
+
name: this.state.videoEightName + '--查询客户',
|
|
710
|
+
tourist: true
|
|
711
|
+
})
|
|
712
|
+
}
|
|
612
713
|
}
|
|
613
|
-
if (document.getElementById('video9').name) {
|
|
714
|
+
if (document.getElementById('video9').name && !this.state.isPIBIntranet[8].type) {
|
|
614
715
|
list.push({
|
|
615
716
|
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).feedId,
|
|
616
717
|
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).uid,
|
|
617
|
-
name: this.state.videoNineName
|
|
718
|
+
name: this.state.videoNineName + '--OCR',
|
|
719
|
+
tourist: false
|
|
618
720
|
})
|
|
721
|
+
if(this.state.videoNineName.indexOf("客户") == -1) {
|
|
722
|
+
list.push({
|
|
723
|
+
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).feedId,
|
|
724
|
+
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).uid,
|
|
725
|
+
name: this.state.videoNineName + '--查询客户',
|
|
726
|
+
tourist: true
|
|
727
|
+
})
|
|
728
|
+
}
|
|
619
729
|
}
|
|
620
|
-
if (document.getElementById('video10').name) {
|
|
730
|
+
if (document.getElementById('video10').name && !this.state.isPIBIntranet[9].type) {
|
|
621
731
|
list.push({
|
|
622
732
|
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).feedId,
|
|
623
733
|
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).uid,
|
|
624
|
-
name: this.state.videoTenName
|
|
734
|
+
name: this.state.videoTenName + '--OCR',
|
|
735
|
+
tourist: false
|
|
625
736
|
})
|
|
737
|
+
if(this.state.videoTenName.indexOf("客户") == -1) {
|
|
738
|
+
list.push({
|
|
739
|
+
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).feedId,
|
|
740
|
+
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).uid,
|
|
741
|
+
name: this.state.videoTenName + '--查询客户',
|
|
742
|
+
tourist: true
|
|
743
|
+
})
|
|
744
|
+
}
|
|
626
745
|
}
|
|
627
|
-
if (document.getElementById('video11').name) {
|
|
746
|
+
if (document.getElementById('video11').name && !this.state.isPIBIntranet[10].type) {
|
|
628
747
|
list.push({
|
|
629
748
|
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).feedId,
|
|
630
749
|
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).uid,
|
|
631
|
-
name: this.state.videoElevenName
|
|
750
|
+
name: this.state.videoElevenName + '--OCR',
|
|
751
|
+
tourist: false
|
|
632
752
|
})
|
|
753
|
+
if(this.state.videoElevenName.indexOf("客户") == -1) {
|
|
754
|
+
list.push({
|
|
755
|
+
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).feedId,
|
|
756
|
+
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).uid,
|
|
757
|
+
name: this.state.videoElevenName + '--查询客户',
|
|
758
|
+
tourist: true
|
|
759
|
+
})
|
|
760
|
+
}
|
|
633
761
|
}
|
|
634
|
-
if (document.getElementById('video12').name) {
|
|
762
|
+
if (document.getElementById('video12').name && !this.state.isPIBIntranet[11].type) {
|
|
635
763
|
list.push({
|
|
636
764
|
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).feedId,
|
|
637
765
|
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).uid,
|
|
638
|
-
name: this.state.videoTwelveName
|
|
766
|
+
name: this.state.videoTwelveName + '--OCR',
|
|
767
|
+
tourist: false
|
|
639
768
|
})
|
|
769
|
+
if(this.state.videoTwelveName.indexOf("客户") == -1) {
|
|
770
|
+
list.push({
|
|
771
|
+
feedId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).feedId,
|
|
772
|
+
customId: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).uid,
|
|
773
|
+
name: this.state.videoTwelveName + '--查询客户',
|
|
774
|
+
tourist: true
|
|
775
|
+
})
|
|
776
|
+
}
|
|
640
777
|
}
|
|
641
778
|
if (list.length > 0) {
|
|
642
779
|
if (val == 'ocr') {
|
|
@@ -656,19 +793,22 @@ class Video extends Component {
|
|
|
656
793
|
})
|
|
657
794
|
}
|
|
658
795
|
messageClick=(value,valueOne)=>{
|
|
796
|
+
console.log(value,valueOne)
|
|
659
797
|
if(valueOne == 'error') {
|
|
660
798
|
message.error({
|
|
661
799
|
content: value,
|
|
662
800
|
icon: <img src={require("../../assets/img/tooltips2_fail.png").default} alt="" ></img>,
|
|
663
801
|
className: 'errorClassName',
|
|
664
|
-
top: 200
|
|
802
|
+
top: 200,
|
|
803
|
+
duration: 10
|
|
665
804
|
})
|
|
666
805
|
} else if(valueOne == 'success') {
|
|
667
806
|
message.success({
|
|
668
807
|
content: value,
|
|
669
808
|
icon: <img src={require("../../assets/img/tooltips1_pass.png").default} alt="" ></img>,
|
|
670
809
|
className: 'successClassName',
|
|
671
|
-
top: 200
|
|
810
|
+
top: 200,
|
|
811
|
+
duration: 10
|
|
672
812
|
})
|
|
673
813
|
}
|
|
674
814
|
|
|
@@ -1594,14 +1734,14 @@ class Video extends Component {
|
|
|
1594
1734
|
if (!this.state.appId && !this.state.sessionType) {
|
|
1595
1735
|
this.mpaasSig(data);
|
|
1596
1736
|
let indexId = 0
|
|
1597
|
-
|
|
1598
|
-
if(item.actionname.indexOf('Integrated Camera' != -1)
|
|
1737
|
+
objList.map((item,index)=>{
|
|
1738
|
+
if(item.actionname.indexOf('Integrated Camera') != -1) {
|
|
1599
1739
|
indexId = index
|
|
1600
1740
|
}
|
|
1601
1741
|
})
|
|
1602
1742
|
this.setState({
|
|
1603
|
-
cameraValue:
|
|
1604
|
-
microphoneValue:
|
|
1743
|
+
cameraValue: objList[indexId].actionid,
|
|
1744
|
+
microphoneValue: objList1[0].actionid
|
|
1605
1745
|
})
|
|
1606
1746
|
} else {
|
|
1607
1747
|
this.setState({
|
|
@@ -1949,6 +2089,9 @@ class Video extends Component {
|
|
|
1949
2089
|
this.test_controller.OnNewJoinerIn = (participant) => {
|
|
1950
2090
|
console.log('新加⼊房间者', participant);
|
|
1951
2091
|
this.state.isCustomer= true
|
|
2092
|
+
// let audio = document.createElement('audio') //生成一个audio元素
|
|
2093
|
+
// audio.src = 'http://mp3.9ku.com/hot/2005/05-19/65937.mp3' //音乐的路径
|
|
2094
|
+
// audio.play()
|
|
1952
2095
|
};
|
|
1953
2096
|
// 推送“有新发布”给与会者
|
|
1954
2097
|
this.test_controller.OnNewPublish = (feed) => {
|
|
@@ -2201,6 +2344,7 @@ class Video extends Component {
|
|
|
2201
2344
|
}
|
|
2202
2345
|
})
|
|
2203
2346
|
if (!document.getElementById("video1").name) {
|
|
2347
|
+
this.state.isPIBIntranet[0].type = false
|
|
2204
2348
|
this.setState({
|
|
2205
2349
|
videoOneName: '',
|
|
2206
2350
|
voiceVideoOne: false,
|
|
@@ -2208,6 +2352,7 @@ class Video extends Component {
|
|
|
2208
2352
|
})
|
|
2209
2353
|
}
|
|
2210
2354
|
if (!document.getElementById("video2").name) {
|
|
2355
|
+
this.state.isPIBIntranet[1].type = false
|
|
2211
2356
|
this.setState({
|
|
2212
2357
|
videoTwoName: '',
|
|
2213
2358
|
voiceVideoTwo: false,
|
|
@@ -2215,6 +2360,7 @@ class Video extends Component {
|
|
|
2215
2360
|
})
|
|
2216
2361
|
}
|
|
2217
2362
|
if (!document.getElementById("video3").name) {
|
|
2363
|
+
this.state.isPIBIntranet[2].type = false
|
|
2218
2364
|
this.setState({
|
|
2219
2365
|
videoThreeName: '',
|
|
2220
2366
|
voiceVideoThree: false,
|
|
@@ -2222,6 +2368,7 @@ class Video extends Component {
|
|
|
2222
2368
|
})
|
|
2223
2369
|
}
|
|
2224
2370
|
if (!document.getElementById("video4").name) {
|
|
2371
|
+
this.state.isPIBIntranet[3].type = false
|
|
2225
2372
|
this.setState({
|
|
2226
2373
|
videoFourName: '',
|
|
2227
2374
|
voiceVideoFour: false,
|
|
@@ -2229,6 +2376,7 @@ class Video extends Component {
|
|
|
2229
2376
|
})
|
|
2230
2377
|
}
|
|
2231
2378
|
if (!document.getElementById("video5").name) {
|
|
2379
|
+
this.state.isPIBIntranet[4].type = false
|
|
2232
2380
|
this.setState({
|
|
2233
2381
|
videoFiveName: '',
|
|
2234
2382
|
voiceVideoFive: false,
|
|
@@ -2236,6 +2384,7 @@ class Video extends Component {
|
|
|
2236
2384
|
})
|
|
2237
2385
|
}
|
|
2238
2386
|
if (!document.getElementById("video6").name) {
|
|
2387
|
+
this.state.isPIBIntranet[5].type = false
|
|
2239
2388
|
this.setState({
|
|
2240
2389
|
videoSixName: '',
|
|
2241
2390
|
voiceVideoSix: false,
|
|
@@ -2244,6 +2393,7 @@ class Video extends Component {
|
|
|
2244
2393
|
}
|
|
2245
2394
|
|
|
2246
2395
|
if (!document.getElementById("video7").name) {
|
|
2396
|
+
this.state.isPIBIntranet[6].type = false
|
|
2247
2397
|
this.setState({
|
|
2248
2398
|
videoSevenName: '',
|
|
2249
2399
|
voiceVideoSeven: false,
|
|
@@ -2251,6 +2401,7 @@ class Video extends Component {
|
|
|
2251
2401
|
})
|
|
2252
2402
|
}
|
|
2253
2403
|
if (!document.getElementById("video8").name) {
|
|
2404
|
+
this.state.isPIBIntranet[7].type = false
|
|
2254
2405
|
this.setState({
|
|
2255
2406
|
videoEightName: '',
|
|
2256
2407
|
voiceVideoEight: false,
|
|
@@ -2258,6 +2409,7 @@ class Video extends Component {
|
|
|
2258
2409
|
})
|
|
2259
2410
|
}
|
|
2260
2411
|
if (!document.getElementById("video9").name) {
|
|
2412
|
+
this.state.isPIBIntranet[8].type = false
|
|
2261
2413
|
this.setState({
|
|
2262
2414
|
videoNineName: '',
|
|
2263
2415
|
voiceVideoNine: false,
|
|
@@ -2265,6 +2417,7 @@ class Video extends Component {
|
|
|
2265
2417
|
})
|
|
2266
2418
|
}
|
|
2267
2419
|
if (!document.getElementById("video10").name) {
|
|
2420
|
+
this.state.isPIBIntranet[9].type = false
|
|
2268
2421
|
this.setState({
|
|
2269
2422
|
videoTenName: '',
|
|
2270
2423
|
voiceVideoTen: false,
|
|
@@ -2272,6 +2425,7 @@ class Video extends Component {
|
|
|
2272
2425
|
})
|
|
2273
2426
|
}
|
|
2274
2427
|
if (!document.getElementById("video11").name) {
|
|
2428
|
+
this.state.isPIBIntranet[10].type = false
|
|
2275
2429
|
this.setState({
|
|
2276
2430
|
videoElevenName: '',
|
|
2277
2431
|
voiceVideoEleven: false,
|
|
@@ -2279,6 +2433,7 @@ class Video extends Component {
|
|
|
2279
2433
|
})
|
|
2280
2434
|
}
|
|
2281
2435
|
if (!document.getElementById("video12").name) {
|
|
2436
|
+
this.state.isPIBIntranet[11].type = false
|
|
2282
2437
|
this.setState({
|
|
2283
2438
|
videoTwelveName: '',
|
|
2284
2439
|
voiceVideoTwelve: false,
|
|
@@ -2319,7 +2474,16 @@ class Video extends Component {
|
|
|
2319
2474
|
exitType
|
|
2320
2475
|
) => {
|
|
2321
2476
|
console.log('退出房间者', participant, exitType)
|
|
2322
|
-
this.
|
|
2477
|
+
this.appGetUsernameClick(participant).then((res)=>{
|
|
2478
|
+
console.log('退出房间者',res)
|
|
2479
|
+
let data = res? res : '客户'
|
|
2480
|
+
console.log(data)
|
|
2481
|
+
this.messageClick(( data + '已退出会议'),'error')
|
|
2482
|
+
// let audio = document.createElement('audio') //生成一个audio元素
|
|
2483
|
+
// audio.src = 'http://mp3.9ku.com/hot/2005/05-19/65937.mp3' //音乐的路径
|
|
2484
|
+
// audio.play()
|
|
2485
|
+
})
|
|
2486
|
+
|
|
2323
2487
|
};
|
|
2324
2488
|
// 弱网回调
|
|
2325
2489
|
this.test_controller.OnNetworkWeak = (bpsSend, bpsRecv, sid) => {
|
|
@@ -2614,7 +2778,7 @@ class Video extends Component {
|
|
|
2614
2778
|
let startY = y1 - height // 绘制起始点y
|
|
2615
2779
|
ctx.fillRect(startX, startY, width, height)
|
|
2616
2780
|
if(document.getElementById('publish_video1').name == sid) {
|
|
2617
|
-
this.state.analyserHeight.set(sid,
|
|
2781
|
+
this.state.analyserHeight.set(sid,dataArray[step * 20] / 256.0)
|
|
2618
2782
|
this.state.analyserHeight = this.state.analyserHeight
|
|
2619
2783
|
}
|
|
2620
2784
|
|
|
@@ -2723,7 +2887,7 @@ class Video extends Component {
|
|
|
2723
2887
|
this.state.manualClose = true
|
|
2724
2888
|
disconnect();
|
|
2725
2889
|
}
|
|
2726
|
-
|
|
2890
|
+
message.destroy()
|
|
2727
2891
|
}
|
|
2728
2892
|
finishSessionClick= async () => {
|
|
2729
2893
|
try {
|
|
@@ -3284,8 +3448,34 @@ class Video extends Component {
|
|
|
3284
3448
|
employeeNumber: event.target.value
|
|
3285
3449
|
})
|
|
3286
3450
|
}
|
|
3451
|
+
retrieveCustomerInfoByActivityId = async (value) =>{
|
|
3452
|
+
try {
|
|
3453
|
+
let result = await API.retrieveCustomerInfoByActivityId({
|
|
3454
|
+
activityId: this.props.businessNumber,
|
|
3455
|
+
sessionId: this.state.sessionId,
|
|
3456
|
+
appAccount: value
|
|
3457
|
+
});
|
|
3458
|
+
console.log(result)
|
|
3459
|
+
|
|
3460
|
+
if (result.code == 200) {
|
|
3461
|
+
this.messageClick('查询客户信息成功','success')
|
|
3462
|
+
} else {
|
|
3463
|
+
this.messageClick('查询客户信息失败','error')
|
|
3464
|
+
}
|
|
3465
|
+
}catch (err) {
|
|
3466
|
+
this.messageClick('查询客户信息失败','error')
|
|
3467
|
+
}
|
|
3468
|
+
this.setState({
|
|
3469
|
+
clickedFacial: false,
|
|
3470
|
+
clickedOcr: false,
|
|
3471
|
+
|
|
3472
|
+
})
|
|
3473
|
+
}
|
|
3287
3474
|
customerFaceClick = (item) => {
|
|
3288
3475
|
console.log(item)
|
|
3476
|
+
if(item.tourist) {
|
|
3477
|
+
this.retrieveCustomerInfoByActivityId(item.customId)
|
|
3478
|
+
} else {
|
|
3289
3479
|
var sid
|
|
3290
3480
|
if (item.feedId == document.getElementById("feedId1").innerText) {
|
|
3291
3481
|
sid = document.getElementById('video1').name;
|
|
@@ -3323,6 +3513,7 @@ class Video extends Component {
|
|
|
3323
3513
|
facialImg: this.test_controller.TakePicture(1, undefined, undefined, sid, 'png')
|
|
3324
3514
|
})
|
|
3325
3515
|
}
|
|
3516
|
+
}
|
|
3326
3517
|
handleChangeOcr =(val)=> {
|
|
3327
3518
|
console.log(val)
|
|
3328
3519
|
this.setState({
|
|
@@ -3336,6 +3527,23 @@ class Video extends Component {
|
|
|
3336
3527
|
this.state.sessionId = props.sessionId,
|
|
3337
3528
|
this.state.imRoomId = props.imRoomId
|
|
3338
3529
|
}
|
|
3530
|
+
appGetUsernameClick = async(userId) =>{
|
|
3531
|
+
let data = ''
|
|
3532
|
+
try {
|
|
3533
|
+
let result = await API.appGetUsername({
|
|
3534
|
+
userId: userId,
|
|
3535
|
+
sessionId: this.state.sessionId
|
|
3536
|
+
});
|
|
3537
|
+
console.log(result)
|
|
3538
|
+
|
|
3539
|
+
if (result.code == 200) {
|
|
3540
|
+
data = result.data.username ? result.data.username : ''
|
|
3541
|
+
}
|
|
3542
|
+
return data
|
|
3543
|
+
}catch (err) {
|
|
3544
|
+
return data
|
|
3545
|
+
}
|
|
3546
|
+
}
|
|
3339
3547
|
appGetUsername = async (sid) => {
|
|
3340
3548
|
console.log(sid)
|
|
3341
3549
|
let userId = ''
|
|
@@ -3383,8 +3591,10 @@ class Video extends Component {
|
|
|
3383
3591
|
});
|
|
3384
3592
|
console.log(result)
|
|
3385
3593
|
let data
|
|
3594
|
+
let typeIntranet
|
|
3386
3595
|
if (result.code == 200) {
|
|
3387
3596
|
data = result.data.username ? result.data.username : ''
|
|
3597
|
+
typeIntranet = result.data.userType ? result.data.userType : ''
|
|
3388
3598
|
} else {
|
|
3389
3599
|
this.messageClick('查询失败','error')
|
|
3390
3600
|
}
|
|
@@ -3394,53 +3604,88 @@ class Video extends Component {
|
|
|
3394
3604
|
})
|
|
3395
3605
|
}
|
|
3396
3606
|
if (document.getElementById('video1').name == sid) {
|
|
3397
|
-
|
|
3607
|
+
if(typeIntranet && typeIntranet == 2) {
|
|
3608
|
+
this.state.isPIBIntranet[0].type = true
|
|
3609
|
+
}
|
|
3398
3610
|
this.setState({
|
|
3399
3611
|
videoOneName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId1").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户1'
|
|
3400
3612
|
})
|
|
3401
3613
|
}
|
|
3402
3614
|
if (document.getElementById('video2').name == sid) {
|
|
3615
|
+
if(typeIntranet && typeIntranet == 2) {
|
|
3616
|
+
this.state.isPIBIntranet[1].type = true
|
|
3617
|
+
}
|
|
3403
3618
|
this.setState({
|
|
3404
3619
|
videoTwoName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户2'
|
|
3405
3620
|
})
|
|
3406
3621
|
} if (document.getElementById('video3').name == sid) {
|
|
3622
|
+
if(typeIntranet && typeIntranet == 2) {
|
|
3623
|
+
this.state.isPIBIntranet[2].type = true
|
|
3624
|
+
}
|
|
3407
3625
|
this.setState({
|
|
3408
3626
|
videoThreeName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户3'
|
|
3409
3627
|
})
|
|
3410
3628
|
} if (document.getElementById('video4').name == sid) {
|
|
3629
|
+
if(typeIntranet && typeIntranet == 2) {
|
|
3630
|
+
this.state.isPIBIntranet[3].type = true
|
|
3631
|
+
}
|
|
3411
3632
|
this.setState({
|
|
3412
3633
|
videoFourName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户4'
|
|
3413
3634
|
})
|
|
3414
3635
|
} if (document.getElementById('video5').name == sid) {
|
|
3636
|
+
if(typeIntranet && typeIntranet == 2) {
|
|
3637
|
+
this.state.isPIBIntranet[4].type = true
|
|
3638
|
+
}
|
|
3415
3639
|
this.setState({
|
|
3416
3640
|
videoFiveName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户5'
|
|
3417
3641
|
})
|
|
3418
3642
|
} if (document.getElementById('video6').name == sid) {
|
|
3643
|
+
if(typeIntranet && typeIntranet == 2) {
|
|
3644
|
+
this.state.isPIBIntranet[5].type = true
|
|
3645
|
+
}
|
|
3419
3646
|
this.setState({
|
|
3420
3647
|
videoSixName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户6'
|
|
3421
3648
|
})
|
|
3422
3649
|
}
|
|
3423
3650
|
if (document.getElementById('video7').name == sid) {
|
|
3651
|
+
if(typeIntranet && typeIntranet == 2) {
|
|
3652
|
+
this.state.isPIBIntranet[6].type = true
|
|
3653
|
+
}
|
|
3424
3654
|
this.setState({
|
|
3425
3655
|
videoSevenName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户7'
|
|
3426
3656
|
})
|
|
3427
3657
|
} if (document.getElementById('video8').name == sid) {
|
|
3658
|
+
if(typeIntranet && typeIntranet == 2) {
|
|
3659
|
+
this.state.isPIBIntranet[7].type = true
|
|
3660
|
+
}
|
|
3428
3661
|
this.setState({
|
|
3429
3662
|
videoEightName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户8'
|
|
3430
3663
|
})
|
|
3431
3664
|
} if (document.getElementById('video9').name == sid) {
|
|
3665
|
+
if(typeIntranet && typeIntranet == 2) {
|
|
3666
|
+
this.state.isPIBIntranet[8].type = true
|
|
3667
|
+
}
|
|
3432
3668
|
this.setState({
|
|
3433
3669
|
videoNineName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户9'
|
|
3434
3670
|
})
|
|
3435
3671
|
} if (document.getElementById('video10').name == sid) {
|
|
3672
|
+
if(typeIntranet && typeIntranet == 2) {
|
|
3673
|
+
this.state.isPIBIntranet[9].type = true
|
|
3674
|
+
}
|
|
3436
3675
|
this.setState({
|
|
3437
3676
|
videoTenName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户10'
|
|
3438
3677
|
})
|
|
3439
3678
|
} if (document.getElementById('video11').name == sid) {
|
|
3679
|
+
if(typeIntranet && typeIntranet == 2) {
|
|
3680
|
+
this.state.isPIBIntranet[10].type = true
|
|
3681
|
+
}
|
|
3440
3682
|
this.setState({
|
|
3441
3683
|
videoElevenName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户11'
|
|
3442
3684
|
})
|
|
3443
3685
|
} if (document.getElementById('video12').name == sid) {
|
|
3686
|
+
if(typeIntranet && typeIntranet == 2) {
|
|
3687
|
+
this.state.isPIBIntranet[11].type = true
|
|
3688
|
+
}
|
|
3444
3689
|
this.setState({
|
|
3445
3690
|
videoTwelveName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户12'
|
|
3446
3691
|
})
|
|
@@ -3477,7 +3722,7 @@ class Video extends Component {
|
|
|
3477
3722
|
employeeError: result.data.staffName ? '' : '查无此人',
|
|
3478
3723
|
})
|
|
3479
3724
|
if(result.data.staffName){
|
|
3480
|
-
this.state.linkData =
|
|
3725
|
+
this.state.linkData = this.props.internalUrl + '&appointmentID='+ this.props.businessNumber + '&staffID='+this.state.employeeNumber+'&staffName='+ encodeURIComponent(result.data.staffName)
|
|
3481
3726
|
|
|
3482
3727
|
}
|
|
3483
3728
|
} else {
|
|
@@ -3517,11 +3762,13 @@ class Video extends Component {
|
|
|
3517
3762
|
const canvas = document.createElement('canvas');
|
|
3518
3763
|
const videoMedia = document.getElementById('manedvideo');
|
|
3519
3764
|
const cobj = canvas.getContext('2d'); // 获取绘图环境
|
|
3520
|
-
const left =
|
|
3521
|
-
const top = document.getElementById("whiteboardDIV").getBoundingClientRect().top
|
|
3765
|
+
const left =document.getElementById("allHSBC").getBoundingClientRect().left;
|
|
3522
3766
|
const right = document.getElementById("whiteboardDIV").getBoundingClientRect().right
|
|
3523
|
-
const
|
|
3524
|
-
const
|
|
3767
|
+
const top = document.getElementById("whiteboardDIV").getBoundingClientRect().top
|
|
3768
|
+
const bottom = document.getElementById("whiteboardDIV").getBoundingClientRect().bottom
|
|
3769
|
+
const width = right - left
|
|
3770
|
+
const height = bottom - top + 10
|
|
3771
|
+
const x = left - 20 > 0 ? left - 20 : 0
|
|
3525
3772
|
canvas.width = width;
|
|
3526
3773
|
canvas.height = height;
|
|
3527
3774
|
videoMedia.addEventListener('play', (event) =>{
|
|
@@ -3530,7 +3777,7 @@ class Video extends Component {
|
|
|
3530
3777
|
loop()
|
|
3531
3778
|
function loop() {
|
|
3532
3779
|
if (!$this.paused && !$this.ended) {
|
|
3533
|
-
cobj.drawImage(videoMedia,
|
|
3780
|
+
cobj.drawImage(videoMedia, x, top, width, height, 0, 0,width, height,);
|
|
3534
3781
|
setTimeout(loop, 1000 / 10); // drawing at 30fps
|
|
3535
3782
|
}
|
|
3536
3783
|
}
|
|
@@ -3671,7 +3918,123 @@ class Video extends Component {
|
|
|
3671
3918
|
console.log('whiteboardDIV', this.state.whiteboardHeight,box.clientHeight,this.state.whiteboardWidth)
|
|
3672
3919
|
}
|
|
3673
3920
|
}
|
|
3674
|
-
|
|
3921
|
+
muteOpposite = (value) => {
|
|
3922
|
+
console.log(value);
|
|
3923
|
+
if (value == 'video1') {
|
|
3924
|
+
callNimIM('sendCustomCmdMsg', {
|
|
3925
|
+
customId: this.state.imRoomId,
|
|
3926
|
+
content: JSON.stringify({
|
|
3927
|
+
'typeId': 1223,
|
|
3928
|
+
'sessionId': this.state.sessionId,
|
|
3929
|
+
'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
|
|
3930
|
+
})
|
|
3931
|
+
});
|
|
3932
|
+
}
|
|
3933
|
+
if (value == 'video2') {
|
|
3934
|
+
callNimIM('sendCustomCmdMsg', {
|
|
3935
|
+
customId: this.state.imRoomId,
|
|
3936
|
+
content: JSON.stringify({
|
|
3937
|
+
'typeId': 1223,
|
|
3938
|
+
'sessionId': this.state.sessionId,
|
|
3939
|
+
'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
|
|
3940
|
+
})
|
|
3941
|
+
});
|
|
3942
|
+
}if (value == 'video3') {
|
|
3943
|
+
callNimIM('sendCustomCmdMsg', {
|
|
3944
|
+
customId: this.state.imRoomId,
|
|
3945
|
+
content: JSON.stringify({
|
|
3946
|
+
'typeId': 1223,
|
|
3947
|
+
'sessionId': this.state.sessionId,
|
|
3948
|
+
'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
|
|
3949
|
+
})
|
|
3950
|
+
});
|
|
3951
|
+
}if (value == 'video4') {
|
|
3952
|
+
callNimIM('sendCustomCmdMsg', {
|
|
3953
|
+
customId: this.state.imRoomId,
|
|
3954
|
+
content: JSON.stringify({
|
|
3955
|
+
'typeId': 1223,
|
|
3956
|
+
'sessionId': this.state.sessionId,
|
|
3957
|
+
'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
|
|
3958
|
+
})
|
|
3959
|
+
});
|
|
3960
|
+
}if (value == 'video5') {
|
|
3961
|
+
callNimIM('sendCustomCmdMsg', {
|
|
3962
|
+
customId: this.state.imRoomId,
|
|
3963
|
+
content: JSON.stringify({
|
|
3964
|
+
'typeId': 1223,
|
|
3965
|
+
'sessionId': this.state.sessionId,
|
|
3966
|
+
'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
|
|
3967
|
+
})
|
|
3968
|
+
});
|
|
3969
|
+
}if (value == 'video6') {
|
|
3970
|
+
callNimIM('sendCustomCmdMsg', {
|
|
3971
|
+
customId: this.state.imRoomId,
|
|
3972
|
+
content: JSON.stringify({
|
|
3973
|
+
'typeId': 1223,
|
|
3974
|
+
'sessionId': this.state.sessionId,
|
|
3975
|
+
'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
|
|
3976
|
+
})
|
|
3977
|
+
});
|
|
3978
|
+
}if (value == 'video7') {
|
|
3979
|
+
callNimIM('sendCustomCmdMsg', {
|
|
3980
|
+
customId: this.state.imRoomId,
|
|
3981
|
+
content: JSON.stringify({
|
|
3982
|
+
'typeId': 1223,
|
|
3983
|
+
'sessionId': this.state.sessionId,
|
|
3984
|
+
'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
|
|
3985
|
+
})
|
|
3986
|
+
});
|
|
3987
|
+
}if (value == 'video8') {
|
|
3988
|
+
callNimIM('sendCustomCmdMsg', {
|
|
3989
|
+
customId: this.state.imRoomId,
|
|
3990
|
+
content: JSON.stringify({
|
|
3991
|
+
'typeId': 1223,
|
|
3992
|
+
'sessionId': this.state.sessionId,
|
|
3993
|
+
'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
|
|
3994
|
+
})
|
|
3995
|
+
});
|
|
3996
|
+
}if (value == 'video9') {
|
|
3997
|
+
callNimIM('sendCustomCmdMsg', {
|
|
3998
|
+
customId: this.state.imRoomId,
|
|
3999
|
+
content: JSON.stringify({
|
|
4000
|
+
'typeId': 1223,
|
|
4001
|
+
'sessionId': this.state.sessionId,
|
|
4002
|
+
'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
|
|
4003
|
+
})
|
|
4004
|
+
});
|
|
4005
|
+
}
|
|
4006
|
+
if (value == 'video10') {
|
|
4007
|
+
callNimIM('sendCustomCmdMsg', {
|
|
4008
|
+
customId: this.state.imRoomId,
|
|
4009
|
+
content: JSON.stringify({
|
|
4010
|
+
'typeId': 1223,
|
|
4011
|
+
'sessionId': this.state.sessionId,
|
|
4012
|
+
'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
|
|
4013
|
+
})
|
|
4014
|
+
});
|
|
4015
|
+
}
|
|
4016
|
+
if (value == 'video11') {
|
|
4017
|
+
callNimIM('sendCustomCmdMsg', {
|
|
4018
|
+
customId: this.state.imRoomId,
|
|
4019
|
+
content: JSON.stringify({
|
|
4020
|
+
'typeId': 1223,
|
|
4021
|
+
'sessionId': this.state.sessionId,
|
|
4022
|
+
'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
|
|
4023
|
+
})
|
|
4024
|
+
});
|
|
4025
|
+
}
|
|
4026
|
+
if (value == 'video12') {
|
|
4027
|
+
callNimIM('sendCustomCmdMsg', {
|
|
4028
|
+
customId: this.state.imRoomId,
|
|
4029
|
+
content: JSON.stringify({
|
|
4030
|
+
'typeId': 1223,
|
|
4031
|
+
'sessionId': this.state.sessionId,
|
|
4032
|
+
'userId': this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById('feedId1').innerText).uid
|
|
4033
|
+
})
|
|
4034
|
+
});
|
|
4035
|
+
}
|
|
4036
|
+
|
|
4037
|
+
}
|
|
3675
4038
|
render() {
|
|
3676
4039
|
const { meetingInfo,isTranscribing } = this.props
|
|
3677
4040
|
var pdfChildren
|
|
@@ -3910,6 +4273,7 @@ class Video extends Component {
|
|
|
3910
4273
|
<label style={{ display: 'none' }} id="feedId1" type="text" />
|
|
3911
4274
|
|
|
3912
4275
|
<div style={{ display: (this.state.videoOneName) ? '' : 'none' }} className={`customerTitle titleSamlle`}>
|
|
4276
|
+
<div onClick={this.muteOpposite.bind(this,'video1')}>
|
|
3913
4277
|
{
|
|
3914
4278
|
this.state.voiceVideoOne && <img
|
|
3915
4279
|
alt=""
|
|
@@ -3918,7 +4282,7 @@ class Video extends Component {
|
|
|
3918
4282
|
/>
|
|
3919
4283
|
}
|
|
3920
4284
|
<canvas style={{ display: (this.state.videoOneName && !this.state.voiceVideoOne) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px'}} className="canvasClassOne" id="subscribe_volumeView1" width="40" height="70"></canvas>
|
|
3921
|
-
|
|
4285
|
+
</div>
|
|
3922
4286
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
3923
4287
|
{this.state.videoOneName}
|
|
3924
4288
|
</div>
|
|
@@ -3938,6 +4302,7 @@ class Video extends Component {
|
|
|
3938
4302
|
<label style={{ display: 'none' }} id="feedId2" type="text" />
|
|
3939
4303
|
|
|
3940
4304
|
<div style={{ display: (this.state.videoTwoName) ? '' : 'none' }} className={`customerTitle titleSamlle`}>
|
|
4305
|
+
<div onClick={this.muteOpposite.bind(this,'video2')}>
|
|
3941
4306
|
{
|
|
3942
4307
|
this.state.voiceVideoTwo && <img
|
|
3943
4308
|
alt=""
|
|
@@ -3946,7 +4311,7 @@ class Video extends Component {
|
|
|
3946
4311
|
/>
|
|
3947
4312
|
}
|
|
3948
4313
|
<canvas style={{ display: (this.state.videoTwoName && !this.state.voiceVideoTwo) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView2" width="40" height="70"></canvas>
|
|
3949
|
-
|
|
4314
|
+
</div>
|
|
3950
4315
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
3951
4316
|
{this.state.videoTwoName}
|
|
3952
4317
|
</div>
|
|
@@ -3964,6 +4329,7 @@ class Video extends Component {
|
|
|
3964
4329
|
<label style={{ display: 'none' }} id="feedId3" type="text" />
|
|
3965
4330
|
|
|
3966
4331
|
<div style={{ display: (this.state.videoThreeName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
4332
|
+
<div onClick={this.muteOpposite.bind(this,'video3')}>
|
|
3967
4333
|
{
|
|
3968
4334
|
this.state.voiceVideoThree && <img
|
|
3969
4335
|
alt=""
|
|
@@ -3972,7 +4338,7 @@ class Video extends Component {
|
|
|
3972
4338
|
/>
|
|
3973
4339
|
}
|
|
3974
4340
|
<canvas style={{ display: (this.state.videoThreeName && !this.state.voiceVideoThree) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView3" width="40" height="70"></canvas>
|
|
3975
|
-
|
|
4341
|
+
</div>
|
|
3976
4342
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
3977
4343
|
{this.state.videoThreeName}
|
|
3978
4344
|
</div>
|
|
@@ -3989,6 +4355,7 @@ class Video extends Component {
|
|
|
3989
4355
|
<label style={{ display: 'none' }} id="feedId4" type="text" />
|
|
3990
4356
|
|
|
3991
4357
|
<div style={{ display: (this.state.videoFourName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
4358
|
+
<div onClick={this.muteOpposite.bind(this,'video4')}>
|
|
3992
4359
|
{
|
|
3993
4360
|
this.state.voiceVideoFour && <img
|
|
3994
4361
|
alt=""
|
|
@@ -3997,7 +4364,7 @@ class Video extends Component {
|
|
|
3997
4364
|
/>
|
|
3998
4365
|
}
|
|
3999
4366
|
<canvas style={{ display: (this.state.videoFourName && !this.state.voiceVideoFour) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView4" width="40" height="70"></canvas>
|
|
4000
|
-
|
|
4367
|
+
</div>
|
|
4001
4368
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
4002
4369
|
{this.state.videoFourName}
|
|
4003
4370
|
</div>
|
|
@@ -4015,6 +4382,7 @@ class Video extends Component {
|
|
|
4015
4382
|
<label style={{ display: 'none' }} id="feedId5" type="text" />
|
|
4016
4383
|
|
|
4017
4384
|
<div style={{ display: (this.state.videoFiveName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
4385
|
+
<div onClick={this.muteOpposite.bind(this,'video5')}>
|
|
4018
4386
|
{
|
|
4019
4387
|
this.state.voiceVideoFive && <img
|
|
4020
4388
|
alt=""
|
|
@@ -4023,7 +4391,7 @@ class Video extends Component {
|
|
|
4023
4391
|
/>
|
|
4024
4392
|
}
|
|
4025
4393
|
<canvas style={{ display: (this.state.videoFiveName && !this.state.voiceVideoFive) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView5" width="40" height="70"></canvas>
|
|
4026
|
-
|
|
4394
|
+
</div>
|
|
4027
4395
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
4028
4396
|
{this.state.videoFiveName}
|
|
4029
4397
|
</div>
|
|
@@ -4040,6 +4408,7 @@ class Video extends Component {
|
|
|
4040
4408
|
<label style={{ display: 'none' }} id="feedId6" type="text" />
|
|
4041
4409
|
|
|
4042
4410
|
<div style={{ display: (this.state.videoSixName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
4411
|
+
<div onClick={this.muteOpposite.bind(this,'video6')}>
|
|
4043
4412
|
{
|
|
4044
4413
|
this.state.voiceVideoSix && <img
|
|
4045
4414
|
alt=""
|
|
@@ -4048,7 +4417,7 @@ class Video extends Component {
|
|
|
4048
4417
|
/>
|
|
4049
4418
|
}
|
|
4050
4419
|
<canvas style={{ display: (!this.state.voiceVideoSix) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView6" width="40" height="70"></canvas>
|
|
4051
|
-
|
|
4420
|
+
</div>
|
|
4052
4421
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
4053
4422
|
{this.state.videoSixName}
|
|
4054
4423
|
</div>
|
|
@@ -4077,6 +4446,7 @@ class Video extends Component {
|
|
|
4077
4446
|
<label style={{ display: 'none' }} id="feedId7" type="text" />
|
|
4078
4447
|
|
|
4079
4448
|
<div style={{ display: (this.state.videoSevenName) ? '' : 'none' }} className={`customerTitle titleSamlle`}>
|
|
4449
|
+
<div onClick={this.muteOpposite.bind(this,'video7')}>
|
|
4080
4450
|
{
|
|
4081
4451
|
this.state.voiceVideoSeven && <img
|
|
4082
4452
|
alt=""
|
|
@@ -4085,7 +4455,7 @@ class Video extends Component {
|
|
|
4085
4455
|
/>
|
|
4086
4456
|
}
|
|
4087
4457
|
<canvas style={{ display: (this.state.videoSevenName && !this.state.voiceVideoSeven) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView7" width="40" height="70"></canvas>
|
|
4088
|
-
|
|
4458
|
+
</div>
|
|
4089
4459
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
4090
4460
|
{this.state.videoSevenName}
|
|
4091
4461
|
</div>
|
|
@@ -4105,6 +4475,7 @@ class Video extends Component {
|
|
|
4105
4475
|
<label style={{ display: 'none' }} id="feedId8" type="text" />
|
|
4106
4476
|
|
|
4107
4477
|
<div style={{ display: (this.state.videoEightName) ? '' : 'none' }} className={`customerTitle titleSamlle`}>
|
|
4478
|
+
<div onClick={this.muteOpposite.bind(this,'video8')}>
|
|
4108
4479
|
{
|
|
4109
4480
|
this.state.voiceVideoEight && <img
|
|
4110
4481
|
alt=""
|
|
@@ -4113,7 +4484,7 @@ class Video extends Component {
|
|
|
4113
4484
|
/>
|
|
4114
4485
|
}
|
|
4115
4486
|
<canvas style={{ display: (this.state.videoEightName && !this.state.voiceVideoEight) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView8" width="40" height="70"></canvas>
|
|
4116
|
-
|
|
4487
|
+
</div>
|
|
4117
4488
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
4118
4489
|
{this.state.videoEightName}
|
|
4119
4490
|
</div>
|
|
@@ -4130,6 +4501,7 @@ class Video extends Component {
|
|
|
4130
4501
|
<label style={{ display: 'none' }} id="feedId9" type="text" />
|
|
4131
4502
|
|
|
4132
4503
|
<div style={{ display: (this.state.videoNineName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
4504
|
+
<div onClick={this.muteOpposite.bind(this,'video9')}>
|
|
4133
4505
|
{
|
|
4134
4506
|
this.state.voiceVideoNine && <img
|
|
4135
4507
|
alt=""
|
|
@@ -4138,7 +4510,7 @@ class Video extends Component {
|
|
|
4138
4510
|
/>
|
|
4139
4511
|
}
|
|
4140
4512
|
<canvas style={{ display: (this.state.videoNineName && !this.state.voiceVideoSix) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView9" width="40" height="70"></canvas>
|
|
4141
|
-
|
|
4513
|
+
</div>
|
|
4142
4514
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
4143
4515
|
{this.state.videoNineName}
|
|
4144
4516
|
</div>
|
|
@@ -4157,6 +4529,7 @@ class Video extends Component {
|
|
|
4157
4529
|
<label style={{ display: 'none' }} id="feedId10" type="text" />
|
|
4158
4530
|
|
|
4159
4531
|
<div style={{ display: (this.state.videoTenName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
4532
|
+
<div onClick={this.muteOpposite.bind(this,'video10')}>
|
|
4160
4533
|
{
|
|
4161
4534
|
this.state.voiceVideoTen && <img
|
|
4162
4535
|
alt=""
|
|
@@ -4165,7 +4538,7 @@ class Video extends Component {
|
|
|
4165
4538
|
/>
|
|
4166
4539
|
}
|
|
4167
4540
|
<canvas style={{ display: (this.state.videoTenName && !this.state.voiceVideoTen) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView10" width="40" height="70"></canvas>
|
|
4168
|
-
|
|
4541
|
+
</div>
|
|
4169
4542
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
4170
4543
|
{this.state.videoTenName}
|
|
4171
4544
|
</div>
|
|
@@ -4182,6 +4555,7 @@ class Video extends Component {
|
|
|
4182
4555
|
<label style={{ display: 'none' }} id="feedId11" type="text" />
|
|
4183
4556
|
|
|
4184
4557
|
<div style={{ display: (this.state.videoElevenName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
4558
|
+
<div onClick={this.muteOpposite.bind(this,'video11')}>
|
|
4185
4559
|
{
|
|
4186
4560
|
this.state.voiceVideoEleven && <img
|
|
4187
4561
|
alt=""
|
|
@@ -4190,7 +4564,7 @@ class Video extends Component {
|
|
|
4190
4564
|
/>
|
|
4191
4565
|
}
|
|
4192
4566
|
<canvas style={{ display: (this.state.videoElevenName && !this.state.voiceVideoEleven) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView11" width="40" height="70"></canvas>
|
|
4193
|
-
|
|
4567
|
+
</div>
|
|
4194
4568
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
4195
4569
|
{this.state.videoElevenName}
|
|
4196
4570
|
</div>
|
|
@@ -4208,6 +4582,7 @@ class Video extends Component {
|
|
|
4208
4582
|
<label style={{ display: 'none' }} id="feedId12" type="text" />
|
|
4209
4583
|
|
|
4210
4584
|
<div style={{ display: (this.state.videoTwelveName) ? '' : 'none', background: this.props.titleBackground, color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }} className={`customerTitle titleSamlle`}>
|
|
4585
|
+
<div onClick={this.muteOpposite.bind(this,'video12')}>
|
|
4211
4586
|
{
|
|
4212
4587
|
this.state.voiceVideoTwelve && <img
|
|
4213
4588
|
alt=""
|
|
@@ -4216,7 +4591,7 @@ class Video extends Component {
|
|
|
4216
4591
|
/>
|
|
4217
4592
|
}
|
|
4218
4593
|
<canvas style={{ display: (this.state.videoTwelveName && !this.state.voiceVideoTwelve) ? '' : 'none',width: '25px',height:'25px',marginTop: '4px' }} className="canvasClassOne" id="subscribe_volumeView12" width="40" height="70"></canvas>
|
|
4219
|
-
|
|
4594
|
+
</div>
|
|
4220
4595
|
<div className='titleName' style={{ color: this.props.titleColor, fontSize: this.props.fontSize + 'px', fontFamily: this.props.fontFamily }}>
|
|
4221
4596
|
{this.state.videoTwelveName}
|
|
4222
4597
|
</div>
|
|
@@ -4384,10 +4759,10 @@ class Video extends Component {
|
|
|
4384
4759
|
}
|
|
4385
4760
|
}
|
|
4386
4761
|
Video.defaultProps = {
|
|
4387
|
-
mtoken: "
|
|
4388
|
-
roomId: "
|
|
4389
|
-
imRoomId: "
|
|
4390
|
-
sessionId: "
|
|
4762
|
+
mtoken: "",
|
|
4763
|
+
roomId: "",
|
|
4764
|
+
imRoomId: "",
|
|
4765
|
+
sessionId: "",
|
|
4391
4766
|
tellerAccount: 't001',
|
|
4392
4767
|
businessNumber: '123',
|
|
4393
4768
|
callbackUrl: 'http://182.92.184.31:8720/hsbc/callback',
|
|
@@ -4412,5 +4787,6 @@ sessionId: "Fwua8kGB6",
|
|
|
4412
4787
|
otherAttendees: undefined
|
|
4413
4788
|
},
|
|
4414
4789
|
isTranscribing: false,
|
|
4790
|
+
internalUrl: 'https://wp-staff-gateway.wealth-platform.uat.ali.cloud.cn.hsbc/meeting-ui/OHB/CN/HSBC?chnlID=OHB&locale=zh_CN&chnlCC=CN&chnlGMC=HSBC&targetFunc=supervisorMeeting&sourceFunc=rmMeeting'
|
|
4415
4791
|
}
|
|
4416
4792
|
export default Video
|