Skip to content

Interpret RR total lost as signed 24-bit - #484

Open
iibaranov-IG wants to merge 1 commit into
pion:mainfrom
iibaranov-IG:codex/signed-rr-total-lost
Open

iibaranov-IG wants to merge 1 commit into
pion:mainfrom
iibaranov-IG:codex/signed-rr-total-lost

Conversation

@iibaranov-IG

Copy link
Copy Markdown
Contributor

Summary

  • sign-extend RTCP receiver report cumulative packets lost before exposing remote-inbound stats
  • use the decoded value when deriving packets received from expected packets
  • add a regression test for a negative cumulative loss value encoded as 0xFFFFFF

Closes #479.

Checks

  • go test ./pkg/stats
  • go test ./...

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

stats: cumulative packets lost from RR is not interpreted as signed 24-bit

1 participant