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

Side by Side Diff: webrtc/media/engine/fakewebrtccall.h

Issue 2946413002: Report timing frames info in GetStats. (Closed)
Patch Set: rebase Created 3 years, 5 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/media/base/mediachannel.h ('k') | webrtc/media/engine/fakewebrtccall.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 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 void EnableEncodedFrameRecording(rtc::PlatformFile file, 198 void EnableEncodedFrameRecording(rtc::PlatformFile file,
199 size_t byte_limit) override; 199 size_t byte_limit) override;
200 200
201 private: 201 private:
202 // webrtc::VideoReceiveStream implementation. 202 // webrtc::VideoReceiveStream implementation.
203 void Start() override; 203 void Start() override;
204 void Stop() override; 204 void Stop() override;
205 205
206 webrtc::VideoReceiveStream::Stats GetStats() const override; 206 webrtc::VideoReceiveStream::Stats GetStats() const override;
207 207
208 rtc::Optional<webrtc::TimingFrameInfo> GetAndResetTimingFrameInfo() override;
209
208 webrtc::VideoReceiveStream::Config config_; 210 webrtc::VideoReceiveStream::Config config_;
209 bool receiving_; 211 bool receiving_;
210 webrtc::VideoReceiveStream::Stats stats_; 212 webrtc::VideoReceiveStream::Stats stats_;
211 }; 213 };
212 214
213 class FakeFlexfecReceiveStream final : public webrtc::FlexfecReceiveStream { 215 class FakeFlexfecReceiveStream final : public webrtc::FlexfecReceiveStream {
214 public: 216 public:
215 explicit FakeFlexfecReceiveStream( 217 explicit FakeFlexfecReceiveStream(
216 const webrtc::FlexfecReceiveStream::Config& config); 218 const webrtc::FlexfecReceiveStream::Config& config);
217 219
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 320
319 int num_created_send_streams_; 321 int num_created_send_streams_;
320 int num_created_receive_streams_; 322 int num_created_receive_streams_;
321 323
322 int audio_transport_overhead_; 324 int audio_transport_overhead_;
323 int video_transport_overhead_; 325 int video_transport_overhead_;
324 }; 326 };
325 327
326 } // namespace cricket 328 } // namespace cricket
327 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ 329 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
OLDNEW
« no previous file with comments | « webrtc/media/base/mediachannel.h ('k') | webrtc/media/engine/fakewebrtccall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698