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

Side by Side Diff: webrtc/media/base/mediachannel.h

Issue 2965033002: Report interframe delay sum in old GetStats (Closed)
Patch Set: fix identation Created 3 years, 5 months 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 frame_width(0), 733 frame_width(0),
734 frame_height(0), 734 frame_height(0),
735 framerate_rcvd(0), 735 framerate_rcvd(0),
736 framerate_decoded(0), 736 framerate_decoded(0),
737 framerate_output(0), 737 framerate_output(0),
738 framerate_render_input(0), 738 framerate_render_input(0),
739 framerate_render_output(0), 739 framerate_render_output(0),
740 frames_received(0), 740 frames_received(0),
741 frames_decoded(0), 741 frames_decoded(0),
742 frames_rendered(0), 742 frames_rendered(0),
743 interframe_delay_sum_ms(0),
743 decode_ms(0), 744 decode_ms(0),
744 max_decode_ms(0), 745 max_decode_ms(0),
745 jitter_buffer_ms(0), 746 jitter_buffer_ms(0),
746 min_playout_delay_ms(0), 747 min_playout_delay_ms(0),
747 render_delay_ms(0), 748 render_delay_ms(0),
748 target_delay_ms(0), 749 target_delay_ms(0),
749 current_delay_ms(0), 750 current_delay_ms(0),
750 capture_start_ntp_time_ms(-1) { 751 capture_start_ntp_time_ms(-1) {
751 } 752 }
752 753
(...skipping 10 matching lines...) Expand all
763 int framerate_decoded; 764 int framerate_decoded;
764 int framerate_output; 765 int framerate_output;
765 // Framerate as sent to the renderer. 766 // Framerate as sent to the renderer.
766 int framerate_render_input; 767 int framerate_render_input;
767 // Framerate that the renderer reports. 768 // Framerate that the renderer reports.
768 int framerate_render_output; 769 int framerate_render_output;
769 uint32_t frames_received; 770 uint32_t frames_received;
770 uint32_t frames_decoded; 771 uint32_t frames_decoded;
771 uint32_t frames_rendered; 772 uint32_t frames_rendered;
772 rtc::Optional<uint64_t> qp_sum; 773 rtc::Optional<uint64_t> qp_sum;
774 uint64_t interframe_delay_sum_ms;
773 775
774 // All stats below are gathered per-VideoReceiver, but some will be correlated 776 // All stats below are gathered per-VideoReceiver, but some will be correlated
775 // across MediaStreamTracks. NOTE(hta): when sinking stats into per-SSRC 777 // across MediaStreamTracks. NOTE(hta): when sinking stats into per-SSRC
776 // structures, reflect this in the new layout. 778 // structures, reflect this in the new layout.
777 779
778 // Current frame decode latency. 780 // Current frame decode latency.
779 int decode_ms; 781 int decode_ms;
780 // Maximum observed frame decode latency. 782 // Maximum observed frame decode latency.
781 int max_decode_ms; 783 int max_decode_ms;
782 // Jitter (network-related) latency. 784 // Jitter (network-related) latency.
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 const char*, 1208 const char*,
1207 size_t> SignalDataReceived; 1209 size_t> SignalDataReceived;
1208 // Signal when the media channel is ready to send the stream. Arguments are: 1210 // Signal when the media channel is ready to send the stream. Arguments are:
1209 // writable(bool) 1211 // writable(bool)
1210 sigslot::signal1<bool> SignalReadyToSend; 1212 sigslot::signal1<bool> SignalReadyToSend;
1211 }; 1213 };
1212 1214
1213 } // namespace cricket 1215 } // namespace cricket
1214 1216
1215 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ 1217 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698