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
|
@@ -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
|
-
'
|
|
1613
|
-
'
|
|
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
|
-
'
|
|
1636
|
-
'
|
|
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: '
|
|
2565
|
+
microphoneSize: '40',
|
|
2546
2566
|
fontSize: '14',
|
|
2547
2567
|
fontFamily: 'auto',
|
|
2548
2568
|
menus: ['SHARE', 'FRIES', 'OCR', 'INVITE', 'PIP'],
|