Add more debug info

This commit is contained in:
bossiel 2012-12-19 02:44:36 +00:00
parent 2b2f726c00
commit e36cf37f0a
2 changed files with 4 additions and 2 deletions

View File

@ -130,12 +130,14 @@ static int tdav_codec_vp8_set(tmedia_codec_t* self, const tmedia_param_t* param)
case tmedia_codec_action_bw_down:
{
vp8->encoder.cfg.rc_target_bitrate = ((vp8->encoder.cfg.rc_target_bitrate << 1) / 3);
TSK_DEBUG_INFO("New target bitrate = %d kbps", vp8->encoder.cfg.rc_target_bitrate);
reconf = tsk_true;
break;
}
case tmedia_codec_action_bw_up:
{
vp8->encoder.cfg.rc_target_bitrate = ((vp8->encoder.cfg.rc_target_bitrate * 3) >> 1);
TSK_DEBUG_INFO("New target bitrate = %d kbps", vp8->encoder.cfg.rc_target_bitrate);
reconf = tsk_true;
break;
}

View File

@ -72,13 +72,13 @@
</tr>
<tr>
<td>
<a style='width: 65px; margin: 1px' class="btn btn-danger btn-small" href="http://code.google.com/p/sipml5/"
<a style='width: 65px; margin: 1px' class="btn btn-danger btn-small" href="http://sipml5.org/index.html?svn=20"
target="_blank">sipML5 &raquo;</a>
</td>
<td>
HTML5 SIP client using <a href="http://www.webrtc2sip.org" target="_blank">
webrtc2sip</a> Gateway.<br />
<a style='margin: 1px' class="btn btn-small" href="http://sipml5.org/call.htm?svn=15" target="_blank">
<a style='margin: 1px' class="btn btn-small" href="http://sipml5.org/call.htm?svn=20" target="_blank">
Enjoy our live demo &raquo;</a>
</td>
</tr>