Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Link metrics. More...
#include <ilink_meter.h>
Public Attributes | |
packet::ext_seqnum_t | ext_first_seqnum |
Extended lowest RTP seqnum received. The low 16 bits contain the lowest sequence number received in an RTP data packet, and the rest bits extend that sequence number with the corresponding count of seqnum cycles. More... | |
packet::ext_seqnum_t | ext_last_seqnum |
Extended highest RTP seqnum received. The low 16 bits contain the highest sequence number received in an RTP data packet, and the rest bits extend that sequence number with the corresponding count of seqnum cycles. More... | |
uint64_t | total_packets |
Total amount of packets sent or expected to be received. On sender, this counter is just incremented every packet. On receiver, it is derived from seqnums. More... | |
int64_t | lost_packets |
Cumulative count of lost packets. The total number of RTP data packets that have been lost since the beginning of reception. Defined to be the number of packets expected minus the number of packets actually received, where the number of packets received includes any which are late or duplicates. Packets that arrive late are not counted as lost, and the loss may be negative if there are duplicates. More... | |
core::nanoseconds_t | jitter |
Estimated interarrival jitter. An estimate of the statistical variance of the RTP data packet interarrival time. More... | |
core::nanoseconds_t | rtt |
Estimated round-trip time between sender and receiver. Computed based on NTP-like timestamp exchange implemennted by RTCP protocol. Read-only field. You can read it on sender, but you should not set it on receiver. More... | |
Link metrics.
Definition at line 23 of file ilink_meter.h.
packet::ext_seqnum_t roc::packet::LinkMetrics::ext_first_seqnum |
Extended lowest RTP seqnum received. The low 16 bits contain the lowest sequence number received in an RTP data packet, and the rest bits extend that sequence number with the corresponding count of seqnum cycles.
Definition at line 28 of file ilink_meter.h.
packet::ext_seqnum_t roc::packet::LinkMetrics::ext_last_seqnum |
Extended highest RTP seqnum received. The low 16 bits contain the highest sequence number received in an RTP data packet, and the rest bits extend that sequence number with the corresponding count of seqnum cycles.
Definition at line 34 of file ilink_meter.h.
core::nanoseconds_t roc::packet::LinkMetrics::jitter |
Estimated interarrival jitter. An estimate of the statistical variance of the RTP data packet interarrival time.
Definition at line 52 of file ilink_meter.h.
int64_t roc::packet::LinkMetrics::lost_packets |
Cumulative count of lost packets. The total number of RTP data packets that have been lost since the beginning of reception. Defined to be the number of packets expected minus the number of packets actually received, where the number of packets received includes any which are late or duplicates. Packets that arrive late are not counted as lost, and the loss may be negative if there are duplicates.
Definition at line 47 of file ilink_meter.h.
core::nanoseconds_t roc::packet::LinkMetrics::rtt |
Estimated round-trip time between sender and receiver. Computed based on NTP-like timestamp exchange implemennted by RTCP protocol. Read-only field. You can read it on sender, but you should not set it on receiver.
Definition at line 58 of file ilink_meter.h.
uint64_t roc::packet::LinkMetrics::total_packets |
Total amount of packets sent or expected to be received. On sender, this counter is just incremented every packet. On receiver, it is derived from seqnums.
Definition at line 39 of file ilink_meter.h.