Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DataStream support #871

Merged
merged 40 commits into from
Nov 28, 2024
Merged

Add DataStream support #871

merged 40 commits into from
Nov 28, 2024

Conversation

lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Oct 25, 2024

No description provided.

Copy link

changeset-bot bot commented Oct 25, 2024

🦋 Changeset detected

Latest commit: f38498a

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

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

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

@lukasIO lukasIO changed the title WIP: data streaming Add DataStream packet support Nov 25, 2024
@lukasIO lukasIO changed the title Add DataStream packet support Add DataStream support Nov 25, 2024
@lukasIO lukasIO marked this pull request as ready for review November 25, 2024 13:00
@lukasIO lukasIO requested review from a team November 25, 2024 13:00
protobufs/livekit_models.proto Outdated Show resolved Hide resolved
protobufs/livekit_models.proto Outdated Show resolved Hide resolved
string messageId = 1; // unique identifier for this data stream to map it to the correct header
uint64 chunkIndex = 2; // chunkId as an unsigned 32-bit integer
bytes content = 3; // content as binary (bytes)
uint32 contentLength = 4; // content length in bytes
Copy link
Contributor

Choose a reason for hiding this comment

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

what is the purpose of this? can this not be derived from content as length of it? Are there cases where content is padded? (maybe for the encryption case?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, although I'm not sure anymore what we'd need it for, even in the encryption case. Will remove and we can re-add if it turns out we need it

protobufs/livekit_models.proto Outdated Show resolved Hide resolved
protobufs/livekit_models.proto Outdated Show resolved Hide resolved
protobufs/livekit_models.proto Outdated Show resolved Hide resolved
@lukasIO lukasIO merged commit c9f20a6 into main Nov 28, 2024
1 check passed
@lukasIO lukasIO deleted the lukas/data-stream branch November 28, 2024 11:06
@github-actions github-actions bot mentioned this pull request Nov 28, 2024
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.

6 participants