fixed step issue

This commit is contained in:
J Taylor 2021-07-06 10:47:23 +01:00
parent c3a8c2d2a2
commit dca5bdc1de
2 changed files with 9 additions and 0 deletions

View File

@ -186,6 +186,7 @@ export const TracksProvider = ({ children }) => {
};
const trackStoppedBatchInterval = setInterval(() => {
console.log(trackStoppedQueue);
if (!trackStoppedQueue.length) {
return;
}

View File

@ -1,3 +1,11 @@
/**
* Track state & reducer
* ---
* All (participant & screen) video and audio tracks indexed on participant ID
* If using manual track subscriptions, we'll also keep a record of those
* and their playing / paused state
*/
import { getId, getScreenId } from './participantsState';
const initialTracksState = {