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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react_hsbc_teller",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -400,100 +400,100 @@ class Video extends Component {
400
400
  {
401
401
  tag: 'projectionWhiteboard',
402
402
  xPosition: 0,
403
- yPosition: 360,
404
- width: 1120,
405
- height: 360
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: 144,
411
- width: 256,
412
- height: 144
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: 160,
419
- height: 144
418
+ width: 240,
419
+ height: 180
420
420
  },
421
421
  {
422
422
  tag: 'customer1',
423
- xPosition: 160,
423
+ xPosition: 240,
424
424
  yPosition: 0,
425
- width: 160,
426
- height: 144
425
+ width: 240,
426
+ height: 180
427
427
  },
428
428
  {
429
429
  tag: 'customer2',
430
- xPosition: 320,
430
+ xPosition: 480,
431
431
  yPosition: 0,
432
- width: 160,
433
- height: 144
432
+ width: 240,
433
+ height: 180
434
434
  },
435
435
  {
436
436
  tag: 'customer3',
437
- xPosition: 480,
437
+ xPosition: 720,
438
438
  yPosition: 0,
439
- width: 160,
440
- height: 144
439
+ width: 240,
440
+ height: 180
441
441
  },
442
442
  {
443
443
  tag: 'customer4',
444
- xPosition: 640,
444
+ xPosition: 960,
445
445
  yPosition: 0,
446
- width: 160,
447
- height: 144
446
+ width: 240,
447
+ height: 180
448
448
  },
449
449
  {
450
450
  tag: 'customer5',
451
- xPosition: 800,
451
+ xPosition: 1200,
452
452
  yPosition: 0,
453
- width: 160,
454
- height: 144
453
+ width: 240,
454
+ height: 180
455
455
  },
456
456
  {
457
457
  tag: 'customer6',
458
- xPosition: 960,
458
+ xPosition: 1440,
459
459
  yPosition: 0,
460
- width: 160,
461
- height: 144
460
+ width: 240,
461
+ height: 180
462
462
  },
463
463
  {
464
464
  tag: 'customer7',
465
- xPosition: 1120,
465
+ xPosition: 1680,
466
466
  yPosition: 0,
467
- width: 160,
468
- height: 144
467
+ width: 240,
468
+ height: 180
469
469
  },
470
470
  {
471
471
  tag: 'customer8',
472
- xPosition: 1120,
473
- yPosition: 144,
474
- width: 160,
475
- height: 144
472
+ xPosition: 1680,
473
+ yPosition: 180,
474
+ width: 240,
475
+ height: 180
476
476
  },
477
477
  {
478
478
  tag: 'customer9',
479
- xPosition: 1120,
480
- yPosition: 288,
481
- width: 160,
482
- height: 144
479
+ xPosition: 1680,
480
+ yPosition: 360,
481
+ width: 240,
482
+ height: 180
483
483
  },
484
484
  {
485
485
  tag: 'customer10',
486
- xPosition: 1120,
487
- yPosition: 432,
488
- width: 160,
489
- height: 144
486
+ xPosition: 1680,
487
+ yPosition: 540,
488
+ width: 240,
489
+ height: 180
490
490
  },
491
491
  {
492
492
  tag: 'customer11',
493
- xPosition: 1120,
494
- yPosition: 576,
495
- width: 160,
496
- height: 144
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: "26364ded9b83",
4761
- roomId: "645157287240850",
4762
- imRoomId: "Fwua8kGB6@conference.openfire2.leimondata.cn",
4763
- sessionId: "Fwua8kGB6",
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',