lavalink-devs / Lavalink

Standalone audio sending node based on Lavaplayer.
https://lavalink.dev/
MIT License
1.6k stars 672 forks source link

Add audio receiving features #954

Open Fyphen1223 opened 1 year ago

Fyphen1223 commented 1 year ago

Change request

Audio receiving functions. Because of Discord API's specification, developers cannot establish WebSocket Connection more than 1. If we want to receive audio, we have to stop Lavalink, and establish another WS manually. This process is so tedious and so unproductive, so I'm requesting this features. That will no be so hard (cuz just receive audio stream and send packets to client, and even I can do that).

I really appreciate if this request has been accepted.

Thanks,

Relevance

Might improve some bots because if this functions being used, we will be able to code bots which can recognize user's voice input and manipulate Lavalink's audio sending. I was trying to do that in @discordjs/voice manually, but it was so hideous and bulky so it will be extremely helpful

Could this be a plugin instead?

To be fair, that should be fine but so I'm so bad at Java so I'm not sure it is possible.

Checklist

KagChi commented 1 year ago

This being discussed in Discord server https://discord.com/invite/ZW4s47Ppw4

Ref:

https://discord.com/channels/1082302532421943407/1144005606265598094

Fyphen1223 commented 1 year ago

Thanks, I really had no clue

topi314 commented 1 year ago

There is no reason to close this until the feature is actually implemented

Fyphen1223 commented 1 year ago

Sorry, I thought this is unnecessary because this problem has been discussing on Discord server.

Tomato6966 commented 3 months ago

Is this still in process?

topi314 commented 3 months ago

idk what you understand about in process, but it's planned maybe eventually