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;
|
||||
|
||||
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))) {
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue