v1.7.0/call cleanup, server side toggle
This commit is contained in:
@@ -175,17 +175,7 @@ export default class CallManager {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
async usersListHandle() {
|
||||
var usersOnCall = {};
|
||||
VoxeetSDK.conference.participants.forEach((v, k, m) => {
|
||||
usersOnCall[k] = v;
|
||||
});
|
||||
this.listener({ usersOnCall });
|
||||
}
|
||||
async initialize() {
|
||||
VoxeetSDK.conference.on('participantAdded', () => this.usersListHandle());
|
||||
VoxeetSDK.conference.on('participantUpdated', () => this.usersListHandle());
|
||||
|
||||
VoxeetSDK.conference.on('joined', () => {
|
||||
this.listener({ onCall: true, callActionPending: false, usingVideo: this.__useVideo });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user