- set ptime:120 and framesPerPacket=6
This commit is contained in:
parent
b03ffcf30e
commit
3fef44952a
@ -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;
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user