Add support for audio stream encryption

Clients must opt-in using the new encryptionFlags field
This commit is contained in:
Cameron Gutman
2021-04-22 00:20:17 -05:00
parent 55cf1f8d30
commit db81f1e512
6 changed files with 71 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ OPUS_MULTISTREAM_CONFIGURATION NormalQualityOpusConfig;
OPUS_MULTISTREAM_CONFIGURATION HighQualityOpusConfig;
int OriginalVideoBitrate;
int AudioPacketDuration;
bool AudioEncryptionEnabled;
// Connection stages
static const char* stageNames[STAGE_MAX] = {