mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FS-7508: parse both bw vars the same
This commit is contained in:
committed by
Michael Jerris
parent
58a8d5daa6
commit
8d3f93152e
@@ -100,7 +100,7 @@ static switch_status_t init_codec(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 / 1024;
|
||||
context->bandwidth = context->codec_settings.video.width * context->codec_settings.video.height / 512;
|
||||
}
|
||||
|
||||
if (context->bandwidth > 5120) {
|
||||
|
Reference in New Issue
Block a user