VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jonas.gauffin at gmail... Guest
|
Posted: Tue Apr 21, 2009 6:26 am Post subject: [Freeswitch-users] javascript: session.recordFile |
|
|
I'm using session.recordFile in a javascript.
How do I check the length of the recorded file? |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Apr 21, 2009 12:02 pm Post subject: [Freeswitch-users] javascript: session.recordFile |
|
|
On Tue, Apr 21, 2009 at 4:23 AM, Jonas Gauffin <jonas.gauffin@gmail.com (jonas.gauffin@gmail.com)> wrote:
Quote: | 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 |
|
Back to top |
|
|
jonas.gauffin at gmail... Guest
|
Posted: Tue Apr 21, 2009 1:00 pm Post subject: [Freeswitch-users] javascript: session.recordFile |
|
|
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@freeswitch.org (msc@freeswitch.org)> wrote:
|
|
Back to top |
|
|
stevecrozz at gmail.com Guest
|
Posted: Tue Apr 21, 2009 1:09 pm Post subject: [Freeswitch-users] javascript: session.recordFile |
|
|
You can make a really close estimation based on the size of the recorded file. That's what I've been doing.
--Stephen
On Tue, Apr 21, 2009 at 10:58 AM, Jonas Gauffin <jonas.gauffin@gmail.com (jonas.gauffin@gmail.com)> wrote:
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Apr 21, 2009 1:11 pm Post subject: [Freeswitch-users] javascript: session.recordFile |
|
|
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@gmail.com (jonas.gauffin@gmail.com)> wrote:
|
|
Back to top |
|
|
jonas.gauffin at gmail... Guest
|
Posted: Tue Apr 21, 2009 1:43 pm Post subject: [Freeswitch-users] javascript: session.recordFile |
|
|
How?
On Tue, Apr 21, 2009 at 8:02 PM, Stephen Crosby <stevecrozz@gmail.com (stevecrozz@gmail.com)> wrote:
|
|
Back to top |
|
|
stevecrozz at gmail.com Guest
|
Posted: Tue Apr 21, 2009 1:47 pm Post subject: [Freeswitch-users] javascript: session.recordFile |
|
|
You can do a timestamp comparison, but over some long recorded sessions (30+ minutes), I've run into some type of "drift" in the past that made this method inaccurate enough for me to not use.
--Stephen
On Tue, Apr 21, 2009 at 11:06 AM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
|
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Tue Apr 21, 2009 2:46 pm Post subject: [Freeswitch-users] javascript: session.recordFile |
|
|
update to trunk and you should have
record_ms and record_samples chanvars
also playback_ms and playback_samples for playing
On Tue, Apr 21, 2009 at 12:58 PM, Jonas Gauffin <jonas.gauffin@gmail.com (jonas.gauffin@gmail.com)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
jonas.gauffin at gmail... Guest
|
Posted: Tue Apr 21, 2009 11:54 pm Post subject: [Freeswitch-users] javascript: session.recordFile |
|
|
Thanks!
On Tue, Apr 21, 2009 at 9:34 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|