mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FS-7500: another round of trying to make things work
This commit is contained in:
committed by
Michael Jerris
parent
81bec5ebd0
commit
01fda5748c
@@ -99,7 +99,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 {
|
||||
int x = (context->codec_settings.video.width / 1000) + 1;
|
||||
int x = (context->codec_settings.video.width / 100) + 1;
|
||||
context->bandwidth = context->codec_settings.video.width * context->codec_settings.video.height * x;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user