#Lavalink tracks encode

1 messages · Page 1 of 1 (latest)

reef swift
#

Can I know how Lavalink tracks are encoded?

  "encoded": "QAAAggIABUh1bWFuAA5SYWcnbidCb25lIE1hbgAAAAAAAw36ABY1OHpzTFpQdmZmbGFpSWJOV29BMjJPAAEANWh0dHBzOi8vb3Blbi5zcG90aWZ5LmNvbS90cmFjay81OHpzTFpQdmZmbGFpSWJOV29BMjJPAAdzcG90aWZ5AAAAAAAAAAA=
#

It doesn't look like it's simply base64 encoded.

cinder bane
#

We do not provide support for it
Treat it as a black box
What you do is not our business tho

#

There is an endpoint to decode it
Just use that

reef swift
#

I just wanted to improve the processing speed due to the high ping of Lavalink and bot.
I have no choice but to use lavalink, thanks

cinder bane
#

It's the easiest option for everyone
The encoding is not straightforward

#

Any specific reason you need to decode it?

reef swift
#

After getting Youtube results with Lavalink, I found the response time for playing HTTP streams directly via Lavalink, which I access through my personal API, was too high. I was curious about encoding methods because processing it by encoding immediately should improve the speed.

#

So it looks like encoding through Lavalink is the only way to go. Thanks

cinder bane
#

What you can do to reduce roundtrip time is just give lavalink a link to play