Skip to content

Commit

Permalink
Merge pull request jitsi#180 from saaltech/ft/pin-participants-confer…
Browse files Browse the repository at this point in the history
…ence

disable debounce
  • Loading branch information
neehalsaal committed Aug 24, 2020
2 parents f3411af + da6c713 commit 8a4efa8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/UI/videolayout/VideoLayout.js
Expand Up @@ -146,8 +146,8 @@ const VideoLayout = {
const tracks = APP.store.getState()['features/base/tracks'] || [];

if (this.selectParticipantsTimerId) {
clearTimeout(this.selectParticipantsTimerId);
this.selectParticipantsTimerId = null;
//clearTimeout(this.selectParticipantsTimerId);
//this.selectParticipantsTimerId = null;
}

entries.forEach(entry => {
Expand Down Expand Up @@ -176,7 +176,8 @@ const VideoLayout = {
const conference = APP.store.getState()['features/base/conference'].conference;

if (conference && this.participantIds.length > 0 && window.config.channelLastN > 0) {
this.selectParticipantsTimerId = setTimeout(() => conference.selectParticipants(this.participantIds), 1000);
conference.selectParticipants(this.participantIds)
//this.selectParticipantsTimerId = setTimeout(() => conference.selectParticipants(this.participantIds), 1000);
}

},
Expand Down

0 comments on commit 8a4efa8

Please sign in to comment.