]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3545 --resolve this is actually compliant when mixing ptimes in the same sdp but...
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 7 Sep 2011 13:07:04 +0000 (08:07 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 7 Sep 2011 13:07:04 +0000 (08:07 -0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 124982c1de8cab789323fac7d5a5c4a76b500acf..adc0c5347f6950456efff8c7007cc30c547c07ee 100644 (file)
@@ -583,6 +583,10 @@ void sofia_glue_set_local_sdp(private_object_t *tech_pvt, const char *ip, switch
                                
                                this_ptime = imp->microseconds_per_packet / 1000;
                                
+                               if (!strcasecmp(imp->iananame, "ilbc")) {
+                                       this_ptime = 20;
+                               }
+                               
                                if (cur_ptime != this_ptime) {
                                        char *bp = buf;
                                        cur_ptime = this_ptime;