/* * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #include "test/rtp_file_writer.h" #include <stdint.h> #include <stdio.h> #include <string> #include "absl/types/optional.h" #include "rtc_base/checks.h" namespace webrtc { namespace test { static const uint16_t kPacketHeaderSize = …; static const char kFirstLine[] = …; // Write RTP packets to file in rtpdump format, as documented at: // http://www.cs.columbia.edu/irt/software/rtptools/ class RtpDumpWriter : public RtpFileWriter { … }; RtpFileWriter* RtpFileWriter::Create(FileFormat format, const std::string& filename) { … } } // namespace test } // namespace webrtc