[Freeswitch-svn] [commit] r10011 - freeswitch/trunk/src/mod/applications/mod_conference

Freeswitch SVN anthm at freeswitch.org
Tue Oct 14 14:49:27 EDT 2008


Author: anthm
Date: Tue Oct 14 14:49:26 2008
New Revision: 10011

Modified:
   freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c

Log:
set read codec to NULL for reset is better

Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	Tue Oct 14 14:49:26 2008
@@ -4548,7 +4548,7 @@
 	conference_del_member(member.conference, &member);
 
 	/* Put the original codec back */
-	switch_core_session_set_read_codec(member.session, read_codec);
+	switch_core_session_set_read_codec(member.session, NULL);
 
 	/* Clean Up.  codec_done(X): is for error situations after the codecs were setup and done: is for situations before */
   codec_done1:



More information about the Freeswitch-svn mailing list