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

Unified Diff: webrtc/modules/utility/include/file_recorder.h

Issue 2033433004: Remove the unused video stuff in FilePlayer and FileRecorder (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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 | « webrtc/modules/utility/include/file_player.h ('k') | webrtc/modules/utility/source/file_recorder_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/utility/include/file_recorder.h
diff --git a/webrtc/modules/utility/include/file_recorder.h b/webrtc/modules/utility/include/file_recorder.h
index 480a4a979960f6b4253264cf1036a3fd1fd4cb00..92c91bd4b0942f885530681984c08cced2899821 100644
--- a/webrtc/modules/utility/include/file_recorder.h
+++ b/webrtc/modules/utility/include/file_recorder.h
@@ -16,7 +16,6 @@
#include "webrtc/modules/include/module_common_types.h"
#include "webrtc/modules/media_file/media_file_defines.h"
#include "webrtc/typedefs.h"
-#include "webrtc/video_frame.h"
namespace webrtc {
@@ -46,11 +45,9 @@ public:
uint32_t notification) = 0;
// Stop recording.
- // Note: this API is for both audio and video.
virtual int32_t StopRecording() = 0;
// Return true if recording.
- // Note: this API is for both audio and video.
virtual bool IsRecording() const = 0;
virtual int32_t codec_info(CodecInst& codecInst) const = 0;
@@ -59,21 +56,6 @@ public:
virtual int32_t RecordAudioToFile(
const AudioFrame& frame) = 0;
- // Open/create the file specified by fileName for writing audio/video data
- // (relative path is allowed). audioCodecInst specifies the encoding of the
- // audio data. videoCodecInst specifies the encoding of the video data.
- // Only video data will be recorded if videoOnly is true. amrFormat
- // specifies the amr/amrwb storage format.
- // Note: the file format is AVI.
- virtual int32_t StartRecordingVideoFile(
- const char* fileName,
- const CodecInst& audioCodecInst,
- const VideoCodec& videoCodecInst,
- bool videoOnly = false) = 0;
-
- // Record the video frame in videoFrame to AVI file.
- virtual int32_t RecordVideoToFile(const VideoFrame& videoFrame) = 0;
-
protected:
virtual ~FileRecorder() {}
« no previous file with comments | « webrtc/modules/utility/include/file_player.h ('k') | webrtc/modules/utility/source/file_recorder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698