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

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

Issue 2423823003: Implement framesDecoded stat in video receive ssrc stats. (Closed)
Patch Set: Add #include <memory> to receive_statistics_proxy_unittest.cc. Created 4 years, 1 month 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/webrtcvideoengine2.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 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 firs_sent(0), 704 firs_sent(0),
705 plis_sent(0), 705 plis_sent(0),
706 nacks_sent(0), 706 nacks_sent(0),
707 frame_width(0), 707 frame_width(0),
708 frame_height(0), 708 frame_height(0),
709 framerate_rcvd(0), 709 framerate_rcvd(0),
710 framerate_decoded(0), 710 framerate_decoded(0),
711 framerate_output(0), 711 framerate_output(0),
712 framerate_render_input(0), 712 framerate_render_input(0),
713 framerate_render_output(0), 713 framerate_render_output(0),
714 frames_decoded(0),
714 decode_ms(0), 715 decode_ms(0),
715 max_decode_ms(0), 716 max_decode_ms(0),
716 jitter_buffer_ms(0), 717 jitter_buffer_ms(0),
717 min_playout_delay_ms(0), 718 min_playout_delay_ms(0),
718 render_delay_ms(0), 719 render_delay_ms(0),
719 target_delay_ms(0), 720 target_delay_ms(0),
720 current_delay_ms(0), 721 current_delay_ms(0),
721 capture_start_ntp_time_ms(-1) { 722 capture_start_ntp_time_ms(-1) {
722 } 723 }
723 724
724 std::vector<SsrcGroup> ssrc_groups; 725 std::vector<SsrcGroup> ssrc_groups;
725 std::string decoder_implementation_name; 726 std::string decoder_implementation_name;
726 int packets_concealed; 727 int packets_concealed;
727 int firs_sent; 728 int firs_sent;
728 int plis_sent; 729 int plis_sent;
729 int nacks_sent; 730 int nacks_sent;
730 int frame_width; 731 int frame_width;
731 int frame_height; 732 int frame_height;
732 int framerate_rcvd; 733 int framerate_rcvd;
733 int framerate_decoded; 734 int framerate_decoded;
734 int framerate_output; 735 int framerate_output;
735 // Framerate as sent to the renderer. 736 // Framerate as sent to the renderer.
736 int framerate_render_input; 737 int framerate_render_input;
737 // Framerate that the renderer reports. 738 // Framerate that the renderer reports.
738 int framerate_render_output; 739 int framerate_render_output;
740 uint32_t frames_decoded;
739 741
740 // All stats below are gathered per-VideoReceiver, but some will be correlated 742 // All stats below are gathered per-VideoReceiver, but some will be correlated
741 // across MediaStreamTracks. NOTE(hta): when sinking stats into per-SSRC 743 // across MediaStreamTracks. NOTE(hta): when sinking stats into per-SSRC
742 // structures, reflect this in the new layout. 744 // structures, reflect this in the new layout.
743 745
744 // Current frame decode latency. 746 // Current frame decode latency.
745 int decode_ms; 747 int decode_ms;
746 // Maximum observed frame decode latency. 748 // Maximum observed frame decode latency.
747 int max_decode_ms; 749 int max_decode_ms;
748 // Jitter (network-related) latency. 750 // Jitter (network-related) latency.
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1144 // Signal when the media channel is ready to send the stream. Arguments are: 1146 // Signal when the media channel is ready to send the stream. Arguments are:
1145 // writable(bool) 1147 // writable(bool)
1146 sigslot::signal1<bool> SignalReadyToSend; 1148 sigslot::signal1<bool> SignalReadyToSend;
1147 // Signal for notifying that the remote side has closed the DataChannel. 1149 // Signal for notifying that the remote side has closed the DataChannel.
1148 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; 1150 sigslot::signal1<uint32_t> SignalStreamClosedRemotely;
1149 }; 1151 };
1150 1152
1151 } // namespace cricket 1153 } // namespace cricket
1152 1154
1153 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ 1155 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/api/statstypes.cc ('k') | webrtc/media/engine/webrtcvideoengine2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698