From 55ad6674aba407f2f25682b7bb1f04ba71549ae9 Mon Sep 17 00:00:00 2001 From: Jacob Gelman <3182119+ladvoc@users.noreply.github.com> Date: Tue, 12 May 2026 12:07:13 -0700 Subject: [PATCH 1/8] Schema metadata --- protobufs/livekit_models.proto | 24 ++++++++++++++++++++++++ protobufs/livekit_rtc.proto | 4 ++++ 2 files changed, 28 insertions(+) diff --git a/protobufs/livekit_models.proto b/protobufs/livekit_models.proto index 6b98a008d..7382f15bc 100644 --- a/protobufs/livekit_models.proto +++ b/protobufs/livekit_models.proto @@ -282,6 +282,30 @@ message DataTrackInfo { // Method used for end-to-end encryption (E2EE) on packet payloads. Encryption.Type encryption = 4; + + // Schema used by frames sent on this track. The track is untyped if not specified. + optional DataTrackSchemaId schema = 5; +} + +message DataTrackSchemaId { + string name = 1; + DataTrackSchemaFormat format = 2; +} + +message DataTrackSchemaDefinition { + DataTrackSchemaId id = 1; + bytes definition = 2; +} + +enum DataTrackSchemaFormat { + DATA_TRACK_SCHEMA_FORMAT_OTHER = 0; + DATA_TRACK_SCHEMA_FORMAT_PROTOBUF = 1; + DATA_TRACK_SCHEMA_FORMAT_FLATBUFFER = 2; + DATA_TRACK_SCHEMA_FORMAT_ROS1_MSG = 3; + DATA_TRACK_SCHEMA_FORMAT_ROS2_MSG = 4; + DATA_TRACK_SCHEMA_FORMAT_ROS2_IDL = 5; + DATA_TRACK_SCHEMA_FORMAT_OMG_IDL = 6; + DATA_TRACK_SCHEMA_FORMAT_JSON_SCHEMA = 7; } enum DataTrackExtensionID { diff --git a/protobufs/livekit_rtc.proto b/protobufs/livekit_rtc.proto index 31488daea..68e43ce52 100644 --- a/protobufs/livekit_rtc.proto +++ b/protobufs/livekit_rtc.proto @@ -187,6 +187,9 @@ message PublishDataTrackRequest { // Method used for end-to-end encryption (E2EE) on frame payloads. Encryption.Type encryption = 3; + + // Schema used by frames sent on this track. The track is untyped if not specified. + optional DataTrackSchemaDefinition schema = 4; } message PublishDataTrackResponse { @@ -561,6 +564,7 @@ message RequestResponse { INVALID_NAME = 8; DUPLICATE_HANDLE = 9; DUPLICATE_NAME = 10; + INVALID_SCHEMA = 11; } uint32 request_id = 1 [(logger.name) = "requestID"]; From 617b5be24df1c442b93485e8dab329fb014da6e1 Mon Sep 17 00:00:00 2001 From: Jacob Gelman <3182119+ladvoc@users.noreply.github.com> Date: Tue, 12 May 2026 12:15:56 -0700 Subject: [PATCH 2/8] Resolve request --- protobufs/livekit_models.proto | 2 +- protobufs/livekit_rtc.proto | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/protobufs/livekit_models.proto b/protobufs/livekit_models.proto index 7382f15bc..e4b9ebbb0 100644 --- a/protobufs/livekit_models.proto +++ b/protobufs/livekit_models.proto @@ -284,7 +284,7 @@ message DataTrackInfo { Encryption.Type encryption = 4; // Schema used by frames sent on this track. The track is untyped if not specified. - optional DataTrackSchemaId schema = 5; + optional DataTrackSchemaId schema_id = 5; } message DataTrackSchemaId { diff --git a/protobufs/livekit_rtc.proto b/protobufs/livekit_rtc.proto index 68e43ce52..dd30a29ac 100644 --- a/protobufs/livekit_rtc.proto +++ b/protobufs/livekit_rtc.proto @@ -63,6 +63,8 @@ message SignalRequest { UnpublishDataTrackRequest unpublish_data_track_request = 20; // Update subscription state for one or more data tracks UpdateDataSubscription update_data_subscription = 21; + // Get the definition for a known data track schema + ResolveDataTrackSchemaRequest resolve_data_track_schema = 22; } } @@ -125,6 +127,8 @@ message SignalResponse { UnpublishDataTrackResponse unpublish_data_track_response = 28; // Sent to data track subscribers to provide mapping from track SIDs to handles. DataTrackSubscriberHandles data_track_subscriber_handles = 29; + // Sent in response to `ResolveDataTrackSchemaRequest`. + ResolveDataTrackSchemaResponse resolve_data_track_schema_response = 30; } } @@ -189,7 +193,7 @@ message PublishDataTrackRequest { Encryption.Type encryption = 3; // Schema used by frames sent on this track. The track is untyped if not specified. - optional DataTrackSchemaDefinition schema = 4; + optional DataTrackSchemaDefinition schema_definition = 4; } message PublishDataTrackResponse { @@ -300,6 +304,16 @@ message UpdateDataSubscription { repeated Update updates = 1; } +message ResolveDataTrackSchemaRequest { + // ID of the schema to resolve. + DataTrackSchemaId schema_id = 1; +} + +message ResolveDataTrackSchemaResponse { + // Definition of the requested schema. + DataTrackSchemaDefinition schema_definition = 1; +} + message UpdateTrackSettings { repeated string track_sids = 1; // when true, the track is placed in a paused state, with no new data returned @@ -579,6 +593,7 @@ message RequestResponse { UpdateLocalVideoTrack update_video_track = 9; PublishDataTrackRequest publish_data_track = 10; UnpublishDataTrackRequest unpublish_data_track = 11; + ResolveDataTrackSchemaRequest resolve_data_track_schema = 12; } } From 7738be903f8bb803d2d103f53e0911252876558f Mon Sep 17 00:00:00 2001 From: Jacob Gelman <3182119+ladvoc@users.noreply.github.com> Date: Tue, 12 May 2026 12:20:24 -0700 Subject: [PATCH 3/8] Use reason unspecified --- protobufs/livekit_models.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protobufs/livekit_models.proto b/protobufs/livekit_models.proto index e4b9ebbb0..23746c84c 100644 --- a/protobufs/livekit_models.proto +++ b/protobufs/livekit_models.proto @@ -198,7 +198,7 @@ message ParticipantInfo { // protocol version used for client feature compatibility int32 client_protocol = 20; - + // NEXT_ID: 21 } @@ -298,7 +298,7 @@ message DataTrackSchemaDefinition { } enum DataTrackSchemaFormat { - DATA_TRACK_SCHEMA_FORMAT_OTHER = 0; + DATA_TRACK_SCHEMA_FORMAT_UNSPECIFIED = 0; DATA_TRACK_SCHEMA_FORMAT_PROTOBUF = 1; DATA_TRACK_SCHEMA_FORMAT_FLATBUFFER = 2; DATA_TRACK_SCHEMA_FORMAT_ROS1_MSG = 3; From 05a04ce392d9549b81715ad077d95fd05c3d8d01 Mon Sep 17 00:00:00 2001 From: Jacob Gelman <3182119+ladvoc@users.noreply.github.com> Date: Tue, 12 May 2026 12:27:05 -0700 Subject: [PATCH 4/8] Comments --- protobufs/livekit_models.proto | 3 ++- protobufs/livekit_rtc.proto | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/protobufs/livekit_models.proto b/protobufs/livekit_models.proto index 23746c84c..2f897714b 100644 --- a/protobufs/livekit_models.proto +++ b/protobufs/livekit_models.proto @@ -283,7 +283,8 @@ message DataTrackInfo { // Method used for end-to-end encryption (E2EE) on packet payloads. Encryption.Type encryption = 4; - // Schema used by frames sent on this track. The track is untyped if not specified. + // ID of the schema used by frames on this track. If not specified, the track is untyped. + // Definition is stored out-of-band. optional DataTrackSchemaId schema_id = 5; } diff --git a/protobufs/livekit_rtc.proto b/protobufs/livekit_rtc.proto index dd30a29ac..d609475ca 100644 --- a/protobufs/livekit_rtc.proto +++ b/protobufs/livekit_rtc.proto @@ -192,7 +192,7 @@ message PublishDataTrackRequest { // Method used for end-to-end encryption (E2EE) on frame payloads. Encryption.Type encryption = 3; - // Schema used by frames sent on this track. The track is untyped if not specified. + // ID and definition of the schema used by frames on this track. If not specified, the track is untyped. optional DataTrackSchemaDefinition schema_definition = 4; } From 1e760ab61c183c44f4585b336030797a013b1584 Mon Sep 17 00:00:00 2001 From: Jacob Gelman <3182119+ladvoc@users.noreply.github.com> Date: Tue, 12 May 2026 16:08:59 -0700 Subject: [PATCH 5/8] =?UTF-8?q?Rename=20messages:=20"resolve"=20=E2=86=92?= =?UTF-8?q?=20"get"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protobufs/livekit_rtc.proto | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/protobufs/livekit_rtc.proto b/protobufs/livekit_rtc.proto index d609475ca..972d933c3 100644 --- a/protobufs/livekit_rtc.proto +++ b/protobufs/livekit_rtc.proto @@ -64,7 +64,7 @@ message SignalRequest { // Update subscription state for one or more data tracks UpdateDataSubscription update_data_subscription = 21; // Get the definition for a known data track schema - ResolveDataTrackSchemaRequest resolve_data_track_schema = 22; + GetDataTrackSchemaRequest get_data_track_schema = 22; } } @@ -127,8 +127,8 @@ message SignalResponse { UnpublishDataTrackResponse unpublish_data_track_response = 28; // Sent to data track subscribers to provide mapping from track SIDs to handles. DataTrackSubscriberHandles data_track_subscriber_handles = 29; - // Sent in response to `ResolveDataTrackSchemaRequest`. - ResolveDataTrackSchemaResponse resolve_data_track_schema_response = 30; + // Sent in response to `GetDataTrackSchemaRequest`. + GetDataTrackSchemaResponse get_data_track_schema_response = 30; } } @@ -304,12 +304,12 @@ message UpdateDataSubscription { repeated Update updates = 1; } -message ResolveDataTrackSchemaRequest { - // ID of the schema to resolve. +message GetDataTrackSchemaRequest { + // ID of the schema to get. DataTrackSchemaId schema_id = 1; } -message ResolveDataTrackSchemaResponse { +message GetDataTrackSchemaResponse { // Definition of the requested schema. DataTrackSchemaDefinition schema_definition = 1; } @@ -593,7 +593,7 @@ message RequestResponse { UpdateLocalVideoTrack update_video_track = 9; PublishDataTrackRequest publish_data_track = 10; UnpublishDataTrackRequest unpublish_data_track = 11; - ResolveDataTrackSchemaRequest resolve_data_track_schema = 12; + GetDataTrackSchemaRequest get_data_track_schema = 12; } } From c0b0a31933e02c02fb2569525e4cd63d805ef4db Mon Sep 17 00:00:00 2001 From: Jacob Gelman <3182119+ladvoc@users.noreply.github.com> Date: Tue, 12 May 2026 16:12:32 -0700 Subject: [PATCH 6/8] Link MCAP spec --- protobufs/livekit_models.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protobufs/livekit_models.proto b/protobufs/livekit_models.proto index 2f897714b..7b6a80a35 100644 --- a/protobufs/livekit_models.proto +++ b/protobufs/livekit_models.proto @@ -308,6 +308,8 @@ enum DataTrackSchemaFormat { DATA_TRACK_SCHEMA_FORMAT_OMG_IDL = 6; DATA_TRACK_SCHEMA_FORMAT_JSON_SCHEMA = 7; } +// Mirrors the well-known schema encodings from the MCAP spec: +// https://mcap.dev/spec/registry#schema-encodings enum DataTrackExtensionID { DTEI_INVALID = 0; From 61116abf7b2df8f81de7421fa8b419981a8ce22d Mon Sep 17 00:00:00 2001 From: Jacob Gelman <3182119+ladvoc@users.noreply.github.com> Date: Tue, 12 May 2026 16:59:55 -0700 Subject: [PATCH 7/8] Separate schema and frame encoding --- protobufs/livekit_models.proto | 70 ++++++++++++++++++++++++++-------- protobufs/livekit_rtc.proto | 5 ++- 2 files changed, 58 insertions(+), 17 deletions(-) diff --git a/protobufs/livekit_models.proto b/protobufs/livekit_models.proto index 7b6a80a35..64c64c426 100644 --- a/protobufs/livekit_models.proto +++ b/protobufs/livekit_models.proto @@ -283,14 +283,58 @@ message DataTrackInfo { // Method used for end-to-end encryption (E2EE) on packet payloads. Encryption.Type encryption = 4; - // ID of the schema used by frames on this track. If not specified, the track is untyped. - // Definition is stored out-of-band. - optional DataTrackSchemaId schema_id = 5; + // Type information for this track. If unset, the track is untyped and frame payloads + // are treated as opaque bytes. + optional DataTrackTypeInfo type_info = 5; } +// Encoding for frame payloads. +// +// Mirrors the well-known message encodings from the MCAP spec: +// https://mcap.dev/spec/registry#message-encodings +// +enum DataTrackFrameEncoding { + DATA_TRACK_FRAME_ENCODING_UNSPECIFIED = 0; + DATA_TRACK_FRAME_ENCODING_ROS1 = 1; + DATA_TRACK_FRAME_ENCODING_CDR = 2; + DATA_TRACK_FRAME_ENCODING_PROTOBUF = 3; + DATA_TRACK_FRAME_ENCODING_FLATBUFFER = 4; + DATA_TRACK_FRAME_ENCODING_CBOR = 5; + DATA_TRACK_FRAME_ENCODING_MSGPACK = 6; + DATA_TRACK_FRAME_ENCODING_JSON = 7; +} + +// Encoding for schema definitions. +// +// Mirrors the well-known schema encodings from the MCAP spec: +// https://mcap.dev/spec/registry#schema-encodings +// +enum DataTrackSchemaEncoding { + DATA_TRACK_SCHEMA_ENCODING_UNSPECIFIED = 0; + DATA_TRACK_SCHEMA_ENCODING_PROTOBUF = 1; + DATA_TRACK_SCHEMA_ENCODING_FLATBUFFER = 2; + DATA_TRACK_SCHEMA_ENCODING_ROS1_MSG = 3; + DATA_TRACK_SCHEMA_ENCODING_ROS2_MSG = 4; + DATA_TRACK_SCHEMA_ENCODING_ROS2_IDL = 5; + DATA_TRACK_SCHEMA_ENCODING_OMG_IDL = 6; + DATA_TRACK_SCHEMA_ENCODING_JSON_SCHEMA = 7; +} + +// Type information for a data track. +message DataTrackTypeInfo { + DataTrackFrameEncoding frame_encoding = 1; + + // ID of the schema used by frames on this track. + optional DataTrackSchemaId schema = 2; +} + +// Identifier for a data track schema. +// +// Schemas with the same name but different encodings are distinct. +// message DataTrackSchemaId { string name = 1; - DataTrackSchemaFormat format = 2; + DataTrackSchemaEncoding encoding = 2; } message DataTrackSchemaDefinition { @@ -298,18 +342,14 @@ message DataTrackSchemaDefinition { bytes definition = 2; } -enum DataTrackSchemaFormat { - DATA_TRACK_SCHEMA_FORMAT_UNSPECIFIED = 0; - DATA_TRACK_SCHEMA_FORMAT_PROTOBUF = 1; - DATA_TRACK_SCHEMA_FORMAT_FLATBUFFER = 2; - DATA_TRACK_SCHEMA_FORMAT_ROS1_MSG = 3; - DATA_TRACK_SCHEMA_FORMAT_ROS2_MSG = 4; - DATA_TRACK_SCHEMA_FORMAT_ROS2_IDL = 5; - DATA_TRACK_SCHEMA_FORMAT_OMG_IDL = 6; - DATA_TRACK_SCHEMA_FORMAT_JSON_SCHEMA = 7; +// Type definition for a data track. +message DataTrackTypeDefinition { + DataTrackFrameEncoding frame_encoding = 1; + + // Schema definition for frames on this track. Must be compatible + // with the frame encoding, and may be omitted for self-describing frame encodings. + optional DataTrackSchemaDefinition schema = 2; } -// Mirrors the well-known schema encodings from the MCAP spec: -// https://mcap.dev/spec/registry#schema-encodings enum DataTrackExtensionID { DTEI_INVALID = 0; diff --git a/protobufs/livekit_rtc.proto b/protobufs/livekit_rtc.proto index 972d933c3..854079aaa 100644 --- a/protobufs/livekit_rtc.proto +++ b/protobufs/livekit_rtc.proto @@ -192,8 +192,9 @@ message PublishDataTrackRequest { // Method used for end-to-end encryption (E2EE) on frame payloads. Encryption.Type encryption = 3; - // ID and definition of the schema used by frames on this track. If not specified, the track is untyped. - optional DataTrackSchemaDefinition schema_definition = 4; + // Type definition for this track. If unset, the track is untyped and frame payloads + // are treated as opaque bytes. + optional DataTrackTypeDefinition type_definition = 4; } message PublishDataTrackResponse { From 6444b0d25ddff5f97807cecad26bb18ce837ac1c Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 13 May 2026 00:01:04 +0000 Subject: [PATCH 8/8] generated protobuf --- livekit/livekit_models.pb.go | 1111 +++++++++++++++++++++++----------- livekit/livekit_rtc.pb.go | 825 +++++++++++++++---------- 2 files changed, 1264 insertions(+), 672 deletions(-) diff --git a/livekit/livekit_models.pb.go b/livekit/livekit_models.pb.go index d9cb42bc1..dd56ac5c4 100644 --- a/livekit/livekit_models.pb.go +++ b/livekit/livekit_models.pb.go @@ -348,6 +348,142 @@ func (TrackSource) EnumDescriptor() ([]byte, []int) { return file_livekit_models_proto_rawDescGZIP(), []int{5} } +// Encoding for frame payloads. +// +// Mirrors the well-known message encodings from the MCAP spec: +// https://mcap.dev/spec/registry#message-encodings +type DataTrackFrameEncoding int32 + +const ( + DataTrackFrameEncoding_DATA_TRACK_FRAME_ENCODING_UNSPECIFIED DataTrackFrameEncoding = 0 + DataTrackFrameEncoding_DATA_TRACK_FRAME_ENCODING_ROS1 DataTrackFrameEncoding = 1 + DataTrackFrameEncoding_DATA_TRACK_FRAME_ENCODING_CDR DataTrackFrameEncoding = 2 + DataTrackFrameEncoding_DATA_TRACK_FRAME_ENCODING_PROTOBUF DataTrackFrameEncoding = 3 + DataTrackFrameEncoding_DATA_TRACK_FRAME_ENCODING_FLATBUFFER DataTrackFrameEncoding = 4 + DataTrackFrameEncoding_DATA_TRACK_FRAME_ENCODING_CBOR DataTrackFrameEncoding = 5 + DataTrackFrameEncoding_DATA_TRACK_FRAME_ENCODING_MSGPACK DataTrackFrameEncoding = 6 + DataTrackFrameEncoding_DATA_TRACK_FRAME_ENCODING_JSON DataTrackFrameEncoding = 7 +) + +// Enum value maps for DataTrackFrameEncoding. +var ( + DataTrackFrameEncoding_name = map[int32]string{ + 0: "DATA_TRACK_FRAME_ENCODING_UNSPECIFIED", + 1: "DATA_TRACK_FRAME_ENCODING_ROS1", + 2: "DATA_TRACK_FRAME_ENCODING_CDR", + 3: "DATA_TRACK_FRAME_ENCODING_PROTOBUF", + 4: "DATA_TRACK_FRAME_ENCODING_FLATBUFFER", + 5: "DATA_TRACK_FRAME_ENCODING_CBOR", + 6: "DATA_TRACK_FRAME_ENCODING_MSGPACK", + 7: "DATA_TRACK_FRAME_ENCODING_JSON", + } + DataTrackFrameEncoding_value = map[string]int32{ + "DATA_TRACK_FRAME_ENCODING_UNSPECIFIED": 0, + "DATA_TRACK_FRAME_ENCODING_ROS1": 1, + "DATA_TRACK_FRAME_ENCODING_CDR": 2, + "DATA_TRACK_FRAME_ENCODING_PROTOBUF": 3, + "DATA_TRACK_FRAME_ENCODING_FLATBUFFER": 4, + "DATA_TRACK_FRAME_ENCODING_CBOR": 5, + "DATA_TRACK_FRAME_ENCODING_MSGPACK": 6, + "DATA_TRACK_FRAME_ENCODING_JSON": 7, + } +) + +func (x DataTrackFrameEncoding) Enum() *DataTrackFrameEncoding { + p := new(DataTrackFrameEncoding) + *p = x + return p +} + +func (x DataTrackFrameEncoding) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DataTrackFrameEncoding) Descriptor() protoreflect.EnumDescriptor { + return file_livekit_models_proto_enumTypes[6].Descriptor() +} + +func (DataTrackFrameEncoding) Type() protoreflect.EnumType { + return &file_livekit_models_proto_enumTypes[6] +} + +func (x DataTrackFrameEncoding) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DataTrackFrameEncoding.Descriptor instead. +func (DataTrackFrameEncoding) EnumDescriptor() ([]byte, []int) { + return file_livekit_models_proto_rawDescGZIP(), []int{6} +} + +// Encoding for schema definitions. +// +// Mirrors the well-known schema encodings from the MCAP spec: +// https://mcap.dev/spec/registry#schema-encodings +type DataTrackSchemaEncoding int32 + +const ( + DataTrackSchemaEncoding_DATA_TRACK_SCHEMA_ENCODING_UNSPECIFIED DataTrackSchemaEncoding = 0 + DataTrackSchemaEncoding_DATA_TRACK_SCHEMA_ENCODING_PROTOBUF DataTrackSchemaEncoding = 1 + DataTrackSchemaEncoding_DATA_TRACK_SCHEMA_ENCODING_FLATBUFFER DataTrackSchemaEncoding = 2 + DataTrackSchemaEncoding_DATA_TRACK_SCHEMA_ENCODING_ROS1_MSG DataTrackSchemaEncoding = 3 + DataTrackSchemaEncoding_DATA_TRACK_SCHEMA_ENCODING_ROS2_MSG DataTrackSchemaEncoding = 4 + DataTrackSchemaEncoding_DATA_TRACK_SCHEMA_ENCODING_ROS2_IDL DataTrackSchemaEncoding = 5 + DataTrackSchemaEncoding_DATA_TRACK_SCHEMA_ENCODING_OMG_IDL DataTrackSchemaEncoding = 6 + DataTrackSchemaEncoding_DATA_TRACK_SCHEMA_ENCODING_JSON_SCHEMA DataTrackSchemaEncoding = 7 +) + +// Enum value maps for DataTrackSchemaEncoding. +var ( + DataTrackSchemaEncoding_name = map[int32]string{ + 0: "DATA_TRACK_SCHEMA_ENCODING_UNSPECIFIED", + 1: "DATA_TRACK_SCHEMA_ENCODING_PROTOBUF", + 2: "DATA_TRACK_SCHEMA_ENCODING_FLATBUFFER", + 3: "DATA_TRACK_SCHEMA_ENCODING_ROS1_MSG", + 4: "DATA_TRACK_SCHEMA_ENCODING_ROS2_MSG", + 5: "DATA_TRACK_SCHEMA_ENCODING_ROS2_IDL", + 6: "DATA_TRACK_SCHEMA_ENCODING_OMG_IDL", + 7: "DATA_TRACK_SCHEMA_ENCODING_JSON_SCHEMA", + } + DataTrackSchemaEncoding_value = map[string]int32{ + "DATA_TRACK_SCHEMA_ENCODING_UNSPECIFIED": 0, + "DATA_TRACK_SCHEMA_ENCODING_PROTOBUF": 1, + "DATA_TRACK_SCHEMA_ENCODING_FLATBUFFER": 2, + "DATA_TRACK_SCHEMA_ENCODING_ROS1_MSG": 3, + "DATA_TRACK_SCHEMA_ENCODING_ROS2_MSG": 4, + "DATA_TRACK_SCHEMA_ENCODING_ROS2_IDL": 5, + "DATA_TRACK_SCHEMA_ENCODING_OMG_IDL": 6, + "DATA_TRACK_SCHEMA_ENCODING_JSON_SCHEMA": 7, + } +) + +func (x DataTrackSchemaEncoding) Enum() *DataTrackSchemaEncoding { + p := new(DataTrackSchemaEncoding) + *p = x + return p +} + +func (x DataTrackSchemaEncoding) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DataTrackSchemaEncoding) Descriptor() protoreflect.EnumDescriptor { + return file_livekit_models_proto_enumTypes[7].Descriptor() +} + +func (DataTrackSchemaEncoding) Type() protoreflect.EnumType { + return &file_livekit_models_proto_enumTypes[7] +} + +func (x DataTrackSchemaEncoding) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DataTrackSchemaEncoding.Descriptor instead. +func (DataTrackSchemaEncoding) EnumDescriptor() ([]byte, []int) { + return file_livekit_models_proto_rawDescGZIP(), []int{7} +} + type DataTrackExtensionID int32 const ( @@ -378,11 +514,11 @@ func (x DataTrackExtensionID) String() string { } func (DataTrackExtensionID) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[6].Descriptor() + return file_livekit_models_proto_enumTypes[8].Descriptor() } func (DataTrackExtensionID) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[6] + return &file_livekit_models_proto_enumTypes[8] } func (x DataTrackExtensionID) Number() protoreflect.EnumNumber { @@ -391,7 +527,7 @@ func (x DataTrackExtensionID) Number() protoreflect.EnumNumber { // Deprecated: Use DataTrackExtensionID.Descriptor instead. func (DataTrackExtensionID) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{6} + return file_livekit_models_proto_rawDescGZIP(), []int{8} } type VideoQuality int32 @@ -430,11 +566,11 @@ func (x VideoQuality) String() string { } func (VideoQuality) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[7].Descriptor() + return file_livekit_models_proto_enumTypes[9].Descriptor() } func (VideoQuality) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[7] + return &file_livekit_models_proto_enumTypes[9] } func (x VideoQuality) Number() protoreflect.EnumNumber { @@ -443,7 +579,7 @@ func (x VideoQuality) Number() protoreflect.EnumNumber { // Deprecated: Use VideoQuality.Descriptor instead. func (VideoQuality) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{7} + return file_livekit_models_proto_rawDescGZIP(), []int{9} } type ConnectionQuality int32 @@ -482,11 +618,11 @@ func (x ConnectionQuality) String() string { } func (ConnectionQuality) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[8].Descriptor() + return file_livekit_models_proto_enumTypes[10].Descriptor() } func (ConnectionQuality) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[8] + return &file_livekit_models_proto_enumTypes[10] } func (x ConnectionQuality) Number() protoreflect.EnumNumber { @@ -495,7 +631,7 @@ func (x ConnectionQuality) Number() protoreflect.EnumNumber { // Deprecated: Use ConnectionQuality.Descriptor instead. func (ConnectionQuality) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{8} + return file_livekit_models_proto_rawDescGZIP(), []int{10} } type ClientConfigSetting int32 @@ -531,11 +667,11 @@ func (x ClientConfigSetting) String() string { } func (ClientConfigSetting) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[9].Descriptor() + return file_livekit_models_proto_enumTypes[11].Descriptor() } func (ClientConfigSetting) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[9] + return &file_livekit_models_proto_enumTypes[11] } func (x ClientConfigSetting) Number() protoreflect.EnumNumber { @@ -544,7 +680,7 @@ func (x ClientConfigSetting) Number() protoreflect.EnumNumber { // Deprecated: Use ClientConfigSetting.Descriptor instead. func (ClientConfigSetting) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{9} + return file_livekit_models_proto_rawDescGZIP(), []int{11} } type DisconnectReason int32 @@ -638,11 +774,11 @@ func (x DisconnectReason) String() string { } func (DisconnectReason) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[10].Descriptor() + return file_livekit_models_proto_enumTypes[12].Descriptor() } func (DisconnectReason) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[10] + return &file_livekit_models_proto_enumTypes[12] } func (x DisconnectReason) Number() protoreflect.EnumNumber { @@ -651,7 +787,7 @@ func (x DisconnectReason) Number() protoreflect.EnumNumber { // Deprecated: Use DisconnectReason.Descriptor instead. func (DisconnectReason) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{10} + return file_livekit_models_proto_rawDescGZIP(), []int{12} } type ReconnectReason int32 @@ -693,11 +829,11 @@ func (x ReconnectReason) String() string { } func (ReconnectReason) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[11].Descriptor() + return file_livekit_models_proto_enumTypes[13].Descriptor() } func (ReconnectReason) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[11] + return &file_livekit_models_proto_enumTypes[13] } func (x ReconnectReason) Number() protoreflect.EnumNumber { @@ -706,7 +842,7 @@ func (x ReconnectReason) Number() protoreflect.EnumNumber { // Deprecated: Use ReconnectReason.Descriptor instead. func (ReconnectReason) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{11} + return file_livekit_models_proto_rawDescGZIP(), []int{13} } type SubscriptionError int32 @@ -742,11 +878,11 @@ func (x SubscriptionError) String() string { } func (SubscriptionError) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[12].Descriptor() + return file_livekit_models_proto_enumTypes[14].Descriptor() } func (SubscriptionError) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[12] + return &file_livekit_models_proto_enumTypes[14] } func (x SubscriptionError) Number() protoreflect.EnumNumber { @@ -755,7 +891,7 @@ func (x SubscriptionError) Number() protoreflect.EnumNumber { // Deprecated: Use SubscriptionError.Descriptor instead. func (SubscriptionError) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{12} + return file_livekit_models_proto_rawDescGZIP(), []int{14} } type AudioTrackFeature int32 @@ -803,11 +939,11 @@ func (x AudioTrackFeature) String() string { } func (AudioTrackFeature) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[13].Descriptor() + return file_livekit_models_proto_enumTypes[15].Descriptor() } func (AudioTrackFeature) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[13] + return &file_livekit_models_proto_enumTypes[15] } func (x AudioTrackFeature) Number() protoreflect.EnumNumber { @@ -816,7 +952,7 @@ func (x AudioTrackFeature) Number() protoreflect.EnumNumber { // Deprecated: Use AudioTrackFeature.Descriptor instead. func (AudioTrackFeature) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{13} + return file_livekit_models_proto_rawDescGZIP(), []int{15} } type PacketTrailerFeature int32 @@ -849,11 +985,11 @@ func (x PacketTrailerFeature) String() string { } func (PacketTrailerFeature) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[14].Descriptor() + return file_livekit_models_proto_enumTypes[16].Descriptor() } func (PacketTrailerFeature) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[14] + return &file_livekit_models_proto_enumTypes[16] } func (x PacketTrailerFeature) Number() protoreflect.EnumNumber { @@ -862,7 +998,7 @@ func (x PacketTrailerFeature) Number() protoreflect.EnumNumber { // Deprecated: Use PacketTrailerFeature.Descriptor instead. func (PacketTrailerFeature) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{14} + return file_livekit_models_proto_rawDescGZIP(), []int{16} } type ParticipantInfo_State int32 @@ -905,11 +1041,11 @@ func (x ParticipantInfo_State) String() string { } func (ParticipantInfo_State) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[15].Descriptor() + return file_livekit_models_proto_enumTypes[17].Descriptor() } func (ParticipantInfo_State) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[15] + return &file_livekit_models_proto_enumTypes[17] } func (x ParticipantInfo_State) Number() protoreflect.EnumNumber { @@ -973,11 +1109,11 @@ func (x ParticipantInfo_Kind) String() string { } func (ParticipantInfo_Kind) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[16].Descriptor() + return file_livekit_models_proto_enumTypes[18].Descriptor() } func (ParticipantInfo_Kind) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[16] + return &file_livekit_models_proto_enumTypes[18] } func (x ParticipantInfo_Kind) Number() protoreflect.EnumNumber { @@ -1028,11 +1164,11 @@ func (x ParticipantInfo_KindDetail) String() string { } func (ParticipantInfo_KindDetail) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[17].Descriptor() + return file_livekit_models_proto_enumTypes[19].Descriptor() } func (ParticipantInfo_KindDetail) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[17] + return &file_livekit_models_proto_enumTypes[19] } func (x ParticipantInfo_KindDetail) Number() protoreflect.EnumNumber { @@ -1077,11 +1213,11 @@ func (x Encryption_Type) String() string { } func (Encryption_Type) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[18].Descriptor() + return file_livekit_models_proto_enumTypes[20].Descriptor() } func (Encryption_Type) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[18] + return &file_livekit_models_proto_enumTypes[20] } func (x Encryption_Type) Number() protoreflect.EnumNumber { @@ -1129,11 +1265,11 @@ func (x VideoLayer_Mode) String() string { } func (VideoLayer_Mode) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[19].Descriptor() + return file_livekit_models_proto_enumTypes[21].Descriptor() } func (VideoLayer_Mode) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[19] + return &file_livekit_models_proto_enumTypes[21] } func (x VideoLayer_Mode) Number() protoreflect.EnumNumber { @@ -1142,7 +1278,7 @@ func (x VideoLayer_Mode) Number() protoreflect.EnumNumber { // Deprecated: Use VideoLayer_Mode.Descriptor instead. func (VideoLayer_Mode) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{14, 0} + return file_livekit_models_proto_rawDescGZIP(), []int{18, 0} } type DataPacket_Kind int32 @@ -1175,11 +1311,11 @@ func (x DataPacket_Kind) String() string { } func (DataPacket_Kind) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[20].Descriptor() + return file_livekit_models_proto_enumTypes[22].Descriptor() } func (DataPacket_Kind) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[20] + return &file_livekit_models_proto_enumTypes[22] } func (x DataPacket_Kind) Number() protoreflect.EnumNumber { @@ -1188,7 +1324,7 @@ func (x DataPacket_Kind) Number() protoreflect.EnumNumber { // Deprecated: Use DataPacket_Kind.Descriptor instead. func (DataPacket_Kind) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{15, 0} + return file_livekit_models_proto_rawDescGZIP(), []int{19, 0} } type ServerInfo_Edition int32 @@ -1221,11 +1357,11 @@ func (x ServerInfo_Edition) String() string { } func (ServerInfo_Edition) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[21].Descriptor() + return file_livekit_models_proto_enumTypes[23].Descriptor() } func (ServerInfo_Edition) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[21] + return &file_livekit_models_proto_enumTypes[23] } func (x ServerInfo_Edition) Number() protoreflect.EnumNumber { @@ -1234,7 +1370,7 @@ func (x ServerInfo_Edition) Number() protoreflect.EnumNumber { // Deprecated: Use ServerInfo_Edition.Descriptor instead. func (ServerInfo_Edition) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{30, 0} + return file_livekit_models_proto_rawDescGZIP(), []int{34, 0} } type ClientInfo_SDK int32 @@ -1306,11 +1442,11 @@ func (x ClientInfo_SDK) String() string { } func (ClientInfo_SDK) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[22].Descriptor() + return file_livekit_models_proto_enumTypes[24].Descriptor() } func (ClientInfo_SDK) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[22] + return &file_livekit_models_proto_enumTypes[24] } func (x ClientInfo_SDK) Number() protoreflect.EnumNumber { @@ -1319,7 +1455,7 @@ func (x ClientInfo_SDK) Number() protoreflect.EnumNumber { // Deprecated: Use ClientInfo_SDK.Descriptor instead. func (ClientInfo_SDK) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{31, 0} + return file_livekit_models_proto_rawDescGZIP(), []int{35, 0} } // Optional capabilities advertised by the client at connect time. The SFU @@ -1356,11 +1492,11 @@ func (x ClientInfo_Capability) String() string { } func (ClientInfo_Capability) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[23].Descriptor() + return file_livekit_models_proto_enumTypes[25].Descriptor() } func (ClientInfo_Capability) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[23] + return &file_livekit_models_proto_enumTypes[25] } func (x ClientInfo_Capability) Number() protoreflect.EnumNumber { @@ -1369,7 +1505,7 @@ func (x ClientInfo_Capability) Number() protoreflect.EnumNumber { // Deprecated: Use ClientInfo_Capability.Descriptor instead. func (ClientInfo_Capability) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{31, 1} + return file_livekit_models_proto_rawDescGZIP(), []int{35, 1} } // enum for operation types (specific to TextHeader) @@ -1409,11 +1545,11 @@ func (x DataStream_OperationType) String() string { } func (DataStream_OperationType) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_models_proto_enumTypes[24].Descriptor() + return file_livekit_models_proto_enumTypes[26].Descriptor() } func (DataStream_OperationType) Type() protoreflect.EnumType { - return &file_livekit_models_proto_enumTypes[24] + return &file_livekit_models_proto_enumTypes[26] } func (x DataStream_OperationType) Number() protoreflect.EnumNumber { @@ -1422,7 +1558,7 @@ func (x DataStream_OperationType) Number() protoreflect.EnumNumber { // Deprecated: Use DataStream_OperationType.Descriptor instead. func (DataStream_OperationType) EnumDescriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{42, 0} + return file_livekit_models_proto_rawDescGZIP(), []int{46, 0} } type Pagination struct { @@ -2524,7 +2660,10 @@ type DataTrackInfo struct { // Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Method used for end-to-end encryption (E2EE) on packet payloads. - Encryption Encryption_Type `protobuf:"varint,4,opt,name=encryption,proto3,enum=livekit.Encryption_Type" json:"encryption,omitempty"` + Encryption Encryption_Type `protobuf:"varint,4,opt,name=encryption,proto3,enum=livekit.Encryption_Type" json:"encryption,omitempty"` + // Type information for this track. If unset, the track is untyped and frame payloads + // are treated as opaque bytes. + TypeInfo *DataTrackTypeInfo `protobuf:"bytes,5,opt,name=type_info,json=typeInfo,proto3,oneof" json:"type_info,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -2587,6 +2726,229 @@ func (x *DataTrackInfo) GetEncryption() Encryption_Type { return Encryption_NONE } +func (x *DataTrackInfo) GetTypeInfo() *DataTrackTypeInfo { + if x != nil { + return x.TypeInfo + } + return nil +} + +// Type information for a data track. +type DataTrackTypeInfo struct { + state protoimpl.MessageState `protogen:"open.v1"` + FrameEncoding DataTrackFrameEncoding `protobuf:"varint,1,opt,name=frame_encoding,json=frameEncoding,proto3,enum=livekit.DataTrackFrameEncoding" json:"frame_encoding,omitempty"` + // ID of the schema used by frames on this track. + Schema *DataTrackSchemaId `protobuf:"bytes,2,opt,name=schema,proto3,oneof" json:"schema,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DataTrackTypeInfo) Reset() { + *x = DataTrackTypeInfo{} + mi := &file_livekit_models_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DataTrackTypeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DataTrackTypeInfo) ProtoMessage() {} + +func (x *DataTrackTypeInfo) ProtoReflect() protoreflect.Message { + mi := &file_livekit_models_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DataTrackTypeInfo.ProtoReflect.Descriptor instead. +func (*DataTrackTypeInfo) Descriptor() ([]byte, []int) { + return file_livekit_models_proto_rawDescGZIP(), []int{12} +} + +func (x *DataTrackTypeInfo) GetFrameEncoding() DataTrackFrameEncoding { + if x != nil { + return x.FrameEncoding + } + return DataTrackFrameEncoding_DATA_TRACK_FRAME_ENCODING_UNSPECIFIED +} + +func (x *DataTrackTypeInfo) GetSchema() *DataTrackSchemaId { + if x != nil { + return x.Schema + } + return nil +} + +// Identifier for a data track schema. +// +// Schemas with the same name but different encodings are distinct. +type DataTrackSchemaId struct { + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Encoding DataTrackSchemaEncoding `protobuf:"varint,2,opt,name=encoding,proto3,enum=livekit.DataTrackSchemaEncoding" json:"encoding,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DataTrackSchemaId) Reset() { + *x = DataTrackSchemaId{} + mi := &file_livekit_models_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DataTrackSchemaId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DataTrackSchemaId) ProtoMessage() {} + +func (x *DataTrackSchemaId) ProtoReflect() protoreflect.Message { + mi := &file_livekit_models_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DataTrackSchemaId.ProtoReflect.Descriptor instead. +func (*DataTrackSchemaId) Descriptor() ([]byte, []int) { + return file_livekit_models_proto_rawDescGZIP(), []int{13} +} + +func (x *DataTrackSchemaId) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *DataTrackSchemaId) GetEncoding() DataTrackSchemaEncoding { + if x != nil { + return x.Encoding + } + return DataTrackSchemaEncoding_DATA_TRACK_SCHEMA_ENCODING_UNSPECIFIED +} + +type DataTrackSchemaDefinition struct { + state protoimpl.MessageState `protogen:"open.v1"` + Id *DataTrackSchemaId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Definition []byte `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DataTrackSchemaDefinition) Reset() { + *x = DataTrackSchemaDefinition{} + mi := &file_livekit_models_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DataTrackSchemaDefinition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DataTrackSchemaDefinition) ProtoMessage() {} + +func (x *DataTrackSchemaDefinition) ProtoReflect() protoreflect.Message { + mi := &file_livekit_models_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DataTrackSchemaDefinition.ProtoReflect.Descriptor instead. +func (*DataTrackSchemaDefinition) Descriptor() ([]byte, []int) { + return file_livekit_models_proto_rawDescGZIP(), []int{14} +} + +func (x *DataTrackSchemaDefinition) GetId() *DataTrackSchemaId { + if x != nil { + return x.Id + } + return nil +} + +func (x *DataTrackSchemaDefinition) GetDefinition() []byte { + if x != nil { + return x.Definition + } + return nil +} + +// Type definition for a data track. +type DataTrackTypeDefinition struct { + state protoimpl.MessageState `protogen:"open.v1"` + FrameEncoding DataTrackFrameEncoding `protobuf:"varint,1,opt,name=frame_encoding,json=frameEncoding,proto3,enum=livekit.DataTrackFrameEncoding" json:"frame_encoding,omitempty"` + // Schema definition for frames on this track. Must be compatible + // with the frame encoding, and may be omitted for self-describing frame encodings. + Schema *DataTrackSchemaDefinition `protobuf:"bytes,2,opt,name=schema,proto3,oneof" json:"schema,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DataTrackTypeDefinition) Reset() { + *x = DataTrackTypeDefinition{} + mi := &file_livekit_models_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DataTrackTypeDefinition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DataTrackTypeDefinition) ProtoMessage() {} + +func (x *DataTrackTypeDefinition) ProtoReflect() protoreflect.Message { + mi := &file_livekit_models_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DataTrackTypeDefinition.ProtoReflect.Descriptor instead. +func (*DataTrackTypeDefinition) Descriptor() ([]byte, []int) { + return file_livekit_models_proto_rawDescGZIP(), []int{15} +} + +func (x *DataTrackTypeDefinition) GetFrameEncoding() DataTrackFrameEncoding { + if x != nil { + return x.FrameEncoding + } + return DataTrackFrameEncoding_DATA_TRACK_FRAME_ENCODING_UNSPECIFIED +} + +func (x *DataTrackTypeDefinition) GetSchema() *DataTrackSchemaDefinition { + if x != nil { + return x.Schema + } + return nil +} + type DataTrackExtensionParticipantSid struct { state protoimpl.MessageState `protogen:"open.v1"` Id DataTrackExtensionID `protobuf:"varint,1,opt,name=id,proto3,enum=livekit.DataTrackExtensionID" json:"id,omitempty"` @@ -2597,7 +2959,7 @@ type DataTrackExtensionParticipantSid struct { func (x *DataTrackExtensionParticipantSid) Reset() { *x = DataTrackExtensionParticipantSid{} - mi := &file_livekit_models_proto_msgTypes[12] + mi := &file_livekit_models_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2609,7 +2971,7 @@ func (x *DataTrackExtensionParticipantSid) String() string { func (*DataTrackExtensionParticipantSid) ProtoMessage() {} func (x *DataTrackExtensionParticipantSid) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[12] + mi := &file_livekit_models_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2622,7 +2984,7 @@ func (x *DataTrackExtensionParticipantSid) ProtoReflect() protoreflect.Message { // Deprecated: Use DataTrackExtensionParticipantSid.ProtoReflect.Descriptor instead. func (*DataTrackExtensionParticipantSid) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{12} + return file_livekit_models_proto_rawDescGZIP(), []int{16} } func (x *DataTrackExtensionParticipantSid) GetId() DataTrackExtensionID { @@ -2650,7 +3012,7 @@ type DataTrackSubscriptionOptions struct { func (x *DataTrackSubscriptionOptions) Reset() { *x = DataTrackSubscriptionOptions{} - mi := &file_livekit_models_proto_msgTypes[13] + mi := &file_livekit_models_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2662,7 +3024,7 @@ func (x *DataTrackSubscriptionOptions) String() string { func (*DataTrackSubscriptionOptions) ProtoMessage() {} func (x *DataTrackSubscriptionOptions) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[13] + mi := &file_livekit_models_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2675,7 +3037,7 @@ func (x *DataTrackSubscriptionOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use DataTrackSubscriptionOptions.ProtoReflect.Descriptor instead. func (*DataTrackSubscriptionOptions) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{13} + return file_livekit_models_proto_rawDescGZIP(), []int{17} } func (x *DataTrackSubscriptionOptions) GetTargetFps() uint32 { @@ -2704,7 +3066,7 @@ type VideoLayer struct { func (x *VideoLayer) Reset() { *x = VideoLayer{} - mi := &file_livekit_models_proto_msgTypes[14] + mi := &file_livekit_models_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2716,7 +3078,7 @@ func (x *VideoLayer) String() string { func (*VideoLayer) ProtoMessage() {} func (x *VideoLayer) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[14] + mi := &file_livekit_models_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2729,7 +3091,7 @@ func (x *VideoLayer) ProtoReflect() protoreflect.Message { // Deprecated: Use VideoLayer.ProtoReflect.Descriptor instead. func (*VideoLayer) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{14} + return file_livekit_models_proto_rawDescGZIP(), []int{18} } func (x *VideoLayer) GetQuality() VideoQuality { @@ -2823,7 +3185,7 @@ type DataPacket struct { func (x *DataPacket) Reset() { *x = DataPacket{} - mi := &file_livekit_models_proto_msgTypes[15] + mi := &file_livekit_models_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2835,7 +3197,7 @@ func (x *DataPacket) String() string { func (*DataPacket) ProtoMessage() {} func (x *DataPacket) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[15] + mi := &file_livekit_models_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2848,7 +3210,7 @@ func (x *DataPacket) ProtoReflect() protoreflect.Message { // Deprecated: Use DataPacket.ProtoReflect.Descriptor instead. func (*DataPacket) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{15} + return file_livekit_models_proto_rawDescGZIP(), []int{19} } // Deprecated: Marked as deprecated in livekit_models.proto. @@ -3107,7 +3469,7 @@ type EncryptedPacket struct { func (x *EncryptedPacket) Reset() { *x = EncryptedPacket{} - mi := &file_livekit_models_proto_msgTypes[16] + mi := &file_livekit_models_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3119,7 +3481,7 @@ func (x *EncryptedPacket) String() string { func (*EncryptedPacket) ProtoMessage() {} func (x *EncryptedPacket) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[16] + mi := &file_livekit_models_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3132,7 +3494,7 @@ func (x *EncryptedPacket) ProtoReflect() protoreflect.Message { // Deprecated: Use EncryptedPacket.ProtoReflect.Descriptor instead. func (*EncryptedPacket) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{16} + return file_livekit_models_proto_rawDescGZIP(), []int{20} } func (x *EncryptedPacket) GetEncryptionType() Encryption_Type { @@ -3182,7 +3544,7 @@ type EncryptedPacketPayload struct { func (x *EncryptedPacketPayload) Reset() { *x = EncryptedPacketPayload{} - mi := &file_livekit_models_proto_msgTypes[17] + mi := &file_livekit_models_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3194,7 +3556,7 @@ func (x *EncryptedPacketPayload) String() string { func (*EncryptedPacketPayload) ProtoMessage() {} func (x *EncryptedPacketPayload) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[17] + mi := &file_livekit_models_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3207,7 +3569,7 @@ func (x *EncryptedPacketPayload) ProtoReflect() protoreflect.Message { // Deprecated: Use EncryptedPacketPayload.ProtoReflect.Descriptor instead. func (*EncryptedPacketPayload) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{17} + return file_livekit_models_proto_rawDescGZIP(), []int{21} } func (x *EncryptedPacketPayload) GetValue() isEncryptedPacketPayload_Value { @@ -3351,7 +3713,7 @@ type ActiveSpeakerUpdate struct { func (x *ActiveSpeakerUpdate) Reset() { *x = ActiveSpeakerUpdate{} - mi := &file_livekit_models_proto_msgTypes[18] + mi := &file_livekit_models_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3363,7 +3725,7 @@ func (x *ActiveSpeakerUpdate) String() string { func (*ActiveSpeakerUpdate) ProtoMessage() {} func (x *ActiveSpeakerUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[18] + mi := &file_livekit_models_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3376,7 +3738,7 @@ func (x *ActiveSpeakerUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use ActiveSpeakerUpdate.ProtoReflect.Descriptor instead. func (*ActiveSpeakerUpdate) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{18} + return file_livekit_models_proto_rawDescGZIP(), []int{22} } func (x *ActiveSpeakerUpdate) GetSpeakers() []*SpeakerInfo { @@ -3399,7 +3761,7 @@ type SpeakerInfo struct { func (x *SpeakerInfo) Reset() { *x = SpeakerInfo{} - mi := &file_livekit_models_proto_msgTypes[19] + mi := &file_livekit_models_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3411,7 +3773,7 @@ func (x *SpeakerInfo) String() string { func (*SpeakerInfo) ProtoMessage() {} func (x *SpeakerInfo) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[19] + mi := &file_livekit_models_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3424,7 +3786,7 @@ func (x *SpeakerInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use SpeakerInfo.ProtoReflect.Descriptor instead. func (*SpeakerInfo) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{19} + return file_livekit_models_proto_rawDescGZIP(), []int{23} } func (x *SpeakerInfo) GetSid() string { @@ -3481,7 +3843,7 @@ type UserPacket struct { func (x *UserPacket) Reset() { *x = UserPacket{} - mi := &file_livekit_models_proto_msgTypes[20] + mi := &file_livekit_models_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3493,7 +3855,7 @@ func (x *UserPacket) String() string { func (*UserPacket) ProtoMessage() {} func (x *UserPacket) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[20] + mi := &file_livekit_models_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3506,7 +3868,7 @@ func (x *UserPacket) ProtoReflect() protoreflect.Message { // Deprecated: Use UserPacket.ProtoReflect.Descriptor instead. func (*UserPacket) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{20} + return file_livekit_models_proto_rawDescGZIP(), []int{24} } // Deprecated: Marked as deprecated in livekit_models.proto. @@ -3593,7 +3955,7 @@ type SipDTMF struct { func (x *SipDTMF) Reset() { *x = SipDTMF{} - mi := &file_livekit_models_proto_msgTypes[21] + mi := &file_livekit_models_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3605,7 +3967,7 @@ func (x *SipDTMF) String() string { func (*SipDTMF) ProtoMessage() {} func (x *SipDTMF) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[21] + mi := &file_livekit_models_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3618,7 +3980,7 @@ func (x *SipDTMF) ProtoReflect() protoreflect.Message { // Deprecated: Use SipDTMF.ProtoReflect.Descriptor instead. func (*SipDTMF) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{21} + return file_livekit_models_proto_rawDescGZIP(), []int{25} } func (x *SipDTMF) GetCode() uint32 { @@ -3647,7 +4009,7 @@ type Transcription struct { func (x *Transcription) Reset() { *x = Transcription{} - mi := &file_livekit_models_proto_msgTypes[22] + mi := &file_livekit_models_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3659,7 +4021,7 @@ func (x *Transcription) String() string { func (*Transcription) ProtoMessage() {} func (x *Transcription) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[22] + mi := &file_livekit_models_proto_msgTypes[26] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3672,7 +4034,7 @@ func (x *Transcription) ProtoReflect() protoreflect.Message { // Deprecated: Use Transcription.ProtoReflect.Descriptor instead. func (*Transcription) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{22} + return file_livekit_models_proto_rawDescGZIP(), []int{26} } func (x *Transcription) GetTranscribedParticipantIdentity() string { @@ -3710,7 +4072,7 @@ type TranscriptionSegment struct { func (x *TranscriptionSegment) Reset() { *x = TranscriptionSegment{} - mi := &file_livekit_models_proto_msgTypes[23] + mi := &file_livekit_models_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3722,7 +4084,7 @@ func (x *TranscriptionSegment) String() string { func (*TranscriptionSegment) ProtoMessage() {} func (x *TranscriptionSegment) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[23] + mi := &file_livekit_models_proto_msgTypes[27] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3735,7 +4097,7 @@ func (x *TranscriptionSegment) ProtoReflect() protoreflect.Message { // Deprecated: Use TranscriptionSegment.ProtoReflect.Descriptor instead. func (*TranscriptionSegment) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{23} + return file_livekit_models_proto_rawDescGZIP(), []int{27} } func (x *TranscriptionSegment) GetId() string { @@ -3794,7 +4156,7 @@ type ChatMessage struct { func (x *ChatMessage) Reset() { *x = ChatMessage{} - mi := &file_livekit_models_proto_msgTypes[24] + mi := &file_livekit_models_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3806,7 +4168,7 @@ func (x *ChatMessage) String() string { func (*ChatMessage) ProtoMessage() {} func (x *ChatMessage) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[24] + mi := &file_livekit_models_proto_msgTypes[28] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3819,7 +4181,7 @@ func (x *ChatMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ChatMessage.ProtoReflect.Descriptor instead. func (*ChatMessage) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{24} + return file_livekit_models_proto_rawDescGZIP(), []int{28} } func (x *ChatMessage) GetId() string { @@ -3879,7 +4241,7 @@ type RpcRequest struct { func (x *RpcRequest) Reset() { *x = RpcRequest{} - mi := &file_livekit_models_proto_msgTypes[25] + mi := &file_livekit_models_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3891,7 +4253,7 @@ func (x *RpcRequest) String() string { func (*RpcRequest) ProtoMessage() {} func (x *RpcRequest) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[25] + mi := &file_livekit_models_proto_msgTypes[29] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3904,7 +4266,7 @@ func (x *RpcRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RpcRequest.ProtoReflect.Descriptor instead. func (*RpcRequest) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{25} + return file_livekit_models_proto_rawDescGZIP(), []int{29} } func (x *RpcRequest) GetId() string { @@ -3958,7 +4320,7 @@ type RpcAck struct { func (x *RpcAck) Reset() { *x = RpcAck{} - mi := &file_livekit_models_proto_msgTypes[26] + mi := &file_livekit_models_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3970,7 +4332,7 @@ func (x *RpcAck) String() string { func (*RpcAck) ProtoMessage() {} func (x *RpcAck) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[26] + mi := &file_livekit_models_proto_msgTypes[30] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3983,7 +4345,7 @@ func (x *RpcAck) ProtoReflect() protoreflect.Message { // Deprecated: Use RpcAck.ProtoReflect.Descriptor instead. func (*RpcAck) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{26} + return file_livekit_models_proto_rawDescGZIP(), []int{30} } func (x *RpcAck) GetRequestId() string { @@ -4008,7 +4370,7 @@ type RpcResponse struct { func (x *RpcResponse) Reset() { *x = RpcResponse{} - mi := &file_livekit_models_proto_msgTypes[27] + mi := &file_livekit_models_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4020,7 +4382,7 @@ func (x *RpcResponse) String() string { func (*RpcResponse) ProtoMessage() {} func (x *RpcResponse) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[27] + mi := &file_livekit_models_proto_msgTypes[31] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4033,7 +4395,7 @@ func (x *RpcResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RpcResponse.ProtoReflect.Descriptor instead. func (*RpcResponse) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{27} + return file_livekit_models_proto_rawDescGZIP(), []int{31} } func (x *RpcResponse) GetRequestId() string { @@ -4111,7 +4473,7 @@ type RpcError struct { func (x *RpcError) Reset() { *x = RpcError{} - mi := &file_livekit_models_proto_msgTypes[28] + mi := &file_livekit_models_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4123,7 +4485,7 @@ func (x *RpcError) String() string { func (*RpcError) ProtoMessage() {} func (x *RpcError) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[28] + mi := &file_livekit_models_proto_msgTypes[32] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4136,7 +4498,7 @@ func (x *RpcError) ProtoReflect() protoreflect.Message { // Deprecated: Use RpcError.ProtoReflect.Descriptor instead. func (*RpcError) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{28} + return file_livekit_models_proto_rawDescGZIP(), []int{32} } func (x *RpcError) GetCode() uint32 { @@ -4171,7 +4533,7 @@ type ParticipantTracks struct { func (x *ParticipantTracks) Reset() { *x = ParticipantTracks{} - mi := &file_livekit_models_proto_msgTypes[29] + mi := &file_livekit_models_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4183,7 +4545,7 @@ func (x *ParticipantTracks) String() string { func (*ParticipantTracks) ProtoMessage() {} func (x *ParticipantTracks) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[29] + mi := &file_livekit_models_proto_msgTypes[33] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4196,7 +4558,7 @@ func (x *ParticipantTracks) ProtoReflect() protoreflect.Message { // Deprecated: Use ParticipantTracks.ProtoReflect.Descriptor instead. func (*ParticipantTracks) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{29} + return file_livekit_models_proto_rawDescGZIP(), []int{33} } func (x *ParticipantTracks) GetParticipantSid() string { @@ -4230,7 +4592,7 @@ type ServerInfo struct { func (x *ServerInfo) Reset() { *x = ServerInfo{} - mi := &file_livekit_models_proto_msgTypes[30] + mi := &file_livekit_models_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4242,7 +4604,7 @@ func (x *ServerInfo) String() string { func (*ServerInfo) ProtoMessage() {} func (x *ServerInfo) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[30] + mi := &file_livekit_models_proto_msgTypes[34] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4255,7 +4617,7 @@ func (x *ServerInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ServerInfo.ProtoReflect.Descriptor instead. func (*ServerInfo) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{30} + return file_livekit_models_proto_rawDescGZIP(), []int{34} } func (x *ServerInfo) GetEdition() ServerInfo_Edition { @@ -4335,7 +4697,7 @@ type ClientInfo struct { func (x *ClientInfo) Reset() { *x = ClientInfo{} - mi := &file_livekit_models_proto_msgTypes[31] + mi := &file_livekit_models_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4347,7 +4709,7 @@ func (x *ClientInfo) String() string { func (*ClientInfo) ProtoMessage() {} func (x *ClientInfo) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[31] + mi := &file_livekit_models_proto_msgTypes[35] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4360,7 +4722,7 @@ func (x *ClientInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead. func (*ClientInfo) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{31} + return file_livekit_models_proto_rawDescGZIP(), []int{35} } func (x *ClientInfo) GetSdk() ClientInfo_SDK { @@ -4468,7 +4830,7 @@ type ClientConfiguration struct { func (x *ClientConfiguration) Reset() { *x = ClientConfiguration{} - mi := &file_livekit_models_proto_msgTypes[32] + mi := &file_livekit_models_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4480,7 +4842,7 @@ func (x *ClientConfiguration) String() string { func (*ClientConfiguration) ProtoMessage() {} func (x *ClientConfiguration) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[32] + mi := &file_livekit_models_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4493,7 +4855,7 @@ func (x *ClientConfiguration) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientConfiguration.ProtoReflect.Descriptor instead. func (*ClientConfiguration) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{32} + return file_livekit_models_proto_rawDescGZIP(), []int{36} } func (x *ClientConfiguration) GetVideo() *VideoConfiguration { @@ -4540,7 +4902,7 @@ type VideoConfiguration struct { func (x *VideoConfiguration) Reset() { *x = VideoConfiguration{} - mi := &file_livekit_models_proto_msgTypes[33] + mi := &file_livekit_models_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4552,7 +4914,7 @@ func (x *VideoConfiguration) String() string { func (*VideoConfiguration) ProtoMessage() {} func (x *VideoConfiguration) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[33] + mi := &file_livekit_models_proto_msgTypes[37] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4565,7 +4927,7 @@ func (x *VideoConfiguration) ProtoReflect() protoreflect.Message { // Deprecated: Use VideoConfiguration.ProtoReflect.Descriptor instead. func (*VideoConfiguration) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{33} + return file_livekit_models_proto_rawDescGZIP(), []int{37} } func (x *VideoConfiguration) GetHardwareEncoder() ClientConfigSetting { @@ -4587,7 +4949,7 @@ type DisabledCodecs struct { func (x *DisabledCodecs) Reset() { *x = DisabledCodecs{} - mi := &file_livekit_models_proto_msgTypes[34] + mi := &file_livekit_models_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4599,7 +4961,7 @@ func (x *DisabledCodecs) String() string { func (*DisabledCodecs) ProtoMessage() {} func (x *DisabledCodecs) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[34] + mi := &file_livekit_models_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4612,7 +4974,7 @@ func (x *DisabledCodecs) ProtoReflect() protoreflect.Message { // Deprecated: Use DisabledCodecs.ProtoReflect.Descriptor instead. func (*DisabledCodecs) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{34} + return file_livekit_models_proto_rawDescGZIP(), []int{38} } func (x *DisabledCodecs) GetCodecs() []*Codec { @@ -4646,7 +5008,7 @@ type RTPDrift struct { func (x *RTPDrift) Reset() { *x = RTPDrift{} - mi := &file_livekit_models_proto_msgTypes[35] + mi := &file_livekit_models_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4658,7 +5020,7 @@ func (x *RTPDrift) String() string { func (*RTPDrift) ProtoMessage() {} func (x *RTPDrift) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[35] + mi := &file_livekit_models_proto_msgTypes[39] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4671,7 +5033,7 @@ func (x *RTPDrift) ProtoReflect() protoreflect.Message { // Deprecated: Use RTPDrift.ProtoReflect.Descriptor instead. func (*RTPDrift) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{35} + return file_livekit_models_proto_rawDescGZIP(), []int{39} } func (x *RTPDrift) GetStartTime() *timestamppb.Timestamp { @@ -4790,7 +5152,7 @@ type RTPStats struct { func (x *RTPStats) Reset() { *x = RTPStats{} - mi := &file_livekit_models_proto_msgTypes[36] + mi := &file_livekit_models_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4802,7 +5164,7 @@ func (x *RTPStats) String() string { func (*RTPStats) ProtoMessage() {} func (x *RTPStats) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[36] + mi := &file_livekit_models_proto_msgTypes[40] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4815,7 +5177,7 @@ func (x *RTPStats) ProtoReflect() protoreflect.Message { // Deprecated: Use RTPStats.ProtoReflect.Descriptor instead. func (*RTPStats) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{36} + return file_livekit_models_proto_rawDescGZIP(), []int{40} } func (x *RTPStats) GetStartTime() *timestamppb.Timestamp { @@ -5148,7 +5510,7 @@ type RTCPSenderReportState struct { func (x *RTCPSenderReportState) Reset() { *x = RTCPSenderReportState{} - mi := &file_livekit_models_proto_msgTypes[37] + mi := &file_livekit_models_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5160,7 +5522,7 @@ func (x *RTCPSenderReportState) String() string { func (*RTCPSenderReportState) ProtoMessage() {} func (x *RTCPSenderReportState) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[37] + mi := &file_livekit_models_proto_msgTypes[41] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5173,7 +5535,7 @@ func (x *RTCPSenderReportState) ProtoReflect() protoreflect.Message { // Deprecated: Use RTCPSenderReportState.ProtoReflect.Descriptor instead. func (*RTCPSenderReportState) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{37} + return file_livekit_models_proto_rawDescGZIP(), []int{41} } func (x *RTCPSenderReportState) GetRtpTimestamp() uint32 { @@ -5244,7 +5606,7 @@ type RTPForwarderState struct { func (x *RTPForwarderState) Reset() { *x = RTPForwarderState{} - mi := &file_livekit_models_proto_msgTypes[38] + mi := &file_livekit_models_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5256,7 +5618,7 @@ func (x *RTPForwarderState) String() string { func (*RTPForwarderState) ProtoMessage() {} func (x *RTPForwarderState) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[38] + mi := &file_livekit_models_proto_msgTypes[42] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5269,7 +5631,7 @@ func (x *RTPForwarderState) ProtoReflect() protoreflect.Message { // Deprecated: Use RTPForwarderState.ProtoReflect.Descriptor instead. func (*RTPForwarderState) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{38} + return file_livekit_models_proto_rawDescGZIP(), []int{42} } func (x *RTPForwarderState) GetStarted() bool { @@ -5361,7 +5723,7 @@ type RTPMungerState struct { func (x *RTPMungerState) Reset() { *x = RTPMungerState{} - mi := &file_livekit_models_proto_msgTypes[39] + mi := &file_livekit_models_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5373,7 +5735,7 @@ func (x *RTPMungerState) String() string { func (*RTPMungerState) ProtoMessage() {} func (x *RTPMungerState) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[39] + mi := &file_livekit_models_proto_msgTypes[43] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5386,7 +5748,7 @@ func (x *RTPMungerState) ProtoReflect() protoreflect.Message { // Deprecated: Use RTPMungerState.ProtoReflect.Descriptor instead. func (*RTPMungerState) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{39} + return file_livekit_models_proto_rawDescGZIP(), []int{43} } func (x *RTPMungerState) GetExtLastSequenceNumber() uint64 { @@ -5446,7 +5808,7 @@ type VP8MungerState struct { func (x *VP8MungerState) Reset() { *x = VP8MungerState{} - mi := &file_livekit_models_proto_msgTypes[40] + mi := &file_livekit_models_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5458,7 +5820,7 @@ func (x *VP8MungerState) String() string { func (*VP8MungerState) ProtoMessage() {} func (x *VP8MungerState) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[40] + mi := &file_livekit_models_proto_msgTypes[44] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5471,7 +5833,7 @@ func (x *VP8MungerState) ProtoReflect() protoreflect.Message { // Deprecated: Use VP8MungerState.ProtoReflect.Descriptor instead. func (*VP8MungerState) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{40} + return file_livekit_models_proto_rawDescGZIP(), []int{44} } func (x *VP8MungerState) GetExtLastPictureId() int32 { @@ -5533,7 +5895,7 @@ type TimedVersion struct { func (x *TimedVersion) Reset() { *x = TimedVersion{} - mi := &file_livekit_models_proto_msgTypes[41] + mi := &file_livekit_models_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5545,7 +5907,7 @@ func (x *TimedVersion) String() string { func (*TimedVersion) ProtoMessage() {} func (x *TimedVersion) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[41] + mi := &file_livekit_models_proto_msgTypes[45] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5558,7 +5920,7 @@ func (x *TimedVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use TimedVersion.ProtoReflect.Descriptor instead. func (*TimedVersion) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{41} + return file_livekit_models_proto_rawDescGZIP(), []int{45} } func (x *TimedVersion) GetUnixMicro() int64 { @@ -5583,7 +5945,7 @@ type DataStream struct { func (x *DataStream) Reset() { *x = DataStream{} - mi := &file_livekit_models_proto_msgTypes[42] + mi := &file_livekit_models_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5595,7 +5957,7 @@ func (x *DataStream) String() string { func (*DataStream) ProtoMessage() {} func (x *DataStream) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[42] + mi := &file_livekit_models_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5608,7 +5970,7 @@ func (x *DataStream) ProtoReflect() protoreflect.Message { // Deprecated: Use DataStream.ProtoReflect.Descriptor instead. func (*DataStream) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{42} + return file_livekit_models_proto_rawDescGZIP(), []int{46} } type FilterParams struct { @@ -5621,7 +5983,7 @@ type FilterParams struct { func (x *FilterParams) Reset() { *x = FilterParams{} - mi := &file_livekit_models_proto_msgTypes[43] + mi := &file_livekit_models_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5633,7 +5995,7 @@ func (x *FilterParams) String() string { func (*FilterParams) ProtoMessage() {} func (x *FilterParams) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[43] + mi := &file_livekit_models_proto_msgTypes[47] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5646,7 +6008,7 @@ func (x *FilterParams) ProtoReflect() protoreflect.Message { // Deprecated: Use FilterParams.ProtoReflect.Descriptor instead. func (*FilterParams) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{43} + return file_livekit_models_proto_rawDescGZIP(), []int{47} } func (x *FilterParams) GetIncludeEvents() []string { @@ -5674,7 +6036,7 @@ type WebhookConfig struct { func (x *WebhookConfig) Reset() { *x = WebhookConfig{} - mi := &file_livekit_models_proto_msgTypes[44] + mi := &file_livekit_models_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5686,7 +6048,7 @@ func (x *WebhookConfig) String() string { func (*WebhookConfig) ProtoMessage() {} func (x *WebhookConfig) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[44] + mi := &file_livekit_models_proto_msgTypes[48] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5699,7 +6061,7 @@ func (x *WebhookConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use WebhookConfig.ProtoReflect.Descriptor instead. func (*WebhookConfig) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{44} + return file_livekit_models_proto_rawDescGZIP(), []int{48} } func (x *WebhookConfig) GetUrl() string { @@ -5733,7 +6095,7 @@ type SubscribedAudioCodec struct { func (x *SubscribedAudioCodec) Reset() { *x = SubscribedAudioCodec{} - mi := &file_livekit_models_proto_msgTypes[45] + mi := &file_livekit_models_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5745,7 +6107,7 @@ func (x *SubscribedAudioCodec) String() string { func (*SubscribedAudioCodec) ProtoMessage() {} func (x *SubscribedAudioCodec) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[45] + mi := &file_livekit_models_proto_msgTypes[49] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5758,7 +6120,7 @@ func (x *SubscribedAudioCodec) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscribedAudioCodec.ProtoReflect.Descriptor instead. func (*SubscribedAudioCodec) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{45} + return file_livekit_models_proto_rawDescGZIP(), []int{49} } func (x *SubscribedAudioCodec) GetCodec() string { @@ -5789,7 +6151,7 @@ type DataStream_TextHeader struct { func (x *DataStream_TextHeader) Reset() { *x = DataStream_TextHeader{} - mi := &file_livekit_models_proto_msgTypes[48] + mi := &file_livekit_models_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5801,7 +6163,7 @@ func (x *DataStream_TextHeader) String() string { func (*DataStream_TextHeader) ProtoMessage() {} func (x *DataStream_TextHeader) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[48] + mi := &file_livekit_models_proto_msgTypes[52] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5814,7 +6176,7 @@ func (x *DataStream_TextHeader) ProtoReflect() protoreflect.Message { // Deprecated: Use DataStream_TextHeader.ProtoReflect.Descriptor instead. func (*DataStream_TextHeader) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{42, 0} + return file_livekit_models_proto_rawDescGZIP(), []int{46, 0} } func (x *DataStream_TextHeader) GetOperationType() DataStream_OperationType { @@ -5862,7 +6224,7 @@ type DataStream_ByteHeader struct { func (x *DataStream_ByteHeader) Reset() { *x = DataStream_ByteHeader{} - mi := &file_livekit_models_proto_msgTypes[49] + mi := &file_livekit_models_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5874,7 +6236,7 @@ func (x *DataStream_ByteHeader) String() string { func (*DataStream_ByteHeader) ProtoMessage() {} func (x *DataStream_ByteHeader) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[49] + mi := &file_livekit_models_proto_msgTypes[53] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5887,7 +6249,7 @@ func (x *DataStream_ByteHeader) ProtoReflect() protoreflect.Message { // Deprecated: Use DataStream_ByteHeader.ProtoReflect.Descriptor instead. func (*DataStream_ByteHeader) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{42, 1} + return file_livekit_models_proto_rawDescGZIP(), []int{46, 1} } func (x *DataStream_ByteHeader) GetName() string { @@ -5921,7 +6283,7 @@ type DataStream_Header struct { func (x *DataStream_Header) Reset() { *x = DataStream_Header{} - mi := &file_livekit_models_proto_msgTypes[50] + mi := &file_livekit_models_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5933,7 +6295,7 @@ func (x *DataStream_Header) String() string { func (*DataStream_Header) ProtoMessage() {} func (x *DataStream_Header) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[50] + mi := &file_livekit_models_proto_msgTypes[54] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5946,7 +6308,7 @@ func (x *DataStream_Header) ProtoReflect() protoreflect.Message { // Deprecated: Use DataStream_Header.ProtoReflect.Descriptor instead. func (*DataStream_Header) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{42, 2} + return file_livekit_models_proto_rawDescGZIP(), []int{46, 2} } func (x *DataStream_Header) GetStreamId() string { @@ -6054,7 +6416,7 @@ type DataStream_Chunk struct { func (x *DataStream_Chunk) Reset() { *x = DataStream_Chunk{} - mi := &file_livekit_models_proto_msgTypes[51] + mi := &file_livekit_models_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6066,7 +6428,7 @@ func (x *DataStream_Chunk) String() string { func (*DataStream_Chunk) ProtoMessage() {} func (x *DataStream_Chunk) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[51] + mi := &file_livekit_models_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6079,7 +6441,7 @@ func (x *DataStream_Chunk) ProtoReflect() protoreflect.Message { // Deprecated: Use DataStream_Chunk.ProtoReflect.Descriptor instead. func (*DataStream_Chunk) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{42, 3} + return file_livekit_models_proto_rawDescGZIP(), []int{46, 3} } func (x *DataStream_Chunk) GetStreamId() string { @@ -6129,7 +6491,7 @@ type DataStream_Trailer struct { func (x *DataStream_Trailer) Reset() { *x = DataStream_Trailer{} - mi := &file_livekit_models_proto_msgTypes[52] + mi := &file_livekit_models_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6141,7 +6503,7 @@ func (x *DataStream_Trailer) String() string { func (*DataStream_Trailer) ProtoMessage() {} func (x *DataStream_Trailer) ProtoReflect() protoreflect.Message { - mi := &file_livekit_models_proto_msgTypes[52] + mi := &file_livekit_models_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6154,7 +6516,7 @@ func (x *DataStream_Trailer) ProtoReflect() protoreflect.Message { // Deprecated: Use DataStream_Trailer.ProtoReflect.Descriptor instead. func (*DataStream_Trailer) Descriptor() ([]byte, []int) { - return file_livekit_models_proto_rawDescGZIP(), []int{42, 4} + return file_livekit_models_proto_rawDescGZIP(), []int{46, 4} } func (x *DataStream_Trailer) GetStreamId() string { @@ -6325,7 +6687,7 @@ const file_livekit_models_proto_rawDesc = "" + "\aversion\x18\x12 \x01(\v2\x15.livekit.TimedVersionR\aversion\x12A\n" + "\x0eaudio_features\x18\x13 \x03(\x0e2\x1a.livekit.AudioTrackFeatureR\raudioFeatures\x12J\n" + "\x13backup_codec_policy\x18\x14 \x01(\x0e2\x1a.livekit.BackupCodecPolicyR\x11backupCodecPolicy\x12U\n" + - "\x17packet_trailer_features\x18\x15 \x03(\x0e2\x1d.livekit.PacketTrailerFeatureR\x15packetTrailerFeatures\"\x8e\x01\n" + + "\x17packet_trailer_features\x18\x15 \x03(\x0e2\x1d.livekit.PacketTrailerFeatureR\x15packetTrailerFeatures\"\xda\x01\n" + "\rDataTrackInfo\x12\x1d\n" + "\n" + "pub_handle\x18\x01 \x01(\rR\tpubHandle\x12\x10\n" + @@ -6333,7 +6695,26 @@ const file_livekit_models_proto_rawDesc = "" + "\x04name\x18\x03 \x01(\tR\x04name\x128\n" + "\n" + "encryption\x18\x04 \x01(\x0e2\x18.livekit.Encryption.TypeR\n" + - "encryption\"z\n" + + "encryption\x12<\n" + + "\ttype_info\x18\x05 \x01(\v2\x1a.livekit.DataTrackTypeInfoH\x00R\btypeInfo\x88\x01\x01B\f\n" + + "\n" + + "_type_info\"\x9f\x01\n" + + "\x11DataTrackTypeInfo\x12F\n" + + "\x0eframe_encoding\x18\x01 \x01(\x0e2\x1f.livekit.DataTrackFrameEncodingR\rframeEncoding\x127\n" + + "\x06schema\x18\x02 \x01(\v2\x1a.livekit.DataTrackSchemaIdH\x00R\x06schema\x88\x01\x01B\t\n" + + "\a_schema\"e\n" + + "\x11DataTrackSchemaId\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12<\n" + + "\bencoding\x18\x02 \x01(\x0e2 .livekit.DataTrackSchemaEncodingR\bencoding\"g\n" + + "\x19DataTrackSchemaDefinition\x12*\n" + + "\x02id\x18\x01 \x01(\v2\x1a.livekit.DataTrackSchemaIdR\x02id\x12\x1e\n" + + "\n" + + "definition\x18\x02 \x01(\fR\n" + + "definition\"\xad\x01\n" + + "\x17DataTrackTypeDefinition\x12F\n" + + "\x0eframe_encoding\x18\x01 \x01(\x0e2\x1f.livekit.DataTrackFrameEncodingR\rframeEncoding\x12?\n" + + "\x06schema\x18\x02 \x01(\v2\".livekit.DataTrackSchemaDefinitionH\x00R\x06schema\x88\x01\x01B\t\n" + + "\a_schema\"z\n" + " DataTrackExtensionParticipantSid\x12-\n" + "\x02id\x18\x01 \x01(\x0e2\x1d.livekit.DataTrackExtensionIDR\x02id\x12'\n" + "\x0fparticipant_sid\x18\x02 \x01(\tR\x0eparticipantSid\"Q\n" + @@ -6758,7 +7139,25 @@ const file_livekit_models_proto_rawDesc = "" + "\n" + "MICROPHONE\x10\x02\x12\x10\n" + "\fSCREEN_SHARE\x10\x03\x12\x16\n" + - "\x12SCREEN_SHARE_AUDIO\x10\x04*B\n" + + "\x12SCREEN_SHARE_AUDIO\x10\x04*\xcb\x02\n" + + "\x16DataTrackFrameEncoding\x12)\n" + + "%DATA_TRACK_FRAME_ENCODING_UNSPECIFIED\x10\x00\x12\"\n" + + "\x1eDATA_TRACK_FRAME_ENCODING_ROS1\x10\x01\x12!\n" + + "\x1dDATA_TRACK_FRAME_ENCODING_CDR\x10\x02\x12&\n" + + "\"DATA_TRACK_FRAME_ENCODING_PROTOBUF\x10\x03\x12(\n" + + "$DATA_TRACK_FRAME_ENCODING_FLATBUFFER\x10\x04\x12\"\n" + + "\x1eDATA_TRACK_FRAME_ENCODING_CBOR\x10\x05\x12%\n" + + "!DATA_TRACK_FRAME_ENCODING_MSGPACK\x10\x06\x12\"\n" + + "\x1eDATA_TRACK_FRAME_ENCODING_JSON\x10\a*\xe8\x02\n" + + "\x17DataTrackSchemaEncoding\x12*\n" + + "&DATA_TRACK_SCHEMA_ENCODING_UNSPECIFIED\x10\x00\x12'\n" + + "#DATA_TRACK_SCHEMA_ENCODING_PROTOBUF\x10\x01\x12)\n" + + "%DATA_TRACK_SCHEMA_ENCODING_FLATBUFFER\x10\x02\x12'\n" + + "#DATA_TRACK_SCHEMA_ENCODING_ROS1_MSG\x10\x03\x12'\n" + + "#DATA_TRACK_SCHEMA_ENCODING_ROS2_MSG\x10\x04\x12'\n" + + "#DATA_TRACK_SCHEMA_ENCODING_ROS2_IDL\x10\x05\x12&\n" + + "\"DATA_TRACK_SCHEMA_ENCODING_OMG_IDL\x10\x06\x12*\n" + + "&DATA_TRACK_SCHEMA_ENCODING_JSON_SCHEMA\x10\a*B\n" + "\x14DataTrackExtensionID\x12\x10\n" + "\fDTEI_INVALID\x10\x00\x12\x18\n" + "\x14DTEI_PARTICIPANT_SID\x10\x01*6\n" + @@ -6832,8 +7231,8 @@ func file_livekit_models_proto_rawDescGZIP() []byte { return file_livekit_models_proto_rawDescData } -var file_livekit_models_proto_enumTypes = make([]protoimpl.EnumInfo, 25) -var file_livekit_models_proto_msgTypes = make([]protoimpl.MessageInfo, 55) +var file_livekit_models_proto_enumTypes = make([]protoimpl.EnumInfo, 27) +var file_livekit_models_proto_msgTypes = make([]protoimpl.MessageInfo, 59) var file_livekit_models_proto_goTypes = []any{ (AudioCodec)(0), // 0: livekit.AudioCodec (VideoCodec)(0), // 1: livekit.VideoCodec @@ -6841,174 +7240,187 @@ var file_livekit_models_proto_goTypes = []any{ (BackupCodecPolicy)(0), // 3: livekit.BackupCodecPolicy (TrackType)(0), // 4: livekit.TrackType (TrackSource)(0), // 5: livekit.TrackSource - (DataTrackExtensionID)(0), // 6: livekit.DataTrackExtensionID - (VideoQuality)(0), // 7: livekit.VideoQuality - (ConnectionQuality)(0), // 8: livekit.ConnectionQuality - (ClientConfigSetting)(0), // 9: livekit.ClientConfigSetting - (DisconnectReason)(0), // 10: livekit.DisconnectReason - (ReconnectReason)(0), // 11: livekit.ReconnectReason - (SubscriptionError)(0), // 12: livekit.SubscriptionError - (AudioTrackFeature)(0), // 13: livekit.AudioTrackFeature - (PacketTrailerFeature)(0), // 14: livekit.PacketTrailerFeature - (ParticipantInfo_State)(0), // 15: livekit.ParticipantInfo.State - (ParticipantInfo_Kind)(0), // 16: livekit.ParticipantInfo.Kind - (ParticipantInfo_KindDetail)(0), // 17: livekit.ParticipantInfo.KindDetail - (Encryption_Type)(0), // 18: livekit.Encryption.Type - (VideoLayer_Mode)(0), // 19: livekit.VideoLayer.Mode - (DataPacket_Kind)(0), // 20: livekit.DataPacket.Kind - (ServerInfo_Edition)(0), // 21: livekit.ServerInfo.Edition - (ClientInfo_SDK)(0), // 22: livekit.ClientInfo.SDK - (ClientInfo_Capability)(0), // 23: livekit.ClientInfo.Capability - (DataStream_OperationType)(0), // 24: livekit.DataStream.OperationType - (*Pagination)(nil), // 25: livekit.Pagination - (*TokenPagination)(nil), // 26: livekit.TokenPagination - (*ListUpdate)(nil), // 27: livekit.ListUpdate - (*Room)(nil), // 28: livekit.Room - (*Codec)(nil), // 29: livekit.Codec - (*PlayoutDelay)(nil), // 30: livekit.PlayoutDelay - (*ParticipantPermission)(nil), // 31: livekit.ParticipantPermission - (*ParticipantInfo)(nil), // 32: livekit.ParticipantInfo - (*Encryption)(nil), // 33: livekit.Encryption - (*SimulcastCodecInfo)(nil), // 34: livekit.SimulcastCodecInfo - (*TrackInfo)(nil), // 35: livekit.TrackInfo - (*DataTrackInfo)(nil), // 36: livekit.DataTrackInfo - (*DataTrackExtensionParticipantSid)(nil), // 37: livekit.DataTrackExtensionParticipantSid - (*DataTrackSubscriptionOptions)(nil), // 38: livekit.DataTrackSubscriptionOptions - (*VideoLayer)(nil), // 39: livekit.VideoLayer - (*DataPacket)(nil), // 40: livekit.DataPacket - (*EncryptedPacket)(nil), // 41: livekit.EncryptedPacket - (*EncryptedPacketPayload)(nil), // 42: livekit.EncryptedPacketPayload - (*ActiveSpeakerUpdate)(nil), // 43: livekit.ActiveSpeakerUpdate - (*SpeakerInfo)(nil), // 44: livekit.SpeakerInfo - (*UserPacket)(nil), // 45: livekit.UserPacket - (*SipDTMF)(nil), // 46: livekit.SipDTMF - (*Transcription)(nil), // 47: livekit.Transcription - (*TranscriptionSegment)(nil), // 48: livekit.TranscriptionSegment - (*ChatMessage)(nil), // 49: livekit.ChatMessage - (*RpcRequest)(nil), // 50: livekit.RpcRequest - (*RpcAck)(nil), // 51: livekit.RpcAck - (*RpcResponse)(nil), // 52: livekit.RpcResponse - (*RpcError)(nil), // 53: livekit.RpcError - (*ParticipantTracks)(nil), // 54: livekit.ParticipantTracks - (*ServerInfo)(nil), // 55: livekit.ServerInfo - (*ClientInfo)(nil), // 56: livekit.ClientInfo - (*ClientConfiguration)(nil), // 57: livekit.ClientConfiguration - (*VideoConfiguration)(nil), // 58: livekit.VideoConfiguration - (*DisabledCodecs)(nil), // 59: livekit.DisabledCodecs - (*RTPDrift)(nil), // 60: livekit.RTPDrift - (*RTPStats)(nil), // 61: livekit.RTPStats - (*RTCPSenderReportState)(nil), // 62: livekit.RTCPSenderReportState - (*RTPForwarderState)(nil), // 63: livekit.RTPForwarderState - (*RTPMungerState)(nil), // 64: livekit.RTPMungerState - (*VP8MungerState)(nil), // 65: livekit.VP8MungerState - (*TimedVersion)(nil), // 66: livekit.TimedVersion - (*DataStream)(nil), // 67: livekit.DataStream - (*FilterParams)(nil), // 68: livekit.FilterParams - (*WebhookConfig)(nil), // 69: livekit.WebhookConfig - (*SubscribedAudioCodec)(nil), // 70: livekit.SubscribedAudioCodec - nil, // 71: livekit.ParticipantInfo.AttributesEntry - nil, // 72: livekit.RTPStats.GapHistogramEntry - (*DataStream_TextHeader)(nil), // 73: livekit.DataStream.TextHeader - (*DataStream_ByteHeader)(nil), // 74: livekit.DataStream.ByteHeader - (*DataStream_Header)(nil), // 75: livekit.DataStream.Header - (*DataStream_Chunk)(nil), // 76: livekit.DataStream.Chunk - (*DataStream_Trailer)(nil), // 77: livekit.DataStream.Trailer - nil, // 78: livekit.DataStream.Header.AttributesEntry - nil, // 79: livekit.DataStream.Trailer.AttributesEntry - (*MetricsBatch)(nil), // 80: livekit.MetricsBatch - (*timestamppb.Timestamp)(nil), // 81: google.protobuf.Timestamp + (DataTrackFrameEncoding)(0), // 6: livekit.DataTrackFrameEncoding + (DataTrackSchemaEncoding)(0), // 7: livekit.DataTrackSchemaEncoding + (DataTrackExtensionID)(0), // 8: livekit.DataTrackExtensionID + (VideoQuality)(0), // 9: livekit.VideoQuality + (ConnectionQuality)(0), // 10: livekit.ConnectionQuality + (ClientConfigSetting)(0), // 11: livekit.ClientConfigSetting + (DisconnectReason)(0), // 12: livekit.DisconnectReason + (ReconnectReason)(0), // 13: livekit.ReconnectReason + (SubscriptionError)(0), // 14: livekit.SubscriptionError + (AudioTrackFeature)(0), // 15: livekit.AudioTrackFeature + (PacketTrailerFeature)(0), // 16: livekit.PacketTrailerFeature + (ParticipantInfo_State)(0), // 17: livekit.ParticipantInfo.State + (ParticipantInfo_Kind)(0), // 18: livekit.ParticipantInfo.Kind + (ParticipantInfo_KindDetail)(0), // 19: livekit.ParticipantInfo.KindDetail + (Encryption_Type)(0), // 20: livekit.Encryption.Type + (VideoLayer_Mode)(0), // 21: livekit.VideoLayer.Mode + (DataPacket_Kind)(0), // 22: livekit.DataPacket.Kind + (ServerInfo_Edition)(0), // 23: livekit.ServerInfo.Edition + (ClientInfo_SDK)(0), // 24: livekit.ClientInfo.SDK + (ClientInfo_Capability)(0), // 25: livekit.ClientInfo.Capability + (DataStream_OperationType)(0), // 26: livekit.DataStream.OperationType + (*Pagination)(nil), // 27: livekit.Pagination + (*TokenPagination)(nil), // 28: livekit.TokenPagination + (*ListUpdate)(nil), // 29: livekit.ListUpdate + (*Room)(nil), // 30: livekit.Room + (*Codec)(nil), // 31: livekit.Codec + (*PlayoutDelay)(nil), // 32: livekit.PlayoutDelay + (*ParticipantPermission)(nil), // 33: livekit.ParticipantPermission + (*ParticipantInfo)(nil), // 34: livekit.ParticipantInfo + (*Encryption)(nil), // 35: livekit.Encryption + (*SimulcastCodecInfo)(nil), // 36: livekit.SimulcastCodecInfo + (*TrackInfo)(nil), // 37: livekit.TrackInfo + (*DataTrackInfo)(nil), // 38: livekit.DataTrackInfo + (*DataTrackTypeInfo)(nil), // 39: livekit.DataTrackTypeInfo + (*DataTrackSchemaId)(nil), // 40: livekit.DataTrackSchemaId + (*DataTrackSchemaDefinition)(nil), // 41: livekit.DataTrackSchemaDefinition + (*DataTrackTypeDefinition)(nil), // 42: livekit.DataTrackTypeDefinition + (*DataTrackExtensionParticipantSid)(nil), // 43: livekit.DataTrackExtensionParticipantSid + (*DataTrackSubscriptionOptions)(nil), // 44: livekit.DataTrackSubscriptionOptions + (*VideoLayer)(nil), // 45: livekit.VideoLayer + (*DataPacket)(nil), // 46: livekit.DataPacket + (*EncryptedPacket)(nil), // 47: livekit.EncryptedPacket + (*EncryptedPacketPayload)(nil), // 48: livekit.EncryptedPacketPayload + (*ActiveSpeakerUpdate)(nil), // 49: livekit.ActiveSpeakerUpdate + (*SpeakerInfo)(nil), // 50: livekit.SpeakerInfo + (*UserPacket)(nil), // 51: livekit.UserPacket + (*SipDTMF)(nil), // 52: livekit.SipDTMF + (*Transcription)(nil), // 53: livekit.Transcription + (*TranscriptionSegment)(nil), // 54: livekit.TranscriptionSegment + (*ChatMessage)(nil), // 55: livekit.ChatMessage + (*RpcRequest)(nil), // 56: livekit.RpcRequest + (*RpcAck)(nil), // 57: livekit.RpcAck + (*RpcResponse)(nil), // 58: livekit.RpcResponse + (*RpcError)(nil), // 59: livekit.RpcError + (*ParticipantTracks)(nil), // 60: livekit.ParticipantTracks + (*ServerInfo)(nil), // 61: livekit.ServerInfo + (*ClientInfo)(nil), // 62: livekit.ClientInfo + (*ClientConfiguration)(nil), // 63: livekit.ClientConfiguration + (*VideoConfiguration)(nil), // 64: livekit.VideoConfiguration + (*DisabledCodecs)(nil), // 65: livekit.DisabledCodecs + (*RTPDrift)(nil), // 66: livekit.RTPDrift + (*RTPStats)(nil), // 67: livekit.RTPStats + (*RTCPSenderReportState)(nil), // 68: livekit.RTCPSenderReportState + (*RTPForwarderState)(nil), // 69: livekit.RTPForwarderState + (*RTPMungerState)(nil), // 70: livekit.RTPMungerState + (*VP8MungerState)(nil), // 71: livekit.VP8MungerState + (*TimedVersion)(nil), // 72: livekit.TimedVersion + (*DataStream)(nil), // 73: livekit.DataStream + (*FilterParams)(nil), // 74: livekit.FilterParams + (*WebhookConfig)(nil), // 75: livekit.WebhookConfig + (*SubscribedAudioCodec)(nil), // 76: livekit.SubscribedAudioCodec + nil, // 77: livekit.ParticipantInfo.AttributesEntry + nil, // 78: livekit.RTPStats.GapHistogramEntry + (*DataStream_TextHeader)(nil), // 79: livekit.DataStream.TextHeader + (*DataStream_ByteHeader)(nil), // 80: livekit.DataStream.ByteHeader + (*DataStream_Header)(nil), // 81: livekit.DataStream.Header + (*DataStream_Chunk)(nil), // 82: livekit.DataStream.Chunk + (*DataStream_Trailer)(nil), // 83: livekit.DataStream.Trailer + nil, // 84: livekit.DataStream.Header.AttributesEntry + nil, // 85: livekit.DataStream.Trailer.AttributesEntry + (*MetricsBatch)(nil), // 86: livekit.MetricsBatch + (*timestamppb.Timestamp)(nil), // 87: google.protobuf.Timestamp } var file_livekit_models_proto_depIdxs = []int32{ - 29, // 0: livekit.Room.enabled_codecs:type_name -> livekit.Codec - 66, // 1: livekit.Room.version:type_name -> livekit.TimedVersion + 31, // 0: livekit.Room.enabled_codecs:type_name -> livekit.Codec + 72, // 1: livekit.Room.version:type_name -> livekit.TimedVersion 5, // 2: livekit.ParticipantPermission.can_publish_sources:type_name -> livekit.TrackSource - 15, // 3: livekit.ParticipantInfo.state:type_name -> livekit.ParticipantInfo.State - 35, // 4: livekit.ParticipantInfo.tracks:type_name -> livekit.TrackInfo - 31, // 5: livekit.ParticipantInfo.permission:type_name -> livekit.ParticipantPermission - 16, // 6: livekit.ParticipantInfo.kind:type_name -> livekit.ParticipantInfo.Kind - 71, // 7: livekit.ParticipantInfo.attributes:type_name -> livekit.ParticipantInfo.AttributesEntry - 10, // 8: livekit.ParticipantInfo.disconnect_reason:type_name -> livekit.DisconnectReason - 17, // 9: livekit.ParticipantInfo.kind_details:type_name -> livekit.ParticipantInfo.KindDetail - 36, // 10: livekit.ParticipantInfo.data_tracks:type_name -> livekit.DataTrackInfo - 39, // 11: livekit.SimulcastCodecInfo.layers:type_name -> livekit.VideoLayer - 19, // 12: livekit.SimulcastCodecInfo.video_layer_mode:type_name -> livekit.VideoLayer.Mode + 17, // 3: livekit.ParticipantInfo.state:type_name -> livekit.ParticipantInfo.State + 37, // 4: livekit.ParticipantInfo.tracks:type_name -> livekit.TrackInfo + 33, // 5: livekit.ParticipantInfo.permission:type_name -> livekit.ParticipantPermission + 18, // 6: livekit.ParticipantInfo.kind:type_name -> livekit.ParticipantInfo.Kind + 77, // 7: livekit.ParticipantInfo.attributes:type_name -> livekit.ParticipantInfo.AttributesEntry + 12, // 8: livekit.ParticipantInfo.disconnect_reason:type_name -> livekit.DisconnectReason + 19, // 9: livekit.ParticipantInfo.kind_details:type_name -> livekit.ParticipantInfo.KindDetail + 38, // 10: livekit.ParticipantInfo.data_tracks:type_name -> livekit.DataTrackInfo + 45, // 11: livekit.SimulcastCodecInfo.layers:type_name -> livekit.VideoLayer + 21, // 12: livekit.SimulcastCodecInfo.video_layer_mode:type_name -> livekit.VideoLayer.Mode 4, // 13: livekit.TrackInfo.type:type_name -> livekit.TrackType 5, // 14: livekit.TrackInfo.source:type_name -> livekit.TrackSource - 39, // 15: livekit.TrackInfo.layers:type_name -> livekit.VideoLayer - 34, // 16: livekit.TrackInfo.codecs:type_name -> livekit.SimulcastCodecInfo - 18, // 17: livekit.TrackInfo.encryption:type_name -> livekit.Encryption.Type - 66, // 18: livekit.TrackInfo.version:type_name -> livekit.TimedVersion - 13, // 19: livekit.TrackInfo.audio_features:type_name -> livekit.AudioTrackFeature + 45, // 15: livekit.TrackInfo.layers:type_name -> livekit.VideoLayer + 36, // 16: livekit.TrackInfo.codecs:type_name -> livekit.SimulcastCodecInfo + 20, // 17: livekit.TrackInfo.encryption:type_name -> livekit.Encryption.Type + 72, // 18: livekit.TrackInfo.version:type_name -> livekit.TimedVersion + 15, // 19: livekit.TrackInfo.audio_features:type_name -> livekit.AudioTrackFeature 3, // 20: livekit.TrackInfo.backup_codec_policy:type_name -> livekit.BackupCodecPolicy - 14, // 21: livekit.TrackInfo.packet_trailer_features:type_name -> livekit.PacketTrailerFeature - 18, // 22: livekit.DataTrackInfo.encryption:type_name -> livekit.Encryption.Type - 6, // 23: livekit.DataTrackExtensionParticipantSid.id:type_name -> livekit.DataTrackExtensionID - 7, // 24: livekit.VideoLayer.quality:type_name -> livekit.VideoQuality - 20, // 25: livekit.DataPacket.kind:type_name -> livekit.DataPacket.Kind - 45, // 26: livekit.DataPacket.user:type_name -> livekit.UserPacket - 43, // 27: livekit.DataPacket.speaker:type_name -> livekit.ActiveSpeakerUpdate - 46, // 28: livekit.DataPacket.sip_dtmf:type_name -> livekit.SipDTMF - 47, // 29: livekit.DataPacket.transcription:type_name -> livekit.Transcription - 80, // 30: livekit.DataPacket.metrics:type_name -> livekit.MetricsBatch - 49, // 31: livekit.DataPacket.chat_message:type_name -> livekit.ChatMessage - 50, // 32: livekit.DataPacket.rpc_request:type_name -> livekit.RpcRequest - 51, // 33: livekit.DataPacket.rpc_ack:type_name -> livekit.RpcAck - 52, // 34: livekit.DataPacket.rpc_response:type_name -> livekit.RpcResponse - 75, // 35: livekit.DataPacket.stream_header:type_name -> livekit.DataStream.Header - 76, // 36: livekit.DataPacket.stream_chunk:type_name -> livekit.DataStream.Chunk - 77, // 37: livekit.DataPacket.stream_trailer:type_name -> livekit.DataStream.Trailer - 41, // 38: livekit.DataPacket.encrypted_packet:type_name -> livekit.EncryptedPacket - 18, // 39: livekit.EncryptedPacket.encryption_type:type_name -> livekit.Encryption.Type - 45, // 40: livekit.EncryptedPacketPayload.user:type_name -> livekit.UserPacket - 49, // 41: livekit.EncryptedPacketPayload.chat_message:type_name -> livekit.ChatMessage - 50, // 42: livekit.EncryptedPacketPayload.rpc_request:type_name -> livekit.RpcRequest - 51, // 43: livekit.EncryptedPacketPayload.rpc_ack:type_name -> livekit.RpcAck - 52, // 44: livekit.EncryptedPacketPayload.rpc_response:type_name -> livekit.RpcResponse - 75, // 45: livekit.EncryptedPacketPayload.stream_header:type_name -> livekit.DataStream.Header - 76, // 46: livekit.EncryptedPacketPayload.stream_chunk:type_name -> livekit.DataStream.Chunk - 77, // 47: livekit.EncryptedPacketPayload.stream_trailer:type_name -> livekit.DataStream.Trailer - 44, // 48: livekit.ActiveSpeakerUpdate.speakers:type_name -> livekit.SpeakerInfo - 48, // 49: livekit.Transcription.segments:type_name -> livekit.TranscriptionSegment - 53, // 50: livekit.RpcResponse.error:type_name -> livekit.RpcError - 21, // 51: livekit.ServerInfo.edition:type_name -> livekit.ServerInfo.Edition - 22, // 52: livekit.ClientInfo.sdk:type_name -> livekit.ClientInfo.SDK - 23, // 53: livekit.ClientInfo.capabilities:type_name -> livekit.ClientInfo.Capability - 58, // 54: livekit.ClientConfiguration.video:type_name -> livekit.VideoConfiguration - 58, // 55: livekit.ClientConfiguration.screen:type_name -> livekit.VideoConfiguration - 9, // 56: livekit.ClientConfiguration.resume_connection:type_name -> livekit.ClientConfigSetting - 59, // 57: livekit.ClientConfiguration.disabled_codecs:type_name -> livekit.DisabledCodecs - 9, // 58: livekit.ClientConfiguration.force_relay:type_name -> livekit.ClientConfigSetting - 9, // 59: livekit.VideoConfiguration.hardware_encoder:type_name -> livekit.ClientConfigSetting - 29, // 60: livekit.DisabledCodecs.codecs:type_name -> livekit.Codec - 29, // 61: livekit.DisabledCodecs.publish:type_name -> livekit.Codec - 81, // 62: livekit.RTPDrift.start_time:type_name -> google.protobuf.Timestamp - 81, // 63: livekit.RTPDrift.end_time:type_name -> google.protobuf.Timestamp - 81, // 64: livekit.RTPStats.start_time:type_name -> google.protobuf.Timestamp - 81, // 65: livekit.RTPStats.end_time:type_name -> google.protobuf.Timestamp - 72, // 66: livekit.RTPStats.gap_histogram:type_name -> livekit.RTPStats.GapHistogramEntry - 81, // 67: livekit.RTPStats.last_pli:type_name -> google.protobuf.Timestamp - 81, // 68: livekit.RTPStats.last_fir:type_name -> google.protobuf.Timestamp - 81, // 69: livekit.RTPStats.last_key_frame:type_name -> google.protobuf.Timestamp - 81, // 70: livekit.RTPStats.last_layer_lock_pli:type_name -> google.protobuf.Timestamp - 60, // 71: livekit.RTPStats.packet_drift:type_name -> livekit.RTPDrift - 60, // 72: livekit.RTPStats.ntp_report_drift:type_name -> livekit.RTPDrift - 60, // 73: livekit.RTPStats.rebased_report_drift:type_name -> livekit.RTPDrift - 60, // 74: livekit.RTPStats.received_report_drift:type_name -> livekit.RTPDrift - 64, // 75: livekit.RTPForwarderState.rtp_munger:type_name -> livekit.RTPMungerState - 65, // 76: livekit.RTPForwarderState.vp8_munger:type_name -> livekit.VP8MungerState - 62, // 77: livekit.RTPForwarderState.sender_report_state:type_name -> livekit.RTCPSenderReportState - 68, // 78: livekit.WebhookConfig.filter_params:type_name -> livekit.FilterParams - 24, // 79: livekit.DataStream.TextHeader.operation_type:type_name -> livekit.DataStream.OperationType - 18, // 80: livekit.DataStream.Header.encryption_type:type_name -> livekit.Encryption.Type - 78, // 81: livekit.DataStream.Header.attributes:type_name -> livekit.DataStream.Header.AttributesEntry - 73, // 82: livekit.DataStream.Header.text_header:type_name -> livekit.DataStream.TextHeader - 74, // 83: livekit.DataStream.Header.byte_header:type_name -> livekit.DataStream.ByteHeader - 79, // 84: livekit.DataStream.Trailer.attributes:type_name -> livekit.DataStream.Trailer.AttributesEntry - 85, // [85:85] is the sub-list for method output_type - 85, // [85:85] is the sub-list for method input_type - 85, // [85:85] is the sub-list for extension type_name - 85, // [85:85] is the sub-list for extension extendee - 0, // [0:85] is the sub-list for field type_name + 16, // 21: livekit.TrackInfo.packet_trailer_features:type_name -> livekit.PacketTrailerFeature + 20, // 22: livekit.DataTrackInfo.encryption:type_name -> livekit.Encryption.Type + 39, // 23: livekit.DataTrackInfo.type_info:type_name -> livekit.DataTrackTypeInfo + 6, // 24: livekit.DataTrackTypeInfo.frame_encoding:type_name -> livekit.DataTrackFrameEncoding + 40, // 25: livekit.DataTrackTypeInfo.schema:type_name -> livekit.DataTrackSchemaId + 7, // 26: livekit.DataTrackSchemaId.encoding:type_name -> livekit.DataTrackSchemaEncoding + 40, // 27: livekit.DataTrackSchemaDefinition.id:type_name -> livekit.DataTrackSchemaId + 6, // 28: livekit.DataTrackTypeDefinition.frame_encoding:type_name -> livekit.DataTrackFrameEncoding + 41, // 29: livekit.DataTrackTypeDefinition.schema:type_name -> livekit.DataTrackSchemaDefinition + 8, // 30: livekit.DataTrackExtensionParticipantSid.id:type_name -> livekit.DataTrackExtensionID + 9, // 31: livekit.VideoLayer.quality:type_name -> livekit.VideoQuality + 22, // 32: livekit.DataPacket.kind:type_name -> livekit.DataPacket.Kind + 51, // 33: livekit.DataPacket.user:type_name -> livekit.UserPacket + 49, // 34: livekit.DataPacket.speaker:type_name -> livekit.ActiveSpeakerUpdate + 52, // 35: livekit.DataPacket.sip_dtmf:type_name -> livekit.SipDTMF + 53, // 36: livekit.DataPacket.transcription:type_name -> livekit.Transcription + 86, // 37: livekit.DataPacket.metrics:type_name -> livekit.MetricsBatch + 55, // 38: livekit.DataPacket.chat_message:type_name -> livekit.ChatMessage + 56, // 39: livekit.DataPacket.rpc_request:type_name -> livekit.RpcRequest + 57, // 40: livekit.DataPacket.rpc_ack:type_name -> livekit.RpcAck + 58, // 41: livekit.DataPacket.rpc_response:type_name -> livekit.RpcResponse + 81, // 42: livekit.DataPacket.stream_header:type_name -> livekit.DataStream.Header + 82, // 43: livekit.DataPacket.stream_chunk:type_name -> livekit.DataStream.Chunk + 83, // 44: livekit.DataPacket.stream_trailer:type_name -> livekit.DataStream.Trailer + 47, // 45: livekit.DataPacket.encrypted_packet:type_name -> livekit.EncryptedPacket + 20, // 46: livekit.EncryptedPacket.encryption_type:type_name -> livekit.Encryption.Type + 51, // 47: livekit.EncryptedPacketPayload.user:type_name -> livekit.UserPacket + 55, // 48: livekit.EncryptedPacketPayload.chat_message:type_name -> livekit.ChatMessage + 56, // 49: livekit.EncryptedPacketPayload.rpc_request:type_name -> livekit.RpcRequest + 57, // 50: livekit.EncryptedPacketPayload.rpc_ack:type_name -> livekit.RpcAck + 58, // 51: livekit.EncryptedPacketPayload.rpc_response:type_name -> livekit.RpcResponse + 81, // 52: livekit.EncryptedPacketPayload.stream_header:type_name -> livekit.DataStream.Header + 82, // 53: livekit.EncryptedPacketPayload.stream_chunk:type_name -> livekit.DataStream.Chunk + 83, // 54: livekit.EncryptedPacketPayload.stream_trailer:type_name -> livekit.DataStream.Trailer + 50, // 55: livekit.ActiveSpeakerUpdate.speakers:type_name -> livekit.SpeakerInfo + 54, // 56: livekit.Transcription.segments:type_name -> livekit.TranscriptionSegment + 59, // 57: livekit.RpcResponse.error:type_name -> livekit.RpcError + 23, // 58: livekit.ServerInfo.edition:type_name -> livekit.ServerInfo.Edition + 24, // 59: livekit.ClientInfo.sdk:type_name -> livekit.ClientInfo.SDK + 25, // 60: livekit.ClientInfo.capabilities:type_name -> livekit.ClientInfo.Capability + 64, // 61: livekit.ClientConfiguration.video:type_name -> livekit.VideoConfiguration + 64, // 62: livekit.ClientConfiguration.screen:type_name -> livekit.VideoConfiguration + 11, // 63: livekit.ClientConfiguration.resume_connection:type_name -> livekit.ClientConfigSetting + 65, // 64: livekit.ClientConfiguration.disabled_codecs:type_name -> livekit.DisabledCodecs + 11, // 65: livekit.ClientConfiguration.force_relay:type_name -> livekit.ClientConfigSetting + 11, // 66: livekit.VideoConfiguration.hardware_encoder:type_name -> livekit.ClientConfigSetting + 31, // 67: livekit.DisabledCodecs.codecs:type_name -> livekit.Codec + 31, // 68: livekit.DisabledCodecs.publish:type_name -> livekit.Codec + 87, // 69: livekit.RTPDrift.start_time:type_name -> google.protobuf.Timestamp + 87, // 70: livekit.RTPDrift.end_time:type_name -> google.protobuf.Timestamp + 87, // 71: livekit.RTPStats.start_time:type_name -> google.protobuf.Timestamp + 87, // 72: livekit.RTPStats.end_time:type_name -> google.protobuf.Timestamp + 78, // 73: livekit.RTPStats.gap_histogram:type_name -> livekit.RTPStats.GapHistogramEntry + 87, // 74: livekit.RTPStats.last_pli:type_name -> google.protobuf.Timestamp + 87, // 75: livekit.RTPStats.last_fir:type_name -> google.protobuf.Timestamp + 87, // 76: livekit.RTPStats.last_key_frame:type_name -> google.protobuf.Timestamp + 87, // 77: livekit.RTPStats.last_layer_lock_pli:type_name -> google.protobuf.Timestamp + 66, // 78: livekit.RTPStats.packet_drift:type_name -> livekit.RTPDrift + 66, // 79: livekit.RTPStats.ntp_report_drift:type_name -> livekit.RTPDrift + 66, // 80: livekit.RTPStats.rebased_report_drift:type_name -> livekit.RTPDrift + 66, // 81: livekit.RTPStats.received_report_drift:type_name -> livekit.RTPDrift + 70, // 82: livekit.RTPForwarderState.rtp_munger:type_name -> livekit.RTPMungerState + 71, // 83: livekit.RTPForwarderState.vp8_munger:type_name -> livekit.VP8MungerState + 68, // 84: livekit.RTPForwarderState.sender_report_state:type_name -> livekit.RTCPSenderReportState + 74, // 85: livekit.WebhookConfig.filter_params:type_name -> livekit.FilterParams + 26, // 86: livekit.DataStream.TextHeader.operation_type:type_name -> livekit.DataStream.OperationType + 20, // 87: livekit.DataStream.Header.encryption_type:type_name -> livekit.Encryption.Type + 84, // 88: livekit.DataStream.Header.attributes:type_name -> livekit.DataStream.Header.AttributesEntry + 79, // 89: livekit.DataStream.Header.text_header:type_name -> livekit.DataStream.TextHeader + 80, // 90: livekit.DataStream.Header.byte_header:type_name -> livekit.DataStream.ByteHeader + 85, // 91: livekit.DataStream.Trailer.attributes:type_name -> livekit.DataStream.Trailer.AttributesEntry + 92, // [92:92] is the sub-list for method output_type + 92, // [92:92] is the sub-list for method input_type + 92, // [92:92] is the sub-list for extension type_name + 92, // [92:92] is the sub-list for extension extendee + 0, // [0:92] is the sub-list for field type_name } func init() { file_livekit_models_proto_init() } @@ -7017,8 +7429,11 @@ func file_livekit_models_proto_init() { return } file_livekit_metrics_proto_init() - file_livekit_models_proto_msgTypes[13].OneofWrappers = []any{} - file_livekit_models_proto_msgTypes[15].OneofWrappers = []any{ + file_livekit_models_proto_msgTypes[11].OneofWrappers = []any{} + file_livekit_models_proto_msgTypes[12].OneofWrappers = []any{} + file_livekit_models_proto_msgTypes[15].OneofWrappers = []any{} + file_livekit_models_proto_msgTypes[17].OneofWrappers = []any{} + file_livekit_models_proto_msgTypes[19].OneofWrappers = []any{ (*DataPacket_User)(nil), (*DataPacket_Speaker)(nil), (*DataPacket_SipDtmf)(nil), @@ -7033,7 +7448,7 @@ func file_livekit_models_proto_init() { (*DataPacket_StreamTrailer)(nil), (*DataPacket_EncryptedPacket)(nil), } - file_livekit_models_proto_msgTypes[17].OneofWrappers = []any{ + file_livekit_models_proto_msgTypes[21].OneofWrappers = []any{ (*EncryptedPacketPayload_User)(nil), (*EncryptedPacketPayload_ChatMessage)(nil), (*EncryptedPacketPayload_RpcRequest)(nil), @@ -7043,28 +7458,28 @@ func file_livekit_models_proto_init() { (*EncryptedPacketPayload_StreamChunk)(nil), (*EncryptedPacketPayload_StreamTrailer)(nil), } - file_livekit_models_proto_msgTypes[20].OneofWrappers = []any{} file_livekit_models_proto_msgTypes[24].OneofWrappers = []any{} - file_livekit_models_proto_msgTypes[27].OneofWrappers = []any{ + file_livekit_models_proto_msgTypes[28].OneofWrappers = []any{} + file_livekit_models_proto_msgTypes[31].OneofWrappers = []any{ (*RpcResponse_Payload)(nil), (*RpcResponse_Error)(nil), (*RpcResponse_CompressedPayload)(nil), } - file_livekit_models_proto_msgTypes[38].OneofWrappers = []any{ + file_livekit_models_proto_msgTypes[42].OneofWrappers = []any{ (*RTPForwarderState_Vp8Munger)(nil), } - file_livekit_models_proto_msgTypes[50].OneofWrappers = []any{ + file_livekit_models_proto_msgTypes[54].OneofWrappers = []any{ (*DataStream_Header_TextHeader)(nil), (*DataStream_Header_ByteHeader)(nil), } - file_livekit_models_proto_msgTypes[51].OneofWrappers = []any{} + file_livekit_models_proto_msgTypes[55].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_models_proto_rawDesc), len(file_livekit_models_proto_rawDesc)), - NumEnums: 25, - NumMessages: 55, + NumEnums: 27, + NumMessages: 59, NumExtensions: 0, NumServices: 0, }, diff --git a/livekit/livekit_rtc.pb.go b/livekit/livekit_rtc.pb.go index f3fae5149..382ac5a28 100644 --- a/livekit/livekit_rtc.pb.go +++ b/livekit/livekit_rtc.pb.go @@ -224,7 +224,7 @@ func (x LeaveRequest_Action) Number() protoreflect.EnumNumber { // Deprecated: Use LeaveRequest_Action.Descriptor instead. func (LeaveRequest_Action) EnumDescriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{22, 0} + return file_livekit_rtc_proto_rawDescGZIP(), []int{24, 0} } type RequestResponse_Reason int32 @@ -241,6 +241,7 @@ const ( RequestResponse_INVALID_NAME RequestResponse_Reason = 8 RequestResponse_DUPLICATE_HANDLE RequestResponse_Reason = 9 RequestResponse_DUPLICATE_NAME RequestResponse_Reason = 10 + RequestResponse_INVALID_SCHEMA RequestResponse_Reason = 11 ) // Enum value maps for RequestResponse_Reason. @@ -257,6 +258,7 @@ var ( 8: "INVALID_NAME", 9: "DUPLICATE_HANDLE", 10: "DUPLICATE_NAME", + 11: "INVALID_SCHEMA", } RequestResponse_Reason_value = map[string]int32{ "OK": 0, @@ -270,6 +272,7 @@ var ( "INVALID_NAME": 8, "DUPLICATE_HANDLE": 9, "DUPLICATE_NAME": 10, + "INVALID_SCHEMA": 11, } ) @@ -297,7 +300,7 @@ func (x RequestResponse_Reason) Number() protoreflect.EnumNumber { // Deprecated: Use RequestResponse_Reason.Descriptor instead. func (RequestResponse_Reason) EnumDescriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{49, 0} + return file_livekit_rtc_proto_rawDescGZIP(), []int{51, 0} } type WrappedJoinRequest_Compression int32 @@ -343,7 +346,7 @@ func (x WrappedJoinRequest_Compression) Number() protoreflect.EnumNumber { // Deprecated: Use WrappedJoinRequest_Compression.Descriptor instead. func (WrappedJoinRequest_Compression) EnumDescriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{53, 0} + return file_livekit_rtc_proto_rawDescGZIP(), []int{55, 0} } type SignalRequest struct { @@ -370,6 +373,7 @@ type SignalRequest struct { // *SignalRequest_PublishDataTrackRequest // *SignalRequest_UnpublishDataTrackRequest // *SignalRequest_UpdateDataSubscription + // *SignalRequest_GetDataTrackSchema Message isSignalRequest_Message `protobuf_oneof:"message"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -593,6 +597,15 @@ func (x *SignalRequest) GetUpdateDataSubscription() *UpdateDataSubscription { return nil } +func (x *SignalRequest) GetGetDataTrackSchema() *GetDataTrackSchemaRequest { + if x != nil { + if x, ok := x.Message.(*SignalRequest_GetDataTrackSchema); ok { + return x.GetDataTrackSchema + } + } + return nil +} + type isSignalRequest_Message interface { isSignalRequest_Message() } @@ -697,6 +710,11 @@ type SignalRequest_UpdateDataSubscription struct { UpdateDataSubscription *UpdateDataSubscription `protobuf:"bytes,21,opt,name=update_data_subscription,json=updateDataSubscription,proto3,oneof"` } +type SignalRequest_GetDataTrackSchema struct { + // Get the definition for a known data track schema + GetDataTrackSchema *GetDataTrackSchemaRequest `protobuf:"bytes,22,opt,name=get_data_track_schema,json=getDataTrackSchema,proto3,oneof"` +} + func (*SignalRequest_Offer) isSignalRequest_Message() {} func (*SignalRequest_Answer) isSignalRequest_Message() {} @@ -737,6 +755,8 @@ func (*SignalRequest_UnpublishDataTrackRequest) isSignalRequest_Message() {} func (*SignalRequest_UpdateDataSubscription) isSignalRequest_Message() {} +func (*SignalRequest_GetDataTrackSchema) isSignalRequest_Message() {} + type SignalResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Types that are valid to be assigned to Message: @@ -769,6 +789,7 @@ type SignalResponse struct { // *SignalResponse_PublishDataTrackResponse // *SignalResponse_UnpublishDataTrackResponse // *SignalResponse_DataTrackSubscriberHandles + // *SignalResponse_GetDataTrackSchemaResponse Message isSignalResponse_Message `protobuf_oneof:"message"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -1063,6 +1084,15 @@ func (x *SignalResponse) GetDataTrackSubscriberHandles() *DataTrackSubscriberHan return nil } +func (x *SignalResponse) GetGetDataTrackSchemaResponse() *GetDataTrackSchemaResponse { + if x != nil { + if x, ok := x.Message.(*SignalResponse_GetDataTrackSchemaResponse); ok { + return x.GetDataTrackSchemaResponse + } + } + return nil +} + type isSignalResponse_Message interface { isSignalResponse_Message() } @@ -1208,6 +1238,11 @@ type SignalResponse_DataTrackSubscriberHandles struct { DataTrackSubscriberHandles *DataTrackSubscriberHandles `protobuf:"bytes,29,opt,name=data_track_subscriber_handles,json=dataTrackSubscriberHandles,proto3,oneof"` } +type SignalResponse_GetDataTrackSchemaResponse struct { + // Sent in response to `GetDataTrackSchemaRequest`. + GetDataTrackSchemaResponse *GetDataTrackSchemaResponse `protobuf:"bytes,30,opt,name=get_data_track_schema_response,json=getDataTrackSchemaResponse,proto3,oneof"` +} + func (*SignalResponse_Join) isSignalResponse_Message() {} func (*SignalResponse_Answer) isSignalResponse_Message() {} @@ -1264,6 +1299,8 @@ func (*SignalResponse_UnpublishDataTrackResponse) isSignalResponse_Message() {} func (*SignalResponse_DataTrackSubscriberHandles) isSignalResponse_Message() {} +func (*SignalResponse_GetDataTrackSchemaResponse) isSignalResponse_Message() {} + type SimulcastCodec struct { state protoimpl.MessageState `protogen:"open.v1"` Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` @@ -1533,9 +1570,12 @@ type PublishDataTrackRequest struct { // This must be non-empty and no longer than 256 characters. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Method used for end-to-end encryption (E2EE) on frame payloads. - Encryption Encryption_Type `protobuf:"varint,3,opt,name=encryption,proto3,enum=livekit.Encryption_Type" json:"encryption,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Encryption Encryption_Type `protobuf:"varint,3,opt,name=encryption,proto3,enum=livekit.Encryption_Type" json:"encryption,omitempty"` + // Type definition for this track. If unset, the track is untyped and frame payloads + // are treated as opaque bytes. + TypeDefinition *DataTrackTypeDefinition `protobuf:"bytes,4,opt,name=type_definition,json=typeDefinition,proto3,oneof" json:"type_definition,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PublishDataTrackRequest) Reset() { @@ -1589,6 +1629,13 @@ func (x *PublishDataTrackRequest) GetEncryption() Encryption_Type { return Encryption_NONE } +func (x *PublishDataTrackRequest) GetTypeDefinition() *DataTrackTypeDefinition { + if x != nil { + return x.TypeDefinition + } + return nil +} + type PublishDataTrackResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Information about the published track. @@ -2425,6 +2472,96 @@ func (x *UpdateDataSubscription) GetUpdates() []*UpdateDataSubscription_Update { return nil } +type GetDataTrackSchemaRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + // ID of the schema to get. + SchemaId *DataTrackSchemaId `protobuf:"bytes,1,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *GetDataTrackSchemaRequest) Reset() { + *x = GetDataTrackSchemaRequest{} + mi := &file_livekit_rtc_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *GetDataTrackSchemaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDataTrackSchemaRequest) ProtoMessage() {} + +func (x *GetDataTrackSchemaRequest) ProtoReflect() protoreflect.Message { + mi := &file_livekit_rtc_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetDataTrackSchemaRequest.ProtoReflect.Descriptor instead. +func (*GetDataTrackSchemaRequest) Descriptor() ([]byte, []int) { + return file_livekit_rtc_proto_rawDescGZIP(), []int{19} +} + +func (x *GetDataTrackSchemaRequest) GetSchemaId() *DataTrackSchemaId { + if x != nil { + return x.SchemaId + } + return nil +} + +type GetDataTrackSchemaResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + // Definition of the requested schema. + SchemaDefinition *DataTrackSchemaDefinition `protobuf:"bytes,1,opt,name=schema_definition,json=schemaDefinition,proto3" json:"schema_definition,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *GetDataTrackSchemaResponse) Reset() { + *x = GetDataTrackSchemaResponse{} + mi := &file_livekit_rtc_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *GetDataTrackSchemaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDataTrackSchemaResponse) ProtoMessage() {} + +func (x *GetDataTrackSchemaResponse) ProtoReflect() protoreflect.Message { + mi := &file_livekit_rtc_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetDataTrackSchemaResponse.ProtoReflect.Descriptor instead. +func (*GetDataTrackSchemaResponse) Descriptor() ([]byte, []int) { + return file_livekit_rtc_proto_rawDescGZIP(), []int{20} +} + +func (x *GetDataTrackSchemaResponse) GetSchemaDefinition() *DataTrackSchemaDefinition { + if x != nil { + return x.SchemaDefinition + } + return nil +} + type UpdateTrackSettings struct { state protoimpl.MessageState `protogen:"open.v1"` TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` @@ -2451,7 +2588,7 @@ type UpdateTrackSettings struct { func (x *UpdateTrackSettings) Reset() { *x = UpdateTrackSettings{} - mi := &file_livekit_rtc_proto_msgTypes[19] + mi := &file_livekit_rtc_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2463,7 +2600,7 @@ func (x *UpdateTrackSettings) String() string { func (*UpdateTrackSettings) ProtoMessage() {} func (x *UpdateTrackSettings) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[19] + mi := &file_livekit_rtc_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2476,7 +2613,7 @@ func (x *UpdateTrackSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateTrackSettings.ProtoReflect.Descriptor instead. func (*UpdateTrackSettings) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{19} + return file_livekit_rtc_proto_rawDescGZIP(), []int{21} } func (x *UpdateTrackSettings) GetTrackSids() []string { @@ -2538,7 +2675,7 @@ type UpdateLocalAudioTrack struct { func (x *UpdateLocalAudioTrack) Reset() { *x = UpdateLocalAudioTrack{} - mi := &file_livekit_rtc_proto_msgTypes[20] + mi := &file_livekit_rtc_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2550,7 +2687,7 @@ func (x *UpdateLocalAudioTrack) String() string { func (*UpdateLocalAudioTrack) ProtoMessage() {} func (x *UpdateLocalAudioTrack) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[20] + mi := &file_livekit_rtc_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2563,7 +2700,7 @@ func (x *UpdateLocalAudioTrack) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateLocalAudioTrack.ProtoReflect.Descriptor instead. func (*UpdateLocalAudioTrack) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{20} + return file_livekit_rtc_proto_rawDescGZIP(), []int{22} } func (x *UpdateLocalAudioTrack) GetTrackSid() string { @@ -2591,7 +2728,7 @@ type UpdateLocalVideoTrack struct { func (x *UpdateLocalVideoTrack) Reset() { *x = UpdateLocalVideoTrack{} - mi := &file_livekit_rtc_proto_msgTypes[21] + mi := &file_livekit_rtc_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2603,7 +2740,7 @@ func (x *UpdateLocalVideoTrack) String() string { func (*UpdateLocalVideoTrack) ProtoMessage() {} func (x *UpdateLocalVideoTrack) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[21] + mi := &file_livekit_rtc_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2616,7 +2753,7 @@ func (x *UpdateLocalVideoTrack) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateLocalVideoTrack.ProtoReflect.Descriptor instead. func (*UpdateLocalVideoTrack) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{21} + return file_livekit_rtc_proto_rawDescGZIP(), []int{23} } func (x *UpdateLocalVideoTrack) GetTrackSid() string { @@ -2655,7 +2792,7 @@ type LeaveRequest struct { func (x *LeaveRequest) Reset() { *x = LeaveRequest{} - mi := &file_livekit_rtc_proto_msgTypes[22] + mi := &file_livekit_rtc_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2667,7 +2804,7 @@ func (x *LeaveRequest) String() string { func (*LeaveRequest) ProtoMessage() {} func (x *LeaveRequest) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[22] + mi := &file_livekit_rtc_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2680,7 +2817,7 @@ func (x *LeaveRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use LeaveRequest.ProtoReflect.Descriptor instead. func (*LeaveRequest) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{22} + return file_livekit_rtc_proto_rawDescGZIP(), []int{24} } func (x *LeaveRequest) GetCanReconnect() bool { @@ -2724,7 +2861,7 @@ type UpdateVideoLayers struct { func (x *UpdateVideoLayers) Reset() { *x = UpdateVideoLayers{} - mi := &file_livekit_rtc_proto_msgTypes[23] + mi := &file_livekit_rtc_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2736,7 +2873,7 @@ func (x *UpdateVideoLayers) String() string { func (*UpdateVideoLayers) ProtoMessage() {} func (x *UpdateVideoLayers) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[23] + mi := &file_livekit_rtc_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2749,7 +2886,7 @@ func (x *UpdateVideoLayers) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateVideoLayers.ProtoReflect.Descriptor instead. func (*UpdateVideoLayers) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{23} + return file_livekit_rtc_proto_rawDescGZIP(), []int{25} } func (x *UpdateVideoLayers) GetTrackSid() string { @@ -2780,7 +2917,7 @@ type UpdateParticipantMetadata struct { func (x *UpdateParticipantMetadata) Reset() { *x = UpdateParticipantMetadata{} - mi := &file_livekit_rtc_proto_msgTypes[24] + mi := &file_livekit_rtc_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2792,7 +2929,7 @@ func (x *UpdateParticipantMetadata) String() string { func (*UpdateParticipantMetadata) ProtoMessage() {} func (x *UpdateParticipantMetadata) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[24] + mi := &file_livekit_rtc_proto_msgTypes[26] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2805,7 +2942,7 @@ func (x *UpdateParticipantMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateParticipantMetadata.ProtoReflect.Descriptor instead. func (*UpdateParticipantMetadata) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{24} + return file_livekit_rtc_proto_rawDescGZIP(), []int{26} } func (x *UpdateParticipantMetadata) GetMetadata() string { @@ -2847,7 +2984,7 @@ type ICEServer struct { func (x *ICEServer) Reset() { *x = ICEServer{} - mi := &file_livekit_rtc_proto_msgTypes[25] + mi := &file_livekit_rtc_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2859,7 +2996,7 @@ func (x *ICEServer) String() string { func (*ICEServer) ProtoMessage() {} func (x *ICEServer) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[25] + mi := &file_livekit_rtc_proto_msgTypes[27] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2872,7 +3009,7 @@ func (x *ICEServer) ProtoReflect() protoreflect.Message { // Deprecated: Use ICEServer.ProtoReflect.Descriptor instead. func (*ICEServer) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{25} + return file_livekit_rtc_proto_rawDescGZIP(), []int{27} } func (x *ICEServer) GetUrls() []string { @@ -2905,7 +3042,7 @@ type SpeakersChanged struct { func (x *SpeakersChanged) Reset() { *x = SpeakersChanged{} - mi := &file_livekit_rtc_proto_msgTypes[26] + mi := &file_livekit_rtc_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2917,7 +3054,7 @@ func (x *SpeakersChanged) String() string { func (*SpeakersChanged) ProtoMessage() {} func (x *SpeakersChanged) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[26] + mi := &file_livekit_rtc_proto_msgTypes[28] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2930,7 +3067,7 @@ func (x *SpeakersChanged) ProtoReflect() protoreflect.Message { // Deprecated: Use SpeakersChanged.ProtoReflect.Descriptor instead. func (*SpeakersChanged) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{26} + return file_livekit_rtc_proto_rawDescGZIP(), []int{28} } func (x *SpeakersChanged) GetSpeakers() []*SpeakerInfo { @@ -2949,7 +3086,7 @@ type RoomUpdate struct { func (x *RoomUpdate) Reset() { *x = RoomUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[27] + mi := &file_livekit_rtc_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2961,7 +3098,7 @@ func (x *RoomUpdate) String() string { func (*RoomUpdate) ProtoMessage() {} func (x *RoomUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[27] + mi := &file_livekit_rtc_proto_msgTypes[29] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2974,7 +3111,7 @@ func (x *RoomUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use RoomUpdate.ProtoReflect.Descriptor instead. func (*RoomUpdate) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{27} + return file_livekit_rtc_proto_rawDescGZIP(), []int{29} } func (x *RoomUpdate) GetRoom() *Room { @@ -2995,7 +3132,7 @@ type ConnectionQualityInfo struct { func (x *ConnectionQualityInfo) Reset() { *x = ConnectionQualityInfo{} - mi := &file_livekit_rtc_proto_msgTypes[28] + mi := &file_livekit_rtc_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3007,7 +3144,7 @@ func (x *ConnectionQualityInfo) String() string { func (*ConnectionQualityInfo) ProtoMessage() {} func (x *ConnectionQualityInfo) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[28] + mi := &file_livekit_rtc_proto_msgTypes[30] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3020,7 +3157,7 @@ func (x *ConnectionQualityInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ConnectionQualityInfo.ProtoReflect.Descriptor instead. func (*ConnectionQualityInfo) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{28} + return file_livekit_rtc_proto_rawDescGZIP(), []int{30} } func (x *ConnectionQualityInfo) GetParticipantSid() string { @@ -3053,7 +3190,7 @@ type ConnectionQualityUpdate struct { func (x *ConnectionQualityUpdate) Reset() { *x = ConnectionQualityUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[29] + mi := &file_livekit_rtc_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3065,7 +3202,7 @@ func (x *ConnectionQualityUpdate) String() string { func (*ConnectionQualityUpdate) ProtoMessage() {} func (x *ConnectionQualityUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[29] + mi := &file_livekit_rtc_proto_msgTypes[31] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3078,7 +3215,7 @@ func (x *ConnectionQualityUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use ConnectionQualityUpdate.ProtoReflect.Descriptor instead. func (*ConnectionQualityUpdate) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{29} + return file_livekit_rtc_proto_rawDescGZIP(), []int{31} } func (x *ConnectionQualityUpdate) GetUpdates() []*ConnectionQualityInfo { @@ -3099,7 +3236,7 @@ type StreamStateInfo struct { func (x *StreamStateInfo) Reset() { *x = StreamStateInfo{} - mi := &file_livekit_rtc_proto_msgTypes[30] + mi := &file_livekit_rtc_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3111,7 +3248,7 @@ func (x *StreamStateInfo) String() string { func (*StreamStateInfo) ProtoMessage() {} func (x *StreamStateInfo) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[30] + mi := &file_livekit_rtc_proto_msgTypes[32] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3124,7 +3261,7 @@ func (x *StreamStateInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamStateInfo.ProtoReflect.Descriptor instead. func (*StreamStateInfo) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{30} + return file_livekit_rtc_proto_rawDescGZIP(), []int{32} } func (x *StreamStateInfo) GetParticipantSid() string { @@ -3157,7 +3294,7 @@ type StreamStateUpdate struct { func (x *StreamStateUpdate) Reset() { *x = StreamStateUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[31] + mi := &file_livekit_rtc_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3169,7 +3306,7 @@ func (x *StreamStateUpdate) String() string { func (*StreamStateUpdate) ProtoMessage() {} func (x *StreamStateUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[31] + mi := &file_livekit_rtc_proto_msgTypes[33] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3182,7 +3319,7 @@ func (x *StreamStateUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamStateUpdate.ProtoReflect.Descriptor instead. func (*StreamStateUpdate) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{31} + return file_livekit_rtc_proto_rawDescGZIP(), []int{33} } func (x *StreamStateUpdate) GetStreamStates() []*StreamStateInfo { @@ -3202,7 +3339,7 @@ type SubscribedQuality struct { func (x *SubscribedQuality) Reset() { *x = SubscribedQuality{} - mi := &file_livekit_rtc_proto_msgTypes[32] + mi := &file_livekit_rtc_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3214,7 +3351,7 @@ func (x *SubscribedQuality) String() string { func (*SubscribedQuality) ProtoMessage() {} func (x *SubscribedQuality) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[32] + mi := &file_livekit_rtc_proto_msgTypes[34] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3227,7 +3364,7 @@ func (x *SubscribedQuality) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscribedQuality.ProtoReflect.Descriptor instead. func (*SubscribedQuality) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{32} + return file_livekit_rtc_proto_rawDescGZIP(), []int{34} } func (x *SubscribedQuality) GetQuality() VideoQuality { @@ -3254,7 +3391,7 @@ type SubscribedCodec struct { func (x *SubscribedCodec) Reset() { *x = SubscribedCodec{} - mi := &file_livekit_rtc_proto_msgTypes[33] + mi := &file_livekit_rtc_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3266,7 +3403,7 @@ func (x *SubscribedCodec) String() string { func (*SubscribedCodec) ProtoMessage() {} func (x *SubscribedCodec) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[33] + mi := &file_livekit_rtc_proto_msgTypes[35] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3279,7 +3416,7 @@ func (x *SubscribedCodec) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscribedCodec.ProtoReflect.Descriptor instead. func (*SubscribedCodec) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{33} + return file_livekit_rtc_proto_rawDescGZIP(), []int{35} } func (x *SubscribedCodec) GetCodec() string { @@ -3308,7 +3445,7 @@ type SubscribedQualityUpdate struct { func (x *SubscribedQualityUpdate) Reset() { *x = SubscribedQualityUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[34] + mi := &file_livekit_rtc_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3320,7 +3457,7 @@ func (x *SubscribedQualityUpdate) String() string { func (*SubscribedQualityUpdate) ProtoMessage() {} func (x *SubscribedQualityUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[34] + mi := &file_livekit_rtc_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3333,7 +3470,7 @@ func (x *SubscribedQualityUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscribedQualityUpdate.ProtoReflect.Descriptor instead. func (*SubscribedQualityUpdate) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{34} + return file_livekit_rtc_proto_rawDescGZIP(), []int{36} } func (x *SubscribedQualityUpdate) GetTrackSid() string { @@ -3368,7 +3505,7 @@ type SubscribedAudioCodecUpdate struct { func (x *SubscribedAudioCodecUpdate) Reset() { *x = SubscribedAudioCodecUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[35] + mi := &file_livekit_rtc_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3380,7 +3517,7 @@ func (x *SubscribedAudioCodecUpdate) String() string { func (*SubscribedAudioCodecUpdate) ProtoMessage() {} func (x *SubscribedAudioCodecUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[35] + mi := &file_livekit_rtc_proto_msgTypes[37] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3393,7 +3530,7 @@ func (x *SubscribedAudioCodecUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscribedAudioCodecUpdate.ProtoReflect.Descriptor instead. func (*SubscribedAudioCodecUpdate) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{35} + return file_livekit_rtc_proto_rawDescGZIP(), []int{37} } func (x *SubscribedAudioCodecUpdate) GetTrackSid() string { @@ -3423,7 +3560,7 @@ type TrackPermission struct { func (x *TrackPermission) Reset() { *x = TrackPermission{} - mi := &file_livekit_rtc_proto_msgTypes[36] + mi := &file_livekit_rtc_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3435,7 +3572,7 @@ func (x *TrackPermission) String() string { func (*TrackPermission) ProtoMessage() {} func (x *TrackPermission) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[36] + mi := &file_livekit_rtc_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3448,7 +3585,7 @@ func (x *TrackPermission) ProtoReflect() protoreflect.Message { // Deprecated: Use TrackPermission.ProtoReflect.Descriptor instead. func (*TrackPermission) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{36} + return file_livekit_rtc_proto_rawDescGZIP(), []int{38} } func (x *TrackPermission) GetParticipantSid() string { @@ -3489,7 +3626,7 @@ type SubscriptionPermission struct { func (x *SubscriptionPermission) Reset() { *x = SubscriptionPermission{} - mi := &file_livekit_rtc_proto_msgTypes[37] + mi := &file_livekit_rtc_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3501,7 +3638,7 @@ func (x *SubscriptionPermission) String() string { func (*SubscriptionPermission) ProtoMessage() {} func (x *SubscriptionPermission) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[37] + mi := &file_livekit_rtc_proto_msgTypes[39] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3514,7 +3651,7 @@ func (x *SubscriptionPermission) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscriptionPermission.ProtoReflect.Descriptor instead. func (*SubscriptionPermission) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{37} + return file_livekit_rtc_proto_rawDescGZIP(), []int{39} } func (x *SubscriptionPermission) GetAllParticipants() bool { @@ -3542,7 +3679,7 @@ type SubscriptionPermissionUpdate struct { func (x *SubscriptionPermissionUpdate) Reset() { *x = SubscriptionPermissionUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[38] + mi := &file_livekit_rtc_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3554,7 +3691,7 @@ func (x *SubscriptionPermissionUpdate) String() string { func (*SubscriptionPermissionUpdate) ProtoMessage() {} func (x *SubscriptionPermissionUpdate) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[38] + mi := &file_livekit_rtc_proto_msgTypes[40] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3567,7 +3704,7 @@ func (x *SubscriptionPermissionUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscriptionPermissionUpdate.ProtoReflect.Descriptor instead. func (*SubscriptionPermissionUpdate) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{38} + return file_livekit_rtc_proto_rawDescGZIP(), []int{40} } func (x *SubscriptionPermissionUpdate) GetParticipantSid() string { @@ -3605,7 +3742,7 @@ type RoomMovedResponse struct { func (x *RoomMovedResponse) Reset() { *x = RoomMovedResponse{} - mi := &file_livekit_rtc_proto_msgTypes[39] + mi := &file_livekit_rtc_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3617,7 +3754,7 @@ func (x *RoomMovedResponse) String() string { func (*RoomMovedResponse) ProtoMessage() {} func (x *RoomMovedResponse) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[39] + mi := &file_livekit_rtc_proto_msgTypes[41] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3630,7 +3767,7 @@ func (x *RoomMovedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RoomMovedResponse.ProtoReflect.Descriptor instead. func (*RoomMovedResponse) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{39} + return file_livekit_rtc_proto_rawDescGZIP(), []int{41} } func (x *RoomMovedResponse) GetRoom() *Room { @@ -3683,7 +3820,7 @@ type SyncState struct { func (x *SyncState) Reset() { *x = SyncState{} - mi := &file_livekit_rtc_proto_msgTypes[40] + mi := &file_livekit_rtc_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3695,7 +3832,7 @@ func (x *SyncState) String() string { func (*SyncState) ProtoMessage() {} func (x *SyncState) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[40] + mi := &file_livekit_rtc_proto_msgTypes[42] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3708,7 +3845,7 @@ func (x *SyncState) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncState.ProtoReflect.Descriptor instead. func (*SyncState) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{40} + return file_livekit_rtc_proto_rawDescGZIP(), []int{42} } func (x *SyncState) GetAnswer() *SessionDescription { @@ -3777,7 +3914,7 @@ type DataChannelReceiveState struct { func (x *DataChannelReceiveState) Reset() { *x = DataChannelReceiveState{} - mi := &file_livekit_rtc_proto_msgTypes[41] + mi := &file_livekit_rtc_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3789,7 +3926,7 @@ func (x *DataChannelReceiveState) String() string { func (*DataChannelReceiveState) ProtoMessage() {} func (x *DataChannelReceiveState) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[41] + mi := &file_livekit_rtc_proto_msgTypes[43] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3802,7 +3939,7 @@ func (x *DataChannelReceiveState) ProtoReflect() protoreflect.Message { // Deprecated: Use DataChannelReceiveState.ProtoReflect.Descriptor instead. func (*DataChannelReceiveState) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{41} + return file_livekit_rtc_proto_rawDescGZIP(), []int{43} } func (x *DataChannelReceiveState) GetPublisherSid() string { @@ -3830,7 +3967,7 @@ type DataChannelInfo struct { func (x *DataChannelInfo) Reset() { *x = DataChannelInfo{} - mi := &file_livekit_rtc_proto_msgTypes[42] + mi := &file_livekit_rtc_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3842,7 +3979,7 @@ func (x *DataChannelInfo) String() string { func (*DataChannelInfo) ProtoMessage() {} func (x *DataChannelInfo) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[42] + mi := &file_livekit_rtc_proto_msgTypes[44] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3855,7 +3992,7 @@ func (x *DataChannelInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use DataChannelInfo.ProtoReflect.Descriptor instead. func (*DataChannelInfo) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{42} + return file_livekit_rtc_proto_rawDescGZIP(), []int{44} } func (x *DataChannelInfo) GetLabel() string { @@ -3899,7 +4036,7 @@ type SimulateScenario struct { func (x *SimulateScenario) Reset() { *x = SimulateScenario{} - mi := &file_livekit_rtc_proto_msgTypes[43] + mi := &file_livekit_rtc_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3911,7 +4048,7 @@ func (x *SimulateScenario) String() string { func (*SimulateScenario) ProtoMessage() {} func (x *SimulateScenario) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[43] + mi := &file_livekit_rtc_proto_msgTypes[45] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3924,7 +4061,7 @@ func (x *SimulateScenario) ProtoReflect() protoreflect.Message { // Deprecated: Use SimulateScenario.ProtoReflect.Descriptor instead. func (*SimulateScenario) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{43} + return file_livekit_rtc_proto_rawDescGZIP(), []int{45} } func (x *SimulateScenario) GetScenario() isSimulateScenario_Scenario { @@ -4094,7 +4231,7 @@ type Ping struct { func (x *Ping) Reset() { *x = Ping{} - mi := &file_livekit_rtc_proto_msgTypes[44] + mi := &file_livekit_rtc_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4106,7 +4243,7 @@ func (x *Ping) String() string { func (*Ping) ProtoMessage() {} func (x *Ping) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[44] + mi := &file_livekit_rtc_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4119,7 +4256,7 @@ func (x *Ping) ProtoReflect() protoreflect.Message { // Deprecated: Use Ping.ProtoReflect.Descriptor instead. func (*Ping) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{44} + return file_livekit_rtc_proto_rawDescGZIP(), []int{46} } func (x *Ping) GetTimestamp() int64 { @@ -4147,7 +4284,7 @@ type Pong struct { func (x *Pong) Reset() { *x = Pong{} - mi := &file_livekit_rtc_proto_msgTypes[45] + mi := &file_livekit_rtc_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4159,7 +4296,7 @@ func (x *Pong) String() string { func (*Pong) ProtoMessage() {} func (x *Pong) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[45] + mi := &file_livekit_rtc_proto_msgTypes[47] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4172,7 +4309,7 @@ func (x *Pong) ProtoReflect() protoreflect.Message { // Deprecated: Use Pong.ProtoReflect.Descriptor instead. func (*Pong) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{45} + return file_livekit_rtc_proto_rawDescGZIP(), []int{47} } func (x *Pong) GetLastPingTimestamp() int64 { @@ -4198,7 +4335,7 @@ type RegionSettings struct { func (x *RegionSettings) Reset() { *x = RegionSettings{} - mi := &file_livekit_rtc_proto_msgTypes[46] + mi := &file_livekit_rtc_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4210,7 +4347,7 @@ func (x *RegionSettings) String() string { func (*RegionSettings) ProtoMessage() {} func (x *RegionSettings) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[46] + mi := &file_livekit_rtc_proto_msgTypes[48] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4223,7 +4360,7 @@ func (x *RegionSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use RegionSettings.ProtoReflect.Descriptor instead. func (*RegionSettings) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{46} + return file_livekit_rtc_proto_rawDescGZIP(), []int{48} } func (x *RegionSettings) GetRegions() []*RegionInfo { @@ -4244,7 +4381,7 @@ type RegionInfo struct { func (x *RegionInfo) Reset() { *x = RegionInfo{} - mi := &file_livekit_rtc_proto_msgTypes[47] + mi := &file_livekit_rtc_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4256,7 +4393,7 @@ func (x *RegionInfo) String() string { func (*RegionInfo) ProtoMessage() {} func (x *RegionInfo) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[47] + mi := &file_livekit_rtc_proto_msgTypes[49] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4269,7 +4406,7 @@ func (x *RegionInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use RegionInfo.ProtoReflect.Descriptor instead. func (*RegionInfo) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{47} + return file_livekit_rtc_proto_rawDescGZIP(), []int{49} } func (x *RegionInfo) GetRegion() string { @@ -4303,7 +4440,7 @@ type SubscriptionResponse struct { func (x *SubscriptionResponse) Reset() { *x = SubscriptionResponse{} - mi := &file_livekit_rtc_proto_msgTypes[48] + mi := &file_livekit_rtc_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4315,7 +4452,7 @@ func (x *SubscriptionResponse) String() string { func (*SubscriptionResponse) ProtoMessage() {} func (x *SubscriptionResponse) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[48] + mi := &file_livekit_rtc_proto_msgTypes[50] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4328,7 +4465,7 @@ func (x *SubscriptionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscriptionResponse.ProtoReflect.Descriptor instead. func (*SubscriptionResponse) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{48} + return file_livekit_rtc_proto_rawDescGZIP(), []int{50} } func (x *SubscriptionResponse) GetTrackSid() string { @@ -4360,6 +4497,7 @@ type RequestResponse struct { // *RequestResponse_UpdateVideoTrack // *RequestResponse_PublishDataTrack // *RequestResponse_UnpublishDataTrack + // *RequestResponse_GetDataTrackSchema Request isRequestResponse_Request `protobuf_oneof:"request"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -4367,7 +4505,7 @@ type RequestResponse struct { func (x *RequestResponse) Reset() { *x = RequestResponse{} - mi := &file_livekit_rtc_proto_msgTypes[49] + mi := &file_livekit_rtc_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4379,7 +4517,7 @@ func (x *RequestResponse) String() string { func (*RequestResponse) ProtoMessage() {} func (x *RequestResponse) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[49] + mi := &file_livekit_rtc_proto_msgTypes[51] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4392,7 +4530,7 @@ func (x *RequestResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RequestResponse.ProtoReflect.Descriptor instead. func (*RequestResponse) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{49} + return file_livekit_rtc_proto_rawDescGZIP(), []int{51} } func (x *RequestResponse) GetRequestId() uint32 { @@ -4495,6 +4633,15 @@ func (x *RequestResponse) GetUnpublishDataTrack() *UnpublishDataTrackRequest { return nil } +func (x *RequestResponse) GetGetDataTrackSchema() *GetDataTrackSchemaRequest { + if x != nil { + if x, ok := x.Request.(*RequestResponse_GetDataTrackSchema); ok { + return x.GetDataTrackSchema + } + } + return nil +} + type isRequestResponse_Request interface { isRequestResponse_Request() } @@ -4531,6 +4678,10 @@ type RequestResponse_UnpublishDataTrack struct { UnpublishDataTrack *UnpublishDataTrackRequest `protobuf:"bytes,11,opt,name=unpublish_data_track,json=unpublishDataTrack,proto3,oneof"` } +type RequestResponse_GetDataTrackSchema struct { + GetDataTrackSchema *GetDataTrackSchemaRequest `protobuf:"bytes,12,opt,name=get_data_track_schema,json=getDataTrackSchema,proto3,oneof"` +} + func (*RequestResponse_Trickle) isRequestResponse_Request() {} func (*RequestResponse_AddTrack) isRequestResponse_Request() {} @@ -4547,6 +4698,8 @@ func (*RequestResponse_PublishDataTrack) isRequestResponse_Request() {} func (*RequestResponse_UnpublishDataTrack) isRequestResponse_Request() {} +func (*RequestResponse_GetDataTrackSchema) isRequestResponse_Request() {} + type TrackSubscribed struct { state protoimpl.MessageState `protogen:"open.v1"` TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` @@ -4556,7 +4709,7 @@ type TrackSubscribed struct { func (x *TrackSubscribed) Reset() { *x = TrackSubscribed{} - mi := &file_livekit_rtc_proto_msgTypes[50] + mi := &file_livekit_rtc_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4568,7 +4721,7 @@ func (x *TrackSubscribed) String() string { func (*TrackSubscribed) ProtoMessage() {} func (x *TrackSubscribed) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[50] + mi := &file_livekit_rtc_proto_msgTypes[52] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4581,7 +4734,7 @@ func (x *TrackSubscribed) ProtoReflect() protoreflect.Message { // Deprecated: Use TrackSubscribed.ProtoReflect.Descriptor instead. func (*TrackSubscribed) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{50} + return file_livekit_rtc_proto_rawDescGZIP(), []int{52} } func (x *TrackSubscribed) GetTrackSid() string { @@ -4604,7 +4757,7 @@ type ConnectionSettings struct { func (x *ConnectionSettings) Reset() { *x = ConnectionSettings{} - mi := &file_livekit_rtc_proto_msgTypes[51] + mi := &file_livekit_rtc_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4616,7 +4769,7 @@ func (x *ConnectionSettings) String() string { func (*ConnectionSettings) ProtoMessage() {} func (x *ConnectionSettings) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[51] + mi := &file_livekit_rtc_proto_msgTypes[53] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4629,7 +4782,7 @@ func (x *ConnectionSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use ConnectionSettings.ProtoReflect.Descriptor instead. func (*ConnectionSettings) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{51} + return file_livekit_rtc_proto_rawDescGZIP(), []int{53} } func (x *ConnectionSettings) GetAutoSubscribe() bool { @@ -4688,7 +4841,7 @@ type JoinRequest struct { func (x *JoinRequest) Reset() { *x = JoinRequest{} - mi := &file_livekit_rtc_proto_msgTypes[52] + mi := &file_livekit_rtc_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4700,7 +4853,7 @@ func (x *JoinRequest) String() string { func (*JoinRequest) ProtoMessage() {} func (x *JoinRequest) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[52] + mi := &file_livekit_rtc_proto_msgTypes[54] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4713,7 +4866,7 @@ func (x *JoinRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use JoinRequest.ProtoReflect.Descriptor instead. func (*JoinRequest) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{52} + return file_livekit_rtc_proto_rawDescGZIP(), []int{54} } func (x *JoinRequest) GetClientInfo() *ClientInfo { @@ -4796,7 +4949,7 @@ type WrappedJoinRequest struct { func (x *WrappedJoinRequest) Reset() { *x = WrappedJoinRequest{} - mi := &file_livekit_rtc_proto_msgTypes[53] + mi := &file_livekit_rtc_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4808,7 +4961,7 @@ func (x *WrappedJoinRequest) String() string { func (*WrappedJoinRequest) ProtoMessage() {} func (x *WrappedJoinRequest) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[53] + mi := &file_livekit_rtc_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4821,7 +4974,7 @@ func (x *WrappedJoinRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WrappedJoinRequest.ProtoReflect.Descriptor instead. func (*WrappedJoinRequest) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{53} + return file_livekit_rtc_proto_rawDescGZIP(), []int{55} } func (x *WrappedJoinRequest) GetCompression() WrappedJoinRequest_Compression { @@ -4848,7 +5001,7 @@ type MediaSectionsRequirement struct { func (x *MediaSectionsRequirement) Reset() { *x = MediaSectionsRequirement{} - mi := &file_livekit_rtc_proto_msgTypes[54] + mi := &file_livekit_rtc_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4860,7 +5013,7 @@ func (x *MediaSectionsRequirement) String() string { func (*MediaSectionsRequirement) ProtoMessage() {} func (x *MediaSectionsRequirement) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[54] + mi := &file_livekit_rtc_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4873,7 +5026,7 @@ func (x *MediaSectionsRequirement) ProtoReflect() protoreflect.Message { // Deprecated: Use MediaSectionsRequirement.ProtoReflect.Descriptor instead. func (*MediaSectionsRequirement) Descriptor() ([]byte, []int) { - return file_livekit_rtc_proto_rawDescGZIP(), []int{54} + return file_livekit_rtc_proto_rawDescGZIP(), []int{56} } func (x *MediaSectionsRequirement) GetNumAudios() uint32 { @@ -4901,7 +5054,7 @@ type DataTrackSubscriberHandles_PublishedDataTrack struct { func (x *DataTrackSubscriberHandles_PublishedDataTrack) Reset() { *x = DataTrackSubscriberHandles_PublishedDataTrack{} - mi := &file_livekit_rtc_proto_msgTypes[55] + mi := &file_livekit_rtc_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4913,7 +5066,7 @@ func (x *DataTrackSubscriberHandles_PublishedDataTrack) String() string { func (*DataTrackSubscriberHandles_PublishedDataTrack) ProtoMessage() {} func (x *DataTrackSubscriberHandles_PublishedDataTrack) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[55] + mi := &file_livekit_rtc_proto_msgTypes[57] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4963,7 +5116,7 @@ type UpdateDataSubscription_Update struct { func (x *UpdateDataSubscription_Update) Reset() { *x = UpdateDataSubscription_Update{} - mi := &file_livekit_rtc_proto_msgTypes[58] + mi := &file_livekit_rtc_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4975,7 +5128,7 @@ func (x *UpdateDataSubscription_Update) String() string { func (*UpdateDataSubscription_Update) ProtoMessage() {} func (x *UpdateDataSubscription_Update) ProtoReflect() protoreflect.Message { - mi := &file_livekit_rtc_proto_msgTypes[58] + mi := &file_livekit_rtc_proto_msgTypes[60] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5016,8 +5169,7 @@ var File_livekit_rtc_proto protoreflect.FileDescriptor const file_livekit_rtc_proto_rawDesc = "" + "\n" + - "\x11livekit_rtc.proto\x12\alivekit\x1a\x14livekit_models.proto\x1a\x14logger/options.proto\"\xc3\n" + - "\n" + + "\x11livekit_rtc.proto\x12\alivekit\x1a\x14livekit_models.proto\x1a\x14logger/options.proto\"\x9c\v\n" + "\rSignalRequest\x123\n" + "\x05offer\x18\x01 \x01(\v2\x1b.livekit.SessionDescriptionH\x00R\x05offer\x125\n" + "\x06answer\x18\x02 \x01(\v2\x1b.livekit.SessionDescriptionH\x00R\x06answer\x123\n" + @@ -5040,8 +5192,9 @@ const file_livekit_rtc_proto_rawDesc = "" + "\x12update_video_track\x18\x12 \x01(\v2\x1e.livekit.UpdateLocalVideoTrackH\x00R\x10updateVideoTrack\x12_\n" + "\x1apublish_data_track_request\x18\x13 \x01(\v2 .livekit.PublishDataTrackRequestH\x00R\x17publishDataTrackRequest\x12e\n" + "\x1cunpublish_data_track_request\x18\x14 \x01(\v2\".livekit.UnpublishDataTrackRequestH\x00R\x19unpublishDataTrackRequest\x12[\n" + - "\x18update_data_subscription\x18\x15 \x01(\v2\x1f.livekit.UpdateDataSubscriptionH\x00R\x16updateDataSubscriptionB\t\n" + - "\amessage\"\xd9\x0f\n" + + "\x18update_data_subscription\x18\x15 \x01(\v2\x1f.livekit.UpdateDataSubscriptionH\x00R\x16updateDataSubscription\x12W\n" + + "\x15get_data_track_schema\x18\x16 \x01(\v2\".livekit.GetDataTrackSchemaRequestH\x00R\x12getDataTrackSchemaB\t\n" + + "\amessage\"\xc4\x10\n" + "\x0eSignalResponse\x12+\n" + "\x04join\x18\x01 \x01(\v2\x15.livekit.JoinResponseH\x00R\x04join\x125\n" + "\x06answer\x18\x02 \x01(\v2\x1b.livekit.SessionDescriptionH\x00R\x06answer\x123\n" + @@ -5073,7 +5226,8 @@ const file_livekit_rtc_proto_rawDesc = "" + "\x1dsubscribed_audio_codec_update\x18\x1a \x01(\v2#.livekit.SubscribedAudioCodecUpdateH\x00R\x1asubscribedAudioCodecUpdate\x12b\n" + "\x1bpublish_data_track_response\x18\x1b \x01(\v2!.livekit.PublishDataTrackResponseH\x00R\x18publishDataTrackResponse\x12h\n" + "\x1dunpublish_data_track_response\x18\x1c \x01(\v2#.livekit.UnpublishDataTrackResponseH\x00R\x1aunpublishDataTrackResponse\x12h\n" + - "\x1ddata_track_subscriber_handles\x18\x1d \x01(\v2#.livekit.DataTrackSubscriberHandlesH\x00R\x1adataTrackSubscriberHandlesB\t\n" + + "\x1ddata_track_subscriber_handles\x18\x1d \x01(\v2#.livekit.DataTrackSubscriberHandlesH\x00R\x1adataTrackSubscriberHandles\x12i\n" + + "\x1eget_data_track_schema_response\x18\x1e \x01(\v2#.livekit.GetDataTrackSchemaResponseH\x00R\x1agetDataTrackSchemaResponseB\t\n" + "\amessage\"\xa9\x01\n" + "\x0eSimulcastCodec\x12\x14\n" + "\x05codec\x18\x01 \x01(\tR\x05codec\x12\x10\n" + @@ -5103,14 +5257,16 @@ const file_livekit_rtc_proto_rawDesc = "" + "\x06stream\x18\x0f \x01(\tR\x06stream\x12J\n" + "\x13backup_codec_policy\x18\x10 \x01(\x0e2\x1a.livekit.BackupCodecPolicyR\x11backupCodecPolicy\x12A\n" + "\x0eaudio_features\x18\x11 \x03(\x0e2\x1a.livekit.AudioTrackFeatureR\raudioFeatures\x12U\n" + - "\x17packet_trailer_features\x18\x12 \x03(\x0e2\x1d.livekit.PacketTrailerFeatureR\x15packetTrailerFeatures\"\x86\x01\n" + + "\x17packet_trailer_features\x18\x12 \x03(\x0e2\x1d.livekit.PacketTrailerFeatureR\x15packetTrailerFeatures\"\xea\x01\n" + "\x17PublishDataTrackRequest\x12\x1d\n" + "\n" + "pub_handle\x18\x01 \x01(\rR\tpubHandle\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x128\n" + "\n" + "encryption\x18\x03 \x01(\x0e2\x18.livekit.Encryption.TypeR\n" + - "encryption\"F\n" + + "encryption\x12N\n" + + "\x0ftype_definition\x18\x04 \x01(\v2 .livekit.DataTrackTypeDefinitionH\x00R\x0etypeDefinition\x88\x01\x01B\x12\n" + + "\x10_type_definition\"F\n" + "\x18PublishDataTrackResponse\x12*\n" + "\x04info\x18\x01 \x01(\v2\x16.livekit.DataTrackInfoR\x04info\":\n" + "\x19UnpublishDataTrackRequest\x12\x1d\n" + @@ -5187,7 +5343,11 @@ const file_livekit_rtc_proto_rawDesc = "" + "\x06Update\x12\x1b\n" + "\ttrack_sid\x18\x01 \x01(\tR\btrackSid\x12\x1c\n" + "\tsubscribe\x18\x02 \x01(\bR\tsubscribe\x12?\n" + - "\aoptions\x18\x03 \x01(\v2%.livekit.DataTrackSubscriptionOptionsR\aoptions\"\xdd\x01\n" + + "\aoptions\x18\x03 \x01(\v2%.livekit.DataTrackSubscriptionOptionsR\aoptions\"T\n" + + "\x19GetDataTrackSchemaRequest\x127\n" + + "\tschema_id\x18\x01 \x01(\v2\x1a.livekit.DataTrackSchemaIdR\bschemaId\"m\n" + + "\x1aGetDataTrackSchemaResponse\x12O\n" + + "\x11schema_definition\x18\x01 \x01(\v2\".livekit.DataTrackSchemaDefinitionR\x10schemaDefinition\"\xdd\x01\n" + "\x13UpdateTrackSettings\x12\x1d\n" + "\n" + "track_sids\x18\x01 \x03(\tR\ttrackSids\x12\x1a\n" + @@ -5327,7 +5487,7 @@ const file_livekit_rtc_proto_rawDesc = "" + "\bdistance\x18\x03 \x01(\x03R\bdistance\"a\n" + "\x14SubscriptionResponse\x12\x1b\n" + "\ttrack_sid\x18\x01 \x01(\tR\btrackSid\x12,\n" + - "\x03err\x18\x02 \x01(\x0e2\x1a.livekit.SubscriptionErrorR\x03err\"\xa5\a\n" + + "\x03err\x18\x02 \x01(\x0e2\x1a.livekit.SubscriptionErrorR\x03err\"\x92\b\n" + "\x0fRequestResponse\x12+\n" + "\n" + "request_id\x18\x01 \x01(\rB\f\xbaP\trequestIDR\trequestId\x127\n" + @@ -5341,7 +5501,8 @@ const file_livekit_rtc_proto_rawDesc = "" + "\x12update_video_track\x18\t \x01(\v2\x1e.livekit.UpdateLocalVideoTrackH\x00R\x10updateVideoTrack\x12P\n" + "\x12publish_data_track\x18\n" + " \x01(\v2 .livekit.PublishDataTrackRequestH\x00R\x10publishDataTrack\x12V\n" + - "\x14unpublish_data_track\x18\v \x01(\v2\".livekit.UnpublishDataTrackRequestH\x00R\x12unpublishDataTrack\"\xce\x01\n" + + "\x14unpublish_data_track\x18\v \x01(\v2\".livekit.UnpublishDataTrackRequestH\x00R\x12unpublishDataTrack\x12W\n" + + "\x15get_data_track_schema\x18\f \x01(\v2\".livekit.GetDataTrackSchemaRequestH\x00R\x12getDataTrackSchema\"\xe2\x01\n" + "\x06Reason\x12\x06\n" + "\x02OK\x10\x00\x12\r\n" + "\tNOT_FOUND\x10\x01\x12\x0f\n" + @@ -5355,7 +5516,8 @@ const file_livekit_rtc_proto_rawDesc = "" + "\fINVALID_NAME\x10\b\x12\x14\n" + "\x10DUPLICATE_HANDLE\x10\t\x12\x12\n" + "\x0eDUPLICATE_NAME\x10\n" + - "B\t\n" + + "\x12\x12\n" + + "\x0eINVALID_SCHEMA\x10\vB\t\n" + "\arequest\".\n" + "\x0fTrackSubscribed\x12\x1b\n" + "\ttrack_sid\x18\x01 \x01(\tR\btrackSid\"\xc2\x02\n" + @@ -5422,7 +5584,7 @@ func file_livekit_rtc_proto_rawDescGZIP() []byte { } var file_livekit_rtc_proto_enumTypes = make([]protoimpl.EnumInfo, 6) -var file_livekit_rtc_proto_msgTypes = make([]protoimpl.MessageInfo, 61) +var file_livekit_rtc_proto_msgTypes = make([]protoimpl.MessageInfo, 63) var file_livekit_rtc_proto_goTypes = []any{ (SignalTarget)(0), // 0: livekit.SignalTarget (StreamState)(0), // 1: livekit.StreamState @@ -5449,73 +5611,78 @@ var file_livekit_rtc_proto_goTypes = []any{ (*ParticipantUpdate)(nil), // 22: livekit.ParticipantUpdate (*UpdateSubscription)(nil), // 23: livekit.UpdateSubscription (*UpdateDataSubscription)(nil), // 24: livekit.UpdateDataSubscription - (*UpdateTrackSettings)(nil), // 25: livekit.UpdateTrackSettings - (*UpdateLocalAudioTrack)(nil), // 26: livekit.UpdateLocalAudioTrack - (*UpdateLocalVideoTrack)(nil), // 27: livekit.UpdateLocalVideoTrack - (*LeaveRequest)(nil), // 28: livekit.LeaveRequest - (*UpdateVideoLayers)(nil), // 29: livekit.UpdateVideoLayers - (*UpdateParticipantMetadata)(nil), // 30: livekit.UpdateParticipantMetadata - (*ICEServer)(nil), // 31: livekit.ICEServer - (*SpeakersChanged)(nil), // 32: livekit.SpeakersChanged - (*RoomUpdate)(nil), // 33: livekit.RoomUpdate - (*ConnectionQualityInfo)(nil), // 34: livekit.ConnectionQualityInfo - (*ConnectionQualityUpdate)(nil), // 35: livekit.ConnectionQualityUpdate - (*StreamStateInfo)(nil), // 36: livekit.StreamStateInfo - (*StreamStateUpdate)(nil), // 37: livekit.StreamStateUpdate - (*SubscribedQuality)(nil), // 38: livekit.SubscribedQuality - (*SubscribedCodec)(nil), // 39: livekit.SubscribedCodec - (*SubscribedQualityUpdate)(nil), // 40: livekit.SubscribedQualityUpdate - (*SubscribedAudioCodecUpdate)(nil), // 41: livekit.SubscribedAudioCodecUpdate - (*TrackPermission)(nil), // 42: livekit.TrackPermission - (*SubscriptionPermission)(nil), // 43: livekit.SubscriptionPermission - (*SubscriptionPermissionUpdate)(nil), // 44: livekit.SubscriptionPermissionUpdate - (*RoomMovedResponse)(nil), // 45: livekit.RoomMovedResponse - (*SyncState)(nil), // 46: livekit.SyncState - (*DataChannelReceiveState)(nil), // 47: livekit.DataChannelReceiveState - (*DataChannelInfo)(nil), // 48: livekit.DataChannelInfo - (*SimulateScenario)(nil), // 49: livekit.SimulateScenario - (*Ping)(nil), // 50: livekit.Ping - (*Pong)(nil), // 51: livekit.Pong - (*RegionSettings)(nil), // 52: livekit.RegionSettings - (*RegionInfo)(nil), // 53: livekit.RegionInfo - (*SubscriptionResponse)(nil), // 54: livekit.SubscriptionResponse - (*RequestResponse)(nil), // 55: livekit.RequestResponse - (*TrackSubscribed)(nil), // 56: livekit.TrackSubscribed - (*ConnectionSettings)(nil), // 57: livekit.ConnectionSettings - (*JoinRequest)(nil), // 58: livekit.JoinRequest - (*WrappedJoinRequest)(nil), // 59: livekit.WrappedJoinRequest - (*MediaSectionsRequirement)(nil), // 60: livekit.MediaSectionsRequirement - (*DataTrackSubscriberHandles_PublishedDataTrack)(nil), // 61: livekit.DataTrackSubscriberHandles.PublishedDataTrack - nil, // 62: livekit.DataTrackSubscriberHandles.SubHandlesEntry - nil, // 63: livekit.SessionDescription.MidToTrackIdEntry - (*UpdateDataSubscription_Update)(nil), // 64: livekit.UpdateDataSubscription.Update - nil, // 65: livekit.UpdateParticipantMetadata.AttributesEntry - nil, // 66: livekit.JoinRequest.ParticipantAttributesEntry - (*VideoLayer)(nil), // 67: livekit.VideoLayer - (VideoLayer_Mode)(0), // 68: livekit.VideoLayer.Mode - (TrackType)(0), // 69: livekit.TrackType - (TrackSource)(0), // 70: livekit.TrackSource - (Encryption_Type)(0), // 71: livekit.Encryption.Type - (BackupCodecPolicy)(0), // 72: livekit.BackupCodecPolicy - (AudioTrackFeature)(0), // 73: livekit.AudioTrackFeature - (PacketTrailerFeature)(0), // 74: livekit.PacketTrailerFeature - (*DataTrackInfo)(nil), // 75: livekit.DataTrackInfo - (*Room)(nil), // 76: livekit.Room - (*ParticipantInfo)(nil), // 77: livekit.ParticipantInfo - (*ClientConfiguration)(nil), // 78: livekit.ClientConfiguration - (*ServerInfo)(nil), // 79: livekit.ServerInfo - (*Codec)(nil), // 80: livekit.Codec - (*TrackInfo)(nil), // 81: livekit.TrackInfo - (*ParticipantTracks)(nil), // 82: livekit.ParticipantTracks - (VideoQuality)(0), // 83: livekit.VideoQuality - (DisconnectReason)(0), // 84: livekit.DisconnectReason - (*SpeakerInfo)(nil), // 85: livekit.SpeakerInfo - (ConnectionQuality)(0), // 86: livekit.ConnectionQuality - (*SubscribedAudioCodec)(nil), // 87: livekit.SubscribedAudioCodec - (SubscriptionError)(0), // 88: livekit.SubscriptionError - (*ClientInfo)(nil), // 89: livekit.ClientInfo - (ReconnectReason)(0), // 90: livekit.ReconnectReason - (*DataTrackSubscriptionOptions)(nil), // 91: livekit.DataTrackSubscriptionOptions + (*GetDataTrackSchemaRequest)(nil), // 25: livekit.GetDataTrackSchemaRequest + (*GetDataTrackSchemaResponse)(nil), // 26: livekit.GetDataTrackSchemaResponse + (*UpdateTrackSettings)(nil), // 27: livekit.UpdateTrackSettings + (*UpdateLocalAudioTrack)(nil), // 28: livekit.UpdateLocalAudioTrack + (*UpdateLocalVideoTrack)(nil), // 29: livekit.UpdateLocalVideoTrack + (*LeaveRequest)(nil), // 30: livekit.LeaveRequest + (*UpdateVideoLayers)(nil), // 31: livekit.UpdateVideoLayers + (*UpdateParticipantMetadata)(nil), // 32: livekit.UpdateParticipantMetadata + (*ICEServer)(nil), // 33: livekit.ICEServer + (*SpeakersChanged)(nil), // 34: livekit.SpeakersChanged + (*RoomUpdate)(nil), // 35: livekit.RoomUpdate + (*ConnectionQualityInfo)(nil), // 36: livekit.ConnectionQualityInfo + (*ConnectionQualityUpdate)(nil), // 37: livekit.ConnectionQualityUpdate + (*StreamStateInfo)(nil), // 38: livekit.StreamStateInfo + (*StreamStateUpdate)(nil), // 39: livekit.StreamStateUpdate + (*SubscribedQuality)(nil), // 40: livekit.SubscribedQuality + (*SubscribedCodec)(nil), // 41: livekit.SubscribedCodec + (*SubscribedQualityUpdate)(nil), // 42: livekit.SubscribedQualityUpdate + (*SubscribedAudioCodecUpdate)(nil), // 43: livekit.SubscribedAudioCodecUpdate + (*TrackPermission)(nil), // 44: livekit.TrackPermission + (*SubscriptionPermission)(nil), // 45: livekit.SubscriptionPermission + (*SubscriptionPermissionUpdate)(nil), // 46: livekit.SubscriptionPermissionUpdate + (*RoomMovedResponse)(nil), // 47: livekit.RoomMovedResponse + (*SyncState)(nil), // 48: livekit.SyncState + (*DataChannelReceiveState)(nil), // 49: livekit.DataChannelReceiveState + (*DataChannelInfo)(nil), // 50: livekit.DataChannelInfo + (*SimulateScenario)(nil), // 51: livekit.SimulateScenario + (*Ping)(nil), // 52: livekit.Ping + (*Pong)(nil), // 53: livekit.Pong + (*RegionSettings)(nil), // 54: livekit.RegionSettings + (*RegionInfo)(nil), // 55: livekit.RegionInfo + (*SubscriptionResponse)(nil), // 56: livekit.SubscriptionResponse + (*RequestResponse)(nil), // 57: livekit.RequestResponse + (*TrackSubscribed)(nil), // 58: livekit.TrackSubscribed + (*ConnectionSettings)(nil), // 59: livekit.ConnectionSettings + (*JoinRequest)(nil), // 60: livekit.JoinRequest + (*WrappedJoinRequest)(nil), // 61: livekit.WrappedJoinRequest + (*MediaSectionsRequirement)(nil), // 62: livekit.MediaSectionsRequirement + (*DataTrackSubscriberHandles_PublishedDataTrack)(nil), // 63: livekit.DataTrackSubscriberHandles.PublishedDataTrack + nil, // 64: livekit.DataTrackSubscriberHandles.SubHandlesEntry + nil, // 65: livekit.SessionDescription.MidToTrackIdEntry + (*UpdateDataSubscription_Update)(nil), // 66: livekit.UpdateDataSubscription.Update + nil, // 67: livekit.UpdateParticipantMetadata.AttributesEntry + nil, // 68: livekit.JoinRequest.ParticipantAttributesEntry + (*VideoLayer)(nil), // 69: livekit.VideoLayer + (VideoLayer_Mode)(0), // 70: livekit.VideoLayer.Mode + (TrackType)(0), // 71: livekit.TrackType + (TrackSource)(0), // 72: livekit.TrackSource + (Encryption_Type)(0), // 73: livekit.Encryption.Type + (BackupCodecPolicy)(0), // 74: livekit.BackupCodecPolicy + (AudioTrackFeature)(0), // 75: livekit.AudioTrackFeature + (PacketTrailerFeature)(0), // 76: livekit.PacketTrailerFeature + (*DataTrackTypeDefinition)(nil), // 77: livekit.DataTrackTypeDefinition + (*DataTrackInfo)(nil), // 78: livekit.DataTrackInfo + (*Room)(nil), // 79: livekit.Room + (*ParticipantInfo)(nil), // 80: livekit.ParticipantInfo + (*ClientConfiguration)(nil), // 81: livekit.ClientConfiguration + (*ServerInfo)(nil), // 82: livekit.ServerInfo + (*Codec)(nil), // 83: livekit.Codec + (*TrackInfo)(nil), // 84: livekit.TrackInfo + (*ParticipantTracks)(nil), // 85: livekit.ParticipantTracks + (*DataTrackSchemaId)(nil), // 86: livekit.DataTrackSchemaId + (*DataTrackSchemaDefinition)(nil), // 87: livekit.DataTrackSchemaDefinition + (VideoQuality)(0), // 88: livekit.VideoQuality + (DisconnectReason)(0), // 89: livekit.DisconnectReason + (*SpeakerInfo)(nil), // 90: livekit.SpeakerInfo + (ConnectionQuality)(0), // 91: livekit.ConnectionQuality + (*SubscribedAudioCodec)(nil), // 92: livekit.SubscribedAudioCodec + (SubscriptionError)(0), // 93: livekit.SubscriptionError + (*ClientInfo)(nil), // 94: livekit.ClientInfo + (ReconnectReason)(0), // 95: livekit.ReconnectReason + (*DataTrackSubscriptionOptions)(nil), // 96: livekit.DataTrackSubscriptionOptions } var file_livekit_rtc_proto_depIdxs = []int32{ 21, // 0: livekit.SignalRequest.offer:type_name -> livekit.SessionDescription @@ -5524,132 +5691,138 @@ var file_livekit_rtc_proto_depIdxs = []int32{ 9, // 3: livekit.SignalRequest.add_track:type_name -> livekit.AddTrackRequest 16, // 4: livekit.SignalRequest.mute:type_name -> livekit.MuteTrackRequest 23, // 5: livekit.SignalRequest.subscription:type_name -> livekit.UpdateSubscription - 25, // 6: livekit.SignalRequest.track_setting:type_name -> livekit.UpdateTrackSettings - 28, // 7: livekit.SignalRequest.leave:type_name -> livekit.LeaveRequest - 29, // 8: livekit.SignalRequest.update_layers:type_name -> livekit.UpdateVideoLayers - 43, // 9: livekit.SignalRequest.subscription_permission:type_name -> livekit.SubscriptionPermission - 46, // 10: livekit.SignalRequest.sync_state:type_name -> livekit.SyncState - 49, // 11: livekit.SignalRequest.simulate:type_name -> livekit.SimulateScenario - 30, // 12: livekit.SignalRequest.update_metadata:type_name -> livekit.UpdateParticipantMetadata - 50, // 13: livekit.SignalRequest.ping_req:type_name -> livekit.Ping - 26, // 14: livekit.SignalRequest.update_audio_track:type_name -> livekit.UpdateLocalAudioTrack - 27, // 15: livekit.SignalRequest.update_video_track:type_name -> livekit.UpdateLocalVideoTrack + 27, // 6: livekit.SignalRequest.track_setting:type_name -> livekit.UpdateTrackSettings + 30, // 7: livekit.SignalRequest.leave:type_name -> livekit.LeaveRequest + 31, // 8: livekit.SignalRequest.update_layers:type_name -> livekit.UpdateVideoLayers + 45, // 9: livekit.SignalRequest.subscription_permission:type_name -> livekit.SubscriptionPermission + 48, // 10: livekit.SignalRequest.sync_state:type_name -> livekit.SyncState + 51, // 11: livekit.SignalRequest.simulate:type_name -> livekit.SimulateScenario + 32, // 12: livekit.SignalRequest.update_metadata:type_name -> livekit.UpdateParticipantMetadata + 52, // 13: livekit.SignalRequest.ping_req:type_name -> livekit.Ping + 28, // 14: livekit.SignalRequest.update_audio_track:type_name -> livekit.UpdateLocalAudioTrack + 29, // 15: livekit.SignalRequest.update_video_track:type_name -> livekit.UpdateLocalVideoTrack 10, // 16: livekit.SignalRequest.publish_data_track_request:type_name -> livekit.PublishDataTrackRequest 12, // 17: livekit.SignalRequest.unpublish_data_track_request:type_name -> livekit.UnpublishDataTrackRequest 24, // 18: livekit.SignalRequest.update_data_subscription:type_name -> livekit.UpdateDataSubscription - 17, // 19: livekit.SignalResponse.join:type_name -> livekit.JoinResponse - 21, // 20: livekit.SignalResponse.answer:type_name -> livekit.SessionDescription - 21, // 21: livekit.SignalResponse.offer:type_name -> livekit.SessionDescription - 15, // 22: livekit.SignalResponse.trickle:type_name -> livekit.TrickleRequest - 22, // 23: livekit.SignalResponse.update:type_name -> livekit.ParticipantUpdate - 19, // 24: livekit.SignalResponse.track_published:type_name -> livekit.TrackPublishedResponse - 28, // 25: livekit.SignalResponse.leave:type_name -> livekit.LeaveRequest - 16, // 26: livekit.SignalResponse.mute:type_name -> livekit.MuteTrackRequest - 32, // 27: livekit.SignalResponse.speakers_changed:type_name -> livekit.SpeakersChanged - 33, // 28: livekit.SignalResponse.room_update:type_name -> livekit.RoomUpdate - 35, // 29: livekit.SignalResponse.connection_quality:type_name -> livekit.ConnectionQualityUpdate - 37, // 30: livekit.SignalResponse.stream_state_update:type_name -> livekit.StreamStateUpdate - 40, // 31: livekit.SignalResponse.subscribed_quality_update:type_name -> livekit.SubscribedQualityUpdate - 44, // 32: livekit.SignalResponse.subscription_permission_update:type_name -> livekit.SubscriptionPermissionUpdate - 20, // 33: livekit.SignalResponse.track_unpublished:type_name -> livekit.TrackUnpublishedResponse - 18, // 34: livekit.SignalResponse.reconnect:type_name -> livekit.ReconnectResponse - 51, // 35: livekit.SignalResponse.pong_resp:type_name -> livekit.Pong - 54, // 36: livekit.SignalResponse.subscription_response:type_name -> livekit.SubscriptionResponse - 55, // 37: livekit.SignalResponse.request_response:type_name -> livekit.RequestResponse - 56, // 38: livekit.SignalResponse.track_subscribed:type_name -> livekit.TrackSubscribed - 45, // 39: livekit.SignalResponse.room_moved:type_name -> livekit.RoomMovedResponse - 60, // 40: livekit.SignalResponse.media_sections_requirement:type_name -> livekit.MediaSectionsRequirement - 41, // 41: livekit.SignalResponse.subscribed_audio_codec_update:type_name -> livekit.SubscribedAudioCodecUpdate - 11, // 42: livekit.SignalResponse.publish_data_track_response:type_name -> livekit.PublishDataTrackResponse - 13, // 43: livekit.SignalResponse.unpublish_data_track_response:type_name -> livekit.UnpublishDataTrackResponse - 14, // 44: livekit.SignalResponse.data_track_subscriber_handles:type_name -> livekit.DataTrackSubscriberHandles - 67, // 45: livekit.SimulcastCodec.layers:type_name -> livekit.VideoLayer - 68, // 46: livekit.SimulcastCodec.video_layer_mode:type_name -> livekit.VideoLayer.Mode - 69, // 47: livekit.AddTrackRequest.type:type_name -> livekit.TrackType - 70, // 48: livekit.AddTrackRequest.source:type_name -> livekit.TrackSource - 67, // 49: livekit.AddTrackRequest.layers:type_name -> livekit.VideoLayer - 8, // 50: livekit.AddTrackRequest.simulcast_codecs:type_name -> livekit.SimulcastCodec - 71, // 51: livekit.AddTrackRequest.encryption:type_name -> livekit.Encryption.Type - 72, // 52: livekit.AddTrackRequest.backup_codec_policy:type_name -> livekit.BackupCodecPolicy - 73, // 53: livekit.AddTrackRequest.audio_features:type_name -> livekit.AudioTrackFeature - 74, // 54: livekit.AddTrackRequest.packet_trailer_features:type_name -> livekit.PacketTrailerFeature - 71, // 55: livekit.PublishDataTrackRequest.encryption:type_name -> livekit.Encryption.Type - 75, // 56: livekit.PublishDataTrackResponse.info:type_name -> livekit.DataTrackInfo - 75, // 57: livekit.UnpublishDataTrackResponse.info:type_name -> livekit.DataTrackInfo - 62, // 58: livekit.DataTrackSubscriberHandles.sub_handles:type_name -> livekit.DataTrackSubscriberHandles.SubHandlesEntry - 0, // 59: livekit.TrickleRequest.target:type_name -> livekit.SignalTarget - 76, // 60: livekit.JoinResponse.room:type_name -> livekit.Room - 77, // 61: livekit.JoinResponse.participant:type_name -> livekit.ParticipantInfo - 77, // 62: livekit.JoinResponse.other_participants:type_name -> livekit.ParticipantInfo - 31, // 63: livekit.JoinResponse.ice_servers:type_name -> livekit.ICEServer - 78, // 64: livekit.JoinResponse.client_configuration:type_name -> livekit.ClientConfiguration - 79, // 65: livekit.JoinResponse.server_info:type_name -> livekit.ServerInfo - 80, // 66: livekit.JoinResponse.enabled_publish_codecs:type_name -> livekit.Codec - 31, // 67: livekit.ReconnectResponse.ice_servers:type_name -> livekit.ICEServer - 78, // 68: livekit.ReconnectResponse.client_configuration:type_name -> livekit.ClientConfiguration - 79, // 69: livekit.ReconnectResponse.server_info:type_name -> livekit.ServerInfo - 81, // 70: livekit.TrackPublishedResponse.track:type_name -> livekit.TrackInfo - 63, // 71: livekit.SessionDescription.mid_to_track_id:type_name -> livekit.SessionDescription.MidToTrackIdEntry - 77, // 72: livekit.ParticipantUpdate.participants:type_name -> livekit.ParticipantInfo - 82, // 73: livekit.UpdateSubscription.participant_tracks:type_name -> livekit.ParticipantTracks - 64, // 74: livekit.UpdateDataSubscription.updates:type_name -> livekit.UpdateDataSubscription.Update - 83, // 75: livekit.UpdateTrackSettings.quality:type_name -> livekit.VideoQuality - 73, // 76: livekit.UpdateLocalAudioTrack.features:type_name -> livekit.AudioTrackFeature - 84, // 77: livekit.LeaveRequest.reason:type_name -> livekit.DisconnectReason - 3, // 78: livekit.LeaveRequest.action:type_name -> livekit.LeaveRequest.Action - 52, // 79: livekit.LeaveRequest.regions:type_name -> livekit.RegionSettings - 67, // 80: livekit.UpdateVideoLayers.layers:type_name -> livekit.VideoLayer - 65, // 81: livekit.UpdateParticipantMetadata.attributes:type_name -> livekit.UpdateParticipantMetadata.AttributesEntry - 85, // 82: livekit.SpeakersChanged.speakers:type_name -> livekit.SpeakerInfo - 76, // 83: livekit.RoomUpdate.room:type_name -> livekit.Room - 86, // 84: livekit.ConnectionQualityInfo.quality:type_name -> livekit.ConnectionQuality - 34, // 85: livekit.ConnectionQualityUpdate.updates:type_name -> livekit.ConnectionQualityInfo - 1, // 86: livekit.StreamStateInfo.state:type_name -> livekit.StreamState - 36, // 87: livekit.StreamStateUpdate.stream_states:type_name -> livekit.StreamStateInfo - 83, // 88: livekit.SubscribedQuality.quality:type_name -> livekit.VideoQuality - 38, // 89: livekit.SubscribedCodec.qualities:type_name -> livekit.SubscribedQuality - 38, // 90: livekit.SubscribedQualityUpdate.subscribed_qualities:type_name -> livekit.SubscribedQuality - 39, // 91: livekit.SubscribedQualityUpdate.subscribed_codecs:type_name -> livekit.SubscribedCodec - 87, // 92: livekit.SubscribedAudioCodecUpdate.subscribed_audio_codecs:type_name -> livekit.SubscribedAudioCodec - 42, // 93: livekit.SubscriptionPermission.track_permissions:type_name -> livekit.TrackPermission - 76, // 94: livekit.RoomMovedResponse.room:type_name -> livekit.Room - 77, // 95: livekit.RoomMovedResponse.participant:type_name -> livekit.ParticipantInfo - 77, // 96: livekit.RoomMovedResponse.other_participants:type_name -> livekit.ParticipantInfo - 21, // 97: livekit.SyncState.answer:type_name -> livekit.SessionDescription - 23, // 98: livekit.SyncState.subscription:type_name -> livekit.UpdateSubscription - 19, // 99: livekit.SyncState.publish_tracks:type_name -> livekit.TrackPublishedResponse - 48, // 100: livekit.SyncState.data_channels:type_name -> livekit.DataChannelInfo - 21, // 101: livekit.SyncState.offer:type_name -> livekit.SessionDescription - 47, // 102: livekit.SyncState.datachannel_receive_states:type_name -> livekit.DataChannelReceiveState - 11, // 103: livekit.SyncState.publish_data_tracks:type_name -> livekit.PublishDataTrackResponse - 0, // 104: livekit.DataChannelInfo.target:type_name -> livekit.SignalTarget - 2, // 105: livekit.SimulateScenario.switch_candidate_protocol:type_name -> livekit.CandidateProtocol - 53, // 106: livekit.RegionSettings.regions:type_name -> livekit.RegionInfo - 88, // 107: livekit.SubscriptionResponse.err:type_name -> livekit.SubscriptionError - 4, // 108: livekit.RequestResponse.reason:type_name -> livekit.RequestResponse.Reason - 15, // 109: livekit.RequestResponse.trickle:type_name -> livekit.TrickleRequest - 9, // 110: livekit.RequestResponse.add_track:type_name -> livekit.AddTrackRequest - 16, // 111: livekit.RequestResponse.mute:type_name -> livekit.MuteTrackRequest - 30, // 112: livekit.RequestResponse.update_metadata:type_name -> livekit.UpdateParticipantMetadata - 26, // 113: livekit.RequestResponse.update_audio_track:type_name -> livekit.UpdateLocalAudioTrack - 27, // 114: livekit.RequestResponse.update_video_track:type_name -> livekit.UpdateLocalVideoTrack - 10, // 115: livekit.RequestResponse.publish_data_track:type_name -> livekit.PublishDataTrackRequest - 12, // 116: livekit.RequestResponse.unpublish_data_track:type_name -> livekit.UnpublishDataTrackRequest - 89, // 117: livekit.JoinRequest.client_info:type_name -> livekit.ClientInfo - 57, // 118: livekit.JoinRequest.connection_settings:type_name -> livekit.ConnectionSettings - 66, // 119: livekit.JoinRequest.participant_attributes:type_name -> livekit.JoinRequest.ParticipantAttributesEntry - 9, // 120: livekit.JoinRequest.add_track_requests:type_name -> livekit.AddTrackRequest - 21, // 121: livekit.JoinRequest.publisher_offer:type_name -> livekit.SessionDescription - 90, // 122: livekit.JoinRequest.reconnect_reason:type_name -> livekit.ReconnectReason - 46, // 123: livekit.JoinRequest.sync_state:type_name -> livekit.SyncState - 5, // 124: livekit.WrappedJoinRequest.compression:type_name -> livekit.WrappedJoinRequest.Compression - 61, // 125: livekit.DataTrackSubscriberHandles.SubHandlesEntry.value:type_name -> livekit.DataTrackSubscriberHandles.PublishedDataTrack - 91, // 126: livekit.UpdateDataSubscription.Update.options:type_name -> livekit.DataTrackSubscriptionOptions - 127, // [127:127] is the sub-list for method output_type - 127, // [127:127] is the sub-list for method input_type - 127, // [127:127] is the sub-list for extension type_name - 127, // [127:127] is the sub-list for extension extendee - 0, // [0:127] is the sub-list for field type_name + 25, // 19: livekit.SignalRequest.get_data_track_schema:type_name -> livekit.GetDataTrackSchemaRequest + 17, // 20: livekit.SignalResponse.join:type_name -> livekit.JoinResponse + 21, // 21: livekit.SignalResponse.answer:type_name -> livekit.SessionDescription + 21, // 22: livekit.SignalResponse.offer:type_name -> livekit.SessionDescription + 15, // 23: livekit.SignalResponse.trickle:type_name -> livekit.TrickleRequest + 22, // 24: livekit.SignalResponse.update:type_name -> livekit.ParticipantUpdate + 19, // 25: livekit.SignalResponse.track_published:type_name -> livekit.TrackPublishedResponse + 30, // 26: livekit.SignalResponse.leave:type_name -> livekit.LeaveRequest + 16, // 27: livekit.SignalResponse.mute:type_name -> livekit.MuteTrackRequest + 34, // 28: livekit.SignalResponse.speakers_changed:type_name -> livekit.SpeakersChanged + 35, // 29: livekit.SignalResponse.room_update:type_name -> livekit.RoomUpdate + 37, // 30: livekit.SignalResponse.connection_quality:type_name -> livekit.ConnectionQualityUpdate + 39, // 31: livekit.SignalResponse.stream_state_update:type_name -> livekit.StreamStateUpdate + 42, // 32: livekit.SignalResponse.subscribed_quality_update:type_name -> livekit.SubscribedQualityUpdate + 46, // 33: livekit.SignalResponse.subscription_permission_update:type_name -> livekit.SubscriptionPermissionUpdate + 20, // 34: livekit.SignalResponse.track_unpublished:type_name -> livekit.TrackUnpublishedResponse + 18, // 35: livekit.SignalResponse.reconnect:type_name -> livekit.ReconnectResponse + 53, // 36: livekit.SignalResponse.pong_resp:type_name -> livekit.Pong + 56, // 37: livekit.SignalResponse.subscription_response:type_name -> livekit.SubscriptionResponse + 57, // 38: livekit.SignalResponse.request_response:type_name -> livekit.RequestResponse + 58, // 39: livekit.SignalResponse.track_subscribed:type_name -> livekit.TrackSubscribed + 47, // 40: livekit.SignalResponse.room_moved:type_name -> livekit.RoomMovedResponse + 62, // 41: livekit.SignalResponse.media_sections_requirement:type_name -> livekit.MediaSectionsRequirement + 43, // 42: livekit.SignalResponse.subscribed_audio_codec_update:type_name -> livekit.SubscribedAudioCodecUpdate + 11, // 43: livekit.SignalResponse.publish_data_track_response:type_name -> livekit.PublishDataTrackResponse + 13, // 44: livekit.SignalResponse.unpublish_data_track_response:type_name -> livekit.UnpublishDataTrackResponse + 14, // 45: livekit.SignalResponse.data_track_subscriber_handles:type_name -> livekit.DataTrackSubscriberHandles + 26, // 46: livekit.SignalResponse.get_data_track_schema_response:type_name -> livekit.GetDataTrackSchemaResponse + 69, // 47: livekit.SimulcastCodec.layers:type_name -> livekit.VideoLayer + 70, // 48: livekit.SimulcastCodec.video_layer_mode:type_name -> livekit.VideoLayer.Mode + 71, // 49: livekit.AddTrackRequest.type:type_name -> livekit.TrackType + 72, // 50: livekit.AddTrackRequest.source:type_name -> livekit.TrackSource + 69, // 51: livekit.AddTrackRequest.layers:type_name -> livekit.VideoLayer + 8, // 52: livekit.AddTrackRequest.simulcast_codecs:type_name -> livekit.SimulcastCodec + 73, // 53: livekit.AddTrackRequest.encryption:type_name -> livekit.Encryption.Type + 74, // 54: livekit.AddTrackRequest.backup_codec_policy:type_name -> livekit.BackupCodecPolicy + 75, // 55: livekit.AddTrackRequest.audio_features:type_name -> livekit.AudioTrackFeature + 76, // 56: livekit.AddTrackRequest.packet_trailer_features:type_name -> livekit.PacketTrailerFeature + 73, // 57: livekit.PublishDataTrackRequest.encryption:type_name -> livekit.Encryption.Type + 77, // 58: livekit.PublishDataTrackRequest.type_definition:type_name -> livekit.DataTrackTypeDefinition + 78, // 59: livekit.PublishDataTrackResponse.info:type_name -> livekit.DataTrackInfo + 78, // 60: livekit.UnpublishDataTrackResponse.info:type_name -> livekit.DataTrackInfo + 64, // 61: livekit.DataTrackSubscriberHandles.sub_handles:type_name -> livekit.DataTrackSubscriberHandles.SubHandlesEntry + 0, // 62: livekit.TrickleRequest.target:type_name -> livekit.SignalTarget + 79, // 63: livekit.JoinResponse.room:type_name -> livekit.Room + 80, // 64: livekit.JoinResponse.participant:type_name -> livekit.ParticipantInfo + 80, // 65: livekit.JoinResponse.other_participants:type_name -> livekit.ParticipantInfo + 33, // 66: livekit.JoinResponse.ice_servers:type_name -> livekit.ICEServer + 81, // 67: livekit.JoinResponse.client_configuration:type_name -> livekit.ClientConfiguration + 82, // 68: livekit.JoinResponse.server_info:type_name -> livekit.ServerInfo + 83, // 69: livekit.JoinResponse.enabled_publish_codecs:type_name -> livekit.Codec + 33, // 70: livekit.ReconnectResponse.ice_servers:type_name -> livekit.ICEServer + 81, // 71: livekit.ReconnectResponse.client_configuration:type_name -> livekit.ClientConfiguration + 82, // 72: livekit.ReconnectResponse.server_info:type_name -> livekit.ServerInfo + 84, // 73: livekit.TrackPublishedResponse.track:type_name -> livekit.TrackInfo + 65, // 74: livekit.SessionDescription.mid_to_track_id:type_name -> livekit.SessionDescription.MidToTrackIdEntry + 80, // 75: livekit.ParticipantUpdate.participants:type_name -> livekit.ParticipantInfo + 85, // 76: livekit.UpdateSubscription.participant_tracks:type_name -> livekit.ParticipantTracks + 66, // 77: livekit.UpdateDataSubscription.updates:type_name -> livekit.UpdateDataSubscription.Update + 86, // 78: livekit.GetDataTrackSchemaRequest.schema_id:type_name -> livekit.DataTrackSchemaId + 87, // 79: livekit.GetDataTrackSchemaResponse.schema_definition:type_name -> livekit.DataTrackSchemaDefinition + 88, // 80: livekit.UpdateTrackSettings.quality:type_name -> livekit.VideoQuality + 75, // 81: livekit.UpdateLocalAudioTrack.features:type_name -> livekit.AudioTrackFeature + 89, // 82: livekit.LeaveRequest.reason:type_name -> livekit.DisconnectReason + 3, // 83: livekit.LeaveRequest.action:type_name -> livekit.LeaveRequest.Action + 54, // 84: livekit.LeaveRequest.regions:type_name -> livekit.RegionSettings + 69, // 85: livekit.UpdateVideoLayers.layers:type_name -> livekit.VideoLayer + 67, // 86: livekit.UpdateParticipantMetadata.attributes:type_name -> livekit.UpdateParticipantMetadata.AttributesEntry + 90, // 87: livekit.SpeakersChanged.speakers:type_name -> livekit.SpeakerInfo + 79, // 88: livekit.RoomUpdate.room:type_name -> livekit.Room + 91, // 89: livekit.ConnectionQualityInfo.quality:type_name -> livekit.ConnectionQuality + 36, // 90: livekit.ConnectionQualityUpdate.updates:type_name -> livekit.ConnectionQualityInfo + 1, // 91: livekit.StreamStateInfo.state:type_name -> livekit.StreamState + 38, // 92: livekit.StreamStateUpdate.stream_states:type_name -> livekit.StreamStateInfo + 88, // 93: livekit.SubscribedQuality.quality:type_name -> livekit.VideoQuality + 40, // 94: livekit.SubscribedCodec.qualities:type_name -> livekit.SubscribedQuality + 40, // 95: livekit.SubscribedQualityUpdate.subscribed_qualities:type_name -> livekit.SubscribedQuality + 41, // 96: livekit.SubscribedQualityUpdate.subscribed_codecs:type_name -> livekit.SubscribedCodec + 92, // 97: livekit.SubscribedAudioCodecUpdate.subscribed_audio_codecs:type_name -> livekit.SubscribedAudioCodec + 44, // 98: livekit.SubscriptionPermission.track_permissions:type_name -> livekit.TrackPermission + 79, // 99: livekit.RoomMovedResponse.room:type_name -> livekit.Room + 80, // 100: livekit.RoomMovedResponse.participant:type_name -> livekit.ParticipantInfo + 80, // 101: livekit.RoomMovedResponse.other_participants:type_name -> livekit.ParticipantInfo + 21, // 102: livekit.SyncState.answer:type_name -> livekit.SessionDescription + 23, // 103: livekit.SyncState.subscription:type_name -> livekit.UpdateSubscription + 19, // 104: livekit.SyncState.publish_tracks:type_name -> livekit.TrackPublishedResponse + 50, // 105: livekit.SyncState.data_channels:type_name -> livekit.DataChannelInfo + 21, // 106: livekit.SyncState.offer:type_name -> livekit.SessionDescription + 49, // 107: livekit.SyncState.datachannel_receive_states:type_name -> livekit.DataChannelReceiveState + 11, // 108: livekit.SyncState.publish_data_tracks:type_name -> livekit.PublishDataTrackResponse + 0, // 109: livekit.DataChannelInfo.target:type_name -> livekit.SignalTarget + 2, // 110: livekit.SimulateScenario.switch_candidate_protocol:type_name -> livekit.CandidateProtocol + 55, // 111: livekit.RegionSettings.regions:type_name -> livekit.RegionInfo + 93, // 112: livekit.SubscriptionResponse.err:type_name -> livekit.SubscriptionError + 4, // 113: livekit.RequestResponse.reason:type_name -> livekit.RequestResponse.Reason + 15, // 114: livekit.RequestResponse.trickle:type_name -> livekit.TrickleRequest + 9, // 115: livekit.RequestResponse.add_track:type_name -> livekit.AddTrackRequest + 16, // 116: livekit.RequestResponse.mute:type_name -> livekit.MuteTrackRequest + 32, // 117: livekit.RequestResponse.update_metadata:type_name -> livekit.UpdateParticipantMetadata + 28, // 118: livekit.RequestResponse.update_audio_track:type_name -> livekit.UpdateLocalAudioTrack + 29, // 119: livekit.RequestResponse.update_video_track:type_name -> livekit.UpdateLocalVideoTrack + 10, // 120: livekit.RequestResponse.publish_data_track:type_name -> livekit.PublishDataTrackRequest + 12, // 121: livekit.RequestResponse.unpublish_data_track:type_name -> livekit.UnpublishDataTrackRequest + 25, // 122: livekit.RequestResponse.get_data_track_schema:type_name -> livekit.GetDataTrackSchemaRequest + 94, // 123: livekit.JoinRequest.client_info:type_name -> livekit.ClientInfo + 59, // 124: livekit.JoinRequest.connection_settings:type_name -> livekit.ConnectionSettings + 68, // 125: livekit.JoinRequest.participant_attributes:type_name -> livekit.JoinRequest.ParticipantAttributesEntry + 9, // 126: livekit.JoinRequest.add_track_requests:type_name -> livekit.AddTrackRequest + 21, // 127: livekit.JoinRequest.publisher_offer:type_name -> livekit.SessionDescription + 95, // 128: livekit.JoinRequest.reconnect_reason:type_name -> livekit.ReconnectReason + 48, // 129: livekit.JoinRequest.sync_state:type_name -> livekit.SyncState + 5, // 130: livekit.WrappedJoinRequest.compression:type_name -> livekit.WrappedJoinRequest.Compression + 63, // 131: livekit.DataTrackSubscriberHandles.SubHandlesEntry.value:type_name -> livekit.DataTrackSubscriberHandles.PublishedDataTrack + 96, // 132: livekit.UpdateDataSubscription.Update.options:type_name -> livekit.DataTrackSubscriptionOptions + 133, // [133:133] is the sub-list for method output_type + 133, // [133:133] is the sub-list for method input_type + 133, // [133:133] is the sub-list for extension type_name + 133, // [133:133] is the sub-list for extension extendee + 0, // [0:133] is the sub-list for field type_name } func init() { file_livekit_rtc_proto_init() } @@ -5679,6 +5852,7 @@ func file_livekit_rtc_proto_init() { (*SignalRequest_PublishDataTrackRequest)(nil), (*SignalRequest_UnpublishDataTrackRequest)(nil), (*SignalRequest_UpdateDataSubscription)(nil), + (*SignalRequest_GetDataTrackSchema)(nil), } file_livekit_rtc_proto_msgTypes[1].OneofWrappers = []any{ (*SignalResponse_Join)(nil), @@ -5709,8 +5883,10 @@ func file_livekit_rtc_proto_init() { (*SignalResponse_PublishDataTrackResponse)(nil), (*SignalResponse_UnpublishDataTrackResponse)(nil), (*SignalResponse_DataTrackSubscriberHandles)(nil), + (*SignalResponse_GetDataTrackSchemaResponse)(nil), } - file_livekit_rtc_proto_msgTypes[43].OneofWrappers = []any{ + file_livekit_rtc_proto_msgTypes[4].OneofWrappers = []any{} + file_livekit_rtc_proto_msgTypes[45].OneofWrappers = []any{ (*SimulateScenario_SpeakerUpdate)(nil), (*SimulateScenario_NodeFailure)(nil), (*SimulateScenario_Migration)(nil), @@ -5721,7 +5897,7 @@ func file_livekit_rtc_proto_init() { (*SimulateScenario_DisconnectSignalOnResumeNoMessages)(nil), (*SimulateScenario_LeaveRequestFullReconnect)(nil), } - file_livekit_rtc_proto_msgTypes[49].OneofWrappers = []any{ + file_livekit_rtc_proto_msgTypes[51].OneofWrappers = []any{ (*RequestResponse_Trickle)(nil), (*RequestResponse_AddTrack)(nil), (*RequestResponse_Mute)(nil), @@ -5730,15 +5906,16 @@ func file_livekit_rtc_proto_init() { (*RequestResponse_UpdateVideoTrack)(nil), (*RequestResponse_PublishDataTrack)(nil), (*RequestResponse_UnpublishDataTrack)(nil), + (*RequestResponse_GetDataTrackSchema)(nil), } - file_livekit_rtc_proto_msgTypes[51].OneofWrappers = []any{} + file_livekit_rtc_proto_msgTypes[53].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_rtc_proto_rawDesc), len(file_livekit_rtc_proto_rawDesc)), NumEnums: 6, - NumMessages: 61, + NumMessages: 63, NumExtensions: 0, NumServices: 0, },