mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 14:28:34 +00:00
FS-6887 #resolve #comment new bug flag always_auto_adjust (also implicitly sets accept_any_packets)
This commit is contained in:
1 parent
9e9175321a
commit
6bfc05b81e
3 files changed
+34
-5
No files matched your search
@@ -859,6 +859,14 @@ SWITCH_DECLARE(void) switch_core_media_parse_rtp_bugs(switch_rtp_bug_flag_t *fla
|
||||
if (switch_stristr("~FLUSH_JB_ON_DTMF", str)) {
|
||||
*flag_pole &= ~RTP_BUG_FLUSH_JB_ON_DTMF;
|
||||
}
|
||||
|
||||
if (switch_stristr("ALWAYS_AUTO_ADJUST", str)) {
|
||||
*flag_pole |= (RTP_BUG_ALWAYS_AUTO_ADJUST | RTP_BUG_ACCEPT_ANY_PACKETS);
|
||||
}
|
||||
|
||||
if (switch_stristr("~ALWAYS_AUTO_ADJUST", str)) {
|
||||
*flag_pole &= ~(RTP_BUG_ALWAYS_AUTO_ADJUST | RTP_BUG_ACCEPT_ANY_PACKETS);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user