Updates to send side streaming mode:

1. Disabling frame-droppers from the vie encoder and not the channel.
2. Accounting for qpMax in the VP8 wrapper.

Review URL: https://webrtc-codereview.appspot.com/1101007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3492 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mikhal@webrtc.org
2013-02-10 18:42:55 +00:00
parent 79481474ad
commit 3d305c64b4
6 changed files with 31 additions and 7 deletions

View File

@@ -239,7 +239,7 @@ int VP8EncoderImpl::InitEncode(const VideoCodec* inst,
config_->rc_resize_allowed = inst->codecSpecific.VP8.automaticResizeOn ?
1 : 0;
config_->rc_min_quantizer = 2;
config_->rc_max_quantizer = 56;
config_->rc_max_quantizer = inst->qpMax;
config_->rc_undershoot_pct = 100;
config_->rc_overshoot_pct = 15;
config_->rc_buf_initial_sz = 500;

View File

@@ -92,6 +92,7 @@ bool VCMCodecDataBase::Codec(int list_id,
settings->width = VCM_DEFAULT_CODEC_WIDTH;
settings->height = VCM_DEFAULT_CODEC_HEIGHT;
settings->numberOfSimulcastStreams = 0;
settings->qpMax = 56;
settings->codecSpecific.VP8.resilience = kResilientStream;
settings->codecSpecific.VP8.numberOfTemporalLayers = 1;
settings->codecSpecific.VP8.denoisingOn = true;