feat: removing old voice encryption modes

- VP8 working (ok)
- H264 working (bad)
by #101 (dank074/Discord-video-stream)
This commit is contained in:
Elysia
2024-09-16 22:01:15 +07:00
parent e9d81ce25c
commit 99e348fe2b
5 changed files with 42 additions and 52 deletions

View File

@@ -22,15 +22,7 @@ class SingleSilence extends Silence {
}
}
const SUPPORTED_MODES = [
// Avalible (but only voice working)
// 'aead_aes256_gcm_rtpsize',
// 'aead_xchacha20_poly1305_rtpsize',
// Deprecated
'xsalsa20_poly1305_lite',
'xsalsa20_poly1305_suffix',
'xsalsa20_poly1305',
];
const SUPPORTED_MODES = ['aead_aes256_gcm_rtpsize', 'aead_xchacha20_poly1305_rtpsize'];
const SUPPORTED_CODECS = ['VP8', 'H264'];
/**