From 333582958505c4ef4a6dd4390d6e8e7a80b8df00 Mon Sep 17 00:00:00 2001 From: Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com> Date: Fri, 3 Apr 2020 10:55:57 -0400 Subject: [PATCH] video: disable HEVC for iOS Change-Id: I7b02593ebe7cfa337635bd57270db9d4fe1e6ea2 --- src/media/system_codec_container.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/media/system_codec_container.cpp b/src/media/system_codec_container.cpp index fbd46db196..4fbf374d47 100644 --- a/src/media/system_codec_container.cpp +++ b/src/media/system_codec_container.cpp @@ -138,6 +138,11 @@ SystemCodecContainer::initCodecConfig() bool SystemCodecContainer::setActiveH265() { +#if (defined(TARGET_OS_IOS) && TARGET_OS_IOS) + removeCodecByName("H265"); + return false; +#endif + auto apiName = MediaEncoder::testH265Accel(); if (apiName != "") { JAMI_WARN("Found a usable accelerated H265/HEVC codec: %s, enabling.", apiName.c_str()); -- GitLab