mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
Add VoiceBroadcast.pause and VoiceBroadcast.resume
This commit is contained in:
@@ -183,6 +183,7 @@ class StreamDispatcher extends EventEmitter {
|
||||
}
|
||||
|
||||
if (this.paused) {
|
||||
this.setSpeaking(false);
|
||||
// data.timestamp = data.timestamp + 4294967295 ? data.timestamp + 960 : 0;
|
||||
data.pausedTime += data.length * 10;
|
||||
// if buffer is provided we are assuming a master process is controlling the dispatcher
|
||||
|
||||
Reference in New Issue
Block a user