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

Greg Millam greg at brilliantecho.com
Fri Jan 20 21:58:52 MSK 2012


Hi - The video refresh request does the job. recorded videos are very
good quality, now, and start only when record_fsv is called. Thank you
very much!

- Greg Millam

> ---------- Forwarded message ----------
> From: Anthony Minessale <anthony.minessale at gmail.com>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Wed, 18 Jan 2012 13:41:49 -0600
> Subject: Re: [Freeswitch-users] record_fsv buffers - Any way to flush incoming video?
> try this:
>
> commit 67f559685f97b273dc5f5d23b69cc85cf90e32b0
> Author: Anthony Minessale <anthm at freeswitch.org>
> Date:   Wed Jan 18 14:08:55 2012 -0600
>
>     req vid refresh in fsv
>
>
> On Wed, Jan 18, 2012 at 11:33 AM, Greg Millam <greg at brilliantecho.com> wrote:
>>
>> > 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