-
Notifications
You must be signed in to change notification settings - Fork 115
chore: update @livekit/rtc-ffi-bindings to v0.12.68 #688
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
base: main
Are you sure you want to change the base?
Changes from 2 commits
df07133
f0fc8d8
22f8c6a
dd149ce
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,6 +29,7 @@ export { | |
| IceTransportType, | ||
| TrackPublishOptions, | ||
| } from '@livekit/rtc-ffi-bindings'; | ||
| export { DegradationPreference } from './types.js'; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚩 New enum defined locally rather than re-exported from ffi-bindings Most enums in the public API (e.g., Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| export { | ||
| SimulateScenarioKind, | ||
| StreamState, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,3 +8,20 @@ export interface ChatMessage { | |
| editTimestamp?: number; | ||
| generated?: boolean; | ||
| } | ||
|
|
||
| /** | ||
| * Controls how the encoder degrades quality when bandwidth is constrained. | ||
| */ | ||
| export enum DegradationPreference { | ||
| /** Balance between framerate and resolution degradation. */ | ||
| Balanced = 0, | ||
| /** Degrade framerate to maintain resolution. */ | ||
| MaintainFramerate = 1, | ||
| /** Degrade resolution to maintain framerate (drop frames to keep clarity). */ | ||
| MaintainResolution = 2, | ||
|
devin-ai-integration[bot] marked this conversation as resolved.
Outdated
|
||
| /** | ||
| * Maintain both framerate and resolution. Frames may be dropped before encoding | ||
| * if necessary to avoid overusing network and encoder resources. | ||
| */ | ||
| MaintainFramerateAndResolution = 4, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚩 DegradationPreference enum value 4 skips value 3 — intentional but worth confirming The Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.