Skip to content
Discussion options

You must be logged in to vote

Lavaplayer already utilises the range header (I have an API endpoint that works with it so I can attest to this behaviour.)

It is also atypical for Lavaplayer to buffer the entire file in memory—it is designed to keep memory usage to a minimum and implements buffers for this very reason. It will read audio frames from a track until the internal audio frame buffer is full (which defaults to about 5 seconds worth of audio.) If its using uncontrolled amounts of memory, this may be because you have your buffer values set too large.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by topi314
Comment options

You must be logged in to vote
8 replies
@dazzypark
Comment options

@dazzypark
Comment options

@devoxin
Comment options

@dazzypark
Comment options

@devoxin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants