Skip to content

chore: update rust-sdks to livekit-ffi v0.12.68#187

Open
xianshijing-lk wants to merge 3 commits into
mainfrom
sxian/update-ffi-0.12.68
Open

chore: update rust-sdks to livekit-ffi v0.12.68#187
xianshijing-lk wants to merge 3 commits into
mainfrom
sxian/update-ffi-0.12.68

Conversation

@xianshijing-lk

Copy link
Copy Markdown
Collaborator

Summary

Updates rust-sdks submodule to livekit-ffi v0.12.68.

Changes

  • Add MaintainFramerateAndResolution to DegradationPreference enum (aligns with WebRTC M144)
  • DISABLED is deprecated, use MAINTAIN_FRAMERATE_AND_RESOLUTION instead

🤖 Generated with Claude Code

Updates rust-sdks submodule to include:
- Add MaintainFramerateAndResolution to DegradationPreference enum (aligns with WebRTC M144)
- DISABLED is deprecated, use MAINTAIN_FRAMERATE_AND_RESOLUTION instead

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add DegradationPreference enum and field to TrackPublishOptions to allow
controlling encoder behavior when bandwidth is constrained:

- Balanced: Balance between framerate and resolution degradation
- MaintainFramerate: Degrade framerate to maintain resolution
- MaintainResolution: Degrade resolution to maintain framerate
- Disabled (deprecated): Use MaintainFramerateAndResolution instead
- MaintainFramerateAndResolution: Maintain both, drop frames before encoding

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@xianshijing-lk xianshijing-lk force-pushed the sxian/update-ffi-0.12.68 branch from 70b468b to d0a4d24 Compare June 30, 2026 06:23
The docstrings for MaintainFramerate and MaintainResolution were swapped.
Per the W3C WebRTC spec:
- MaintainFramerate: Degrade resolution to maintain framerate (prioritize smooth motion)
- MaintainResolution: Degrade framerate to maintain resolution (prioritize image clarity)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

@stephen-derosa stephen-derosa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM other than the clang requets

@alan-george-lk

Copy link
Copy Markdown
Collaborator

@xianshijing-lk Thanks for the add, however I believe this release needs the FrameMetadata support I have done here: #184

I was waiting on the release and just updated the submodule/tested locally.

@alan-george-lk

Copy link
Copy Markdown
Collaborator

@xianshijing-lk main now has what you should need for this branch to work, feel free to rebase and re-ping for review

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.

3 participants