From eb40a663ddd9ab974037955e9ba98120d5d63365 Mon Sep 17 00:00:00 2001 From: Amish Shah Date: Fri, 5 Jan 2018 21:23:21 +0000 Subject: [PATCH] god damn it i forgot to save the file the first time --- src/client/voice/dispatcher/StreamDispatcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/voice/dispatcher/StreamDispatcher.js b/src/client/voice/dispatcher/StreamDispatcher.js index 1dbaceeb9..3ae780af7 100644 --- a/src/client/voice/dispatcher/StreamDispatcher.js +++ b/src/client/voice/dispatcher/StreamDispatcher.js @@ -200,7 +200,7 @@ class StreamDispatcher extends Writable { setTimeout(done.bind(this), next); } if (this._sdata.sequence >= (2 ** 16) - 1) this._sdata.sequence = -1; - if (this._sdata.timestamp >= (2 ** 32) - 1) this._sdata.timestamp = -TIMESTAMP_INC; + if (this._sdata.timestamp >= (2 ** 32) - TIMESTAMP_INC) this._sdata.timestamp = -TIMESTAMP_INC; this._sdata.sequence++; this._sdata.timestamp += TIMESTAMP_INC; this.count++;