Index: webrtc/video/receive_statistics_proxy.cc |
diff --git a/webrtc/video/receive_statistics_proxy.cc b/webrtc/video/receive_statistics_proxy.cc |
index 6604d3de6f184ea439a825c73892e2982ffb38b7..6fc100e605b70647b125f58ce9ca06656a2b9c63 100644 |
--- a/webrtc/video/receive_statistics_proxy.cc |
+++ b/webrtc/video/receive_statistics_proxy.cc |
@@ -153,6 +153,12 @@ void ReceiveStatisticsProxy::OnFrameCountsUpdated( |
stats_.frame_counts = frame_counts; |
} |
+void ReceiveStatisticsProxy::OnIncomingPayloadType( |
+ int payload_type) { |
+ rtc::CritScope lock(&crit_); |
+ stats_.current_payload_type = payload_type; |
+} |
+ |
void ReceiveStatisticsProxy::OnDiscardedPacketsUpdated(int discarded_packets) { |
rtc::CritScope lock(&crit_); |
stats_.discarded_packets = discarded_packets; |