Skip to content

Add SegmentedFileOutput.segment_duration_seconds - #1829

Open
biglittlebigben wants to merge 2 commits into
mainfrom
benjamin/segment-duration-seconds
Open

biglittlebigben wants to merge 2 commits into
mainfrom
benjamin/segment-duration-seconds

Conversation

@biglittlebigben

@biglittlebigben biglittlebigben commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

segment_duration is a uint32 of whole seconds, which cannot express short segments. This adds segment_duration_seconds, a double, and deprecates segment_duration.

Consumers should prefer the new field and fall back to segment_duration when it is the only one set, so existing clients keep working.

Adopted in livekit/egress#1420.

🤖 Generated with Claude Code

segment_duration is a uint32 of whole seconds, which cannot express short
segments. Add a double alongside it and deprecate the old field.

Consumers should prefer the new field, and fall back to segment_duration
when it is the only one set, so existing clients keep working.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3eeed04

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

This PR includes changesets to release 2 packages
Name Type
github.com/livekit/protocol Patch
@livekit/protocol Patch

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

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.

1 participant