FS-11177: [freeswitch-core] h264 vid tweaks -- increase gop #resolve

This commit is contained in:
Anthony Minessale 2018-06-12 18:07:34 -05:00 committed by Muteesa Fred
parent afcb1f8d51
commit b81f432b84
1 changed files with 2 additions and 2 deletions

View File

@ -916,8 +916,8 @@ static switch_status_t open_encoder(h264_codec_context_t *context, uint32_t widt
context->encoder_ctx->rc_max_rate = context->encoder_ctx->bit_rate;
context->encoder_ctx->rc_buffer_size = context->encoder_ctx->bit_rate;
context->encoder_ctx->qcompress = 0.6;
context->encoder_ctx->gop_size = fps * 2;
context->encoder_ctx->keyint_min = fps * 2;
context->encoder_ctx->gop_size = 1000;
context->encoder_ctx->keyint_min = 1000;
context->encoder_ctx->width = context->codec_settings.video.width;
context->encoder_ctx->height = context->codec_settings.video.height;