FS-7499 adding some more refactoring towards better rtcp

This commit is contained in:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:47:31 -05:00
1 parent 930d8aea39
commit 81094b3a0c
7 files changed
+88 -58

No files matched your search

+1 -1
View File
@@ -312,7 +312,7 @@ static switch_status_t init_encoder(switch_codec_t *codec)
if (context->codec_settings.video.bandwidth) {
context->bandwidth = context->codec_settings.video.bandwidth;
} else {
context->bandwidth = ((context->codec_settings.video.width * context->codec_settings.video.height) / 900);
context->bandwidth = switch_calc_bitrate(context->codec_settings.video.width, context->codec_settings.video.height, 0, 0);
}
if (context->bandwidth > 40960) {