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

Unified Diff: webrtc/media/engine/fakewebrtccall.h

Issue 2303273002: Expose Ivf logging through the native API (Closed)
Patch Set: Don't make a change in base here, make a separate CL Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/media/engine/fakewebrtccall.cc » ('j') | webrtc/media/engine/fakewebrtccall.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/fakewebrtccall.h
diff --git a/webrtc/media/engine/fakewebrtccall.h b/webrtc/media/engine/fakewebrtccall.h
index d3af222489f60c4cd58fcf3883333b0d92769fb1..c4607fe62ee919f8157e5793545db5344b4e6485 100644
--- a/webrtc/media/engine/fakewebrtccall.h
+++ b/webrtc/media/engine/fakewebrtccall.h
@@ -21,6 +21,7 @@
#define WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
#include <memory>
+#include <string>
#include <vector>
#include "webrtc/api/call/audio_receive_stream.h"
@@ -121,6 +122,9 @@ class FakeVideoSendStream final : public webrtc::VideoSendStream,
return num_encoder_reconfigurations_;
}
+ void EnableEncodedFrameRecording(const std::vector<rtc::PlatformFile>& files,
+ size_t byte_limit) override;
+
private:
void IncomingCapturedFrame(const webrtc::VideoFrame& frame) override;
@@ -157,6 +161,9 @@ class FakeVideoReceiveStream final : public webrtc::VideoReceiveStream {
void SetStats(const webrtc::VideoReceiveStream::Stats& stats);
+ void EnableEncodedFrameRecording(rtc::PlatformFile file,
+ size_t byte_limit) override;
+
private:
// webrtc::VideoReceiveStream implementation.
void Start() override;
@@ -252,4 +259,4 @@ class FakeCall final : public webrtc::Call, public webrtc::PacketReceiver {
};
} // namespace cricket
-#endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_
+#endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
« no previous file with comments | « no previous file | webrtc/media/engine/fakewebrtccall.cc » ('j') | webrtc/media/engine/fakewebrtccall.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698