Commit bc6b12e
feat: add DegradationPreference enum (without deprecated Disabled)
Add a wrapper DegradationPreference enum that matches the Rust API:
- BALANCED: Balance between framerate and resolution degradation
- MAINTAIN_FRAMERATE: Degrade framerate to maintain resolution
- MAINTAIN_RESOLUTION: Degrade resolution to maintain framerate
- MAINTAIN_FRAMERATE_AND_RESOLUTION: 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>1 parent d77f66f commit bc6b12e
3 files changed
Lines changed: 42 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| 142 | + | |
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
| |||
0 commit comments