Index: webrtc/media/engine/webrtcvoiceengine.cc |
diff --git a/webrtc/media/engine/webrtcvoiceengine.cc b/webrtc/media/engine/webrtcvoiceengine.cc |
index 4b59a816d8edb5e5baae3f016f3e198094c8a429..f05c702c5b5a898278b11dbdd6b98d3db2eb5821 100644 |
--- a/webrtc/media/engine/webrtcvoiceengine.cc |
+++ b/webrtc/media/engine/webrtcvoiceengine.cc |
@@ -1139,12 +1139,12 @@ AudioCodecs WebRtcVoiceEngine::CollectRecvCodecs() const { |
rtc::Optional<AudioCodec> opt_codec = map_format(spec.format, nullptr); |
if (opt_codec) { |
AudioCodec& codec = *opt_codec; |
- if (spec.supports_network_adaption) { |
+ if (spec.info.supports_network_adaption) { |
codec.AddFeedbackParam( |
FeedbackParam(kRtcpFbParamTransportCc, kParamValueEmpty)); |
} |
- if (spec.allow_comfort_noise) { |
+ if (spec.info.allow_comfort_noise) { |
// Generate a CN entry if the decoder allows it and we support the |
// clockrate. |
auto cn = generate_cn.find(spec.format.clockrate_hz); |