[Freeswitch-dev] How to pause and resume play an audio file in conference?
How to pause and resume play an audio file in conference? For example: I create a conference room with some members, and play an audio file to them. When someone start-talking, I pause the playing. When nobody talking, I resume play the audio file.
As far as I know this can only be accomplished with an app that listens to events. In mod_conference you will see that there are start talk and stop talk events. If you monitor all conference members then you could pause/un-pause based on whether anyone was speaking. I recommend you read up on ESL<http://wiki.freeswitch.org/wiki/Event_Socket_Library>and mod_conference <http://wiki.freeswitch.org/wiki/Mod_conference> on the wiki as a starting point. -MC On Tue, Jan 8, 2013 at 6:12 PM, 王迪 <wangd@alongtechnology.com.cn> wrote:
** How to pause and resume play an audio file in conference? For example: I create a conference room with some members, and play an audio file to them. When someone start-talking, I pause the playing. When nobody talking, I resume play the audio file.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
participants (2)
-
Michael Collins
-
王迪