[Freeswitch-users] sample rate with record_session
Frank - IMPACT
frank at impactfax.com
Wed Jul 23 07:48:37 PDT 2008
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?
More information about the FreeSWITCH-users
mailing list