Skip to content

Replace livekit_uniffi with livekit_ffi - #1247

Open
hiroshihorie wants to merge 4 commits into
mainfrom
hiroshi/livekit-ffi
Open

hiroshihorie wants to merge 4 commits into
mainfrom
hiroshi/livekit-ffi

Conversation

@hiroshihorie

@hiroshihorie hiroshihorie commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

The Rust core package moved to the livekit-ffi crate (livekit/rust-sdks#1438, livekit/rust-sdks#1439) and is now published on pub.dev as livekit_ffi. This swaps the dependency from livekit_uniffi: ^0.2.2 to livekit_ffi: ^0.13.0.

Four commits:

  1. Replace livekit_uniffi with livekit_ffi ^0.13.0: pubspec, lockfile, the import in the native facade, and the crate/release/path names in AGENTS.md. The local override path is now ../rust-sdks/livekit-ffi/packages/dart. The pending uniffi-rust-core-dev-wiring changeset is reworded instead of adding a new one, since Integrate initial uniffi rust core #1160 has not shipped yet.
  2. Rename the uniffi facade files to ffi: lib/src/uniffi/ becomes lib/src/ffi/ and test/uniffi/ becomes test/ffi/. Pure rename plus reference updates.
  3. Rename LiveKitUniffi to LiveKitFfi: the facade class is still unreleased, so it follows the package name now rather than after it ships.
  4. Rename LiveKitFfi to LiveKitFFI: follows the all-caps acronym style of the existing public API (E2EEManager, LiveKitE2EEException).

Testing

  • livekit_ffi 0.13.0 is on pub.dev under the livekit.io publisher, and the livekit-ffi/v0.13.0 release carries all 12 build-<triple>.zip assets with sha256 sidecars.
  • flutter analyze: no issues.
  • flutter test: 457 pass, including test/ffi against the hook-downloaded library.
  • flutter build macos --release of the example: livekit_ffi.framework is a fat binary (x86_64 + arm64).

hiroshihorie and others added 3 commits October 20, 2026 22:04
The Rust core package moved to the livekit-ffi crate and is now
published as livekit_ffi. Its build hook downloads prebuilt libraries
from the livekit-ffi/v* releases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Matches the livekit_ffi package name: lib/src/uniffi/ becomes
lib/src/ffi/ and test/uniffi/ becomes test/ffi/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The class has not shipped yet, so rename it along with the package
and files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

This comment has been minimized.

Matches the all-caps acronym style of the existing public API, such as
E2EEManager and LiveKitE2EEException.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hiroshihorie
hiroshihorie marked this pull request as ready for review October 20, 2026 14:14

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔍 Devin Review: 1 flag

Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

This branch has not been deployed

No deployments
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