Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure maxFps applies for very low framerates #1362

Merged
merged 3 commits into from
Jan 7, 2025
Merged

Ensure maxFps applies for very low framerates #1362

merged 3 commits into from
Jan 7, 2025

Conversation

lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Jan 6, 2025

No description provided.

Copy link

changeset-bot bot commented Jan 6, 2025

🦋 Changeset detected

Latest commit: b320da3

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

This PR includes changesets to release 1 package
Name Type
livekit-client 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

@lukasIO lukasIO changed the title Ensure maxFps applies for very low Framerates Ensure maxFps applies for very low framerates Jan 6, 2025
Copy link
Contributor

github-actions bot commented Jan 6, 2025

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 86.5 KB (+0.02% 🔺)
dist/livekit-client.umd.js 92.63 KB (+0.02% 🔺)

@lukasIO lukasIO requested review from bcherry and davidliu January 6, 2025 10:44
// ensure that the sourceFramerate is the highest framerate applied across all layers so that the
// original encoding doesn't get bumped unintentionally by any of the other layers
const maxFramerate =
sourceFramerate && preset.encoding.maxFramerate
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible for just one of the values to exist?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I think so.
If only one of them exists there should be no need to consider the sourceFramerate

@lukasIO lukasIO merged commit 5abc169 into main Jan 7, 2025
3 checks passed
@lukasIO lukasIO deleted the lukas/maxfps branch January 7, 2025 09:05
@github-actions github-actions bot mentioned this pull request Jan 7, 2025
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