| Index: webrtc/video_send_stream.h
|
| diff --git a/webrtc/video_send_stream.h b/webrtc/video_send_stream.h
|
| index afdec43c745cc2cc877b416ef5150f6d27c0cecb..5b0c041db0c1b57f427481c4e75121159d105e1e 100644
|
| --- a/webrtc/video_send_stream.h
|
| +++ b/webrtc/video_send_stream.h
|
| @@ -13,8 +13,10 @@
|
|
|
| #include <map>
|
| #include <string>
|
| +#include <utility>
|
| #include <vector>
|
|
|
| +#include "webrtc/base/platform_file.h"
|
| #include "webrtc/common_types.h"
|
| #include "webrtc/common_video/include/frame_callback.h"
|
| #include "webrtc/config.h"
|
| @@ -204,6 +206,15 @@ class VideoSendStream {
|
|
|
| virtual Stats GetStats() = 0;
|
|
|
| + // 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.
|
| + virtual void SetLogFiles(
|
| + rtc::PlatformFile file1 = rtc::kInvalidPlatformFileValue,
|
| + rtc::PlatformFile file2 = rtc::kInvalidPlatformFileValue,
|
| + rtc::PlatformFile file3 = rtc::kInvalidPlatformFileValue) = 0;
|
| +
|
| protected:
|
| virtual ~VideoSendStream() {}
|
| };
|
|
|