react_hsbc_teller 1.2.3 → 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/pages/video/video.jsx +53 -51
package/package.json
CHANGED
|
@@ -400,100 +400,100 @@ class Video extends Component {
|
|
|
400
400
|
{
|
|
401
401
|
tag: 'projectionWhiteboard',
|
|
402
402
|
xPosition: 0,
|
|
403
|
-
yPosition:
|
|
404
|
-
width:
|
|
405
|
-
height:
|
|
403
|
+
yPosition: 540,
|
|
404
|
+
width: 960,
|
|
405
|
+
height: 540
|
|
406
406
|
},
|
|
407
407
|
{
|
|
408
408
|
tag: 'VIDEO_SOURCE_SCREEN',
|
|
409
409
|
xPosition: 0,
|
|
410
|
-
yPosition:
|
|
411
|
-
width:
|
|
412
|
-
height:
|
|
410
|
+
yPosition: 180,
|
|
411
|
+
width: 640,
|
|
412
|
+
height: 360
|
|
413
413
|
},
|
|
414
414
|
{
|
|
415
415
|
tag: 'tag1',
|
|
416
416
|
xPosition: 0,
|
|
417
417
|
yPosition: 0,
|
|
418
|
-
width:
|
|
419
|
-
height:
|
|
418
|
+
width: 240,
|
|
419
|
+
height: 180
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
422
|
tag: 'customer1',
|
|
423
|
-
xPosition:
|
|
423
|
+
xPosition: 240,
|
|
424
424
|
yPosition: 0,
|
|
425
|
-
width:
|
|
426
|
-
height:
|
|
425
|
+
width: 240,
|
|
426
|
+
height: 180
|
|
427
427
|
},
|
|
428
428
|
{
|
|
429
429
|
tag: 'customer2',
|
|
430
|
-
xPosition:
|
|
430
|
+
xPosition: 480,
|
|
431
431
|
yPosition: 0,
|
|
432
|
-
width:
|
|
433
|
-
height:
|
|
432
|
+
width: 240,
|
|
433
|
+
height: 180
|
|
434
434
|
},
|
|
435
435
|
{
|
|
436
436
|
tag: 'customer3',
|
|
437
|
-
xPosition:
|
|
437
|
+
xPosition: 720,
|
|
438
438
|
yPosition: 0,
|
|
439
|
-
width:
|
|
440
|
-
height:
|
|
439
|
+
width: 240,
|
|
440
|
+
height: 180
|
|
441
441
|
},
|
|
442
442
|
{
|
|
443
443
|
tag: 'customer4',
|
|
444
|
-
xPosition:
|
|
444
|
+
xPosition: 960,
|
|
445
445
|
yPosition: 0,
|
|
446
|
-
width:
|
|
447
|
-
height:
|
|
446
|
+
width: 240,
|
|
447
|
+
height: 180
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
450
|
tag: 'customer5',
|
|
451
|
-
xPosition:
|
|
451
|
+
xPosition: 1200,
|
|
452
452
|
yPosition: 0,
|
|
453
|
-
width:
|
|
454
|
-
height:
|
|
453
|
+
width: 240,
|
|
454
|
+
height: 180
|
|
455
455
|
},
|
|
456
456
|
{
|
|
457
457
|
tag: 'customer6',
|
|
458
|
-
xPosition:
|
|
458
|
+
xPosition: 1440,
|
|
459
459
|
yPosition: 0,
|
|
460
|
-
width:
|
|
461
|
-
height:
|
|
460
|
+
width: 240,
|
|
461
|
+
height: 180
|
|
462
462
|
},
|
|
463
463
|
{
|
|
464
464
|
tag: 'customer7',
|
|
465
|
-
xPosition:
|
|
465
|
+
xPosition: 1680,
|
|
466
466
|
yPosition: 0,
|
|
467
|
-
width:
|
|
468
|
-
height:
|
|
467
|
+
width: 240,
|
|
468
|
+
height: 180
|
|
469
469
|
},
|
|
470
470
|
{
|
|
471
471
|
tag: 'customer8',
|
|
472
|
-
xPosition:
|
|
473
|
-
yPosition:
|
|
474
|
-
width:
|
|
475
|
-
height:
|
|
472
|
+
xPosition: 1680,
|
|
473
|
+
yPosition: 180,
|
|
474
|
+
width: 240,
|
|
475
|
+
height: 180
|
|
476
476
|
},
|
|
477
477
|
{
|
|
478
478
|
tag: 'customer9',
|
|
479
|
-
xPosition:
|
|
480
|
-
yPosition:
|
|
481
|
-
width:
|
|
482
|
-
height:
|
|
479
|
+
xPosition: 1680,
|
|
480
|
+
yPosition: 360,
|
|
481
|
+
width: 240,
|
|
482
|
+
height: 180
|
|
483
483
|
},
|
|
484
484
|
{
|
|
485
485
|
tag: 'customer10',
|
|
486
|
-
xPosition:
|
|
487
|
-
yPosition:
|
|
488
|
-
width:
|
|
489
|
-
height:
|
|
486
|
+
xPosition: 1680,
|
|
487
|
+
yPosition: 540,
|
|
488
|
+
width: 240,
|
|
489
|
+
height: 180
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
tag: 'customer11',
|
|
493
|
-
xPosition:
|
|
494
|
-
yPosition:
|
|
495
|
-
width:
|
|
496
|
-
height:
|
|
493
|
+
xPosition: 1680,
|
|
494
|
+
yPosition: 720,
|
|
495
|
+
width: 240,
|
|
496
|
+
height: 180
|
|
497
497
|
}
|
|
498
498
|
]
|
|
499
499
|
console.log('recordParam', recordParam);
|
|
@@ -793,6 +793,7 @@ class Video extends Component {
|
|
|
793
793
|
})
|
|
794
794
|
}
|
|
795
795
|
messageClick=(value,valueOne)=>{
|
|
796
|
+
console.log(value,valueOne)
|
|
796
797
|
if(valueOne == 'error') {
|
|
797
798
|
message.error({
|
|
798
799
|
content: value,
|
|
@@ -1734,7 +1735,7 @@ class Video extends Component {
|
|
|
1734
1735
|
this.mpaasSig(data);
|
|
1735
1736
|
let indexId = 0
|
|
1736
1737
|
objList.map((item,index)=>{
|
|
1737
|
-
if(item.actionname.indexOf('Integrated Camera' != -1)
|
|
1738
|
+
if(item.actionname.indexOf('Integrated Camera') != -1) {
|
|
1738
1739
|
indexId = index
|
|
1739
1740
|
}
|
|
1740
1741
|
})
|
|
@@ -2476,6 +2477,7 @@ class Video extends Component {
|
|
|
2476
2477
|
this.appGetUsernameClick(participant).then((res)=>{
|
|
2477
2478
|
console.log('退出房间者',res)
|
|
2478
2479
|
let data = res? res : '客户'
|
|
2480
|
+
console.log(data)
|
|
2479
2481
|
this.messageClick(( data + '已退出会议'),'error')
|
|
2480
2482
|
// let audio = document.createElement('audio') //生成一个audio元素
|
|
2481
2483
|
// audio.src = 'http://mp3.9ku.com/hot/2005/05-19/65937.mp3' //音乐的路径
|
|
@@ -2885,7 +2887,7 @@ class Video extends Component {
|
|
|
2885
2887
|
this.state.manualClose = true
|
|
2886
2888
|
disconnect();
|
|
2887
2889
|
}
|
|
2888
|
-
|
|
2890
|
+
message.destroy()
|
|
2889
2891
|
}
|
|
2890
2892
|
finishSessionClick= async () => {
|
|
2891
2893
|
try {
|
|
@@ -4757,10 +4759,10 @@ class Video extends Component {
|
|
|
4757
4759
|
}
|
|
4758
4760
|
}
|
|
4759
4761
|
Video.defaultProps = {
|
|
4760
|
-
mtoken: "
|
|
4761
|
-
roomId: "
|
|
4762
|
-
imRoomId: "
|
|
4763
|
-
sessionId: "
|
|
4762
|
+
mtoken: "",
|
|
4763
|
+
roomId: "",
|
|
4764
|
+
imRoomId: "",
|
|
4765
|
+
sessionId: "",
|
|
4764
4766
|
tellerAccount: 't001',
|
|
4765
4767
|
businessNumber: '123',
|
|
4766
4768
|
callbackUrl: 'http://182.92.184.31:8720/hsbc/callback',
|