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

Side by Side Diff: webrtc/call/video_receive_stream.h

Issue 3005263002: Implement googContentType GetStats metric reported on receive side. (Closed)
Patch Set: Created 3 years, 3 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/video/video_content_type.cc ('k') | webrtc/media/base/mediachannel.h » ('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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 rtc::Optional<uint64_t> qp_sum; 80 rtc::Optional<uint64_t> qp_sum;
81 81
82 int current_payload_type = -1; 82 int current_payload_type = -1;
83 83
84 int total_bitrate_bps = 0; 84 int total_bitrate_bps = 0;
85 int discarded_packets = 0; 85 int discarded_packets = 0;
86 86
87 int width = 0; 87 int width = 0;
88 int height = 0; 88 int height = 0;
89 89
90 VideoContentType content_type = VideoContentType::UNSPECIFIED;
91
90 int sync_offset_ms = std::numeric_limits<int>::max(); 92 int sync_offset_ms = std::numeric_limits<int>::max();
91 93
92 uint32_t ssrc = 0; 94 uint32_t ssrc = 0;
93 std::string c_name; 95 std::string c_name;
94 StreamDataCounters rtp_stats; 96 StreamDataCounters rtp_stats;
95 RtcpPacketTypeCounter rtcp_packet_type_counts; 97 RtcpPacketTypeCounter rtcp_packet_type_counts;
96 RtcpStatistics rtcp_stats; 98 RtcpStatistics rtcp_stats;
97 99
98 // Timing frame info: all important timestamps for a full lifetime of a 100 // Timing frame info: all important timestamps for a full lifetime of a
99 // single 'timing frame'. 101 // single 'timing frame'.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 virtual void AddSecondarySink(RtpPacketSinkInterface* sink) = 0; 245 virtual void AddSecondarySink(RtpPacketSinkInterface* sink) = 0;
244 virtual void RemoveSecondarySink(const RtpPacketSinkInterface* sink) = 0; 246 virtual void RemoveSecondarySink(const RtpPacketSinkInterface* sink) = 0;
245 247
246 protected: 248 protected:
247 virtual ~VideoReceiveStream() {} 249 virtual ~VideoReceiveStream() {}
248 }; 250 };
249 251
250 } // namespace webrtc 252 } // namespace webrtc
251 253
252 #endif // WEBRTC_CALL_VIDEO_RECEIVE_STREAM_H_ 254 #endif // WEBRTC_CALL_VIDEO_RECEIVE_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/api/video/video_content_type.cc ('k') | webrtc/media/base/mediachannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698