Fix emitting participants_changed event
This commit is contained in:
@@ -486,7 +486,7 @@ export class GroupCall extends EventEmitter {
|
||||
// a participant without a stream can still listen in on other user's streams?
|
||||
this.participants.push(participant);
|
||||
this.reEmitter.reEmit(participant, Object.values(GroupCallParticipantEvent));
|
||||
this.emit(GroupCallEvent.ParticipantsChanged), this.participants;
|
||||
this.emit(GroupCallEvent.ParticipantsChanged, this.participants);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user