Skip to content

Egress v2#1454

Open
frostbyte73 wants to merge 6 commits intomainfrom
egress-v2
Open

Egress v2#1454
frostbyte73 wants to merge 6 commits intomainfrom
egress-v2

Conversation

@frostbyte73
Copy link
Member

No description provided.

@frostbyte73 frostbyte73 requested a review from a team March 16, 2026 15:13
@changeset-bot
Copy link

changeset-bot bot commented Mar 16, 2026

⚠️ No Changeset found

Latest commit: 61ed308

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

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

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "github.com/livekit/protocol" specified in the `fixed` option does not match any package in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

Copy link
Contributor

@boks1971 boks1971 left a comment

Choose a reason for hiding this comment

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

don't know all the nuances of egress, but lgtm as far as I could understand

rpc Close(ClosePlaybackRequest) returns (google.protobuf.Empty);

// Export a stored replay using egress
rpc Export(livekit.ExportReplayRequest) returns (livekit.EgressInfo);
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we only going to support this?

I was thinking maybe there is an export faster than real-time by just writing a custom export. Is that an option. If so, maybe rename this to ExportViaEgress?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's better for that to be completely internal - template and web sources will always be real-time, but if they choose the media source, we can have it export faster

int32 audio_frequency = 7; // (default 44100)
VideoCodec video_codec = 8; // (default H264_MAIN)
int32 video_bitrate = 9; // (default 4500)
int32 video_quality = 12; // quality setting on video encoder
Copy link
Contributor

Choose a reason for hiding this comment

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

deprecate this as it is unused?

}

enum SegmentedFileSuffix {
INDEX = 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

For enums, as these are at package level, we have been doing a acronym prefix. So, for this, it would be SFS_INDEX or something like that.

Copy link
Member Author

Choose a reason for hiding this comment

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

keeping these unchanged from v1

Copy link
Contributor

@biglittlebigben biglittlebigben left a comment

Choose a reason for hiding this comment

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

This is a valid implementation of you proposal. Can we make sure we gather wide support for the proposal before merging it? I think particularly ask if the robotics (and maybe other backend teams) have any comment as they may have fresher eyes on the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants