]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
set level to 4.1 on voip
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 30 Sep 2015 17:05:07 +0000 (12:05 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 30 Sep 2015 17:05:07 +0000 (12:05 -0500)
src/mod/applications/mod_av/avcodec.c

index 5d4a0e1a161b178e244dcf6ff2bebaee9cb8d685..3589eb33896cfe4814821aa217350e6400b57cac 100644 (file)
@@ -866,7 +866,7 @@ static switch_status_t open_encoder(h264_codec_context_t *context, uint32_t widt
                av_opt_set_int(context->encoder_ctx->priv_data, "mb_info", SLICE_SIZE - 8, 0);
        } else if (context->av_codec_id == AV_CODEC_ID_H264) {
                context->encoder_ctx->profile = FF_PROFILE_H264_BASELINE;
-               context->encoder_ctx->level = 30;
+               context->encoder_ctx->level = 41;
                av_opt_set(context->encoder_ctx->priv_data, "preset", "veryfast", 0);
                av_opt_set(context->encoder_ctx->priv_data, "tune", "zerolatency", 0);
                av_opt_set(context->encoder_ctx->priv_data, "profile", "baseline", 0);