set highWaterMark (#46)

This commit is contained in:
Snowflake 2020-07-15 13:55:45 +05:45 committed by GitHub
parent b99950fef2
commit af8dac51f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()