Skip to content

Export the FrameProcessingStats type - #143

Merged
changt merged 1 commit into
mainfrom
export-frame-processing-stats
Oct 20, 2026
Merged

changt merged 1 commit into
mainfrom
export-frame-processing-stats

Conversation

@changt

@changt changt commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

FrameProcessingStats is the parameter type of onFrameProcessed on BackgroundProcessorOptions, BackgroundBlur() and VirtualBackground(), but it wasn't exported from the package entry point, so consumers couldn't name it without a deep import.

This adds it to the existing type export block in src/index.ts, with a patch changeset. Verified the built dist/src/index.d.ts now exports it.

Fixes #137

FrameProcessingStats is the parameter type of onFrameProcessed on
BackgroundProcessorOptions, BackgroundBlur() and VirtualBackground(),
but consumers could not import it from the package entry point.

Fixes #137
@changeset-bot

changeset-bot Bot commented Oct 19, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 024bde3

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

This PR includes changesets to release 1 package
Name Type
@livekit/track-processors 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

@changt
changt merged commit aaf2dcf into main Oct 20, 2026
3 checks passed
@changt
changt deleted the export-frame-processing-stats branch October 20, 2026 00:36
@github-actions github-actions Bot mentioned this pull request Oct 20, 2026
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.

FrameProcessingStats is not exported, so onFrameProcessed stats cannot be typed by consumers

2 participants