Skip to content

media: Fixes stats collection on firefox#995

Merged
geirbakke merged 4 commits into
mainfrom
geirbakke/firefox-stats-fix
May 8, 2026
Merged

media: Fixes stats collection on firefox#995
geirbakke merged 4 commits into
mainfrom
geirbakke/firefox-stats-fix

Conversation

@geirbakke
Copy link
Copy Markdown
Contributor

Description

Firefox seems to be returning senders and receivers without tracks, probably for unidirection media sections, and inactive sections. This made parts of the stats collection (issues/posthog/insights but not rest of rtcstats) stop because of exception accessing track property, and wasting cycles trying again and again. Easily reproducible by starting/stopping a screenshare.

So now we just ignore senders/receivers without a track.

@geirbakke geirbakke requested a review from a team May 8, 2026 06:27
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 8, 2026

🦋 Changeset detected

Latest commit: 3e44f19

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@whereby.com/media Minor
@whereby.com/browser-sdk Patch
@whereby.com/core Patch
@whereby.com/assistant-sdk Patch
@whereby.com/react-native-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@geirbakke
Copy link
Copy Markdown
Contributor Author

/canary

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

🚀 The canary releases have been published to npm.

You can test the releases by installing the newly published versions:

pnpm add @whereby.com/assistant-sdk@0.0.0-canary-20260508070945
pnpm add @whereby.com/browser-sdk@0.0.0-canary-20260508070945
pnpm add @whereby.com/core@0.0.0-canary-20260508070945
pnpm add @whereby.com/media@0.0.0-canary-20260508070945
pnpm add @whereby.com/react-native-sdk@0.0.0-canary-20260508070945

Copy link
Copy Markdown
Contributor

@pnts-se-whereby pnts-se-whereby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pnts-se-whereby
Copy link
Copy Markdown
Contributor

/canary

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

🚀 The canary releases have been published to npm.

You can test the releases by installing the newly published versions:

pnpm add @whereby.com/assistant-sdk@0.0.0-canary-20260508111051
pnpm add @whereby.com/browser-sdk@0.0.0-canary-20260508111051
pnpm add @whereby.com/core@0.0.0-canary-20260508111051
pnpm add @whereby.com/media@0.0.0-canary-20260508111051
pnpm add @whereby.com/react-native-sdk@0.0.0-canary-20260508111051

@geirbakke geirbakke merged commit 3838d2c into main May 8, 2026
3 checks passed
@geirbakke geirbakke deleted the geirbakke/firefox-stats-fix branch May 8, 2026 11:30
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.

2 participants