EionRobb / purple-discord

A libpurple/Pidgin plugin for Discord
GNU General Public License v3.0
371 stars 42 forks source link

Voice support #92

Open alyssarosenzweig opened 6 years ago

alyssarosenzweig commented 6 years ago

(Placeholder issue -- TODO write-up on what this entails, how to do it, and why it's hard)

pkillnine commented 6 years ago

Does anyone know how this could be done?

alyssarosenzweig commented 6 years ago

In theory,

1) Implement the appropriate Discord APIs for negotiating voice (they are all publicly documented. Consult the source code for discord.js and friends for sample code on how to approach this).

2) Implement the appropriate libpurple APIs for negotiating voice (also not terribly difficult)

3) Implement support for actually encoding/decoding audio in a Discord friendly format/codec, piping to/from libpurple's audio API. IIRC there are limitations in the libpurple audio support that would make this very difficult without extending libpurple (and thus limiting us to a patched version of Pidgin, for instance).

This was discussed a while back, but I think we reached the consensus that voice support was too hard for the scope of this project, given how much work it would be for comparatively little gain?

I don't know if the situation has changed since then.

rodneyrod commented 6 years ago

If it helps, I'd be willing to put donations towards developing the missing parts of libpurple. Is there a Patreon or donations page I could specifically direct this support to?

davidhealey commented 5 years ago

I would donate also, we need voice chat!!!

asdfghjkl403622 commented 3 years ago

voice chat would be amazing, is it any better now?

iv4nhoe commented 3 years ago

In absence of voice support would it be possible to get at least a notification if someone tries to initiate a voice chat?

ghost commented 1 year ago

any updates?