From af8dac51f436b69180d6b24b7ec6fe8b3e39fa70 Mon Sep 17 00:00:00 2001 From: Snowflake <46562212+Snowflake107@users.noreply.github.com> Date: Wed, 15 Jul 2020 13:55:45 +0545 Subject: [PATCH] set highWaterMark (#46) --- src/Player.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Player.js b/src/Player.js index 68e7d8c..76fe4af 100644 --- a/src/Player.js +++ b/src/Player.js @@ -819,7 +819,8 @@ class Player { filter: 'audioonly', opusEncoded: true, encoderArgs, - seek: seekTime / 1000 + seek: seekTime / 1000, + highWaterMark: 1 << 25 }) setTimeout(() => { if (queue.stream) queue.stream.destroy()