diff --git a/src/media/system_codec_container.cpp b/src/media/system_codec_container.cpp index fbd46db19632119b0c738d8b0af3fae63e5acb25..4fbf374d474d023d231681e856f47a96cbc58ea6 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());