Skip to content

Add support for user_data via FrameMetadata#184

Merged
alan-george-lk merged 7 commits into
mainfrom
feature/user_data
Jun 30, 2026
Merged

Add support for user_data via FrameMetadata#184
alan-george-lk merged 7 commits into
mainfrom
feature/user_data

Conversation

@alan-george-lk

@alan-george-lk alan-george-lk commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

This PR does the following:

  • Bump client-sdk-rust to bring in release livekit-ffi/v0.12.68, for arbitrary user_data support via FrameMetadata
  • Add FrameMetadataFeatures to TrackPublishOptions
  • Expose user_data field on C++ video frame metadata
  • Update field documentation on video frame metadata to be more consistent
  • Update FFI proto conversions for the upstream rename (PacketTrailerFeatureFrameMetadataFeature, packet_trailer_featuresframe_metadata_features). Note: no breaking public API changes

Deprecation

  • PacketTrailerFeatures is now deprecated but is backwards-compatible until the next major release with breaking changes

Testing

  • Adds unit tests for proto field changes
  • Adds integration test for E2E validation of user data

@alan-george-lk alan-george-lk marked this pull request as ready for review June 25, 2026 17:31

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

nice, LGTM. Can you either update the user_timestamped_video example, (maybe user stamped video), or make a ticket in the cpp repo?

Comment thread include/livekit/room_event_types.h Outdated
Comment thread include/livekit/room_event_types.h Outdated

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

nice, LGTM!

@alan-george-lk alan-george-lk merged commit 91214d9 into main Jun 30, 2026
24 checks passed
@alan-george-lk alan-george-lk deleted the feature/user_data branch June 30, 2026 23:43
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.

3 participants