pycord icon indicating copy to clipboard operation
pycord copied to clipboard

Voice Receive API

Open Makiyu-py opened this issue 5 years ago • 13 comments

Summary

Add a voice receiving api here on Pycord!

What is the feature request for?

The core library

The Problem

Currently, there isn't a voice receiving API for Pycord. This has been a long suggestion for discord.py going back as far as 2017.

There are currently (discord.py) development forks just for this feature, like imayhaveborkedit's fork and Gorialis' fork but it'll be great to have a official solution to this problem!

The Ideal Solution

Receiving voice from VCs.

The Current Solution

Use discord.py dev forks that primarily focuses on implementing voice-receiving.

Additional Context

(pssst, I heard discord.js has an implementation of this feature, if u guys care)

Makiyu-py avatar Sep 01 '21 13:09 Makiyu-py

I tried to do some research but couldn't find anything related to this. How about legal rights? Do you need an agreement of every person in a voice call if you want to record his voice? Is there a specific format that agreement has to follow? Are there country specific rights?

Ari24-cb24 avatar Sep 01 '21 18:09 Ari24-cb24

In the US it varies. Some states are "one party" states where only one person on a call needs to be aware of the recording, where as some other states require the consent of all parties. If the bot is in the call, is the bot considered a party to the conversation?

Interesting question.

tcprescott avatar Sep 01 '21 18:09 tcprescott

I live in Germany and we have some kind of weird laws so I'm not sure about this. I'd be glad to receive more information before I use this api.

If the bot is in the call, is the bot considered a party to the conversation

I would kind of say yes. As I know the audio received as a normal person is only saved in the RAM and that does not seem to be illegal. If you do the same thing with a discord bot, just having the audio in the RAM not somewhere else I would say that it shouldn't be a problem.

EDIT: As I said I already did some research and some people say I need to get an agreement of every person and some say I don't. It's a bit confusing tbh and the "DSGVO" didn't really help me either (DSGVO is a law book which consists mostly of data privacy)

Ari24-cb24 avatar Sep 01 '21 19:09 Ari24-cb24

I feel like this is a moot point. Developers/Manufacturers are not responsible for misuse of their products (in the US).

LilJess13 avatar Sep 01 '21 19:09 LilJess13

Yep, it's the bot author that's responsible for complying with the laws of their country/state.

tcprescott avatar Sep 01 '21 21:09 tcprescott

In the US it varies. Some states are "one party" states where only one person on a call needs to be aware of the recording, where as some other states require the consent of all parties. If the bot is in the call, is the bot considered a party to the conversation?

Interesting question.

You can circumvent this by informing the people if they are being recorded. For example, perhaps message everyone who joins the channel that they are being recorded. This can easily be implemented by bot authors.

OEUG99 avatar Sep 13 '21 18:09 OEUG99

bot authors can also set the bots nickname as something like ExampleBot (Recording VC)

Luckolite avatar Sep 13 '21 21:09 Luckolite

Could also have the bot play a sound effect of "This channel is being recorded"

FrostByte266 avatar Sep 13 '21 22:09 FrostByte266

I think we can agree though that it won't be the responsibility of the library to ensure compliance with any applicable laws.

tcprescott avatar Sep 13 '21 23:09 tcprescott

Could also have the bot play a sound effect of "This channel is being recorded"

We NEED IT!

ProManGaming avatar Sep 14 '21 16:09 ProManGaming

This would be a great feature not gonna lie, it allows for some really interesting features when combined with something like a voice recognition system or similar

UnitTHK avatar Oct 08 '21 05:10 UnitTHK

It would be great yes, but discord hasn't documented any part of it which would make it hard to implement properly.

CodeWithSwastik avatar Oct 08 '21 15:10 CodeWithSwastik

Added to our Todo list for discord-api-docs. I'll keep you updated in this. https://aitsys.dev/T93

Lulalaby avatar Oct 08 '21 18:10 Lulalaby