mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
FS-6888 #resolve #comment fix regression from refactoring new feature
This commit is contained in:
parent
d52cb335db
commit
01bf42225c
@ -5230,13 +5230,12 @@ SWITCH_DECLARE(switch_status_t) switch_channel_pass_sdp(switch_channel_t *from_c
|
|||||||
const char *var;
|
const char *var;
|
||||||
|
|
||||||
if ((var = switch_channel_get_variable(from_channel, "bypass_media_sdp_filter"))) {
|
if ((var = switch_channel_get_variable(from_channel, "bypass_media_sdp_filter"))) {
|
||||||
|
|
||||||
if ((patched_sdp = switch_core_media_process_sdp_filter(use_sdp, var, from_channel->session))) {
|
if ((patched_sdp = switch_core_media_process_sdp_filter(use_sdp, var, from_channel->session))) {
|
||||||
use_sdp = patched_sdp;
|
use_sdp = patched_sdp;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch_channel_set_variable(to_channel, SWITCH_B_SDP_VARIABLE, use_sdp);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch_channel_set_variable(to_channel, SWITCH_B_SDP_VARIABLE, use_sdp);
|
||||||
}
|
}
|
||||||
|
|
||||||
switch_safe_free(patched_sdp);
|
switch_safe_free(patched_sdp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user