Skip to content

Data track schema metadata - #214

Merged
alan-george-lk merged 31 commits into
mainfrom
feature/schema-metadata
Jul 28, 2026
Merged

Data track schema metadata#214
alan-george-lk merged 31 commits into
mainfrom
feature/schema-metadata

Conversation

@alan-george-lk

@alan-george-lk alan-george-lk commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds C++ support for data track schema metadata, updating to upstream Rust livekit-ffi/v0.12.72 (06371a33) release update

API Changes

  • Adds schema types (DataTrackSchemaId, DataTrackSchemaEncoding, DataTrackFrameEncoding) and optional metadata on DataTrackPublishOptions / DataTrackInfo
  • Adds methods LocalParticipant::defineSchema() and getSchema()` for storing and retrieving schema definitions via room data blobs

Other Changes

  • Bumps client-sdk-rust to the published release that ships schema metadata support
  • Updates CI e2e setup to dev-server-action@v1.1.0 with enable_participant_data_blob: true so schema storage tests can run
  • Prevents pre-release builds from publishing docs to production link

Testing

  • Added unit tests for schema proto round-trips, DataTrackInfo metadata, and INVALID_SCHEMA error mapping
  • Added integration tests for defineSchema / getSchema, publish with schema/frame-encoding metadata, and rejection of incompatible schema combos

ladvoc and others added 22 commits June 17, 2026 12:45
Use the upstream action commit from livekit/dev-server-action#3 instead of
the personal fork so the version input can be reviewed and shipped in-repo.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use the action commit that builds pinned livekit-server versions from inside the cloned Go module, so e2e CI can start the schema metadata server commit.

Co-authored-by: Cursor <cursoragent@cursor.com>
github-advanced-security[bot]

This comment was marked as resolved.

@alan-george-lk
alan-george-lk marked this pull request as ready for review July 28, 2026 15:48
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@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!

@alan-george-lk
alan-george-lk merged commit 2cbf9a3 into main Jul 28, 2026
40 of 42 checks passed
@alan-george-lk
alan-george-lk deleted the feature/schema-metadata branch July 28, 2026 18:54
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.

4 participants