Index: webrtc/audio/audio_receive_stream.cc |
diff --git a/webrtc/audio/audio_receive_stream.cc b/webrtc/audio/audio_receive_stream.cc |
index e2f8f148365dc466d994f7870d747a39c9e56ef8..1823e6031ffc03d5cec1f2b2325f1aaa6f0b9681 100644 |
--- a/webrtc/audio/audio_receive_stream.cc |
+++ b/webrtc/audio/audio_receive_stream.cc |
@@ -187,6 +187,7 @@ webrtc::AudioReceiveStream::Stats AudioReceiveStream::GetStats() const { |
stats.capture_start_ntp_time_ms = call_stats.capture_start_ntp_time_ms_; |
if (codec_inst.pltype != -1) { |
stats.codec_name = codec_inst.plname; |
+ stats.codec_payload_type = rtc::Optional<int>(codec_inst.pltype); |
} |
stats.ext_seqnum = call_stats.extendedMax; |
if (codec_inst.plfreq / 1000 > 0) { |