Add audio stream encryption

This commit is contained in:
Cameron Gutman
2021-04-23 19:07:27 -05:00
parent d88321263f
commit 1c3d072b49
2 changed files with 5 additions and 1 deletions

View File

@@ -427,6 +427,10 @@ void ClConnectionStatusUpdate(int status)
_streamConfig.enableHdr = config.enableHdr;
_streamConfig.audioConfiguration = config.audioConfiguration;
// TODO: If/when video encryption is added, we'll probably want to
// limit that to devices that support the ARMv8 AES instructions.
_streamConfig.encryptionFlags = ENCFLG_AUDIO;
// Use some of the HEVC encoding efficiency improvements to
// reduce bandwidth usage while still gaining some image
// quality improvement.