[Freeswitch-users] javascript: session.recordFile

Michael Collins msc at freeswitch.org
Tue Apr 21 11:06:06 PDT 2009


Just curious - could you not set a variable with the value of getTime()
right before recording starts and then compare that to getTime() as soon as
the recording ends?

-MC

On Tue, Apr 21, 2009 at 10:58 AM, Jonas Gauffin <jonas.gauffin at gmail.com>wrote:

> Yes, to be able to determine if it's too short or not.
>
> On Tue, Apr 21, 2009 at 7:01 PM, Michael Collins <msc at freeswitch.org>wrote:
>
>>
>>
>> On Tue, Apr 21, 2009 at 4:23 AM, Jonas Gauffin <jonas.gauffin at gmail.com>wrote:
>>
>>> I'm using session.recordFile in a javascript.
>>> How do I check the length of the recorded file?
>>>
>>
>> You mean once the file is recorded you want to know how many
>> minutes/seconds long it is?
>>
>> -MC
>>
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090421/decbb744/attachment-0002.html 


More information about the FreeSWITCH-users mailing list