hi ,
how can I reduce the bitrate used by Speex. I looked into the speex file
in mediastreamer and I found that.. if change the value of s->mode to 1 ,
will it be able to encode the audio at 2.15 kbps ?
if (s->rate==8000){
//+------+---------------+-------------+^M
//| mode | Speex quality | bit-rate |^M
//+------+---------------+-------------+^M
//| 1 | 0 | 2.15 kbit/s |^M
//| 2 | 2 | 5.95 kbit/s |^M
//| 3 | 3 or 4 | 8.00 kbit/s |^M
//| 4 | 5 or 6 | 11.0 kbit/s |^M
//| 5 | 7 or 8 | 15.0 kbit/s |^M
//| 6 | 9 | 18.2 kbit/s |^M
//| 7 | 10 | 24.6 kbit/s |^M
//| 8 | 1 | 3.95 kbit/s |^M
//+------+---------------+-------------+^M
if (s->mode<=0 || s->mode>8)
s->mode = 3; /* default mode */
if (s->mode==1)
{
s->bitrate = 2150;
}
else if (s->mode==2)
s->bitrate = 5950;
_______________________________________________
Linphone-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/linphone-users