Reputation: 11
which codecs are supported for audio in android? G711 is supported. But is there any other like G729,...etc?
Upvotes: 1
Views: 4123
Reputation: 2605
Take a look at: http://developer.android.com/reference/android/media/MediaCodecInfo.html
Have a piece of code which tell's all the avaible codecs (audio and video) in the device.
private List<String> mSupportedCodecs;
private void getSupportedCodecs() {
int numCodecs = MediaCodecList.getCodecCount();
mSupportedCodecs = new ArrayList<String>(numCodecs);
for (int i = 0; i < numCodecs; i++) {
MediaCodecInfo codecInfo = MediaCodecList.getCodecInfoAt(i);
mSupportedCodecs.add(codecInfo.getName());
}
}
Upvotes: 1
Reputation: 10558
Take a look here:
http://developer.android.com/guide/appendix/media-formats.html
Im not sure if G.729 is explicitly available. But it might be used as a module in one of the other codecs that are listed on the page above.
HTH,
Sriram.
Upvotes: 1