FS-6319 --resolve
This commit is contained in:
parent
46c5268e09
commit
fcef3ad4b1
|
@ -6457,7 +6457,7 @@ SWITCH_DECLARE(void) switch_core_media_gen_local_sdp(switch_core_session_t *sess
|
|||
|
||||
if (switch_channel_test_flag(session->channel, CF_WEBRTC) || (mult && switch_false(mult))) {
|
||||
char *bp = buf;
|
||||
int both = switch_channel_test_flag(session->channel, CF_WEBRTC) ? 0 : 1;
|
||||
int both = (switch_channel_test_flag(session->channel, CF_WEBRTC) || switch_channel_test_flag(session->channel, CF_DTLS)) ? 0 : 1;
|
||||
|
||||
if ((!a_engine->no_crypto && switch_channel_test_flag(session->channel, CF_SECURE)) ||
|
||||
switch_channel_test_flag(session->channel, CF_DTLS)) {
|
||||
|
@ -6505,7 +6505,7 @@ SWITCH_DECLARE(void) switch_core_media_gen_local_sdp(switch_core_session_t *sess
|
|||
}
|
||||
}
|
||||
|
||||
if (switch_channel_test_flag(session->channel, CF_WEBRTC)) {
|
||||
if (switch_channel_test_flag(session->channel, CF_WEBRTC) || switch_channel_test_flag(session->channel, CF_DTLS)) {
|
||||
both = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue