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

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

Issue 2965033002: Report interframe delay sum in old GetStats (Closed)
Patch Set: Rebase 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
« no previous file with comments | « webrtc/api/statstypes.cc ('k') | webrtc/media/engine/webrtcvideoengine.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 * 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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 frame_width(0), 734 frame_width(0),
735 frame_height(0), 735 frame_height(0),
736 framerate_rcvd(0), 736 framerate_rcvd(0),
737 framerate_decoded(0), 737 framerate_decoded(0),
738 framerate_output(0), 738 framerate_output(0),
739 framerate_render_input(0), 739 framerate_render_input(0),
740 framerate_render_output(0), 740 framerate_render_output(0),
741 frames_received(0), 741 frames_received(0),
742 frames_decoded(0), 742 frames_decoded(0),
743 frames_rendered(0), 743 frames_rendered(0),
744 interframe_delay_sum_ms(0),
744 decode_ms(0), 745 decode_ms(0),
745 max_decode_ms(0), 746 max_decode_ms(0),
746 jitter_buffer_ms(0), 747 jitter_buffer_ms(0),
747 min_playout_delay_ms(0), 748 min_playout_delay_ms(0),
748 render_delay_ms(0), 749 render_delay_ms(0),
749 target_delay_ms(0), 750 target_delay_ms(0),
750 current_delay_ms(0), 751 current_delay_ms(0),
751 capture_start_ntp_time_ms(-1) {} 752 capture_start_ntp_time_ms(-1) {}
752 753
753 std::vector<SsrcGroup> ssrc_groups; 754 std::vector<SsrcGroup> ssrc_groups;
754 // TODO(hbos): Move this to |VideoMediaInfo::receive_codecs|? 755 // TODO(hbos): Move this to |VideoMediaInfo::receive_codecs|?
755 std::string decoder_implementation_name; 756 std::string decoder_implementation_name;
756 int packets_concealed; 757 int packets_concealed;
757 int firs_sent; 758 int firs_sent;
758 int plis_sent; 759 int plis_sent;
759 int nacks_sent; 760 int nacks_sent;
760 int frame_width; 761 int frame_width;
761 int frame_height; 762 int frame_height;
762 int framerate_rcvd; 763 int framerate_rcvd;
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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
1210 const char*, 1212 const char*,
1211 size_t> SignalDataReceived; 1213 size_t> SignalDataReceived;
1212 // Signal when the media channel is ready to send the stream. Arguments are: 1214 // Signal when the media channel is ready to send the stream. Arguments are:
1213 // writable(bool) 1215 // writable(bool)
1214 sigslot::signal1<bool> SignalReadyToSend; 1216 sigslot::signal1<bool> SignalReadyToSend;
1215 }; 1217 };
1216 1218
1217 } // namespace cricket 1219 } // namespace cricket
1218 1220
1219 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ 1221 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/api/statstypes.cc ('k') | webrtc/media/engine/webrtcvideoengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698