- set ptime:120 and framesPerPacket=6

This commit is contained in:
Richard Alam 2010-08-16 16:50:35 -04:00
parent b03ffcf30e
commit 3fef44952a
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ public class CodecFactory {
private int[] availableVideoCodecsId = {};
private static CodecFactory singletonSIPCodecFactory = new CodecFactory();
private static String[] codecCommonAudioMediaAttributes = {"ptime:40"};
private static String[] codecCommonAudioMediaAttributes = {"ptime:120"};
public static CodecFactory getInstance() {
return singletonSIPCodecFactory;

View File

@ -76,7 +76,7 @@ package org.bigbluebutton.modules.phone.managers
if (audioCodec == "SPEEX") {
mic.encodeQuality = 6;
mic.codec = SoundCodec.SPEEX;
mic.framesPerPacket = 2;
mic.framesPerPacket = 6;
mic.rate = 16;
LogUtil.debug("codec=SPEEX,framesPerPacket=1,rate=16");
} else {