Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: talk/media/webrtc/webrtcvideoengine2.cc

Issue 1420963005: Add QP stats for received video streams to StatsReport. Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: add unit test Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « talk/media/base/mediachannel.h ('k') | talk/media/webrtc/webrtcvideoengine2_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 2609 matching lines...) Expand 10 before | Expand all | Expand 10 after
2620 } 2620 }
2621 2621
2622 info.decode_ms = stats.decode_ms; 2622 info.decode_ms = stats.decode_ms;
2623 info.max_decode_ms = stats.max_decode_ms; 2623 info.max_decode_ms = stats.max_decode_ms;
2624 info.current_delay_ms = stats.current_delay_ms; 2624 info.current_delay_ms = stats.current_delay_ms;
2625 info.target_delay_ms = stats.target_delay_ms; 2625 info.target_delay_ms = stats.target_delay_ms;
2626 info.jitter_buffer_ms = stats.jitter_buffer_ms; 2626 info.jitter_buffer_ms = stats.jitter_buffer_ms;
2627 info.min_playout_delay_ms = stats.min_playout_delay_ms; 2627 info.min_playout_delay_ms = stats.min_playout_delay_ms;
2628 info.render_delay_ms = stats.render_delay_ms; 2628 info.render_delay_ms = stats.render_delay_ms;
2629 2629
2630 info.qp = stats.qp;
2630 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); 2631 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type);
2631 2632
2632 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; 2633 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets;
2633 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; 2634 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets;
2634 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; 2635 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets;
2635 2636
2636 return info; 2637 return info;
2637 } 2638 }
2638 2639
2639 WebRtcVideoChannel2::VideoCodecSettings::VideoCodecSettings() 2640 WebRtcVideoChannel2::VideoCodecSettings::VideoCodecSettings()
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
2744 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id]; 2745 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id];
2745 } 2746 }
2746 } 2747 }
2747 2748
2748 return video_codecs; 2749 return video_codecs;
2749 } 2750 }
2750 2751
2751 } // namespace cricket 2752 } // namespace cricket
2752 2753
2753 #endif // HAVE_WEBRTC_VIDEO 2754 #endif // HAVE_WEBRTC_VIDEO
OLDNEW
« no previous file with comments | « talk/media/base/mediachannel.h ('k') | talk/media/webrtc/webrtcvideoengine2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698