12 #ifndef ROC_RTCP_IRECEIVER_HOOKS_H_
13 #define ROC_RTCP_IRECEIVER_HOOKS_H_
28 const char* cname) = 0;
Receiver hooks interface.
virtual void on_update_source(packet::stream_source_t source_id, const char *cname)=0
Invoked when retrieved source description.
virtual void on_add_sending_metrics(const SendingMetrics &metrics)=0
Handle metrics obtained from sender.
virtual void on_remove_source(packet::stream_source_t source_id)=0
Invoked when retrieved source termination message.
virtual size_t on_get_num_sources()=0
Get number of sources for which we send reception metrics.
virtual ReceptionMetrics on_get_reception_metrics(size_t source_index)=0
Generate reception metrics for the source with given index. source_index is a number from 0 ro num_re...
virtual void on_add_link_metrics(const LinkMetrics &metrics)=0
Handle estimated link metrics.
uint32_t stream_source_t
Packet stream identifier.
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.
Various units used in packets.