]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
make autoflush on bridge the default
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 19 May 2009 17:49:21 +0000 (17:49 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 19 May 2009 17:49:21 +0000 (17:49 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13389 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/sip_profiles/internal.xml
src/mod/endpoints/mod_sofia/sofia.c

index 2d2534c382f28992b0dac5ff1a35ef1b80178ab7..9761f92aa5b5f294ee88551845d93cd088820d0f 100644 (file)
@@ -94,8 +94,8 @@
     <param name="tls-version" value="$${sip_tls_version}"/>
 
     <!-- turn on auto-flush during bridge (skip timer sleep when the socket already has data) 
-        (reduces delay on latent connections but may cause audio hiccups ) -->
-    <!--<param name="rtp-autoflush-during-bridge" value="true"/>-->
+        (reduces delay on latent connections default true, must be disabled explicitly)-->
+    <!--<param name="rtp-autoflush-during-bridge" value="false"/>-->
     
     <!--If you don't want to pass through timestamps from 1 RTP call to another (on a per call basis with rtp_rewrite_timestamps chanvar)-->
     <!--<param name="rtp-rewrite-timestamps" value="true"/>-->
index d1781b49906ca5da06de8c71932de4f97df9c55b..5f218b33b70f1df595cbba232b7f5ad93374bc6a 100644 (file)
@@ -2016,6 +2016,7 @@ switch_status_t config_sofia(int reload, char *profile_name)
                                profile->auto_restart = 1;
                                sofia_set_pflag(profile, PFLAG_AUTOFIX_TIMING);
                                sofia_set_pflag(profile, PFLAG_MESSAGE_QUERY_ON_REGISTER);
+                               sofia_set_pflag(profile, PFLAG_RTP_AUTOFLUSH_DURING_BRIDGE);
 
                                for (param = switch_xml_child(settings, "param"); param; param = param->next) {
                                        char *var = (char *) switch_xml_attr_soft(param, "name");