#include "test/pc/e2e/analyzer/video/video_dumping.h"
#include <stdio.h>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "absl/strings/string_view.h"
#include "api/test/video/video_frame_writer.h"
#include "api/video/video_frame.h"
#include "rtc_base/logging.h"
#include "system_wrappers/include/clock.h"
#include "test/testsupport/video_frame_writer.h"
namespace webrtc {
namespace webrtc_pc_e2e {
namespace {
class VideoFrameIdsWriter final : public test::VideoFrameWriter { … };
class BroadcastingFrameWriter final : public test::VideoFrameWriter { … };
}
VideoWriter::VideoWriter(test::VideoFrameWriter* video_writer,
int sampling_modulo)
: … { … }
void VideoWriter::OnFrame(const VideoFrame& frame) { … }
std::unique_ptr<test::VideoFrameWriter> CreateVideoFrameWithIdsWriter(
std::unique_ptr<test::VideoFrameWriter> video_writer_delegate,
absl::string_view frame_ids_dump_file_name) { … }
}
}