From 1a09456aefd65627e51e1b4369564802a7ea4198 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Mon, 25 Nov 2024 14:37:45 +0100 Subject: [PATCH] snake --- protobufs/livekit_models.proto | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/protobufs/livekit_models.proto b/protobufs/livekit_models.proto index c8a1b0bb..b92ea07d 100644 --- a/protobufs/livekit_models.proto +++ b/protobufs/livekit_models.proto @@ -615,40 +615,40 @@ message DataStream { // header properties specific to text streams message TextHeader { - OperationType operationType = 1; + OperationType operation_type = 1; int32 version = 2; // Optional: Version for updates/edits - string replyToStreamId = 3; // Optional: Reply to specific message - repeated string attachedStreamIds = 4; + string reply_to_stream_id = 3; // Optional: Reply to specific message + repeated string attached_stream_ids = 4; bool generated = 5; // true if the text has been generated by an agent from a participant's audio transcription } // header properties specific to file or image streams message FileHeader { - string fileName = 1; // name of the file + string file_name = 1; // name of the file } // main DataStream.Header that contains a oneof for specific headers message Header { - string streamId = 1; // unique identifier for this data stream + string stream_id = 1; // unique identifier for this data stream int64 timestamp = 2; // using int64 for Unix timestamp string topic = 3; - string mimeType = 4; - optional uint64 totalLength = 5; // only populated for finite streams, if it's a stream of unknown size this stays empty - optional uint64 totalChunks = 6; // only populated for finite streams, if it's a stream of unknown size this stays empty - Encryption.Type encryptionType = 7; // defaults to NONE + string mime_type = 4; + optional uint64 total_length = 5; // only populated for finite streams, if it's a stream of unknown size this stays empty + optional uint64 total_chunks = 6; // only populated for finite streams, if it's a stream of unknown size this stays empty + Encryption.Type encryption_type = 7; // defaults to NONE map extensions = 8; // user defined extensions map that can carry additional info // oneof to choose between specific header types oneof content_header { - TextHeader textHeader = 9; - FileHeader fileHeader = 10; + TextHeader text_header = 9; + FileHeader file_header = 10; } } message Chunk { - string streamId = 1; // unique identifier for this data stream to map it to the correct header - uint64 chunkIndex = 2; + string stream_id = 1; // unique identifier for this data stream to map it to the correct header + uint64 chunk_index = 2; bytes content = 3; // content as binary (bytes) bool complete = 4; // true only if this is the last chunk of this stream - can also be sent with empty content optional bytes iv = 5; // optional, initialization vector for AES-GCM encryption