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

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

Issue 3005193002: Add reporting of googContentType via GetStats on send 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 | « no previous file | 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 bool suspended = false; 75 bool suspended = false;
76 bool bw_limited_resolution = false; 76 bool bw_limited_resolution = false;
77 bool cpu_limited_resolution = false; 77 bool cpu_limited_resolution = false;
78 bool bw_limited_framerate = false; 78 bool bw_limited_framerate = false;
79 bool cpu_limited_framerate = false; 79 bool cpu_limited_framerate = false;
80 // Total number of times resolution as been requested to be changed due to 80 // Total number of times resolution as been requested to be changed due to
81 // CPU/quality adaptation. 81 // CPU/quality adaptation.
82 int number_of_cpu_adapt_changes = 0; 82 int number_of_cpu_adapt_changes = 0;
83 int number_of_quality_adapt_changes = 0; 83 int number_of_quality_adapt_changes = 0;
84 std::map<uint32_t, StreamStats> substreams; 84 std::map<uint32_t, StreamStats> substreams;
85 webrtc::VideoContentType content_type =
86 webrtc::VideoContentType::UNSPECIFIED;
85 }; 87 };
86 88
87 struct Config { 89 struct Config {
88 public: 90 public:
89 Config() = delete; 91 Config() = delete;
90 Config(Config&&); 92 Config(Config&&);
91 explicit Config(Transport* send_transport); 93 explicit Config(Transport* send_transport);
92 94
93 Config& operator=(Config&&); 95 Config& operator=(Config&&);
94 Config& operator=(const Config&) = delete; 96 Config& operator=(const Config&) = delete;
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); 277 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0);
276 } 278 }
277 279
278 protected: 280 protected:
279 virtual ~VideoSendStream() {} 281 virtual ~VideoSendStream() {}
280 }; 282 };
281 283
282 } // namespace webrtc 284 } // namespace webrtc
283 285
284 #endif // WEBRTC_CALL_VIDEO_SEND_STREAM_H_ 286 #endif // WEBRTC_CALL_VIDEO_SEND_STREAM_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/media/base/mediachannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698