<div>Thanks for the reply, I'm using session.recordFile and mp3 format. I've set the sample rate for the audio in the call to 11kHz which results in a bitrate of 16kbps (sorry I reported this wrongly in the first email). I'm assuming the bitrate of the icecast stream will match the bitrate of the audio in the call so it would be great if I could set the info sent to icecast to 16kbps instead of 24000kbps as at present.</div>
<div> </div>
<div>It appears this is not possible. No worries, I'll just change the hardcoded value in my install.</div>
<div> </div>
<div>Thanks<br><br></div>
<div class="gmail_quote">On 29 April 2010 14:32, Rupa Schomaker <span dir="ltr"><<a href="mailto:rupa@rupa.com">rupa@rupa.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">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">
<div>
<div></div>
<div class="h5">On Thu, Apr 29, 2010 at 6:48 AM, Andy <span dir="ltr"><<a href="mailto:andy@fabulous4.co.uk" target="_blank">andy@fabulous4.co.uk</a>></span> wrote:<br></div></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">
<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></div></div>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><font color="#888888">-Rupa<br></font><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>