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

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

Issue 2430603003: Implement qpSum stat for video send ssrc stats. (Closed)
Patch Set: Change qp_sum to rtc::Optional<uint64_t>. 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
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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 uint32_t frames_encoded;
688 rtc::Optional<uint64_t> qp_sum;
688 }; 689 };
689 690
690 struct VideoReceiverInfo : public MediaReceiverInfo { 691 struct VideoReceiverInfo : public MediaReceiverInfo {
691 VideoReceiverInfo() 692 VideoReceiverInfo()
692 : packets_concealed(0), 693 : packets_concealed(0),
693 firs_sent(0), 694 firs_sent(0),
694 plis_sent(0), 695 plis_sent(0),
695 nacks_sent(0), 696 nacks_sent(0),
696 frame_width(0), 697 frame_width(0),
697 frame_height(0), 698 frame_height(0),
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 // Signal when the media channel is ready to send the stream. Arguments are: 1136 // Signal when the media channel is ready to send the stream. Arguments are:
1136 // writable(bool) 1137 // writable(bool)
1137 sigslot::signal1<bool> SignalReadyToSend; 1138 sigslot::signal1<bool> SignalReadyToSend;
1138 // Signal for notifying that the remote side has closed the DataChannel. 1139 // Signal for notifying that the remote side has closed the DataChannel.
1139 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; 1140 sigslot::signal1<uint32_t> SignalStreamClosedRemotely;
1140 }; 1141 };
1141 1142
1142 } // namespace cricket 1143 } // namespace cricket
1143 1144
1144 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ 1145 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698