I think he means, “I don’t need CD-quality audio or anything close to that – I just want a lower sampling rate so that my wav file isn’t so big.”  

-MC

 


From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale
Sent: Wednesday, July 23, 2008 1:33 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] sample rate with record_session

 

what do you mean by "more information"?

On Wed, Jul 23, 2008 at 9:48 AM, Frank - IMPACT <frank@impactfax.com> wrote:

Running FreeSwitch Version 1.0.trunk (9111) on RH 8

Record_session works fine with this

         <action application="set" data="RECORD_ANSWER_REQ=true"/>
         <action application="set" data="RECORD_STEREO=true"/>
         <action application="record_session"
data="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_n
umber}.wav"/>

But the sample rate and resulting wav file are way more information than I
need.  I tried to half the sample rate with this inserted before we run
record_session.
         <action application="set" data="record_rate=5512"/>

But that did not seem to reduce the sample rate and the resulting wav file.

Is this the wrong variable to set or is this not possible to reduce sample
rates and wav size files?


_______________________________________________
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/

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
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400