Conversation
|
this is by no means finished, i did make this implementation in a day so there may be a few bugs i havent noticed. |
|
Has there been any movement on this? having this working again (presently doesn't even if you massage the code into the current base) is all that's keeping me from using this project to its full potential. Currently I have to use two bots just to capture audio for a restream commentary system. |
|
Solving the merge conflict is probably not going to be easy. I'll see if I can salvage it, but it's more likely that I'll just reimplement it |
|
its probably best to reimplement it as opposed to using my code coz its mediocre and theres probably a ton of inefficiencies in the code that i wrote regardless. i gave up on the project i was using this on anyway 😭 |
|
This would have to be rewritten for sure, since the encryption has changed significantly |
|
Thanks for taking a look at it. I feared that would be the case. I had tried updating it to use the newer functions, but I just don't know enough about the underlying protocols and project to be helpful in that regard. |
|
i was able to get it somewhat working from a bunch of googling and trial and error, i could try help but it would probably be best to leave it to someone who knows what theyre doing (not me) |
i implemented the discord/voice code into the streamer. it can be used the same way discord/voice would be used, but not exactly the same. im not entirely sure this works as i have not done any extensive tests but it worked well for me.
i also added an example to show how to use the new reciever addition, but a tlrdr is that you basically use it by
i added a set voice state fn that should not change how anything already written using this library will run:
my code editor formatted my files a little so it changed the position of the imports and removed some spaces and i dont really know how to make it not do that. it might be beneficial to add a linter like eslint or something since the files dont really have a uniform format and the tab and spaces do be coexisting with each other.
this is my first time making a PR so my bad if i messed anything up. please give feedback and i will change whatever necessary.