Index: webrtc/video/video_send_stream.h |
diff --git a/webrtc/video/video_send_stream.h b/webrtc/video/video_send_stream.h |
index 932264265dddf75e3e762b6325141c0e4ae07957..d490d55f894a4a4c381b9aea3c80c9ae5e52723a 100644 |
--- a/webrtc/video/video_send_stream.h |
+++ b/webrtc/video/video_send_stream.h |
@@ -76,6 +76,16 @@ class VideoSendStream : public webrtc::VideoSendStream { |
Stats GetStats() override; |
typedef std::map<uint32_t, RtpState> RtpStateMap; |
+ |
+ // Takes ownership of each file, is responsible for closing them later. |
+ // Calling this method will close and finalize any current logs. |
+ // Giving rtc::kInvalidPlatformFileValue in any position disables logging |
+ // for the corresponding stream. |
+ // If a frame to be written would make the log too large the write fails and |
+ // the log is closed and finalized. A |byte_limit| of 0 means no limit. |
+ void EnableEncodedFrameRecording(const std::vector<rtc::PlatformFile>& files, |
+ size_t byte_limit) override; |
+ |
RtpStateMap StopPermanentlyAndGetRtpStates(); |
private: |