FS-10647: [mod_av] Video quality degragation from 1.6.17 to 1.6.19 #resolve

This commit is contained in:
Anthony Minessale 2017-09-06 12:59:18 -05:00
parent 7cf6eb8e74
commit 63eec0ee3a

View File

@ -573,7 +573,7 @@ static switch_status_t init_encoder(switch_codec_t *codec)
// The static threshold imposes a change threshold on blocks below which they will be skipped by the encoder.
vpx_codec_control(&context->encoder, VP8E_SET_STATIC_THRESHOLD, 100);
//Set cpu usage, a bit lower than normal (-6) but higher than android (-12)
vpx_codec_control(&context->encoder, VP8E_SET_CPUUSED, -16);
vpx_codec_control(&context->encoder, VP8E_SET_CPUUSED, -6);
vpx_codec_control(&context->encoder, VP8E_SET_TOKEN_PARTITIONS, token_parts);
// Enable noise reduction