Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voice Send/Receive #7

Open
PixeLInc opened this issue May 16, 2018 · 0 comments
Open

Voice Send/Receive #7

PixeLInc opened this issue May 16, 2018 · 0 comments
Labels
low priority Will be done eventually, or just there so you know.

Comments

@PixeLInc
Copy link
Member

Establish a gateway connection, grab the details and throw it to the connection.
Connect to the voice server, send over some details we got and select the protocol (current version being xsalsa20_poly1305.

All voice data is sent to Discord with Opus. It is sent via an RTP Header followed by the encrypted opus voice data. It uses a key supplied in the Opcode 4 Session Description payload combined w/ a 24 byte header which is used as a nonce, it is encrypted via libsodium.

@PixeLInc PixeLInc added the low priority Will be done eventually, or just there so you know. label May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority Will be done eventually, or just there so you know.
Projects
None yet
Development

No branches or pull requests

1 participant