12 #ifndef ROC_RTP_VALIDATOR_H_
13 #define ROC_RTP_VALIDATOR_H_
60 const size_t sample_rate_;
Base class for non-copyable objects.
virtual packet::PacketPtr read()
Read next packet.
Validator(packet::IReader &reader, const ValidatorConfig &config, size_t sample_rate)
Initialize.
const nanoseconds_t Second
One second represented in nanoseconds.
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.