set level to 4.1 on voip
This commit is contained in:
parent
32b43866f8
commit
158bcb841b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue