discord.py-self icon indicating copy to clipboard operation
discord.py-self copied to clipboard

Ability to record voice channels

Open mosaiyka opened this issue 1 year ago • 2 comments

Summary

Ability to record voice channels

What is the feature request for?

discord.ext.tasks

The Problem

A function to record user voices in voice channels.

The Ideal Solution

I can’t imagine how to implement this, I tried many ways, both purely through websockets and libraries. It doesn't work out, unfortunately

The Current Solution

No response

Additional Context

No response

mosaiyka avatar Aug 01 '24 17:08 mosaiyka

pycord has a recording feature for VCs, you could try to implement it into your code as of now as a temporary solution, until this possibly gets looked at. Even though it's not a self-client, it should still technically work for user accounts.

https://github.com/Pycord-Development/pycord/blob/2815e9bb1c0a9da8c2ba652401c45198c5e4e644/discord/voice_client.py#L747

populated avatar Aug 02 '24 13:08 populated

Implementing voice receive properly is quite difficult and low on the priority list. All existing implementation attempts have plenty of issues (see all the dpy issues/PRs on this topic) including the pycord one, which just mostly yoinked a dpy PR.

PRs are always welcome if you're willing to put in time to reverse engineer it :)

dolfies avatar Aug 02 '24 14:08 dolfies

This will unfortunately most likely not make its way into the core library, at least not anytime soon. Closing for now :(

dolfies avatar Jan 16 '25 08:01 dolfies

@dolfies would you accept contributions implementing this or maybe I can donate to add this api in exchange? It would be nice for my project

mudkipdev avatar Nov 07 '25 02:11 mudkipdev