record_fsv buffers - Any way to flush incoming video?
Hi folks - I have a freeswitch dialplan + script that first calls play_fsv to play a greeting, then record_fsv to record incoming video to fsv. It works fine, but there's one issue: Apparently, freeswitch is buffering incoming video during play_fsv. When record_fsv is called, that buffer is dumped into the .fsv file, resulting in several seconds of unneeded video. Is there a way to empty that incoming video buffer before record_fsv begins recording? Thank you! - Greg Millam
try this: commit c358f67fe4348b8b5209328660aef02d8ffaf15f Author: Anthony Minessale <anthm@freeswitch.org> Date: Tue Jan 17 12:19:23 2012 -0600 eat inbound vid while playing fsv files I didn't have a way to test it setup so i'll need feedback. On Mon, Jan 16, 2012 at 11:38 PM, Greg Millam <greg@brilliantecho.com>wrote:
Hi folks -
I have a freeswitch dialplan + script that first calls play_fsv to play a greeting, then record_fsv to record incoming video to fsv.
It works fine, but there's one issue: Apparently, freeswitch is buffering incoming video during play_fsv. When record_fsv is called, that buffer is dumped into the .fsv file, resulting in several seconds of unneeded video.
Is there a way to empty that incoming video buffer before record_fsv begins recording?
Thank you!
- Greg Millam
_________________________________________________________________________ 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-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (2)
-
Anthony Minessale
-
Greg Millam