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

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

Issue 2421193003: Implement framesEncoded stat in video send ssrc stats. (Closed)
Patch Set: Change type of stat int -> uint32_t. Created 4 years, 2 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/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 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 nacks_rcvd(0), 658 nacks_rcvd(0),
659 send_frame_width(0), 659 send_frame_width(0),
660 send_frame_height(0), 660 send_frame_height(0),
661 framerate_input(0), 661 framerate_input(0),
662 framerate_sent(0), 662 framerate_sent(0),
663 nominal_bitrate(0), 663 nominal_bitrate(0),
664 preferred_bitrate(0), 664 preferred_bitrate(0),
665 adapt_reason(0), 665 adapt_reason(0),
666 adapt_changes(0), 666 adapt_changes(0),
667 avg_encode_ms(0), 667 avg_encode_ms(0),
668 encode_usage_percent(0) { 668 encode_usage_percent(0),
669 } 669 frames_encoded(0) {}
670 670
671 std::vector<SsrcGroup> ssrc_groups; 671 std::vector<SsrcGroup> ssrc_groups;
672 std::string encoder_implementation_name; 672 std::string encoder_implementation_name;
673 int packets_cached; 673 int packets_cached;
674 int firs_rcvd; 674 int firs_rcvd;
675 int plis_rcvd; 675 int plis_rcvd;
676 int nacks_rcvd; 676 int nacks_rcvd;
677 int send_frame_width; 677 int send_frame_width;
678 int send_frame_height; 678 int send_frame_height;
679 int framerate_input; 679 int framerate_input;
680 int framerate_sent; 680 int framerate_sent;
681 int nominal_bitrate; 681 int nominal_bitrate;
682 int preferred_bitrate; 682 int preferred_bitrate;
683 int adapt_reason; 683 int adapt_reason;
684 int adapt_changes; 684 int adapt_changes;
685 int avg_encode_ms; 685 int avg_encode_ms;
686 int encode_usage_percent; 686 int encode_usage_percent;
687 uint32_t frames_encoded;
687 }; 688 };
688 689
689 struct VideoReceiverInfo : public MediaReceiverInfo { 690 struct VideoReceiverInfo : public MediaReceiverInfo {
690 VideoReceiverInfo() 691 VideoReceiverInfo()
691 : packets_concealed(0), 692 : packets_concealed(0),
692 firs_sent(0), 693 firs_sent(0),
693 plis_sent(0), 694 plis_sent(0),
694 nacks_sent(0), 695 nacks_sent(0),
695 frame_width(0), 696 frame_width(0),
696 frame_height(0), 697 frame_height(0),
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 // Signal when the media channel is ready to send the stream. Arguments are: 1133 // Signal when the media channel is ready to send the stream. Arguments are:
1133 // writable(bool) 1134 // writable(bool)
1134 sigslot::signal1<bool> SignalReadyToSend; 1135 sigslot::signal1<bool> SignalReadyToSend;
1135 // Signal for notifying that the remote side has closed the DataChannel. 1136 // Signal for notifying that the remote side has closed the DataChannel.
1136 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; 1137 sigslot::signal1<uint32_t> SignalStreamClosedRemotely;
1137 }; 1138 };
1138 1139
1139 } // namespace cricket 1140 } // namespace cricket
1140 1141
1141 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ 1142 #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