diff --git a/index.html b/index.html index 41b7a23..58dcd14 100644 --- a/index.html +++ b/index.html @@ -58,7 +58,7 @@ }, workletLogs: true, latencyAdjustMethod: "fast-forward", // "fast-forward" | "seek" - syncBuffer: 3000, + // syncBuffer: 3000, }); window.nimio.on("nimio:play", (inst, contId) => { diff --git a/src/nimio.js b/src/nimio.js index b71182c..248d7fd 100644 --- a/src/nimio.js +++ b/src/nimio.js @@ -436,7 +436,7 @@ export default class Nimio { this._audioBuffer = null; } this._latencyCtrl.reset(); - this._syncModeParams = {}; + if (this._syncModeParams) this._syncModeParams = {}; this._advertizerEval.reset(); if (this._nextRenditionData) {