mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
Fix delays inbetween audio streams (#632)
This commit is contained in:
parent
e57fe71387
commit
f192d16b5b
3 changed files with 2 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
|
@ -24,7 +24,7 @@ class StreamDispatcher extends EventEmitter {
|
||||||
this.stream = stream;
|
this.stream = stream;
|
||||||
this.streamingData = {
|
this.streamingData = {
|
||||||
channels: 2,
|
channels: 2,
|
||||||
count: sd.count,
|
count: 0,
|
||||||
sequence: sd.sequence,
|
sequence: sd.sequence,
|
||||||
timestamp: sd.timestamp,
|
timestamp: sd.timestamp,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,6 @@ class VoiceConnectionPlayer extends EventEmitter {
|
||||||
this.processMap = new Map();
|
this.processMap = new Map();
|
||||||
this.dispatcher = null;
|
this.dispatcher = null;
|
||||||
this._streamingData = {
|
this._streamingData = {
|
||||||
count: 0,
|
|
||||||
sequence: 0,
|
sequence: 0,
|
||||||
timestamp: 0,
|
timestamp: 0,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue