react_hsbc_teller 1.2.7 → 1.2.8
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 +8 -6
package/package.json
CHANGED
|
@@ -2118,6 +2118,7 @@ class Video extends Component {
|
|
|
2118
2118
|
// 推送“房间与会者列表”给新加⼊者
|
|
2119
2119
|
this.test_controller.OnRoomAttendanceList = (participants) => {
|
|
2120
2120
|
console.log('房间与会者列表', participants)
|
|
2121
|
+
setTimeout(() => {
|
|
2121
2122
|
participants.map((item, index) => {
|
|
2122
2123
|
if (item.uid != this.state.tellerAccount) {
|
|
2123
2124
|
item.publish.map((itemOne, indexOne) => {
|
|
@@ -2260,13 +2261,14 @@ class Video extends Component {
|
|
|
2260
2261
|
if (config_param !== undefined) {
|
|
2261
2262
|
config_param.need_volume_analyser = true
|
|
2262
2263
|
console.log(config_param)
|
|
2263
|
-
|
|
2264
|
+
|
|
2264
2265
|
this.test_controller.Subscribe(config_param)
|
|
2265
|
-
|
|
2266
|
+
|
|
2266
2267
|
}
|
|
2267
2268
|
})
|
|
2268
2269
|
}
|
|
2269
2270
|
})
|
|
2271
|
+
}, 2000);
|
|
2270
2272
|
};
|
|
2271
2273
|
// 推送“新加⼊房间者”给与会者
|
|
2272
2274
|
this.test_controller.OnNewJoinerIn = (participant) => {
|
|
@@ -2308,7 +2310,7 @@ class Video extends Component {
|
|
|
2308
2310
|
}, function (code, message, data) {
|
|
2309
2311
|
console.log(data)
|
|
2310
2312
|
})
|
|
2311
|
-
|
|
2313
|
+
setTimeout(() => {
|
|
2312
2314
|
let array = this.state.roomCustomerList;
|
|
2313
2315
|
let newArray = [...array];
|
|
2314
2316
|
newArray.push({
|
|
@@ -2475,9 +2477,9 @@ class Video extends Component {
|
|
|
2475
2477
|
config_param.need_volume_analyser = true
|
|
2476
2478
|
console.log(config_param)
|
|
2477
2479
|
|
|
2478
|
-
|
|
2480
|
+
|
|
2479
2481
|
this.test_controller.Subscribe(config_param)
|
|
2480
|
-
|
|
2482
|
+
|
|
2481
2483
|
|
|
2482
2484
|
}
|
|
2483
2485
|
// })
|
|
@@ -2486,7 +2488,7 @@ class Video extends Component {
|
|
|
2486
2488
|
}
|
|
2487
2489
|
|
|
2488
2490
|
}
|
|
2489
|
-
|
|
2491
|
+
}, 2000);
|
|
2490
2492
|
};
|
|
2491
2493
|
// 推送“有新订阅”给与会者
|
|
2492
2494
|
this.test_controller.OnNewSubscribe = (subscriber, feed) => {
|