react_hsbc_teller 0.2.8 → 0.2.9

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.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -92,13 +92,20 @@ class Video extends Component {
92
92
  joinRoom((this.props.tellerAccount + '@' + JSON.parse(window.sessionStorage.getItem('sigData')).hostname), this.state.imRoomId)
93
93
  this.props.createRoomCallback({
94
94
  type: 1,
95
- errorManage: ''
95
+ errorManage: '',
96
+ data: {
97
+ mtoken: this.state.rtoken,
98
+ imRoomId: result.imRoomId,
99
+ sessionId: result.sessionId,
100
+ roomId: this.state.channelId
101
+ }
96
102
  })
97
103
  } catch (err) {
98
104
  console.error(err);
99
105
  this.props.createRoomCallback({
100
106
  type: 2,
101
- errorManage: '保存房间信息失败'
107
+ errorManage: '保存房间信息失败',
108
+ data: {}
102
109
  })
103
110
  }
104
111
  };
@@ -549,12 +556,14 @@ class Video extends Component {
549
556
  if (this.state.sessionId) {
550
557
  this.props.joinRoomCallback({
551
558
  type: type,
552
- errorManage: manege
559
+ errorManage: manege,
560
+ data: {}
553
561
  })
554
562
  }else {
555
563
  this.props.createRoomCallback({
556
564
  type: type,
557
- errorManage: manege
565
+ errorManage: manege,
566
+ data: {}
558
567
  })
559
568
  }
560
569
  }
@@ -3,7 +3,7 @@
3
3
  height: 100px
4
4
  }
5
5
  .mixedvideo{
6
- // display: none;
6
+ display: none;
7
7
  position:absolute;
8
8
  object-fit: cover
9
9
  }