1234567891011121314151617181920212223242526272829303132 |
- #ifndef TEST_RTP_FILE_WRITER_H_
- #define TEST_RTP_FILE_WRITER_H_
- #include <string>
- #include "test/rtp_file_reader.h"
- namespace webrtc {
- namespace test {
- class RtpFileWriter {
- public:
- enum FileFormat {
- kRtpDump,
- };
- virtual ~RtpFileWriter() {}
- static RtpFileWriter* Create(FileFormat format, const std::string& filename);
- virtual bool WritePacket(const RtpPacket* packet) = 0;
- };
- }
- }
- #endif
|