Skip to content
Snippets Groups Projects
Commit b6586a35 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Andreas Traczyk
Browse files

disable VP8 encoding for iOS


Change-Id: I2e23a83ae992c4ed0063dafff34d3a49ee006681
Reviewed-by: default avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent 80b6a94b
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,10 @@
#include <sstream>
#ifdef APPLE
#include <TargetConditionals.h>
#endif
namespace ring {
decltype(getGlobalInstance<SystemCodecContainer>)& getSystemCodecContainer = getGlobalInstance<SystemCodecContainer>;
......@@ -61,12 +65,14 @@ SystemCodecContainer::initCodecConfig()
minH264,
maxH264),
#if !(defined(TARGET_OS_IOS) && TARGET_OS_IOS)
std::make_shared<SystemVideoCodecInfo>(AV_CODEC_ID_VP8,
"VP8", "libvpx",
CODEC_ENCODER_DECODER,
defaultBitrate,
minVP8,
maxVP8),
#endif
std::make_shared<SystemVideoCodecInfo>(AV_CODEC_ID_MPEG4,
"MP4V-ES", "mpeg4",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment