FS-8372 #resolve [Wrong response to RTP/SAVPF without DTLS]

This commit is contained in:
Anthony Minessale 2015-10-21 11:28:37 -05:00
parent 95b0f0c88a
commit 072f269ee7
1 changed files with 1 additions and 1 deletions

View File

@ -6728,7 +6728,7 @@ static const char *get_media_profile_name(switch_core_session_t *session, int se
switch_assert(session);
if (switch_channel_test_flag(session->channel, CF_AVPF)) {
if (switch_channel_test_flag(session->channel, CF_DTLS)) {
if (switch_channel_test_flag(session->channel, CF_DTLS) || secure) {
if (switch_channel_test_flag(session->channel, CF_AVPF_MOZ)) {
return "UDP/TLS/RTP/SAVPF";
} else {