react_hsbc_teller 0.4.0 → 0.4.1

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": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -983,6 +983,20 @@ class Video extends Component {
983
983
  // 推送“有新发布”给与会者
984
984
  this.test_controller.OnNewPublish = (feed) => {
985
985
  console.log('有新发布者', feed);
986
+ callNimIM('sendCustomCmdMsg', {
987
+ customId: this.state.imRoomId,
988
+ content: JSON.stringify({
989
+ 'typeId': 1014,
990
+ 'sessionId': this.state.sessionId,
991
+ 'meetingInfo': {
992
+ 'title': this.props.meetingInfo.title,
993
+ 'host': this.props.meetingInfo.host,
994
+ 'customers': this.props.meetingInfo.customers
995
+ }
996
+
997
+ })
998
+ }, function (code, message, data) {
999
+ })
986
1000
  let array = this.state.roomCustomerList;
987
1001
  let newArray = [...array];
988
1002
  newArray.push({
@@ -1609,8 +1623,11 @@ class Video extends Component {
1609
1623
  customId: this.state.imRoomId,
1610
1624
  content: JSON.stringify({
1611
1625
  'typeId': 1013,
1612
- 'state': 0,
1613
- 'sessionId': this.state.sessionId,
1626
+ 'muteStatus': 1,
1627
+ 'data': {
1628
+ 'sessionId': this.state.sessionId,
1629
+ 'userId': this.props.tellerAccount
1630
+ }
1614
1631
  })
1615
1632
  }, function (code, message, data) {
1616
1633
  console.log(data)
@@ -1632,8 +1649,11 @@ class Video extends Component {
1632
1649
  customId: this.state.imRoomId,
1633
1650
  content: JSON.stringify({
1634
1651
  'typeId': 1013,
1635
- 'state': 1,
1636
- 'sessionId': this.state.sessionId,
1652
+ 'muteStatus': 0,
1653
+ 'data': {
1654
+ 'sessionId': this.state.sessionId,
1655
+ 'userId': this.props.tellerAccount
1656
+ }
1637
1657
  })
1638
1658
  }, function (code, message, data) {
1639
1659
  console.log(data)
@@ -2542,7 +2562,7 @@ Video.defaultProps = {
2542
2562
  voiceColor: '#0AE544',
2543
2563
  titleBackground: 'rgba(0,0,0,0.65)',
2544
2564
  titleColor: '#fff',
2545
- microphoneSize: '50',
2565
+ microphoneSize: '40',
2546
2566
  fontSize: '14',
2547
2567
  fontFamily: 'auto',
2548
2568
  menus: ['SHARE', 'FRIES', 'OCR', 'INVITE', 'PIP'],
@@ -13,8 +13,8 @@
13
13
  float: right
14
14
  }
15
15
  .imgClassVoice{
16
- width: 60px;
17
- height: 60px;
16
+ width: 2.5rem;
17
+ height: 2.5rem;
18
18
  }
19
19
  .sharedScreen{
20
20
  font-size: 10px;