Skip to content
Snippets Groups Projects
Commit 33358295 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

video: disable HEVC for iOS

Change-Id: I7b02593ebe7cfa337635bd57270db9d4fe1e6ea2
parent b5f0f80f
No related branches found
No related tags found
No related merge requests found
...@@ -138,6 +138,11 @@ SystemCodecContainer::initCodecConfig() ...@@ -138,6 +138,11 @@ SystemCodecContainer::initCodecConfig()
bool bool
SystemCodecContainer::setActiveH265() SystemCodecContainer::setActiveH265()
{ {
#if (defined(TARGET_OS_IOS) && TARGET_OS_IOS)
removeCodecByName("H265");
return false;
#endif
auto apiName = MediaEncoder::testH265Accel(); auto apiName = MediaEncoder::testH265Accel();
if (apiName != "") { if (apiName != "") {
JAMI_WARN("Found a usable accelerated H265/HEVC codec: %s, enabling.", apiName.c_str()); JAMI_WARN("Found a usable accelerated H265/HEVC codec: %s, enabling.", apiName.c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment