libosmo-netif: osmo_twjit_rr_info Struct Reference

libosmo-netif 1.7.0.15-fe2d Osmocom network interface library

Data Fields
osmo_twjit_rr_info Struct Reference
Themyscira Wireless RTP jitter buffer implementation

Info collected from the incoming RTP data stream for the purpose of generating RTCP reception report blocks. More...

`#include <twjit.h>`

## Data Fields
uint32_t | ssrc
| received SSRC to which all following info applies
uint32_t | rx_packets
| count of "received packets" for RTCP RR packet loss calculation
uint32_t | base_seq
| "base" sequence number for "expected packets" computation
uint32_t | max_seq_ext
| "extended highest sequence number" field of RTCP RR
uint32_t | expected_pkt
| count of "expected packets" for RTCP RR packet loss calculation
uint32_t | jitter_accum
| "interarrival jitter" measure of RFC 3550, accumulator for the leaky integrator algorithm prescribed by the RFC, sans-FP version. More...

## Detailed Description

Info collected from the incoming RTP data stream for the purpose of generating RTCP reception report blocks.

See twrtp guide document section 5.1.

Key point: unlike the counters in struct osmo_twjit_stats, all RR info is reset to initial whenever incoming SSRC changes, as necessitated by RTCP data model being organized per SSRC.

The same ABI considerations apply to this struct as osmo_twjit_stats.

## Field Documentation

## ◆ jitter_accum

uint32_t osmo_twjit_rr_info::jitter_accum

"interarrival jitter" measure of RFC 3550, accumulator for the leaky integrator algorithm prescribed by the RFC, sans-FP version.

Right-shift this accumulator by 4 bits when emitting RTCP RR.

The documentation for this struct was generated from the following file:

- include/osmocom/netif/twjit.h