[Freeswitch-svn] [commit] r2439 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN brian at freeswitch.org
Tue Aug 29 22:38:32 EDT 2006


Author: brian
Date: Tue Aug 29 22:38:32 2006
New Revision: 2439

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c

Log:
small tweak

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Tue Aug 29 22:38:32 2006
@@ -1160,7 +1160,7 @@
 						tech_pvt->rm_encoding = switch_core_session_strdup(session, (char *)map->rm_encoding);
 						tech_pvt->pt = (switch_payload_t)map->rm_pt;
 						tech_pvt->rm_rate = map->rm_rate;
-						tech_pvt->codec_ms = 20;
+						tech_pvt->codec_ms = imp->microseconds_per_frame / 1000;
 						tech_pvt->remote_sdp_audio_ip = switch_core_session_strdup(session, (char *)sdp->sdp_connection->c_address);
 						tech_pvt->remote_sdp_audio_port = (switch_port_t)m->m_port;
 						break;



More information about the Freeswitch-svn mailing list