12 #ifndef ROC_RTCP_ISENDER_HOOKS_H_
13 #define ROC_RTCP_ISENDER_HOOKS_H_
virtual size_t on_get_num_sources()=0
Get number of sources produced by sender.
virtual void on_add_reception_metrics(const ReceptionMetrics &metrics)=0
Handle reception feedback metrics obtained from receiver. Called for each source.
virtual SendingMetrics on_get_sending_metrics(core::nanoseconds_t report_time)=0
Generate sending metrics. The obtained metrics will be sent to receiver(s).
virtual void on_add_link_metrics(const LinkMetrics &metrics)=0
Handle estimated link metrics.
virtual packet::stream_source_t on_get_sending_source(size_t source_index)=0
Get identifier of the source with given index. source_index is a number from 0 ro num_receipted_sourc...
int64_t nanoseconds_t
Nanoseconds.
uint32_t stream_source_t
Packet stream identifier.
Commonly used types and functions.
Metrics for network link. Calculated independently on both sender and receiver.
Metrics sent from receiver to sender per source.
Metrics sent from sender to receiver.