Skip to content

Add multipath-aware RIST metrics - #230

Open
romestylez wants to merge 1 commit into
NOALBS:v2from
romestylez:rist-multipath-stats
Open

Add multipath-aware RIST metrics#230
romestylez wants to merge 1 commit into
NOALBS:v2from
romestylez:rist-multipath-stats

Conversation

@romestylez

Copy link
Copy Markdown

What changed

The current RIST implementation adds all peer bitrates together and averages their RTT. This does not work very well for bonded/multipath RIST because a slow path carrying almost no traffic can still trigger the low scene.

This PR adds an optional "multipath": true setting. When enabled, NOALBS uses:

  • the flow payload bitrate
  • traffic-weighted RTT from active peers
  • only alive peers carrying traffic

Existing RIST configs keep the old behavior unless the option is enabled.

Tests

Added deterministic tests for legacy behavior, multipath stats, dead peers and the normal/low/offline scene decisions.

cargo test: 32 passed, 0 failed.

I'm not much of a PR novelist, so this description got a little AI polish. The code is still the important bit 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant