The bitrate is "hard coded" to 24k (mod_shout.c:769). When you say the bitrate of the audio you are sending is 64k, what codec? mp3 is a compressed format. Trying to match the bitrate of either a uncompressed codec or other compression is not desirable. Instead choose a bitrate that is acoustically transparent and still low enough to be useful.<br>
<br><div class="gmail_quote">On Thu, Apr 29, 2010 at 6:48 AM, Andy <span dir="ltr"><<a href="mailto:andy@fabulous4.co.uk">andy@fabulous4.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div><span><font size="2" face="Arial">Hi
folks,</font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">I'm using
session.recordFile to push the audio from my calls to an icecast server. As
far as I can tell the bitrate of the audio I'm sending is only 64kbps but the
info sent to icecast about the stream always says 24000kbps which is causing me
problems. </font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">Is there anyway I
can correct the value sent in the info packet without editing the source code of
mod_shout? </font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">This may be a
question for the developers list but, If I did decide to edit the code in
mod_shout.c is there a way I can set this to the actual bit rate for the stream
rather than hardcoding it to 64kbps which is actually always true with my
application.</font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">Cheers</font></span></div>
<div><span><font size="2" face="Arial">Andy</font></span></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-Rupa<br>