12 #ifndef ROC_RTP_FILTER_H_
13 #define ROC_RTP_FILTER_H_
76 bool has_prev_packet_;
#define ROC_ATTR_NODISCARD
Emit warning if function result is not checked.
Audio frame decoder interface.
Sample specification. Describes sample rate and channels.
Base class for non-copyable objects.
Filter(packet::IReader &reader, audio::IFrameDecoder &decoder, const FilterConfig &config, const audio::SampleSpec &sample_spec)
Initialize.
virtual ROC_ATTR_NODISCARD status::StatusCode read(packet::PacketPtr &pp)
Read next packet.
Audio frame decoder interface.
const nanoseconds_t Second
One second represented in nanoseconds.
int64_t nanoseconds_t
Nanoseconds.
size_t max_sn_jump
Maximum allowed delta between two consecutive packet seqnums. If exceeded, packet is dropped.
core::nanoseconds_t max_ts_jump
Maximum allowed delta between two consecutive packet timestamps, in nanoseconds. If exceeded,...