Skip to content

Rename PacketTrailer to FrameMetadata#1982

Merged
lukasIO merged 6 commits into
mainfrom
lukas/rename-packet-trailer
Jun 23, 2026
Merged

Rename PacketTrailer to FrameMetadata#1982
lukasIO merged 6 commits into
mainfrom
lukas/rename-packet-trailer

Conversation

@lukasIO

@lukasIO lukasIO commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@changeset-bot

changeset-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: eedea51

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
livekit-client Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@lukasIO lukasIO requested a review from chenosaurus June 22, 2026 08:22
@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 100.72 KB (+0.16% 🔺)
dist/livekit-client.umd.js 109.71 KB (+0.13% 🔺)

Comment thread src/room/PCTransport.ts
Comment thread package.json
Comment on lines 18 to +23
},
"./packet-trailer-worker": {
"types": "./dist/src/packetTrailer/worker/packetTrailer.worker.d.ts",
"import": "./dist/livekit-client.pt.worker.mjs",
"require": "./dist/livekit-client.pt.worker.js"
"types": "./dist/src/frameMetadata/worker/frameMetadata.worker.d.ts",
"import": "./dist/livekit-client.fm.worker.mjs",
"require": "./dist/livekit-client.fm.worker.js"
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thought: I wonder if there's anything you can do to deprecate this old import path... 🤔

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

it's an interesting thought, let me know if you can think of a way to deprecate it!

@chenosaurus chenosaurus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, TY!

@lukasIO lukasIO merged commit 959a13d into main Jun 23, 2026
7 checks passed
@lukasIO lukasIO deleted the lukas/rename-packet-trailer branch June 23, 2026 08:57
chenghao-mou added a commit to livekit/python-sdks that referenced this pull request Jun 24, 2026
Mirror livekit/client-sdk-js#1982: keep the old "Packet Trailer" SDK
surface as backwards-compatible deprecated aliases that point at the new
Frame Metadata names, so existing code keeps working.

  - rtc.PacketTrailerFeature -> alias of rtc.FrameMetadataFeature
  - TrackPublication.packet_trailer_features -> deprecated property that
    warns and returns frame_metadata_features

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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