12#ifndef ROC_RTCP_SESSION_H_
13#define ROC_RTCP_SESSION_H_
58 void parse_events_(
const Traverser& traverser);
59 void parse_reports_(
const Traverser& traverser);
73 void build_session_description_(
Builder& bld);
Packet composer interface.
RTCP compound packet builder.
Receiver hooks interface.
RTCP session. Processes incoming RTCP packets and generates outgoing RTCP packets.
bool valid() const
Check if initialization succeeded.
void process_packet(const packet::PacketPtr &packet)
Parse and process incoming packet. Invokes session hooks methods during processing.
core::nanoseconds_t generation_deadline()
When we should generate packets next time. Returns absolute time.
Session(IReceiverHooks *recv_hooks, ISenderHooks *send_hooks, packet::IWriter *packet_writer, packet::IComposer &packet_composer, packet::PacketFactory &packet_factory, core::BufferFactory< uint8_t > &buffer_factory)
Initialize.
void generate_packets()
Generate and send packet(s). Should be called accroding to generation_deadline().
RTCP compound packet traverser.
Packet composer interface.
Receiver hooks interface.
int64_t nanoseconds_t
Nanoseconds.
uint32_t source_t
Packet source ID identifying packet stream.
uint64_t ntp_timestamp_t
NTP timestamp.
Commonly used types and functions.
Metrics sent from receiver to sender per source.