update v2.x
This commit is contained in:
parent
7f1240b44a
commit
23535afa7c
Binary file not shown.
|
@ -135,6 +135,7 @@ int tdav_codec_h264_open(tmedia_codec_t* self)
|
|||
//h264->encoder.context->bit_rate = (int) (bitRate * 0.80f);
|
||||
//h264->encoder.context->bit_rate_tolerance = (int) (bitRate * 0.20f);
|
||||
h264->encoder.context->gop_size = TMEDIA_CODEC_VIDEO(h264)->fps*4; // Each 4 second(s)
|
||||
// h264->encoder.context->keyint_min = TMEDIA_CODEC_VIDEO(h264)->fps;
|
||||
|
||||
|
||||
// Picture (YUV 420)
|
||||
|
|
|
@ -1274,7 +1274,7 @@ static tsk_object_t* tmedia_session_mgr_ctor(tsk_object_t * self, va_list * app)
|
|||
|
||||
mgr->qos.type = tmedia_qos_stype_none;
|
||||
mgr->qos.strength = tmedia_qos_strength_optional;
|
||||
mgr->bl = tmedia_bl_low;
|
||||
mgr->bl = tmedia_bl_medium;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue