Skip to content

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

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#333
xianshijing-lk wants to merge 3 commits into
mainfrom
sxian/update-ffi-0.12.68

Conversation

@xianshijing-lk

Copy link
Copy Markdown
Contributor

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

xianshijing-lk and others added 2 commits June 30, 2026 13:35
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 a DegradationPreference enum that matches the Rust API:
- Balanced: Balance between framerate and resolution degradation
- MaintainFramerate: Degrade framerate to maintain resolution
- MaintainResolution: Degrade resolution to maintain framerate
- MaintainFramerateAndResolution: Maintain both, drop frames before encoding

The deprecated 'Disabled' value is intentionally excluded since it has been
removed from WebRTC M144 and replaced with MaintainFramerateAndResolution.

Also regenerates proto files from livekit-ffi v0.12.68.

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 b1aab72 to 641ae21 Compare June 30, 2026 06:28
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>
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.

1 participant