mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
Fix delays inbetween audio streams (#632)
This commit is contained in:
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,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user