mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 13:35:00 +00:00
FS-7500: add to last commit
This commit is contained in:
parent
ac140fb6dd
commit
1422158271
@ -7287,7 +7287,12 @@ SWITCH_DECLARE(void) switch_core_media_gen_local_sdp(switch_core_session_t *sess
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ((vbw = switch_channel_get_variable(smh->session->channel, "rtp_video_max_bandwidth"))) {
|
if (!(vbw = switch_channel_get_variable(smh->session->channel, "rtp_video_max_bandwidth"))) {
|
||||||
|
vbw = switch_channel_get_variable(smh->session->channel, "rtp_video_max_bandwidth_in");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (vbw) {
|
||||||
int v = atoi(vbw);
|
int v = atoi(vbw);
|
||||||
bw = v;
|
bw = v;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user