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

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

Issue 3009793002: Implement googContentType GetStats metric reported on receive side. (Closed)
Patch Set: Fix broken tests on ASAN 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 rtc::Optional<uint64_t> qp_sum; 81 rtc::Optional<uint64_t> qp_sum;
82 82
83 int current_payload_type = -1; 83 int current_payload_type = -1;
84 84
85 int total_bitrate_bps = 0; 85 int total_bitrate_bps = 0;
86 int discarded_packets = 0; 86 int discarded_packets = 0;
87 87
88 int width = 0; 88 int width = 0;
89 int height = 0; 89 int height = 0;
90 90
91 VideoContentType content_type = VideoContentType::UNSPECIFIED;
92
91 int sync_offset_ms = std::numeric_limits<int>::max(); 93 int sync_offset_ms = std::numeric_limits<int>::max();
92 94
93 uint32_t ssrc = 0; 95 uint32_t ssrc = 0;
94 std::string c_name; 96 std::string c_name;
95 StreamDataCounters rtp_stats; 97 StreamDataCounters rtp_stats;
96 RtcpPacketTypeCounter rtcp_packet_type_counts; 98 RtcpPacketTypeCounter rtcp_packet_type_counts;
97 RtcpStatistics rtcp_stats; 99 RtcpStatistics rtcp_stats;
98 100
99 // Timing frame info: all important timestamps for a full lifetime of a 101 // Timing frame info: all important timestamps for a full lifetime of a
100 // single 'timing frame'. 102 // single 'timing frame'.
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 virtual void AddSecondarySink(RtpPacketSinkInterface* sink) = 0; 251 virtual void AddSecondarySink(RtpPacketSinkInterface* sink) = 0;
250 virtual void RemoveSecondarySink(const RtpPacketSinkInterface* sink) = 0; 252 virtual void RemoveSecondarySink(const RtpPacketSinkInterface* sink) = 0;
251 253
252 protected: 254 protected:
253 virtual ~VideoReceiveStream() {} 255 virtual ~VideoReceiveStream() {}
254 }; 256 };
255 257
256 } // namespace webrtc 258 } // namespace webrtc
257 259
258 #endif // WEBRTC_CALL_VIDEO_RECEIVE_STREAM_H_ 260 #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