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

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

Issue 2303273002: Expose Ivf logging through the native API (Closed)
Patch Set: Fix memory leak 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
Index: webrtc/media/engine/fakewebrtccall.h
diff --git a/webrtc/media/engine/fakewebrtccall.h b/webrtc/media/engine/fakewebrtccall.h
index d3af222489f60c4cd58fcf3883333b0d92769fb1..7ee7f032bde977553da957660a4c98f1a07274a0 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,11 @@ class FakeVideoSendStream final : public webrtc::VideoSendStream,
return num_encoder_reconfigurations_;
}
+ void SetLogFiles(
+ rtc::PlatformFile file1 = rtc::kInvalidPlatformFileValue,
+ rtc::PlatformFile file2 = rtc::kInvalidPlatformFileValue,
+ rtc::PlatformFile file3 = rtc::kInvalidPlatformFileValue) override;
+
private:
void IncomingCapturedFrame(const webrtc::VideoFrame& frame) override;
@@ -157,6 +163,9 @@ class FakeVideoReceiveStream final : public webrtc::VideoReceiveStream {
void SetStats(const webrtc::VideoReceiveStream::Stats& stats);
+ void SetLogFile(
+ rtc::PlatformFile file = rtc::kInvalidPlatformFileValue) override;
+
private:
// webrtc::VideoReceiveStream implementation.
void Start() override;
@@ -252,4 +261,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/modules/video_coding/utility/ivf_file_writer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698