[Freeswitch-users] record_fsv buffers - Any way to flush incoming video?

Greg Millam greg at brilliantecho.com
Wed Jan 18 20:33:02 MSK 2012


> commit c358f67fe4348b8b5209328660aef02d8ffaf15f
> Author: Anthony Minessale <anthm at 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.

It works, but now since it's missing the first frame, the resulting
video is only partial, showing new bits. Is there a way to send a
message to the client to "clear and send a full frame of video" ?

> On Mon, Jan 16, 2012 at 11:38 PM, Greg Millam <greg at 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



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list