From 48276016d70d62154bcad0f0aa0f703768f5f37b Mon Sep 17 00:00:00 2001 From: lukasIO Date: Mon, 9 Oct 2023 14:06:55 +0800 Subject: [PATCH] Add persistable user packet --- livekit_models.proto | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/livekit_models.proto b/livekit_models.proto index ced82d9a..bf296672 100644 --- a/livekit_models.proto +++ b/livekit_models.proto @@ -198,6 +198,7 @@ message DataPacket { oneof value { UserPacket user = 2; ActiveSpeakerUpdate speaker = 3; + PersistableUserPacket persistable_user = 4; } } @@ -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;