From 7465835808262f6f60fccc8f4ad255ceb4209c4b Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 28 Jan 2024 14:37:03 -0600 Subject: [PATCH] Remove CPU core count check Decryption seems fast enough for all reasonable bitrates even on dual-core devices. --- Limelight/Stream/Connection.m | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Limelight/Stream/Connection.m b/Limelight/Stream/Connection.m index a26687aa..846add93 100644 --- a/Limelight/Stream/Connection.m +++ b/Limelight/Stream/Connection.m @@ -422,14 +422,8 @@ void ClSetControllerLED(uint16_t controllerNumber, uint8_t r, uint8_t g, uint8_t // Since we require iOS 12 or above, we're guaranteed to be running // on a 64-bit device with ARMv8 crypto instructions, so we don't - // need to check for that here. Instead, we'll just check for more - // than 2 cores, which eliminates the early dual-core CPUs (A7-A9). - if (NSProcessInfo.processInfo.processorCount > 2) { - _streamConfig.encryptionFlags = ENCFLG_ALL; - } - else { - _streamConfig.encryptionFlags = ENCFLG_AUDIO; - } + // need to check for that here. + _streamConfig.encryptionFlags = ENCFLG_ALL; if ([Utils isActiveNetworkVPN]) { // Force remote streaming mode when a VPN is connected