Index: webrtc/pc/rtcstatscollector.cc |
diff --git a/webrtc/pc/rtcstatscollector.cc b/webrtc/pc/rtcstatscollector.cc |
index 81443bb82c6d97adfeb9ea4101a488e1ce7827ae..74e29a49cd9d0850d16a3de4abe2a92e1d6da719 100644 |
--- a/webrtc/pc/rtcstatscollector.cc |
+++ b/webrtc/pc/rtcstatscollector.cc |
@@ -177,7 +177,7 @@ std::unique_ptr<RTCCodecStats> CodecStatsFromRtpCodecParameters( |
RTCCodecStatsIDFromDirectionMediaAndPayload(inbound, audio, payload_type), |
timestamp_us)); |
codec_stats->payload_type = payload_type; |
- codec_stats->codec = codec_params.mime_type(); |
+ codec_stats->mime_type = codec_params.mime_type(); |
if (codec_params.clock_rate) { |
codec_stats->clock_rate = static_cast<uint32_t>(*codec_params.clock_rate); |
} |