#include "modules/audio_coding/neteq/tools/rtp_file_source.h"
#include <string.h>
#include "absl/strings/string_view.h"
#ifndef WIN32
#include <netinet/in.h>
#endif
#include <memory>
#include "modules/audio_coding/neteq/tools/packet.h"
#include "rtc_base/checks.h"
#include "test/rtp_file_reader.h"
namespace webrtc {
namespace test {
RtpFileSource* RtpFileSource::Create(absl::string_view file_name,
absl::optional<uint32_t> ssrc_filter) { … }
bool RtpFileSource::ValidRtpDump(absl::string_view file_name) { … }
bool RtpFileSource::ValidPcap(absl::string_view file_name) { … }
RtpFileSource::~RtpFileSource() { … }
bool RtpFileSource::RegisterRtpHeaderExtension(RTPExtensionType type,
uint8_t id) { … }
std::unique_ptr<Packet> RtpFileSource::NextPacket() { … }
RtpFileSource::RtpFileSource(absl::optional<uint32_t> ssrc_filter)
: … { … }
bool RtpFileSource::OpenFile(absl::string_view file_name) { … }
}
}