12#ifndef ROC_RTP_VALIDATOR_H_
13#define ROC_RTP_VALIDATOR_H_
Sample stream specification. Defines sample rate and channel layout.
Base class for non-copyable objects.
virtual packet::PacketPtr read()
Read next packet.
Validator(packet::IReader &reader, const ValidatorConfig &config, const audio::SampleSpec &sample_spec)
Initialize.
int64_t nanoseconds_t
Nanoseconds.
core::nanoseconds_t max_ts_jump
Maximum allowed delta between two consecutive packet timestamps, in nanoseconds.
size_t max_sn_jump
Maximum allowed delta between two consecutive packet seqnums.