Index: webrtc/modules/audio_coding/acm2/rent_a_codec.cc |
diff --git a/webrtc/modules/audio_coding/acm2/rent_a_codec.cc b/webrtc/modules/audio_coding/acm2/rent_a_codec.cc |
index 9468f0c921a9eabf9425291f9753c5c6a4472f88..286308cf57745bb0901d3f74ec032418ab9aa4d7 100644 |
--- a/webrtc/modules/audio_coding/acm2/rent_a_codec.cc |
+++ b/webrtc/modules/audio_coding/acm2/rent_a_codec.cc |
@@ -96,9 +96,18 @@ rtc::Optional<SdpAudioFormat> RentACodec::NetEqDecoderToSdpAudioFormat( |
std::map<std::string, std::string>{{"stereo", "1"}})); |
case NetEqDecoder::kDecoderRED: |
return rtc::Optional<SdpAudioFormat>(SdpAudioFormat("red", 8000, 1)); |
- case NetEqDecoder::kDecoderAVT: |
+ case NetEqDecoder::kDecoderAVT8kHz: |
return rtc::Optional<SdpAudioFormat>( |
SdpAudioFormat("telephone-event", 8000, 1)); |
+ case NetEqDecoder::kDecoderAVT16kHz: |
+ return rtc::Optional<SdpAudioFormat>( |
+ SdpAudioFormat("telephone-event", 16000, 1)); |
+ case NetEqDecoder::kDecoderAVT32kHz: |
+ return rtc::Optional<SdpAudioFormat>( |
+ SdpAudioFormat("telephone-event", 32000, 1)); |
+ case NetEqDecoder::kDecoderAVT48kHz: |
+ return rtc::Optional<SdpAudioFormat>( |
+ SdpAudioFormat("telephone-event", 48000, 1)); |
case NetEqDecoder::kDecoderCNGnb: |
return rtc::Optional<SdpAudioFormat>(SdpAudioFormat("cn", 8000, 1)); |
case NetEqDecoder::kDecoderCNGwb: |