mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-07 07:59:49 +00:00
FS-8173 fix SAVPF printing when it's really AVPF
This commit is contained in:
parent
8712f62ced
commit
944bad6708
@ -6690,10 +6690,18 @@ static const char *get_media_profile_name(switch_core_session_t *session, int se
|
|||||||
switch_assert(session);
|
switch_assert(session);
|
||||||
|
|
||||||
if (switch_channel_test_flag(session->channel, CF_AVPF)) {
|
if (switch_channel_test_flag(session->channel, CF_AVPF)) {
|
||||||
if (switch_channel_test_flag(session->channel, CF_AVPF_MOZ)) {
|
if (switch_channel_test_flag(session->channel, CF_DTLS)) {
|
||||||
return "UDP/TLS/RTP/SAVPF";
|
if (switch_channel_test_flag(session->channel, CF_AVPF_MOZ)) {
|
||||||
|
return "UDP/TLS/RTP/SAVPF";
|
||||||
|
} else {
|
||||||
|
return "RTP/SAVPF";
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
return "RTP/SAVPF";
|
if (switch_channel_test_flag(session->channel, CF_AVPF_MOZ)) {
|
||||||
|
return "UDP/AVPF";
|
||||||
|
} else {
|
||||||
|
return "RTP/AVPF";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user