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

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

Issue 3008983002: Change reporting of timing frames conditions in GetStats on receive side (Closed)
Patch Set: Implement Tommi@ comments 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/call/video_receive_stream.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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 void AddSecondarySink(webrtc::RtpPacketSinkInterface* sink) override; 202 void AddSecondarySink(webrtc::RtpPacketSinkInterface* sink) override;
203 void RemoveSecondarySink(const webrtc::RtpPacketSinkInterface* sink) override; 203 void RemoveSecondarySink(const webrtc::RtpPacketSinkInterface* sink) override;
204 204
205 private: 205 private:
206 // webrtc::VideoReceiveStream implementation. 206 // webrtc::VideoReceiveStream implementation.
207 void Start() override; 207 void Start() override;
208 void Stop() override; 208 void Stop() override;
209 209
210 webrtc::VideoReceiveStream::Stats GetStats() const override; 210 webrtc::VideoReceiveStream::Stats GetStats() const override;
211 211
212 rtc::Optional<webrtc::TimingFrameInfo> GetAndResetTimingFrameInfo() override;
213
214 webrtc::VideoReceiveStream::Config config_; 212 webrtc::VideoReceiveStream::Config config_;
215 bool receiving_; 213 bool receiving_;
216 webrtc::VideoReceiveStream::Stats stats_; 214 webrtc::VideoReceiveStream::Stats stats_;
217 }; 215 };
218 216
219 class FakeFlexfecReceiveStream final : public webrtc::FlexfecReceiveStream { 217 class FakeFlexfecReceiveStream final : public webrtc::FlexfecReceiveStream {
220 public: 218 public:
221 explicit FakeFlexfecReceiveStream( 219 explicit FakeFlexfecReceiveStream(
222 const webrtc::FlexfecReceiveStream::Config& config); 220 const webrtc::FlexfecReceiveStream::Config& config);
223 221
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 319
322 int num_created_send_streams_; 320 int num_created_send_streams_;
323 int num_created_receive_streams_; 321 int num_created_receive_streams_;
324 322
325 int audio_transport_overhead_; 323 int audio_transport_overhead_;
326 int video_transport_overhead_; 324 int video_transport_overhead_;
327 }; 325 };
328 326
329 } // namespace cricket 327 } // namespace cricket
330 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ 328 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
OLDNEW
« no previous file with comments | « webrtc/call/video_receive_stream.h ('k') | webrtc/media/engine/fakewebrtccall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698