Skip to content

Commit

Permalink
Add persistable user packet
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Oct 9, 2023
1 parent 97f4c92 commit 4827601
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions livekit_models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ message DataPacket {
oneof value {
UserPacket user = 2;
ActiveSpeakerUpdate speaker = 3;
PersistableUserPacket persistable_user = 4;
}
}

Expand Down Expand Up @@ -229,6 +230,25 @@ message UserPacket {
// NEXT_ID: 7
}

message PersistableUserPacket {
// participant ID of user that sent the message
string participant_sid = 1;
string participant_identity = 5;
string participant_name = 8;
// user defined payload
bytes payload = 2;
// the ID of the participants who will receive the message (sent to all by default)
repeated string destination_sids = 3;
// identities of participants who will receive the message (sent to all by default)
repeated string destination_identities = 6;
// topic under which the message was published
optional string topic = 4;

int64 timestamp = 7;

// NEXT_ID: 9
}

enum ConnectionQuality {
POOR = 0;
GOOD = 1;
Expand Down

0 comments on commit 4827601

Please sign in to comment.