From f88fc1fa907f720df4a3e915509e688e9e4cf1f8 Mon Sep 17 00:00:00 2001 From: Chia-chi Yeh Date: Thu, 30 Sep 2010 08:51:59 +0800 Subject: RTP: Enable AMR codec. Change-Id: I49e6bdc1b67306b44173f2f346f8372a50264870 --- voip/java/android/net/rtp/AudioCodec.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'voip/java/android/net/rtp') diff --git a/voip/java/android/net/rtp/AudioCodec.java b/voip/java/android/net/rtp/AudioCodec.java index f171806..3877aeb 100644 --- a/voip/java/android/net/rtp/AudioCodec.java +++ b/voip/java/android/net/rtp/AudioCodec.java @@ -80,8 +80,7 @@ public class AudioCodec { */ public static final AudioCodec AMR = new AudioCodec(97, "AMR/8000", null); - // TODO: add rest of the codecs when the native part is done. - private static final AudioCodec[] sCodecs = {GSM_EFR, GSM, PCMU, PCMA}; + private static final AudioCodec[] sCodecs = {GSM_EFR, AMR, GSM, PCMU, PCMA}; private AudioCodec(int type, String rtpmap, String fmtp) { this.type = type; -- cgit v1.1