Data tracks schema metadata - #1553
Conversation
🦋 Changeset detectedLatest commit: 5a3a2dd The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
f1a3f86 to
b16bce9
Compare
897ebab to
61116ab
Compare
boks1971
left a comment
There was a problem hiding this comment.
Probably hold this till we have some form of implementation?
Should AddDataTrack request fail if there is an existing schema id, but the definition bytes do not match? If so, need to add another error reason for this case.
Should schemas be per publisher? If that is the case, GetSchema should include participant.
If not per publisher, (i. e. per room), becomes trickier to coordinate in a distributed room, so would be good to avoid that.
sounds good. Should add an error reason for this. |
Most probably, this will be propagated to other nodes a la Still have to think about migration cases, i. e. should clients add the schemas to |
No longer attached to publish request
|
@boks1971, we thought though the edge cases of having schemas being scoped to specific participants and the conclusion is this will work with some minor caveats. Question: should this work based on participant ID or identity for the purposes of the protocol? |
d580341 to
63828e9
Compare
d45ebd1 to
bb0475b
Compare
…advoc/schema-metadata
Adds support for associating schema metadata with a published data track and storing/retrieving schema definitions. Schema storage is built on-top of data blobs, a general purpose mechanism for storing large (in the order of KBs), arbitrary data blobs in a room: - Protocol: livekit/protocol#1595 - SFU implementation: https://github.com/livekit/livekit/tree/raja_async_attributes Protocol additions for schema metadata: - livekit/protocol#1553 Closes BOT-368 --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Closes BOT-318