-
Notifications
You must be signed in to change notification settings - Fork 7
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 Channel support #49
Comments
At least this is well documented Some relevant info:
(for encryption, see this part of discord's docs) The encryption and encoding seems to be the hardest part of implementing this, the actual communication is very similar to the gateway |
Oh and we also have no info about video, so we should probably implement voice first |
Doing some research, video uses VP8 and VP9, maybe env-libvpx-sys in rust? {
"codecs": [
{
"name": "opus",
"type": "audio",
"priority": 1000,
"payload_type": 109,
"rtx_payload_type": null
},
{
"name": "VP8",
"type": "video",
"priority": 2000,
"payload_type": 120,
"rtx_payload_type": 124
},
{
"name": "VP9",
"type": "video",
"priority": 3000,
"payload_type": 121,
"rtx_payload_type": 125
}
]
} |
Webrtc-rs may also be worth looking into, since it seems to support all the needed codecs |
Potentially maybe perhaps looking into this on feature/webrtc |
Good luck :) |
Also looking at how Serenity implemented this, they seem to have developed their own rtp parser and even their own opus bindings |
I wonder if we could... yoink this :D |
yup :D |
Slight change of plans, raw UDP first then webrtc |
wasm cannot support udp. |
A few notes:
|
Add support for sending and receiving live streams of WebRTC Video and Audio.
The text was updated successfully, but these errors were encountered: