]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8372 #resolve [Wrong response to RTP/SAVPF without DTLS]
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 21 Oct 2015 16:28:37 +0000 (11:28 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 21 Oct 2015 16:28:37 +0000 (11:28 -0500)
src/switch_core_media.c

index de0848704fc42e375d1ec0f0c1c4d5a61290259f..a231a93e95419f494182daf8f79a119935708493 100644 (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 {