refactor(Queue): make bufferingTimeout 3 seconds
This commit is contained in:
parent
a0e0306b21
commit
a174c6b4aa
2 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ class Queue<T = unknown> {
|
||||||
highWaterMark: 1 << 25
|
highWaterMark: 1 << 25
|
||||||
},
|
},
|
||||||
initialVolume: 100,
|
initialVolume: 100,
|
||||||
bufferingTimeout: 1000
|
bufferingTimeout: 3000
|
||||||
} as PlayerOptions,
|
} as PlayerOptions,
|
||||||
options
|
options
|
||||||
);
|
);
|
||||||
|
|
|
@ -127,7 +127,7 @@ export interface PlayerProgressbarOptions {
|
||||||
* @property {boolean} [autoSelfDeaf=true] If it should set the bot in deaf mode
|
* @property {boolean} [autoSelfDeaf=true] If it should set the bot in deaf mode
|
||||||
* @property {YTDLDownloadOptions} [ytdlOptions={}] The youtube download options
|
* @property {YTDLDownloadOptions} [ytdlOptions={}] The youtube download options
|
||||||
* @property {number} [initialVolume=100] The initial player volume
|
* @property {number} [initialVolume=100] The initial player volume
|
||||||
* @property {number} [bufferingTimeout=1000] Buffering timeout for the stream
|
* @property {number} [bufferingTimeout=3000] Buffering timeout for the stream
|
||||||
*/
|
*/
|
||||||
export interface PlayerOptions {
|
export interface PlayerOptions {
|
||||||
leaveOnEnd?: boolean;
|
leaveOnEnd?: boolean;
|
||||||
|
|
Loading…
Reference in a new issue