Index: webrtc/media/engine/fakewebrtccall.h |
diff --git a/webrtc/media/engine/fakewebrtccall.h b/webrtc/media/engine/fakewebrtccall.h |
index b1e20ce4c05ae4c4ea96767a83c07bcabdc5f7aa..9caa02a9b71098d91c5aae69121fb5c38c2c4a2d 100644 |
--- a/webrtc/media/engine/fakewebrtccall.h |
+++ b/webrtc/media/engine/fakewebrtccall.h |
@@ -119,6 +119,9 @@ class FakeVideoSendStream final : public webrtc::VideoSendStream, |
int GetLastHeight() const; |
int64_t GetLastTimestamp() const; |
void SetStats(const webrtc::VideoSendStream::Stats& stats); |
+ int num_encoder_reconfigurations() const { |
+ return num_encoder_reconfigurations_; |
+ } |
private: |
void IncomingCapturedFrame(const webrtc::VideoFrame& frame) override; |
@@ -148,6 +151,7 @@ class FakeVideoSendStream final : public webrtc::VideoSendStream, |
int num_swapped_frames_; |
webrtc::VideoFrame last_frame_; |
webrtc::VideoSendStream::Stats stats_; |
+ int num_encoder_reconfigurations_ = 0; |
}; |
class FakeVideoReceiveStream final : public webrtc::VideoReceiveStream { |