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

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

Issue 1264693003: Add QP stats for sent video streams to StatsReport. Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: add unit tests 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/app/webrtc/statstypes.cc ('k') | talk/media/webrtc/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 * libjingle 2 * libjingle
3 * Copyright 2004 Google Inc. 3 * Copyright 2004 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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 input_frame_height(0), 765 input_frame_height(0),
766 send_frame_width(0), 766 send_frame_width(0),
767 send_frame_height(0), 767 send_frame_height(0),
768 framerate_input(0), 768 framerate_input(0),
769 framerate_sent(0), 769 framerate_sent(0),
770 nominal_bitrate(0), 770 nominal_bitrate(0),
771 preferred_bitrate(0), 771 preferred_bitrate(0),
772 adapt_reason(0), 772 adapt_reason(0),
773 adapt_changes(0), 773 adapt_changes(0),
774 avg_encode_ms(0), 774 avg_encode_ms(0),
775 encode_usage_percent(0) { 775 encode_usage_percent(0),
776 qp(-1) {
776 } 777 }
777 778
778 std::vector<SsrcGroup> ssrc_groups; 779 std::vector<SsrcGroup> ssrc_groups;
779 int packets_cached; 780 int packets_cached;
780 int firs_rcvd; 781 int firs_rcvd;
781 int plis_rcvd; 782 int plis_rcvd;
782 int nacks_rcvd; 783 int nacks_rcvd;
783 int input_frame_width; 784 int input_frame_width;
784 int input_frame_height; 785 int input_frame_height;
785 int send_frame_width; 786 int send_frame_width;
786 int send_frame_height; 787 int send_frame_height;
787 int framerate_input; 788 int framerate_input;
788 int framerate_sent; 789 int framerate_sent;
789 int nominal_bitrate; 790 int nominal_bitrate;
790 int preferred_bitrate; 791 int preferred_bitrate;
791 int adapt_reason; 792 int adapt_reason;
792 int adapt_changes; 793 int adapt_changes;
793 int avg_encode_ms; 794 int avg_encode_ms;
794 int encode_usage_percent; 795 int encode_usage_percent;
795 VariableInfo<int> adapt_frame_drops; 796 VariableInfo<int> adapt_frame_drops;
796 VariableInfo<int> effects_frame_drops; 797 VariableInfo<int> effects_frame_drops;
797 VariableInfo<double> capturer_frame_time; 798 VariableInfo<double> capturer_frame_time;
799 int qp; // Average codec quantizer value.
798 }; 800 };
799 801
800 struct VideoReceiverInfo : public MediaReceiverInfo { 802 struct VideoReceiverInfo : public MediaReceiverInfo {
801 VideoReceiverInfo() 803 VideoReceiverInfo()
802 : packets_concealed(0), 804 : packets_concealed(0),
803 firs_sent(0), 805 firs_sent(0),
804 plis_sent(0), 806 plis_sent(0),
805 nacks_sent(0), 807 nacks_sent(0),
806 frame_width(0), 808 frame_width(0),
807 frame_height(0), 809 frame_height(0),
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 // Signal when the media channel is ready to send the stream. Arguments are: 1206 // Signal when the media channel is ready to send the stream. Arguments are:
1205 // writable(bool) 1207 // writable(bool)
1206 sigslot::signal1<bool> SignalReadyToSend; 1208 sigslot::signal1<bool> SignalReadyToSend;
1207 // Signal for notifying that the remote side has closed the DataChannel. 1209 // Signal for notifying that the remote side has closed the DataChannel.
1208 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; 1210 sigslot::signal1<uint32_t> SignalStreamClosedRemotely;
1209 }; 1211 };
1210 1212
1211 } // namespace cricket 1213 } // namespace cricket
1212 1214
1213 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_ 1215 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW
« no previous file with comments | « talk/app/webrtc/statstypes.cc ('k') | talk/media/webrtc/webrtcvideoengine2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698