mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-09 22:32:37 +00:00
FS-9135: handle null sdp sent to switch_core_media_set_sdp_codec_string
This commit is contained in:
parent
002079d0e7
commit
a8288ec1a9
@ -10096,6 +10096,7 @@ SWITCH_DECLARE(void) switch_core_media_set_sdp_codec_string(switch_core_session_
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!r_sdp) {
|
if (!r_sdp) {
|
||||||
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Setting NULL SDP is invalid\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user