Index: talk/media/webrtc/webrtcvideoengine2.cc |
diff --git a/talk/media/webrtc/webrtcvideoengine2.cc b/talk/media/webrtc/webrtcvideoengine2.cc |
index 2d648b73a3912bf26a0bcb67fc99dc07be5b808c..a41b9bd7e9261e000bc92ecc22418aba5b4b4731 100644 |
--- a/talk/media/webrtc/webrtcvideoengine2.cc |
+++ b/talk/media/webrtc/webrtcvideoengine2.cc |
@@ -2249,8 +2249,10 @@ WebRtcVideoChannel2::WebRtcVideoSendStream::GetVideoSenderInfo() { |
stream_stats.rtp_stats.transmitted.padding_bytes; |
info.packets_sent += stream_stats.rtp_stats.transmitted.packets; |
info.packets_lost += stream_stats.rtcp_stats.cumulative_lost; |
- if (stream_stats.width > info.send_frame_width) |
+ if (stream_stats.width > info.send_frame_width) { |
info.send_frame_width = stream_stats.width; |
+ info.qp = stream_stats.qp; // Report highest layer. |
+ } |
if (stream_stats.height > info.send_frame_height) |
info.send_frame_height = stream_stats.height; |
info.firs_rcvd += stream_stats.rtcp_packet_type_counts.fir_packets; |