mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 21:38:34 +00:00
FS-8293 add quality level 0 to conference (default is 1) and fix some logic in auto bw
This commit is contained in:
1 parent
d35d7344be
commit
6cd796a9bc
6 files changed
+51
-39
No files matched your search
@@ -845,7 +845,7 @@ static switch_status_t open_encoder(h264_codec_context_t *context, uint32_t widt
|
||||
if (context->codec_settings.video.bandwidth) {
|
||||
context->bandwidth = context->codec_settings.video.bandwidth * 8;
|
||||
} else {
|
||||
context->bandwidth = switch_calc_bitrate(context->codec_settings.video.width, context->codec_settings.video.height, 0, 0) * 8;
|
||||
context->bandwidth = switch_calc_bitrate(context->codec_settings.video.width, context->codec_settings.video.height, 1, 15) * 8;
|
||||
}
|
||||
|
||||
sane = switch_calc_bitrate(1920, 1080, 2, 30);
|
||||
|
||||
Reference in new issue
Block a user