Browse Source

TT#26752 enable GSM and iLBC codecs

Change-Id: I7eaea5b568d6a28bf20443656c20fe4807bdbdf2
changes/18/18918/5
Richard Fuchs 8 years ago
parent
commit
caf7350d6b
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      lib/codeclib.c

+ 4
- 0
lib/codeclib.c View File

@ -114,6 +114,7 @@ static codec_def_t __codec_defs[] = {
.avcodec_id = AV_CODEC_ID_GSM, .avcodec_id = AV_CODEC_ID_GSM,
.default_clockrate = 8000, .default_clockrate = 8000,
.default_channels = 1, .default_channels = 1,
//.default_bitrate = 13200,
.default_ptime = 20, .default_ptime = 20,
.packetizer = packetizer_passthrough, .packetizer = packetizer_passthrough,
.type = MT_AUDIO, .type = MT_AUDIO,
@ -121,7 +122,10 @@ static codec_def_t __codec_defs[] = {
{ {
.rtpname = "iLBC", .rtpname = "iLBC",
.avcodec_id = AV_CODEC_ID_ILBC, .avcodec_id = AV_CODEC_ID_ILBC,
.default_clockrate = 8000,
.default_channels = 1,
.default_ptime = 20, .default_ptime = 20,
//.default_bitrate = 15200,
.packetizer = packetizer_passthrough, .packetizer = packetizer_passthrough,
.type = MT_AUDIO, .type = MT_AUDIO,
}, },


Loading…
Cancel
Save