From f41570630a992c8011af2eefff7b592c907df3f4 Mon Sep 17 00:00:00 2001 From: David Colburn Date: Tue, 11 Feb 2025 21:34:18 +0700 Subject: [PATCH 1/5] audio mixing options --- infra/link.pb.go | 156 +- infra/link_grpc.pb.go | 77 +- livekit/livekit_agent.pb.go | 664 ++++--- livekit/livekit_agent_dispatch.pb.go | 249 ++- livekit/livekit_analytics.pb.go | 581 ++++-- livekit/livekit_egress.pb.go | 2523 +++++++++++++++----------- livekit/livekit_egress.twirp.go | 393 ++-- livekit/livekit_ingress.pb.go | 527 ++++-- livekit/livekit_internal.pb.go | 189 +- livekit/livekit_metrics.pb.go | 144 +- livekit/livekit_models.pb.go | 1591 ++++++++++------ livekit/livekit_room.pb.go | 632 +++++-- livekit/livekit_rtc.pb.go | 1674 +++++++++++------ livekit/livekit_sip.pb.go | 1127 ++++++++---- livekit/livekit_webhook.pb.go | 53 +- protobufs/livekit_egress.proto | 8 + replay/cloud_replay.pb.go | 2 +- rpc/agent.pb.go | 172 +- rpc/agent_dispatch.pb.go | 14 +- rpc/analytics.pb.go | 14 +- rpc/analytics_grpc.pb.go | 219 ++- rpc/egress.pb.go | 144 +- rpc/ingress.pb.go | 269 ++- rpc/io.pb.go | 342 +++- rpc/keepalive.pb.go | 49 +- rpc/participant.pb.go | 14 +- rpc/room.pb.go | 14 +- rpc/roommanager.pb.go | 14 +- rpc/signal.pb.go | 88 +- rpc/sip.pb.go | 127 +- 30 files changed, 7968 insertions(+), 4102 deletions(-) diff --git a/infra/link.pb.go b/infra/link.pb.go index 2749fa266..a20ba5777 100644 --- a/infra/link.pb.go +++ b/infra/link.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: infra/link.proto package infra @@ -26,7 +26,6 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -37,16 +36,18 @@ const ( ) type WatchLocalLinksRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *WatchLocalLinksRequest) Reset() { *x = WatchLocalLinksRequest{} - mi := &file_infra_link_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_infra_link_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WatchLocalLinksRequest) String() string { @@ -57,7 +58,7 @@ func (*WatchLocalLinksRequest) ProtoMessage() {} func (x *WatchLocalLinksRequest) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -73,23 +74,26 @@ func (*WatchLocalLinksRequest) Descriptor() ([]byte, []int) { } type WatchLocalLinksResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` - RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` - Rtt int64 `protobuf:"varint,3,opt,name=rtt,proto3" json:"rtt,omitempty"` - Jitter int64 `protobuf:"varint,4,opt,name=jitter,proto3" json:"jitter,omitempty"` - PacketLoss float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3" json:"packet_loss,omitempty"` - Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` - LastRead *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_read,json=lastRead,proto3" json:"last_read,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` + RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` + Rtt int64 `protobuf:"varint,3,opt,name=rtt,proto3" json:"rtt,omitempty"` + Jitter int64 `protobuf:"varint,4,opt,name=jitter,proto3" json:"jitter,omitempty"` + PacketLoss float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3" json:"packet_loss,omitempty"` + Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` + LastRead *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_read,json=lastRead,proto3" json:"last_read,omitempty"` } func (x *WatchLocalLinksResponse) Reset() { *x = WatchLocalLinksResponse{} - mi := &file_infra_link_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_infra_link_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WatchLocalLinksResponse) String() string { @@ -100,7 +104,7 @@ func (*WatchLocalLinksResponse) ProtoMessage() {} func (x *WatchLocalLinksResponse) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -165,23 +169,26 @@ func (x *WatchLocalLinksResponse) GetLastRead() *timestamppb.Timestamp { } type SimulateLinkStateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` - RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` - Rtt *int64 `protobuf:"varint,3,opt,name=rtt,proto3,oneof" json:"rtt,omitempty"` - Jitter *int64 `protobuf:"varint,4,opt,name=jitter,proto3,oneof" json:"jitter,omitempty"` - PacketLoss *float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3,oneof" json:"packet_loss,omitempty"` - Disabled *bool `protobuf:"varint,6,opt,name=disabled,proto3,oneof" json:"disabled,omitempty"` - Timeout int64 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` + RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` + Rtt *int64 `protobuf:"varint,3,opt,name=rtt,proto3,oneof" json:"rtt,omitempty"` + Jitter *int64 `protobuf:"varint,4,opt,name=jitter,proto3,oneof" json:"jitter,omitempty"` + PacketLoss *float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3,oneof" json:"packet_loss,omitempty"` + Disabled *bool `protobuf:"varint,6,opt,name=disabled,proto3,oneof" json:"disabled,omitempty"` + Timeout int64 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` } func (x *SimulateLinkStateRequest) Reset() { *x = SimulateLinkStateRequest{} - mi := &file_infra_link_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_infra_link_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulateLinkStateRequest) String() string { @@ -192,7 +199,7 @@ func (*SimulateLinkStateRequest) ProtoMessage() {} func (x *SimulateLinkStateRequest) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -257,16 +264,18 @@ func (x *SimulateLinkStateRequest) GetTimeout() int64 { } type SimulateLinkStateResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *SimulateLinkStateResponse) Reset() { *x = SimulateLinkStateResponse{} - mi := &file_infra_link_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_infra_link_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulateLinkStateResponse) String() string { @@ -277,7 +286,7 @@ func (*SimulateLinkStateResponse) ProtoMessage() {} func (x *SimulateLinkStateResponse) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -294,7 +303,7 @@ func (*SimulateLinkStateResponse) Descriptor() ([]byte, []int) { var File_infra_link_proto protoreflect.FileDescriptor -var file_infra_link_proto_rawDesc = string([]byte{ +var file_infra_link_proto_rawDesc = []byte{ 0x0a, 0x10, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, @@ -351,22 +360,22 @@ var file_infra_link_proto_rawDesc = string([]byte{ 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_infra_link_proto_rawDescOnce sync.Once - file_infra_link_proto_rawDescData []byte + file_infra_link_proto_rawDescData = file_infra_link_proto_rawDesc ) func file_infra_link_proto_rawDescGZIP() []byte { file_infra_link_proto_rawDescOnce.Do(func() { - file_infra_link_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_infra_link_proto_rawDesc), len(file_infra_link_proto_rawDesc))) + file_infra_link_proto_rawDescData = protoimpl.X.CompressGZIP(file_infra_link_proto_rawDescData) }) return file_infra_link_proto_rawDescData } var file_infra_link_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_infra_link_proto_goTypes = []any{ +var file_infra_link_proto_goTypes = []interface{}{ (*WatchLocalLinksRequest)(nil), // 0: rpc.WatchLocalLinksRequest (*WatchLocalLinksResponse)(nil), // 1: rpc.WatchLocalLinksResponse (*SimulateLinkStateRequest)(nil), // 2: rpc.SimulateLinkStateRequest @@ -391,12 +400,62 @@ func file_infra_link_proto_init() { if File_infra_link_proto != nil { return } - file_infra_link_proto_msgTypes[2].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_infra_link_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WatchLocalLinksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_infra_link_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WatchLocalLinksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_infra_link_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SimulateLinkStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_infra_link_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SimulateLinkStateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_infra_link_proto_msgTypes[2].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_infra_link_proto_rawDesc), len(file_infra_link_proto_rawDesc)), + RawDescriptor: file_infra_link_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -407,6 +466,7 @@ func file_infra_link_proto_init() { MessageInfos: file_infra_link_proto_msgTypes, }.Build() File_infra_link_proto = out.File + file_infra_link_proto_rawDesc = nil file_infra_link_proto_goTypes = nil file_infra_link_proto_depIdxs = nil } diff --git a/infra/link_grpc.pb.go b/infra/link_grpc.pb.go index 281cec953..155837771 100644 --- a/infra/link_grpc.pb.go +++ b/infra/link_grpc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.5.1 -// - protoc v4.23.4 +// - protoc-gen-go-grpc v1.3.0 +// - protoc v4.25.3 // source: infra/link.proto package infra @@ -29,8 +29,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.64.0 or later. -const _ = grpc.SupportPackageIsVersion9 +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 const ( Link_WatchLocalLinks_FullMethodName = "/rpc.Link/WatchLocalLinks" @@ -41,7 +41,7 @@ const ( // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type LinkClient interface { - WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchLocalLinksResponse], error) + WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (Link_WatchLocalLinksClient, error) SimulateLinkState(ctx context.Context, in *SimulateLinkStateRequest, opts ...grpc.CallOption) (*SimulateLinkStateResponse, error) } @@ -53,13 +53,12 @@ func NewLinkClient(cc grpc.ClientConnInterface) LinkClient { return &linkClient{cc} } -func (c *linkClient) WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchLocalLinksResponse], error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &Link_ServiceDesc.Streams[0], Link_WatchLocalLinks_FullMethodName, cOpts...) +func (c *linkClient) WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (Link_WatchLocalLinksClient, error) { + stream, err := c.cc.NewStream(ctx, &Link_ServiceDesc.Streams[0], Link_WatchLocalLinks_FullMethodName, opts...) if err != nil { return nil, err } - x := &grpc.GenericClientStream[WatchLocalLinksRequest, WatchLocalLinksResponse]{ClientStream: stream} + x := &linkWatchLocalLinksClient{stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -69,13 +68,26 @@ func (c *linkClient) WatchLocalLinks(ctx context.Context, in *WatchLocalLinksReq return x, nil } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type Link_WatchLocalLinksClient = grpc.ServerStreamingClient[WatchLocalLinksResponse] +type Link_WatchLocalLinksClient interface { + Recv() (*WatchLocalLinksResponse, error) + grpc.ClientStream +} + +type linkWatchLocalLinksClient struct { + grpc.ClientStream +} + +func (x *linkWatchLocalLinksClient) Recv() (*WatchLocalLinksResponse, error) { + m := new(WatchLocalLinksResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} func (c *linkClient) SimulateLinkState(ctx context.Context, in *SimulateLinkStateRequest, opts ...grpc.CallOption) (*SimulateLinkStateResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SimulateLinkStateResponse) - err := c.cc.Invoke(ctx, Link_SimulateLinkState_FullMethodName, in, out, cOpts...) + err := c.cc.Invoke(ctx, Link_SimulateLinkState_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -84,28 +96,24 @@ func (c *linkClient) SimulateLinkState(ctx context.Context, in *SimulateLinkStat // LinkServer is the server API for Link service. // All implementations must embed UnimplementedLinkServer -// for forward compatibility. +// for forward compatibility type LinkServer interface { - WatchLocalLinks(*WatchLocalLinksRequest, grpc.ServerStreamingServer[WatchLocalLinksResponse]) error + WatchLocalLinks(*WatchLocalLinksRequest, Link_WatchLocalLinksServer) error SimulateLinkState(context.Context, *SimulateLinkStateRequest) (*SimulateLinkStateResponse, error) mustEmbedUnimplementedLinkServer() } -// UnimplementedLinkServer must be embedded to have -// forward compatible implementations. -// -// NOTE: this should be embedded by value instead of pointer to avoid a nil -// pointer dereference when methods are called. -type UnimplementedLinkServer struct{} +// UnimplementedLinkServer must be embedded to have forward compatible implementations. +type UnimplementedLinkServer struct { +} -func (UnimplementedLinkServer) WatchLocalLinks(*WatchLocalLinksRequest, grpc.ServerStreamingServer[WatchLocalLinksResponse]) error { +func (UnimplementedLinkServer) WatchLocalLinks(*WatchLocalLinksRequest, Link_WatchLocalLinksServer) error { return status.Errorf(codes.Unimplemented, "method WatchLocalLinks not implemented") } func (UnimplementedLinkServer) SimulateLinkState(context.Context, *SimulateLinkStateRequest) (*SimulateLinkStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SimulateLinkState not implemented") } func (UnimplementedLinkServer) mustEmbedUnimplementedLinkServer() {} -func (UnimplementedLinkServer) testEmbeddedByValue() {} // UnsafeLinkServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to LinkServer will @@ -115,13 +123,6 @@ type UnsafeLinkServer interface { } func RegisterLinkServer(s grpc.ServiceRegistrar, srv LinkServer) { - // If the following call pancis, it indicates UnimplementedLinkServer was - // embedded by pointer and is nil. This will cause panics if an - // unimplemented method is ever invoked, so we test this at initialization - // time to prevent it from happening at runtime later due to I/O. - if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { - t.testEmbeddedByValue() - } s.RegisterService(&Link_ServiceDesc, srv) } @@ -130,11 +131,21 @@ func _Link_WatchLocalLinks_Handler(srv interface{}, stream grpc.ServerStream) er if err := stream.RecvMsg(m); err != nil { return err } - return srv.(LinkServer).WatchLocalLinks(m, &grpc.GenericServerStream[WatchLocalLinksRequest, WatchLocalLinksResponse]{ServerStream: stream}) + return srv.(LinkServer).WatchLocalLinks(m, &linkWatchLocalLinksServer{stream}) +} + +type Link_WatchLocalLinksServer interface { + Send(*WatchLocalLinksResponse) error + grpc.ServerStream } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type Link_WatchLocalLinksServer = grpc.ServerStreamingServer[WatchLocalLinksResponse] +type linkWatchLocalLinksServer struct { + grpc.ServerStream +} + +func (x *linkWatchLocalLinksServer) Send(m *WatchLocalLinksResponse) error { + return x.ServerStream.SendMsg(m) +} func _Link_SimulateLinkState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SimulateLinkStateRequest) diff --git a/livekit/livekit_agent.pb.go b/livekit/livekit_agent.pb.go index 919ee8e7f..b1937d49b 100644 --- a/livekit/livekit_agent.pb.go +++ b/livekit/livekit_agent.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_agent.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -180,26 +179,29 @@ func (JobStatus) EnumDescriptor() ([]byte, []int) { } type Job struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - DispatchId string `protobuf:"bytes,9,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` - Type JobType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` - Room *Room `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` - Participant *ParticipantInfo `protobuf:"bytes,4,opt,name=participant,proto3,oneof" json:"participant,omitempty"` - // Deprecated: Marked as deprecated in livekit_agent.proto. - Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` - Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` - AgentName string `protobuf:"bytes,7,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - State *JobState `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + DispatchId string `protobuf:"bytes,9,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` + Type JobType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` + Room *Room `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` + Participant *ParticipantInfo `protobuf:"bytes,4,opt,name=participant,proto3,oneof" json:"participant,omitempty"` + // Deprecated: Marked as deprecated in livekit_agent.proto. + Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` + Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` + AgentName string `protobuf:"bytes,7,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + State *JobState `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"` } func (x *Job) Reset() { *x = Job{} - mi := &file_livekit_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Job) String() string { @@ -210,7 +212,7 @@ func (*Job) ProtoMessage() {} func (x *Job) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -290,22 +292,25 @@ func (x *Job) GetState() *JobState { } type JobState struct { - state protoimpl.MessageState `protogen:"open.v1"` - Status JobStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.JobStatus" json:"status,omitempty"` - Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - StartedAt int64 `protobuf:"varint,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,4,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - ParticipantIdentity string `protobuf:"bytes,6,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status JobStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.JobStatus" json:"status,omitempty"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` + StartedAt int64 `protobuf:"varint,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,4,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + ParticipantIdentity string `protobuf:"bytes,6,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` } func (x *JobState) Reset() { *x = JobState{} - mi := &file_livekit_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobState) String() string { @@ -316,7 +321,7 @@ func (*JobState) ProtoMessage() {} func (x *JobState) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -375,8 +380,11 @@ func (x *JobState) GetParticipantIdentity() string { // from Worker to Server type WorkerMessage struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Message: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Message: // // *WorkerMessage_Register // *WorkerMessage_Availability @@ -385,16 +393,16 @@ type WorkerMessage struct { // *WorkerMessage_Ping // *WorkerMessage_SimulateJob // *WorkerMessage_MigrateJob - Message isWorkerMessage_Message `protobuf_oneof:"message"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Message isWorkerMessage_Message `protobuf_oneof:"message"` } func (x *WorkerMessage) Reset() { *x = WorkerMessage{} - mi := &file_livekit_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WorkerMessage) String() string { @@ -405,7 +413,7 @@ func (*WorkerMessage) ProtoMessage() {} func (x *WorkerMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -420,72 +428,58 @@ func (*WorkerMessage) Descriptor() ([]byte, []int) { return file_livekit_agent_proto_rawDescGZIP(), []int{2} } -func (x *WorkerMessage) GetMessage() isWorkerMessage_Message { - if x != nil { - return x.Message +func (m *WorkerMessage) GetMessage() isWorkerMessage_Message { + if m != nil { + return m.Message } return nil } func (x *WorkerMessage) GetRegister() *RegisterWorkerRequest { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_Register); ok { - return x.Register - } + if x, ok := x.GetMessage().(*WorkerMessage_Register); ok { + return x.Register } return nil } func (x *WorkerMessage) GetAvailability() *AvailabilityResponse { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_Availability); ok { - return x.Availability - } + if x, ok := x.GetMessage().(*WorkerMessage_Availability); ok { + return x.Availability } return nil } func (x *WorkerMessage) GetUpdateWorker() *UpdateWorkerStatus { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_UpdateWorker); ok { - return x.UpdateWorker - } + if x, ok := x.GetMessage().(*WorkerMessage_UpdateWorker); ok { + return x.UpdateWorker } return nil } func (x *WorkerMessage) GetUpdateJob() *UpdateJobStatus { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_UpdateJob); ok { - return x.UpdateJob - } + if x, ok := x.GetMessage().(*WorkerMessage_UpdateJob); ok { + return x.UpdateJob } return nil } func (x *WorkerMessage) GetPing() *WorkerPing { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_Ping); ok { - return x.Ping - } + if x, ok := x.GetMessage().(*WorkerMessage_Ping); ok { + return x.Ping } return nil } func (x *WorkerMessage) GetSimulateJob() *SimulateJobRequest { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_SimulateJob); ok { - return x.SimulateJob - } + if x, ok := x.GetMessage().(*WorkerMessage_SimulateJob); ok { + return x.SimulateJob } return nil } func (x *WorkerMessage) GetMigrateJob() *MigrateJobRequest { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_MigrateJob); ok { - return x.MigrateJob - } + if x, ok := x.GetMessage().(*WorkerMessage_MigrateJob); ok { + return x.MigrateJob } return nil } @@ -542,24 +536,27 @@ func (*WorkerMessage_MigrateJob) isWorkerMessage_Message() {} // from Server to Worker type ServerMessage struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Message: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Message: // // *ServerMessage_Register // *ServerMessage_Availability // *ServerMessage_Assignment // *ServerMessage_Termination // *ServerMessage_Pong - Message isServerMessage_Message `protobuf_oneof:"message"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Message isServerMessage_Message `protobuf_oneof:"message"` } func (x *ServerMessage) Reset() { *x = ServerMessage{} - mi := &file_livekit_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ServerMessage) String() string { @@ -570,7 +567,7 @@ func (*ServerMessage) ProtoMessage() {} func (x *ServerMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -585,54 +582,44 @@ func (*ServerMessage) Descriptor() ([]byte, []int) { return file_livekit_agent_proto_rawDescGZIP(), []int{3} } -func (x *ServerMessage) GetMessage() isServerMessage_Message { - if x != nil { - return x.Message +func (m *ServerMessage) GetMessage() isServerMessage_Message { + if m != nil { + return m.Message } return nil } func (x *ServerMessage) GetRegister() *RegisterWorkerResponse { - if x != nil { - if x, ok := x.Message.(*ServerMessage_Register); ok { - return x.Register - } + if x, ok := x.GetMessage().(*ServerMessage_Register); ok { + return x.Register } return nil } func (x *ServerMessage) GetAvailability() *AvailabilityRequest { - if x != nil { - if x, ok := x.Message.(*ServerMessage_Availability); ok { - return x.Availability - } + if x, ok := x.GetMessage().(*ServerMessage_Availability); ok { + return x.Availability } return nil } func (x *ServerMessage) GetAssignment() *JobAssignment { - if x != nil { - if x, ok := x.Message.(*ServerMessage_Assignment); ok { - return x.Assignment - } + if x, ok := x.GetMessage().(*ServerMessage_Assignment); ok { + return x.Assignment } return nil } func (x *ServerMessage) GetTermination() *JobTermination { - if x != nil { - if x, ok := x.Message.(*ServerMessage_Termination); ok { - return x.Termination - } + if x, ok := x.GetMessage().(*ServerMessage_Termination); ok { + return x.Termination } return nil } func (x *ServerMessage) GetPong() *WorkerPong { - if x != nil { - if x, ok := x.Message.(*ServerMessage_Pong); ok { - return x.Pong - } + if x, ok := x.GetMessage().(*ServerMessage_Pong); ok { + return x.Pong } return nil } @@ -674,19 +661,22 @@ func (*ServerMessage_Termination) isServerMessage_Message() {} func (*ServerMessage_Pong) isServerMessage_Message() {} type SimulateJobRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` - Room *Room `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` - Participant *ParticipantInfo `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` + Room *Room `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` + Participant *ParticipantInfo `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` } func (x *SimulateJobRequest) Reset() { *x = SimulateJobRequest{} - mi := &file_livekit_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulateJobRequest) String() string { @@ -697,7 +687,7 @@ func (*SimulateJobRequest) ProtoMessage() {} func (x *SimulateJobRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -734,17 +724,20 @@ func (x *SimulateJobRequest) GetParticipant() *ParticipantInfo { } type WorkerPing struct { - state protoimpl.MessageState `protogen:"open.v1"` - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } func (x *WorkerPing) Reset() { *x = WorkerPing{} - mi := &file_livekit_agent_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WorkerPing) String() string { @@ -755,7 +748,7 @@ func (*WorkerPing) ProtoMessage() {} func (x *WorkerPing) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -778,18 +771,21 @@ func (x *WorkerPing) GetTimestamp() int64 { } type WorkerPong struct { - state protoimpl.MessageState `protogen:"open.v1"` - LastTimestamp int64 `protobuf:"varint,1,opt,name=last_timestamp,json=lastTimestamp,proto3" json:"last_timestamp,omitempty"` - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastTimestamp int64 `protobuf:"varint,1,opt,name=last_timestamp,json=lastTimestamp,proto3" json:"last_timestamp,omitempty"` + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } func (x *WorkerPong) Reset() { *x = WorkerPong{} - mi := &file_livekit_agent_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WorkerPong) String() string { @@ -800,7 +796,7 @@ func (*WorkerPong) ProtoMessage() {} func (x *WorkerPong) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -830,24 +826,27 @@ func (x *WorkerPong) GetTimestamp() int64 { } type RegisterWorkerRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` - AgentName string `protobuf:"bytes,8,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` + AgentName string `protobuf:"bytes,8,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` // string worker_id = 2; Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // string name = 4 [deprecated = true]; PingInterval uint32 `protobuf:"varint,5,opt,name=ping_interval,json=pingInterval,proto3" json:"ping_interval,omitempty"` Namespace *string `protobuf:"bytes,6,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` AllowedPermissions *ParticipantPermission `protobuf:"bytes,7,opt,name=allowed_permissions,json=allowedPermissions,proto3" json:"allowed_permissions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *RegisterWorkerRequest) Reset() { *x = RegisterWorkerRequest{} - mi := &file_livekit_agent_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegisterWorkerRequest) String() string { @@ -858,7 +857,7 @@ func (*RegisterWorkerRequest) ProtoMessage() {} func (x *RegisterWorkerRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -916,18 +915,21 @@ func (x *RegisterWorkerRequest) GetAllowedPermissions() *ParticipantPermission { } type RegisterWorkerResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` - ServerInfo *ServerInfo `protobuf:"bytes,3,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` + ServerInfo *ServerInfo `protobuf:"bytes,3,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"` } func (x *RegisterWorkerResponse) Reset() { *x = RegisterWorkerResponse{} - mi := &file_livekit_agent_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegisterWorkerResponse) String() string { @@ -938,7 +940,7 @@ func (*RegisterWorkerResponse) ProtoMessage() {} func (x *RegisterWorkerResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -968,18 +970,21 @@ func (x *RegisterWorkerResponse) GetServerInfo() *ServerInfo { } type MigrateJobRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // string job_id = 1 [deprecated = true]; - JobIds []string `protobuf:"bytes,2,rep,name=job_ids,json=jobIds,proto3" json:"job_ids,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // string job_id = 1 [deprecated = true]; + JobIds []string `protobuf:"bytes,2,rep,name=job_ids,json=jobIds,proto3" json:"job_ids,omitempty"` } func (x *MigrateJobRequest) Reset() { *x = MigrateJobRequest{} - mi := &file_livekit_agent_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MigrateJobRequest) String() string { @@ -990,7 +995,7 @@ func (*MigrateJobRequest) ProtoMessage() {} func (x *MigrateJobRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1013,20 +1018,23 @@ func (x *MigrateJobRequest) GetJobIds() []string { } type AvailabilityRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` // True when the job was previously assigned to another worker but has been // migrated due to different reasons (e.g. worker failure, job migration) - Resuming bool `protobuf:"varint,2,opt,name=resuming,proto3" json:"resuming,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Resuming bool `protobuf:"varint,2,opt,name=resuming,proto3" json:"resuming,omitempty"` } func (x *AvailabilityRequest) Reset() { *x = AvailabilityRequest{} - mi := &file_livekit_agent_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AvailabilityRequest) String() string { @@ -1037,7 +1045,7 @@ func (*AvailabilityRequest) ProtoMessage() {} func (x *AvailabilityRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1067,23 +1075,26 @@ func (x *AvailabilityRequest) GetResuming() bool { } type AvailabilityResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - Available bool `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` - SupportsResume bool `protobuf:"varint,3,opt,name=supports_resume,json=supportsResume,proto3" json:"supports_resume,omitempty"` - ParticipantName string `protobuf:"bytes,4,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` - ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - ParticipantMetadata string `protobuf:"bytes,6,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` - ParticipantAttributes map[string]string `protobuf:"bytes,7,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + Available bool `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` + SupportsResume bool `protobuf:"varint,3,opt,name=supports_resume,json=supportsResume,proto3" json:"supports_resume,omitempty"` + ParticipantName string `protobuf:"bytes,4,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` + ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + ParticipantMetadata string `protobuf:"bytes,6,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` + ParticipantAttributes map[string]string `protobuf:"bytes,7,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *AvailabilityResponse) Reset() { *x = AvailabilityResponse{} - mi := &file_livekit_agent_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AvailabilityResponse) String() string { @@ -1094,7 +1105,7 @@ func (*AvailabilityResponse) ProtoMessage() {} func (x *AvailabilityResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1159,21 +1170,24 @@ func (x *AvailabilityResponse) GetParticipantAttributes() map[string]string { } type UpdateJobStatus struct { - state protoimpl.MessageState `protogen:"open.v1"` - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // The worker can indicate the job end by either specifying SUCCESS or FAILED Status JobStatus `protobuf:"varint,2,opt,name=status,proto3,enum=livekit.JobStatus" json:"status,omitempty"` // metadata shown on the dashboard, useful for debugging - Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` } func (x *UpdateJobStatus) Reset() { *x = UpdateJobStatus{} - mi := &file_livekit_agent_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateJobStatus) String() string { @@ -1184,7 +1198,7 @@ func (*UpdateJobStatus) ProtoMessage() {} func (x *UpdateJobStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1221,20 +1235,23 @@ func (x *UpdateJobStatus) GetError() string { } type UpdateWorkerStatus struct { - state protoimpl.MessageState `protogen:"open.v1"` - Status *WorkerStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.WorkerStatus,oneof" json:"status,omitempty"` - // optional string metadata = 2 [deprecated=true]; - Load float32 `protobuf:"fixed32,3,opt,name=load,proto3" json:"load,omitempty"` - JobCount uint32 `protobuf:"varint,4,opt,name=job_count,json=jobCount,proto3" json:"job_count,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status *WorkerStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.WorkerStatus,oneof" json:"status,omitempty"` + // optional string metadata = 2 [deprecated=true]; + Load float32 `protobuf:"fixed32,3,opt,name=load,proto3" json:"load,omitempty"` + JobCount uint32 `protobuf:"varint,4,opt,name=job_count,json=jobCount,proto3" json:"job_count,omitempty"` } func (x *UpdateWorkerStatus) Reset() { *x = UpdateWorkerStatus{} - mi := &file_livekit_agent_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateWorkerStatus) String() string { @@ -1245,7 +1262,7 @@ func (*UpdateWorkerStatus) ProtoMessage() {} func (x *UpdateWorkerStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1282,19 +1299,22 @@ func (x *UpdateWorkerStatus) GetJobCount() uint32 { } type JobAssignment struct { - state protoimpl.MessageState `protogen:"open.v1"` - Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` - Url *string `protobuf:"bytes,2,opt,name=url,proto3,oneof" json:"url,omitempty"` - Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` + Url *string `protobuf:"bytes,2,opt,name=url,proto3,oneof" json:"url,omitempty"` + Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` } func (x *JobAssignment) Reset() { *x = JobAssignment{} - mi := &file_livekit_agent_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobAssignment) String() string { @@ -1305,7 +1325,7 @@ func (*JobAssignment) ProtoMessage() {} func (x *JobAssignment) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1342,17 +1362,20 @@ func (x *JobAssignment) GetToken() string { } type JobTermination struct { - state protoimpl.MessageState `protogen:"open.v1"` - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` } func (x *JobTermination) Reset() { *x = JobTermination{} - mi := &file_livekit_agent_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobTermination) String() string { @@ -1363,7 +1386,7 @@ func (*JobTermination) ProtoMessage() {} func (x *JobTermination) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1387,7 +1410,7 @@ func (x *JobTermination) GetJobId() string { var File_livekit_agent_proto protoreflect.FileDescriptor -var file_livekit_agent_proto_rawDesc = string([]byte{ +var file_livekit_agent_proto_rawDesc = []byte{ 0x0a, 0x13, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, @@ -1594,23 +1617,23 @@ var file_livekit_agent_proto_rawDesc = string([]byte{ 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_agent_proto_rawDescOnce sync.Once - file_livekit_agent_proto_rawDescData []byte + file_livekit_agent_proto_rawDescData = file_livekit_agent_proto_rawDesc ) func file_livekit_agent_proto_rawDescGZIP() []byte { file_livekit_agent_proto_rawDescOnce.Do(func() { - file_livekit_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_agent_proto_rawDesc), len(file_livekit_agent_proto_rawDesc))) + file_livekit_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_agent_proto_rawDescData) }) return file_livekit_agent_proto_rawDescData } var file_livekit_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_livekit_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_livekit_agent_proto_goTypes = []any{ +var file_livekit_agent_proto_goTypes = []interface{}{ (JobType)(0), // 0: livekit.JobType (WorkerStatus)(0), // 1: livekit.WorkerStatus (JobStatus)(0), // 2: livekit.JobStatus @@ -1678,8 +1701,202 @@ func file_livekit_agent_proto_init() { return } file_livekit_models_proto_init() - file_livekit_agent_proto_msgTypes[0].OneofWrappers = []any{} - file_livekit_agent_proto_msgTypes[2].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Job); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkerMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SimulateJobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkerPing); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkerPong); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterWorkerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterWorkerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MigrateJobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvailabilityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvailabilityResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateJobStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateWorkerStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobAssignment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobTermination); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_agent_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_livekit_agent_proto_msgTypes[2].OneofWrappers = []interface{}{ (*WorkerMessage_Register)(nil), (*WorkerMessage_Availability)(nil), (*WorkerMessage_UpdateWorker)(nil), @@ -1688,21 +1905,21 @@ func file_livekit_agent_proto_init() { (*WorkerMessage_SimulateJob)(nil), (*WorkerMessage_MigrateJob)(nil), } - file_livekit_agent_proto_msgTypes[3].OneofWrappers = []any{ + file_livekit_agent_proto_msgTypes[3].OneofWrappers = []interface{}{ (*ServerMessage_Register)(nil), (*ServerMessage_Availability)(nil), (*ServerMessage_Assignment)(nil), (*ServerMessage_Termination)(nil), (*ServerMessage_Pong)(nil), } - file_livekit_agent_proto_msgTypes[7].OneofWrappers = []any{} - file_livekit_agent_proto_msgTypes[13].OneofWrappers = []any{} - file_livekit_agent_proto_msgTypes[14].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[7].OneofWrappers = []interface{}{} + file_livekit_agent_proto_msgTypes[13].OneofWrappers = []interface{}{} + file_livekit_agent_proto_msgTypes[14].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_agent_proto_rawDesc), len(file_livekit_agent_proto_rawDesc)), + RawDescriptor: file_livekit_agent_proto_rawDesc, NumEnums: 3, NumMessages: 17, NumExtensions: 0, @@ -1714,6 +1931,7 @@ func file_livekit_agent_proto_init() { MessageInfos: file_livekit_agent_proto_msgTypes, }.Build() File_livekit_agent_proto = out.File + file_livekit_agent_proto_rawDesc = nil file_livekit_agent_proto_goTypes = nil file_livekit_agent_proto_depIdxs = nil } diff --git a/livekit/livekit_agent_dispatch.pb.go b/livekit/livekit_agent_dispatch.pb.go index e0218f944..8314df751 100644 --- a/livekit/livekit_agent_dispatch.pb.go +++ b/livekit/livekit_agent_dispatch.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_agent_dispatch.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -36,19 +35,22 @@ const ( ) type CreateAgentDispatchRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` - Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` + Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *CreateAgentDispatchRequest) Reset() { *x = CreateAgentDispatchRequest{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateAgentDispatchRequest) String() string { @@ -59,7 +61,7 @@ func (*CreateAgentDispatchRequest) ProtoMessage() {} func (x *CreateAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -96,18 +98,21 @@ func (x *CreateAgentDispatchRequest) GetMetadata() string { } type RoomAgentDispatch struct { - state protoimpl.MessageState `protogen:"open.v1"` - AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *RoomAgentDispatch) Reset() { *x = RoomAgentDispatch{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomAgentDispatch) String() string { @@ -118,7 +123,7 @@ func (*RoomAgentDispatch) ProtoMessage() {} func (x *RoomAgentDispatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -148,18 +153,21 @@ func (x *RoomAgentDispatch) GetMetadata() string { } type DeleteAgentDispatchRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` - Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` + Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` } func (x *DeleteAgentDispatchRequest) Reset() { *x = DeleteAgentDispatchRequest{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteAgentDispatchRequest) String() string { @@ -170,7 +178,7 @@ func (*DeleteAgentDispatchRequest) ProtoMessage() {} func (x *DeleteAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -200,18 +208,21 @@ func (x *DeleteAgentDispatchRequest) GetRoom() string { } type ListAgentDispatchRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` // if set, only the dispatch whose id is given will be returned - Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` // name of the room to list agents for. Must be set. - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` // if set, only the dispatch whose id is given will be returned + Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` // name of the room to list agents for. Must be set. } func (x *ListAgentDispatchRequest) Reset() { *x = ListAgentDispatchRequest{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListAgentDispatchRequest) String() string { @@ -222,7 +233,7 @@ func (*ListAgentDispatchRequest) ProtoMessage() {} func (x *ListAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -252,17 +263,20 @@ func (x *ListAgentDispatchRequest) GetRoom() string { } type ListAgentDispatchResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - AgentDispatches []*AgentDispatch `protobuf:"bytes,1,rep,name=agent_dispatches,json=agentDispatches,proto3" json:"agent_dispatches,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AgentDispatches []*AgentDispatch `protobuf:"bytes,1,rep,name=agent_dispatches,json=agentDispatches,proto3" json:"agent_dispatches,omitempty"` } func (x *ListAgentDispatchResponse) Reset() { *x = ListAgentDispatchResponse{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListAgentDispatchResponse) String() string { @@ -273,7 +287,7 @@ func (*ListAgentDispatchResponse) ProtoMessage() {} func (x *ListAgentDispatchResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -296,21 +310,24 @@ func (x *ListAgentDispatchResponse) GetAgentDispatches() []*AgentDispatch { } type AgentDispatch struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - Room string `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` - Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` - State *AgentDispatchState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + Room string `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` + Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` + State *AgentDispatchState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` } func (x *AgentDispatch) Reset() { *x = AgentDispatch{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AgentDispatch) String() string { @@ -321,7 +338,7 @@ func (*AgentDispatch) ProtoMessage() {} func (x *AgentDispatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -372,21 +389,24 @@ func (x *AgentDispatch) GetState() *AgentDispatchState { } type AgentDispatchState struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // For dispatches of tyoe JT_ROOM, there will be at most 1 job. // For dispatches of type JT_PUBLISHER, there will be 1 per publisher. - Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - DeletedAt int64 `protobuf:"varint,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + DeletedAt int64 `protobuf:"varint,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` } func (x *AgentDispatchState) Reset() { *x = AgentDispatchState{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AgentDispatchState) String() string { @@ -397,7 +417,7 @@ func (*AgentDispatchState) ProtoMessage() {} func (x *AgentDispatchState) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -435,7 +455,7 @@ func (x *AgentDispatchState) GetDeletedAt() int64 { var File_livekit_agent_dispatch_proto protoreflect.FileDescriptor -var file_livekit_agent_dispatch_proto_rawDesc = string([]byte{ +var file_livekit_agent_dispatch_proto_rawDesc = []byte{ 0x0a, 0x1c, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x13, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, @@ -508,22 +528,22 @@ var file_livekit_agent_dispatch_proto_rawDesc = string([]byte{ 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_agent_dispatch_proto_rawDescOnce sync.Once - file_livekit_agent_dispatch_proto_rawDescData []byte + file_livekit_agent_dispatch_proto_rawDescData = file_livekit_agent_dispatch_proto_rawDesc ) func file_livekit_agent_dispatch_proto_rawDescGZIP() []byte { file_livekit_agent_dispatch_proto_rawDescOnce.Do(func() { - file_livekit_agent_dispatch_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_agent_dispatch_proto_rawDesc), len(file_livekit_agent_dispatch_proto_rawDesc))) + file_livekit_agent_dispatch_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_agent_dispatch_proto_rawDescData) }) return file_livekit_agent_dispatch_proto_rawDescData } var file_livekit_agent_dispatch_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_livekit_agent_dispatch_proto_goTypes = []any{ +var file_livekit_agent_dispatch_proto_goTypes = []interface{}{ (*CreateAgentDispatchRequest)(nil), // 0: livekit.CreateAgentDispatchRequest (*RoomAgentDispatch)(nil), // 1: livekit.RoomAgentDispatch (*DeleteAgentDispatchRequest)(nil), // 2: livekit.DeleteAgentDispatchRequest @@ -556,11 +576,97 @@ func file_livekit_agent_dispatch_proto_init() { return } file_livekit_agent_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_agent_dispatch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateAgentDispatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomAgentDispatch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteAgentDispatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAgentDispatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAgentDispatchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AgentDispatch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AgentDispatchState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_agent_dispatch_proto_rawDesc), len(file_livekit_agent_dispatch_proto_rawDesc)), + RawDescriptor: file_livekit_agent_dispatch_proto_rawDesc, NumEnums: 0, NumMessages: 7, NumExtensions: 0, @@ -571,6 +677,7 @@ func file_livekit_agent_dispatch_proto_init() { MessageInfos: file_livekit_agent_dispatch_proto_msgTypes, }.Build() File_livekit_agent_dispatch_proto = out.File + file_livekit_agent_dispatch_proto_rawDesc = nil file_livekit_agent_dispatch_proto_goTypes = nil file_livekit_agent_dispatch_proto_depIdxs = nil } diff --git a/livekit/livekit_analytics.pb.go b/livekit/livekit_analytics.pb.go index ad196bb60..6a56aafb1 100644 --- a/livekit/livekit_analytics.pb.go +++ b/livekit/livekit_analytics.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_analytics.proto package livekit @@ -26,7 +26,6 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -289,20 +288,23 @@ func (FeatureUsageInfo_Feature) EnumDescriptor() ([]byte, []int) { } type AnalyticsVideoLayer struct { - state protoimpl.MessageState `protogen:"open.v1"` - Layer int32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` - Packets uint32 `protobuf:"varint,2,opt,name=packets,proto3" json:"packets,omitempty"` - Bytes uint64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"` - Frames uint32 `protobuf:"varint,4,opt,name=frames,proto3" json:"frames,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Layer int32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` + Packets uint32 `protobuf:"varint,2,opt,name=packets,proto3" json:"packets,omitempty"` + Bytes uint64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"` + Frames uint32 `protobuf:"varint,4,opt,name=frames,proto3" json:"frames,omitempty"` } func (x *AnalyticsVideoLayer) Reset() { *x = AnalyticsVideoLayer{} - mi := &file_livekit_analytics_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsVideoLayer) String() string { @@ -313,7 +315,7 @@ func (*AnalyticsVideoLayer) ProtoMessage() {} func (x *AnalyticsVideoLayer) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -357,7 +359,10 @@ func (x *AnalyticsVideoLayer) GetFrames() uint32 { } type AnalyticsStream struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Ssrc uint32 `protobuf:"varint,1,opt,name=ssrc,proto3" json:"ssrc,omitempty"` PrimaryPackets uint32 `protobuf:"varint,2,opt,name=primary_packets,json=primaryPackets,proto3" json:"primary_packets,omitempty"` PrimaryBytes uint64 `protobuf:"varint,3,opt,name=primary_bytes,json=primaryBytes,proto3" json:"primary_bytes,omitempty"` @@ -376,15 +381,15 @@ type AnalyticsStream struct { StartTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` PacketsOutOfOrder uint32 `protobuf:"varint,19,opt,name=packets_out_of_order,json=packetsOutOfOrder,proto3" json:"packets_out_of_order,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AnalyticsStream) Reset() { *x = AnalyticsStream{} - mi := &file_livekit_analytics_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsStream) String() string { @@ -395,7 +400,7 @@ func (*AnalyticsStream) ProtoMessage() {} func (x *AnalyticsStream) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -537,7 +542,10 @@ func (x *AnalyticsStream) GetPacketsOutOfOrder() uint32 { } type AnalyticsStat struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // unique id for this stat Id string `protobuf:"bytes,14,opt,name=id,proto3" json:"id,omitempty"` AnalyticsKey string `protobuf:"bytes,1,opt,name=analytics_key,json=analyticsKey,proto3" json:"analytics_key,omitempty"` @@ -553,15 +561,15 @@ type AnalyticsStat struct { Mime string `protobuf:"bytes,11,opt,name=mime,proto3" json:"mime,omitempty"` MinScore float32 `protobuf:"fixed32,12,opt,name=min_score,json=minScore,proto3" json:"min_score,omitempty"` MedianScore float32 `protobuf:"fixed32,13,opt,name=median_score,json=medianScore,proto3" json:"median_score,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AnalyticsStat) Reset() { *x = AnalyticsStat{} - mi := &file_livekit_analytics_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsStat) String() string { @@ -572,7 +580,7 @@ func (*AnalyticsStat) ProtoMessage() {} func (x *AnalyticsStat) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -686,17 +694,20 @@ func (x *AnalyticsStat) GetMedianScore() float32 { } type AnalyticsStats struct { - state protoimpl.MessageState `protogen:"open.v1"` - Stats []*AnalyticsStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Stats []*AnalyticsStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` } func (x *AnalyticsStats) Reset() { *x = AnalyticsStats{} - mi := &file_livekit_analytics_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsStats) String() string { @@ -707,7 +718,7 @@ func (*AnalyticsStats) ProtoMessage() {} func (x *AnalyticsStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -730,26 +741,29 @@ func (x *AnalyticsStats) GetStats() []*AnalyticsStat { } type AnalyticsClientMeta struct { - state protoimpl.MessageState `protogen:"open.v1"` - Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` - Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` - ClientAddr string `protobuf:"bytes,3,opt,name=client_addr,json=clientAddr,proto3" json:"client_addr,omitempty"` - ClientConnectTime uint32 `protobuf:"varint,4,opt,name=client_connect_time,json=clientConnectTime,proto3" json:"client_connect_time,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` + Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` + ClientAddr string `protobuf:"bytes,3,opt,name=client_addr,json=clientAddr,proto3" json:"client_addr,omitempty"` + ClientConnectTime uint32 `protobuf:"varint,4,opt,name=client_connect_time,json=clientConnectTime,proto3" json:"client_connect_time,omitempty"` // udp, tcp, turn ConnectionType string `protobuf:"bytes,5,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"` ReconnectReason ReconnectReason `protobuf:"varint,6,opt,name=reconnect_reason,json=reconnectReason,proto3,enum=livekit.ReconnectReason" json:"reconnect_reason,omitempty"` GeoHash *string `protobuf:"bytes,7,opt,name=geo_hash,json=geoHash,proto3,oneof" json:"geo_hash,omitempty"` Country *string `protobuf:"bytes,8,opt,name=country,proto3,oneof" json:"country,omitempty"` IspAsn *uint32 `protobuf:"varint,9,opt,name=isp_asn,json=ispAsn,proto3,oneof" json:"isp_asn,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AnalyticsClientMeta) Reset() { *x = AnalyticsClientMeta{} - mi := &file_livekit_analytics_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsClientMeta) String() string { @@ -760,7 +774,7 @@ func (*AnalyticsClientMeta) ProtoMessage() {} func (x *AnalyticsClientMeta) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -839,7 +853,10 @@ func (x *AnalyticsClientMeta) GetIspAsn() uint32 { } type AnalyticsEvent struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // unique id for this event Id string `protobuf:"bytes,25,opt,name=id,proto3" json:"id,omitempty"` Type AnalyticsEventType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.AnalyticsEventType" json:"type,omitempty"` @@ -873,15 +890,15 @@ type AnalyticsEvent struct { SipDispatchRule *SIPDispatchRuleInfo `protobuf:"bytes,32,opt,name=sip_dispatch_rule,json=sipDispatchRule,proto3" json:"sip_dispatch_rule,omitempty"` Report *ReportInfo `protobuf:"bytes,33,opt,name=report,proto3" json:"report,omitempty"` ApiCall *APICallInfo `protobuf:"bytes,34,opt,name=api_call,json=apiCall,proto3" json:"api_call,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AnalyticsEvent) Reset() { *x = AnalyticsEvent{} - mi := &file_livekit_analytics_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsEvent) String() string { @@ -892,7 +909,7 @@ func (*AnalyticsEvent) ProtoMessage() {} func (x *AnalyticsEvent) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1132,17 +1149,20 @@ func (x *AnalyticsEvent) GetApiCall() *APICallInfo { } type AnalyticsEvents struct { - state protoimpl.MessageState `protogen:"open.v1"` - Events []*AnalyticsEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Events []*AnalyticsEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` } func (x *AnalyticsEvents) Reset() { *x = AnalyticsEvents{} - mi := &file_livekit_analytics_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsEvents) String() string { @@ -1153,7 +1173,7 @@ func (*AnalyticsEvents) ProtoMessage() {} func (x *AnalyticsEvents) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1176,21 +1196,24 @@ func (x *AnalyticsEvents) GetEvents() []*AnalyticsEvent { } type AnalyticsRoomParticipant struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - State ParticipantInfo_State `protobuf:"varint,4,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` - JoinedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + State ParticipantInfo_State `protobuf:"varint,4,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` + JoinedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` } func (x *AnalyticsRoomParticipant) Reset() { *x = AnalyticsRoomParticipant{} - mi := &file_livekit_analytics_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsRoomParticipant) String() string { @@ -1201,7 +1224,7 @@ func (*AnalyticsRoomParticipant) ProtoMessage() {} func (x *AnalyticsRoomParticipant) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1252,21 +1275,24 @@ func (x *AnalyticsRoomParticipant) GetJoinedAt() *timestamppb.Timestamp { } type AnalyticsRoom struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - Participants []*AnalyticsRoomParticipant `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + Participants []*AnalyticsRoomParticipant `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"` } func (x *AnalyticsRoom) Reset() { *x = AnalyticsRoom{} - mi := &file_livekit_analytics_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsRoom) String() string { @@ -1277,7 +1303,7 @@ func (*AnalyticsRoom) ProtoMessage() {} func (x *AnalyticsRoom) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1328,20 +1354,23 @@ func (x *AnalyticsRoom) GetParticipants() []*AnalyticsRoomParticipant { } type AnalyticsNodeRooms struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` SequenceNumber uint64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Rooms []*AnalyticsRoom `protobuf:"bytes,4,rep,name=rooms,proto3" json:"rooms,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AnalyticsNodeRooms) Reset() { *x = AnalyticsNodeRooms{} - mi := &file_livekit_analytics_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsNodeRooms) String() string { @@ -1352,7 +1381,7 @@ func (*AnalyticsNodeRooms) ProtoMessage() {} func (x *AnalyticsNodeRooms) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1396,20 +1425,23 @@ func (x *AnalyticsNodeRooms) GetRooms() []*AnalyticsRoom { } type ReportInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Message: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Message: // // *ReportInfo_FeatureUsage - Message isReportInfo_Message `protobuf_oneof:"message"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Message isReportInfo_Message `protobuf_oneof:"message"` } func (x *ReportInfo) Reset() { *x = ReportInfo{} - mi := &file_livekit_analytics_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ReportInfo) String() string { @@ -1420,7 +1452,7 @@ func (*ReportInfo) ProtoMessage() {} func (x *ReportInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1435,18 +1467,16 @@ func (*ReportInfo) Descriptor() ([]byte, []int) { return file_livekit_analytics_proto_rawDescGZIP(), []int{10} } -func (x *ReportInfo) GetMessage() isReportInfo_Message { - if x != nil { - return x.Message +func (m *ReportInfo) GetMessage() isReportInfo_Message { + if m != nil { + return m.Message } return nil } func (x *ReportInfo) GetFeatureUsage() *FeatureUsageInfo { - if x != nil { - if x, ok := x.Message.(*ReportInfo_FeatureUsage); ok { - return x.FeatureUsage - } + if x, ok := x.GetMessage().(*ReportInfo_FeatureUsage); ok { + return x.FeatureUsage } return nil } @@ -1462,18 +1492,21 @@ type ReportInfo_FeatureUsage struct { func (*ReportInfo_FeatureUsage) isReportInfo_Message() {} type TimeRange struct { - state protoimpl.MessageState `protogen:"open.v1"` - StartedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` } func (x *TimeRange) Reset() { *x = TimeRange{} - mi := &file_livekit_analytics_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TimeRange) String() string { @@ -1484,7 +1517,7 @@ func (*TimeRange) ProtoMessage() {} func (x *TimeRange) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1514,7 +1547,10 @@ func (x *TimeRange) GetEndedAt() *timestamppb.Timestamp { } type FeatureUsageInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Feature FeatureUsageInfo_Feature `protobuf:"varint,1,opt,name=feature,proto3,enum=livekit.FeatureUsageInfo_Feature" json:"feature,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` @@ -1525,16 +1561,16 @@ type FeatureUsageInfo struct { // time ranges during which the feature was enabled. // for e. g., noise cancellation may not be applied when a media track is paused/muted, // this allows reporting only periods during which a feature is avtive. - TimeRanges []*TimeRange `protobuf:"bytes,8,rep,name=time_ranges,json=timeRanges,proto3" json:"time_ranges,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + TimeRanges []*TimeRange `protobuf:"bytes,8,rep,name=time_ranges,json=timeRanges,proto3" json:"time_ranges,omitempty"` } func (x *FeatureUsageInfo) Reset() { *x = FeatureUsageInfo{} - mi := &file_livekit_analytics_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FeatureUsageInfo) String() string { @@ -1545,7 +1581,7 @@ func (*FeatureUsageInfo) ProtoMessage() {} func (x *FeatureUsageInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1617,8 +1653,11 @@ func (x *FeatureUsageInfo) GetTimeRanges() []*TimeRange { } type APICallRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Message: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Message: // // *APICallRequest_CreateRoomRequest // *APICallRequest_ListRoomsRequest @@ -1630,16 +1669,16 @@ type APICallRequest struct { // *APICallRequest_UpdateSubscriptionsRequest // *APICallRequest_SendDataRequest // *APICallRequest_UpdateRoomMetadataRequest - Message isAPICallRequest_Message `protobuf_oneof:"message"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Message isAPICallRequest_Message `protobuf_oneof:"message"` } func (x *APICallRequest) Reset() { *x = APICallRequest{} - mi := &file_livekit_analytics_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *APICallRequest) String() string { @@ -1650,7 +1689,7 @@ func (*APICallRequest) ProtoMessage() {} func (x *APICallRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1665,99 +1704,79 @@ func (*APICallRequest) Descriptor() ([]byte, []int) { return file_livekit_analytics_proto_rawDescGZIP(), []int{13} } -func (x *APICallRequest) GetMessage() isAPICallRequest_Message { - if x != nil { - return x.Message +func (m *APICallRequest) GetMessage() isAPICallRequest_Message { + if m != nil { + return m.Message } return nil } func (x *APICallRequest) GetCreateRoomRequest() *CreateRoomRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_CreateRoomRequest); ok { - return x.CreateRoomRequest - } + if x, ok := x.GetMessage().(*APICallRequest_CreateRoomRequest); ok { + return x.CreateRoomRequest } return nil } func (x *APICallRequest) GetListRoomsRequest() *ListRoomsRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_ListRoomsRequest); ok { - return x.ListRoomsRequest - } + if x, ok := x.GetMessage().(*APICallRequest_ListRoomsRequest); ok { + return x.ListRoomsRequest } return nil } func (x *APICallRequest) GetDeleteRoomRequest() *DeleteRoomRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_DeleteRoomRequest); ok { - return x.DeleteRoomRequest - } + if x, ok := x.GetMessage().(*APICallRequest_DeleteRoomRequest); ok { + return x.DeleteRoomRequest } return nil } func (x *APICallRequest) GetListParticipantsRequest() *ListParticipantsRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_ListParticipantsRequest); ok { - return x.ListParticipantsRequest - } + if x, ok := x.GetMessage().(*APICallRequest_ListParticipantsRequest); ok { + return x.ListParticipantsRequest } return nil } func (x *APICallRequest) GetRoomParticipantIdentity() *RoomParticipantIdentity { - if x != nil { - if x, ok := x.Message.(*APICallRequest_RoomParticipantIdentity); ok { - return x.RoomParticipantIdentity - } + if x, ok := x.GetMessage().(*APICallRequest_RoomParticipantIdentity); ok { + return x.RoomParticipantIdentity } return nil } func (x *APICallRequest) GetMuteRoomTrackRequest() *MuteRoomTrackRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_MuteRoomTrackRequest); ok { - return x.MuteRoomTrackRequest - } + if x, ok := x.GetMessage().(*APICallRequest_MuteRoomTrackRequest); ok { + return x.MuteRoomTrackRequest } return nil } func (x *APICallRequest) GetUpdateParticipantRequest() *UpdateParticipantRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_UpdateParticipantRequest); ok { - return x.UpdateParticipantRequest - } + if x, ok := x.GetMessage().(*APICallRequest_UpdateParticipantRequest); ok { + return x.UpdateParticipantRequest } return nil } func (x *APICallRequest) GetUpdateSubscriptionsRequest() *UpdateSubscriptionsRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_UpdateSubscriptionsRequest); ok { - return x.UpdateSubscriptionsRequest - } + if x, ok := x.GetMessage().(*APICallRequest_UpdateSubscriptionsRequest); ok { + return x.UpdateSubscriptionsRequest } return nil } func (x *APICallRequest) GetSendDataRequest() *SendDataRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_SendDataRequest); ok { - return x.SendDataRequest - } + if x, ok := x.GetMessage().(*APICallRequest_SendDataRequest); ok { + return x.SendDataRequest } return nil } func (x *APICallRequest) GetUpdateRoomMetadataRequest() *UpdateRoomMetadataRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_UpdateRoomMetadataRequest); ok { - return x.UpdateRoomMetadataRequest - } + if x, ok := x.GetMessage().(*APICallRequest_UpdateRoomMetadataRequest); ok { + return x.UpdateRoomMetadataRequest } return nil } @@ -1827,7 +1846,10 @@ func (*APICallRequest_SendDataRequest) isAPICallRequest_Message() {} func (*APICallRequest_UpdateRoomMetadataRequest) isAPICallRequest_Message() {} type APICallInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Request *APICallRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` @@ -1843,15 +1865,15 @@ type APICallInfo struct { TrackId string `protobuf:"bytes,13,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` StartedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` DurationNs int64 `protobuf:"varint,15,opt,name=duration_ns,json=durationNs,proto3" json:"duration_ns,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *APICallInfo) Reset() { *x = APICallInfo{} - mi := &file_livekit_analytics_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *APICallInfo) String() string { @@ -1862,7 +1884,7 @@ func (*APICallInfo) ProtoMessage() {} func (x *APICallInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1984,7 +2006,7 @@ func (x *APICallInfo) GetDurationNs() int64 { var File_livekit_analytics_proto protoreflect.FileDescriptor -var file_livekit_analytics_proto_rawDesc = string([]byte{ +var file_livekit_analytics_proto_rawDesc = []byte{ 0x0a, 0x17, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -2437,23 +2459,23 @@ var file_livekit_analytics_proto_rawDesc = string([]byte{ 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_analytics_proto_rawDescOnce sync.Once - file_livekit_analytics_proto_rawDescData []byte + file_livekit_analytics_proto_rawDescData = file_livekit_analytics_proto_rawDesc ) func file_livekit_analytics_proto_rawDescGZIP() []byte { file_livekit_analytics_proto_rawDescOnce.Do(func() { - file_livekit_analytics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_analytics_proto_rawDesc), len(file_livekit_analytics_proto_rawDesc))) + file_livekit_analytics_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_analytics_proto_rawDescData) }) return file_livekit_analytics_proto_rawDescData } var file_livekit_analytics_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_livekit_analytics_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_livekit_analytics_proto_goTypes = []any{ +var file_livekit_analytics_proto_goTypes = []interface{}{ (StreamType)(0), // 0: livekit.StreamType (AnalyticsEventType)(0), // 1: livekit.AnalyticsEventType (FeatureUsageInfo_Feature)(0), // 2: livekit.FeatureUsageInfo.Feature @@ -2566,11 +2588,193 @@ func file_livekit_analytics_proto_init() { file_livekit_ingress_proto_init() file_livekit_sip_proto_init() file_livekit_room_proto_init() - file_livekit_analytics_proto_msgTypes[4].OneofWrappers = []any{} - file_livekit_analytics_proto_msgTypes[10].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_analytics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsVideoLayer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsStream); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsStat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsClientMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsEvents); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsRoomParticipant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsRoom); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsNodeRooms); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReportInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FeatureUsageInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APICallRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APICallInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_analytics_proto_msgTypes[4].OneofWrappers = []interface{}{} + file_livekit_analytics_proto_msgTypes[10].OneofWrappers = []interface{}{ (*ReportInfo_FeatureUsage)(nil), } - file_livekit_analytics_proto_msgTypes[13].OneofWrappers = []any{ + file_livekit_analytics_proto_msgTypes[13].OneofWrappers = []interface{}{ (*APICallRequest_CreateRoomRequest)(nil), (*APICallRequest_ListRoomsRequest)(nil), (*APICallRequest_DeleteRoomRequest)(nil), @@ -2586,7 +2790,7 @@ func file_livekit_analytics_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_analytics_proto_rawDesc), len(file_livekit_analytics_proto_rawDesc)), + RawDescriptor: file_livekit_analytics_proto_rawDesc, NumEnums: 3, NumMessages: 15, NumExtensions: 0, @@ -2598,6 +2802,7 @@ func file_livekit_analytics_proto_init() { MessageInfos: file_livekit_analytics_proto_msgTypes, }.Build() File_livekit_analytics_proto = out.File + file_livekit_analytics_proto_rawDesc = nil file_livekit_analytics_proto_goTypes = nil file_livekit_analytics_proto_depIdxs = nil } diff --git a/livekit/livekit_egress.pb.go b/livekit/livekit_egress.pb.go index 9da778729..d3942cf0f 100644 --- a/livekit/livekit_egress.pb.go +++ b/livekit/livekit_egress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_egress.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -271,6 +270,58 @@ func (StreamProtocol) EnumDescriptor() ([]byte, []int) { return file_livekit_egress_proto_rawDescGZIP(), []int{4} } +type AudioMixing int32 + +const ( + AudioMixing_DEFAULT_MIXING AudioMixing = 0 // all users are mixed together + AudioMixing_DUAL_CHANNEL_AGENT AudioMixing = 1 // agent audio in the left channel, all other audio in the right channel + AudioMixing_DUAL_CHANNEL_ALTERNATE AudioMixing = 2 // each new audio track alternates between left and right channels + AudioMixing_MULTI_CHANNEL AudioMixing = 3 // every audio track is mixed into a new channel, max 255 channels +) + +// Enum value maps for AudioMixing. +var ( + AudioMixing_name = map[int32]string{ + 0: "DEFAULT_MIXING", + 1: "DUAL_CHANNEL_AGENT", + 2: "DUAL_CHANNEL_ALTERNATE", + 3: "MULTI_CHANNEL", + } + AudioMixing_value = map[string]int32{ + "DEFAULT_MIXING": 0, + "DUAL_CHANNEL_AGENT": 1, + "DUAL_CHANNEL_ALTERNATE": 2, + "MULTI_CHANNEL": 3, + } +) + +func (x AudioMixing) Enum() *AudioMixing { + p := new(AudioMixing) + *p = x + return p +} + +func (x AudioMixing) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AudioMixing) Descriptor() protoreflect.EnumDescriptor { + return file_livekit_egress_proto_enumTypes[5].Descriptor() +} + +func (AudioMixing) Type() protoreflect.EnumType { + return &file_livekit_egress_proto_enumTypes[5] +} + +func (x AudioMixing) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AudioMixing.Descriptor instead. +func (AudioMixing) EnumDescriptor() ([]byte, []int) { + return file_livekit_egress_proto_rawDescGZIP(), []int{5} +} + type EncodingOptionsPreset int32 const ( @@ -319,11 +370,11 @@ func (x EncodingOptionsPreset) String() string { } func (EncodingOptionsPreset) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_egress_proto_enumTypes[5].Descriptor() + return file_livekit_egress_proto_enumTypes[6].Descriptor() } func (EncodingOptionsPreset) Type() protoreflect.EnumType { - return &file_livekit_egress_proto_enumTypes[5] + return &file_livekit_egress_proto_enumTypes[6] } func (x EncodingOptionsPreset) Number() protoreflect.EnumNumber { @@ -332,7 +383,7 @@ func (x EncodingOptionsPreset) Number() protoreflect.EnumNumber { // Deprecated: Use EncodingOptionsPreset.Descriptor instead. func (EncodingOptionsPreset) EnumDescriptor() ([]byte, []int) { - return file_livekit_egress_proto_rawDescGZIP(), []int{5} + return file_livekit_egress_proto_rawDescGZIP(), []int{6} } type EgressStatus int32 @@ -380,11 +431,11 @@ func (x EgressStatus) String() string { } func (EgressStatus) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_egress_proto_enumTypes[6].Descriptor() + return file_livekit_egress_proto_enumTypes[7].Descriptor() } func (EgressStatus) Type() protoreflect.EnumType { - return &file_livekit_egress_proto_enumTypes[6] + return &file_livekit_egress_proto_enumTypes[7] } func (x EgressStatus) Number() protoreflect.EnumNumber { @@ -393,7 +444,7 @@ func (x EgressStatus) Number() protoreflect.EnumNumber { // Deprecated: Use EgressStatus.Descriptor instead. func (EgressStatus) EnumDescriptor() ([]byte, []int) { - return file_livekit_egress_proto_rawDescGZIP(), []int{6} + return file_livekit_egress_proto_rawDescGZIP(), []int{7} } type EgressSourceType int32 @@ -426,11 +477,11 @@ func (x EgressSourceType) String() string { } func (EgressSourceType) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_egress_proto_enumTypes[7].Descriptor() + return file_livekit_egress_proto_enumTypes[8].Descriptor() } func (EgressSourceType) Type() protoreflect.EnumType { - return &file_livekit_egress_proto_enumTypes[7] + return &file_livekit_egress_proto_enumTypes[8] } func (x EgressSourceType) Number() protoreflect.EnumNumber { @@ -439,7 +490,7 @@ func (x EgressSourceType) Number() protoreflect.EnumNumber { // Deprecated: Use EgressSourceType.Descriptor instead. func (EgressSourceType) EnumDescriptor() ([]byte, []int) { - return file_livekit_egress_proto_rawDescGZIP(), []int{7} + return file_livekit_egress_proto_rawDescGZIP(), []int{8} } type StreamInfo_Status int32 @@ -475,11 +526,11 @@ func (x StreamInfo_Status) String() string { } func (StreamInfo_Status) Descriptor() protoreflect.EnumDescriptor { - return file_livekit_egress_proto_enumTypes[8].Descriptor() + return file_livekit_egress_proto_enumTypes[9].Descriptor() } func (StreamInfo_Status) Type() protoreflect.EnumType { - return &file_livekit_egress_proto_enumTypes[8] + return &file_livekit_egress_proto_enumTypes[9] } func (x StreamInfo_Status) Number() protoreflect.EnumNumber { @@ -493,19 +544,22 @@ func (StreamInfo_Status) EnumDescriptor() ([]byte, []int) { // composite using a web browser type RoomCompositeEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` // (optional) - AudioOnly bool `protobuf:"varint,3,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` // (default false) - VideoOnly bool `protobuf:"varint,4,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` // (default false) - CustomBaseUrl string `protobuf:"bytes,5,opt,name=custom_base_url,json=customBaseUrl,proto3" json:"custom_base_url,omitempty"` // template base url (default https://recorder.livekit.io) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` // (optional) + AudioOnly bool `protobuf:"varint,3,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` // (default false) + VideoOnly bool `protobuf:"varint,4,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` // (default false) + CustomBaseUrl string `protobuf:"bytes,5,opt,name=custom_base_url,json=customBaseUrl,proto3" json:"custom_base_url,omitempty"` // template base url (default https://recorder.livekit.io) + // Types that are assignable to Output: // // *RoomCompositeEgressRequest_File // *RoomCompositeEgressRequest_Stream // *RoomCompositeEgressRequest_Segments Output isRoomCompositeEgressRequest_Output `protobuf_oneof:"output"` - // Types that are valid to be assigned to Options: + // Types that are assignable to Options: // // *RoomCompositeEgressRequest_Preset // *RoomCompositeEgressRequest_Advanced @@ -514,15 +568,15 @@ type RoomCompositeEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,12,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,13,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,14,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *RoomCompositeEgressRequest) Reset() { *x = RoomCompositeEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomCompositeEgressRequest) String() string { @@ -533,7 +587,7 @@ func (*RoomCompositeEgressRequest) ProtoMessage() {} func (x *RoomCompositeEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -583,64 +637,54 @@ func (x *RoomCompositeEgressRequest) GetCustomBaseUrl() string { return "" } -func (x *RoomCompositeEgressRequest) GetOutput() isRoomCompositeEgressRequest_Output { - if x != nil { - return x.Output +func (m *RoomCompositeEgressRequest) GetOutput() isRoomCompositeEgressRequest_Output { + if m != nil { + return m.Output } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *RoomCompositeEgressRequest) GetFile() *EncodedFileOutput { - if x != nil { - if x, ok := x.Output.(*RoomCompositeEgressRequest_File); ok { - return x.File - } + if x, ok := x.GetOutput().(*RoomCompositeEgressRequest_File); ok { + return x.File } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *RoomCompositeEgressRequest) GetStream() *StreamOutput { - if x != nil { - if x, ok := x.Output.(*RoomCompositeEgressRequest_Stream); ok { - return x.Stream - } + if x, ok := x.GetOutput().(*RoomCompositeEgressRequest_Stream); ok { + return x.Stream } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *RoomCompositeEgressRequest) GetSegments() *SegmentedFileOutput { - if x != nil { - if x, ok := x.Output.(*RoomCompositeEgressRequest_Segments); ok { - return x.Segments - } + if x, ok := x.GetOutput().(*RoomCompositeEgressRequest_Segments); ok { + return x.Segments } return nil } -func (x *RoomCompositeEgressRequest) GetOptions() isRoomCompositeEgressRequest_Options { - if x != nil { - return x.Options +func (m *RoomCompositeEgressRequest) GetOptions() isRoomCompositeEgressRequest_Options { + if m != nil { + return m.Options } return nil } func (x *RoomCompositeEgressRequest) GetPreset() EncodingOptionsPreset { - if x != nil { - if x, ok := x.Options.(*RoomCompositeEgressRequest_Preset); ok { - return x.Preset - } + if x, ok := x.GetOptions().(*RoomCompositeEgressRequest_Preset); ok { + return x.Preset } return EncodingOptionsPreset_H264_720P_30 } func (x *RoomCompositeEgressRequest) GetAdvanced() *EncodingOptions { - if x != nil { - if x, ok := x.Options.(*RoomCompositeEgressRequest_Advanced); ok { - return x.Advanced - } + if x, ok := x.GetOptions().(*RoomCompositeEgressRequest_Advanced); ok { + return x.Advanced } return nil } @@ -716,18 +760,21 @@ func (*RoomCompositeEgressRequest_Advanced) isRoomCompositeEgressRequest_Options // record any website type WebEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - AudioOnly bool `protobuf:"varint,2,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` - VideoOnly bool `protobuf:"varint,3,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` - AwaitStartSignal bool `protobuf:"varint,12,opt,name=await_start_signal,json=awaitStartSignal,proto3" json:"await_start_signal,omitempty"` - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + AudioOnly bool `protobuf:"varint,2,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` + VideoOnly bool `protobuf:"varint,3,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` + AwaitStartSignal bool `protobuf:"varint,12,opt,name=await_start_signal,json=awaitStartSignal,proto3" json:"await_start_signal,omitempty"` + // Types that are assignable to Output: // // *WebEgressRequest_File // *WebEgressRequest_Stream // *WebEgressRequest_Segments Output isWebEgressRequest_Output `protobuf_oneof:"output"` - // Types that are valid to be assigned to Options: + // Types that are assignable to Options: // // *WebEgressRequest_Preset // *WebEgressRequest_Advanced @@ -736,15 +783,15 @@ type WebEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,10,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,11,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,13,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *WebEgressRequest) Reset() { *x = WebEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WebEgressRequest) String() string { @@ -755,7 +802,7 @@ func (*WebEgressRequest) ProtoMessage() {} func (x *WebEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -798,64 +845,54 @@ func (x *WebEgressRequest) GetAwaitStartSignal() bool { return false } -func (x *WebEgressRequest) GetOutput() isWebEgressRequest_Output { - if x != nil { - return x.Output +func (m *WebEgressRequest) GetOutput() isWebEgressRequest_Output { + if m != nil { + return m.Output } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *WebEgressRequest) GetFile() *EncodedFileOutput { - if x != nil { - if x, ok := x.Output.(*WebEgressRequest_File); ok { - return x.File - } + if x, ok := x.GetOutput().(*WebEgressRequest_File); ok { + return x.File } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *WebEgressRequest) GetStream() *StreamOutput { - if x != nil { - if x, ok := x.Output.(*WebEgressRequest_Stream); ok { - return x.Stream - } + if x, ok := x.GetOutput().(*WebEgressRequest_Stream); ok { + return x.Stream } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *WebEgressRequest) GetSegments() *SegmentedFileOutput { - if x != nil { - if x, ok := x.Output.(*WebEgressRequest_Segments); ok { - return x.Segments - } + if x, ok := x.GetOutput().(*WebEgressRequest_Segments); ok { + return x.Segments } return nil } -func (x *WebEgressRequest) GetOptions() isWebEgressRequest_Options { - if x != nil { - return x.Options +func (m *WebEgressRequest) GetOptions() isWebEgressRequest_Options { + if m != nil { + return m.Options } return nil } func (x *WebEgressRequest) GetPreset() EncodingOptionsPreset { - if x != nil { - if x, ok := x.Options.(*WebEgressRequest_Preset); ok { - return x.Preset - } + if x, ok := x.GetOptions().(*WebEgressRequest_Preset); ok { + return x.Preset } return EncodingOptionsPreset_H264_720P_30 } func (x *WebEgressRequest) GetAdvanced() *EncodingOptions { - if x != nil { - if x, ok := x.Options.(*WebEgressRequest_Advanced); ok { - return x.Advanced - } + if x, ok := x.GetOptions().(*WebEgressRequest_Advanced); ok { + return x.Advanced } return nil } @@ -931,11 +968,14 @@ func (*WebEgressRequest_Advanced) isWebEgressRequest_Options() {} // record audio and video from a single participant type ParticipantEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // required - ScreenShare bool `protobuf:"varint,3,opt,name=screen_share,json=screenShare,proto3" json:"screen_share,omitempty"` // (default false) - // Types that are valid to be assigned to Options: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // required + ScreenShare bool `protobuf:"varint,3,opt,name=screen_share,json=screenShare,proto3" json:"screen_share,omitempty"` // (default false) + // Types that are assignable to Options: // // *ParticipantEgressRequest_Preset // *ParticipantEgressRequest_Advanced @@ -944,15 +984,15 @@ type ParticipantEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,7,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,8,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,9,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *ParticipantEgressRequest) Reset() { *x = ParticipantEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantEgressRequest) String() string { @@ -963,7 +1003,7 @@ func (*ParticipantEgressRequest) ProtoMessage() {} func (x *ParticipantEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -999,27 +1039,23 @@ func (x *ParticipantEgressRequest) GetScreenShare() bool { return false } -func (x *ParticipantEgressRequest) GetOptions() isParticipantEgressRequest_Options { - if x != nil { - return x.Options +func (m *ParticipantEgressRequest) GetOptions() isParticipantEgressRequest_Options { + if m != nil { + return m.Options } return nil } func (x *ParticipantEgressRequest) GetPreset() EncodingOptionsPreset { - if x != nil { - if x, ok := x.Options.(*ParticipantEgressRequest_Preset); ok { - return x.Preset - } + if x, ok := x.GetOptions().(*ParticipantEgressRequest_Preset); ok { + return x.Preset } return EncodingOptionsPreset_H264_720P_30 } func (x *ParticipantEgressRequest) GetAdvanced() *EncodingOptions { - if x != nil { - if x, ok := x.Options.(*ParticipantEgressRequest_Advanced); ok { - return x.Advanced - } + if x, ok := x.GetOptions().(*ParticipantEgressRequest_Advanced); ok { + return x.Advanced } return nil } @@ -1070,17 +1106,20 @@ func (*ParticipantEgressRequest_Advanced) isParticipantEgressRequest_Options() { // containerize up to one audio and one video track type TrackCompositeEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - AudioTrackId string `protobuf:"bytes,2,opt,name=audio_track_id,json=audioTrackId,proto3" json:"audio_track_id,omitempty"` // (optional) - VideoTrackId string `protobuf:"bytes,3,opt,name=video_track_id,json=videoTrackId,proto3" json:"video_track_id,omitempty"` // (optional) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + AudioTrackId string `protobuf:"bytes,2,opt,name=audio_track_id,json=audioTrackId,proto3" json:"audio_track_id,omitempty"` // (optional) + VideoTrackId string `protobuf:"bytes,3,opt,name=video_track_id,json=videoTrackId,proto3" json:"video_track_id,omitempty"` // (optional) + // Types that are assignable to Output: // // *TrackCompositeEgressRequest_File // *TrackCompositeEgressRequest_Stream // *TrackCompositeEgressRequest_Segments Output isTrackCompositeEgressRequest_Output `protobuf_oneof:"output"` - // Types that are valid to be assigned to Options: + // Types that are assignable to Options: // // *TrackCompositeEgressRequest_Preset // *TrackCompositeEgressRequest_Advanced @@ -1089,15 +1128,15 @@ type TrackCompositeEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,12,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,13,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,14,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *TrackCompositeEgressRequest) Reset() { *x = TrackCompositeEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackCompositeEgressRequest) String() string { @@ -1108,7 +1147,7 @@ func (*TrackCompositeEgressRequest) ProtoMessage() {} func (x *TrackCompositeEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1144,64 +1183,54 @@ func (x *TrackCompositeEgressRequest) GetVideoTrackId() string { return "" } -func (x *TrackCompositeEgressRequest) GetOutput() isTrackCompositeEgressRequest_Output { - if x != nil { - return x.Output +func (m *TrackCompositeEgressRequest) GetOutput() isTrackCompositeEgressRequest_Output { + if m != nil { + return m.Output } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *TrackCompositeEgressRequest) GetFile() *EncodedFileOutput { - if x != nil { - if x, ok := x.Output.(*TrackCompositeEgressRequest_File); ok { - return x.File - } + if x, ok := x.GetOutput().(*TrackCompositeEgressRequest_File); ok { + return x.File } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *TrackCompositeEgressRequest) GetStream() *StreamOutput { - if x != nil { - if x, ok := x.Output.(*TrackCompositeEgressRequest_Stream); ok { - return x.Stream - } + if x, ok := x.GetOutput().(*TrackCompositeEgressRequest_Stream); ok { + return x.Stream } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *TrackCompositeEgressRequest) GetSegments() *SegmentedFileOutput { - if x != nil { - if x, ok := x.Output.(*TrackCompositeEgressRequest_Segments); ok { - return x.Segments - } + if x, ok := x.GetOutput().(*TrackCompositeEgressRequest_Segments); ok { + return x.Segments } return nil } -func (x *TrackCompositeEgressRequest) GetOptions() isTrackCompositeEgressRequest_Options { - if x != nil { - return x.Options +func (m *TrackCompositeEgressRequest) GetOptions() isTrackCompositeEgressRequest_Options { + if m != nil { + return m.Options } return nil } func (x *TrackCompositeEgressRequest) GetPreset() EncodingOptionsPreset { - if x != nil { - if x, ok := x.Options.(*TrackCompositeEgressRequest_Preset); ok { - return x.Preset - } + if x, ok := x.GetOptions().(*TrackCompositeEgressRequest_Preset); ok { + return x.Preset } return EncodingOptionsPreset_H264_720P_30 } func (x *TrackCompositeEgressRequest) GetAdvanced() *EncodingOptions { - if x != nil { - if x, ok := x.Options.(*TrackCompositeEgressRequest_Advanced); ok { - return x.Advanced - } + if x, ok := x.GetOptions().(*TrackCompositeEgressRequest_Advanced); ok { + return x.Advanced } return nil } @@ -1277,23 +1306,26 @@ func (*TrackCompositeEgressRequest_Advanced) isTrackCompositeEgressRequest_Optio // record tracks individually, without transcoding type TrackEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - TrackId string `protobuf:"bytes,2,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` // required - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + TrackId string `protobuf:"bytes,2,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` // required + // Types that are assignable to Output: // // *TrackEgressRequest_File // *TrackEgressRequest_WebsocketUrl - Output isTrackEgressRequest_Output `protobuf_oneof:"output"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Output isTrackEgressRequest_Output `protobuf_oneof:"output"` } func (x *TrackEgressRequest) Reset() { *x = TrackEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackEgressRequest) String() string { @@ -1304,7 +1336,7 @@ func (*TrackEgressRequest) ProtoMessage() {} func (x *TrackEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1333,27 +1365,23 @@ func (x *TrackEgressRequest) GetTrackId() string { return "" } -func (x *TrackEgressRequest) GetOutput() isTrackEgressRequest_Output { - if x != nil { - return x.Output +func (m *TrackEgressRequest) GetOutput() isTrackEgressRequest_Output { + if m != nil { + return m.Output } return nil } func (x *TrackEgressRequest) GetFile() *DirectFileOutput { - if x != nil { - if x, ok := x.Output.(*TrackEgressRequest_File); ok { - return x.File - } + if x, ok := x.GetOutput().(*TrackEgressRequest_File); ok { + return x.File } return nil } func (x *TrackEgressRequest) GetWebsocketUrl() string { - if x != nil { - if x, ok := x.Output.(*TrackEgressRequest_WebsocketUrl); ok { - return x.WebsocketUrl - } + if x, ok := x.GetOutput().(*TrackEgressRequest_WebsocketUrl); ok { + return x.WebsocketUrl } return "" } @@ -1375,26 +1403,29 @@ func (*TrackEgressRequest_File) isTrackEgressRequest_Output() {} func (*TrackEgressRequest_WebsocketUrl) isTrackEgressRequest_Output() {} type EncodedFileOutput struct { - state protoimpl.MessageState `protogen:"open.v1"` - FileType EncodedFileType `protobuf:"varint,1,opt,name=file_type,json=fileType,proto3,enum=livekit.EncodedFileType" json:"file_type,omitempty"` // (optional) - Filepath string `protobuf:"bytes,2,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {room_name}-{time}) - DisableManifest bool `protobuf:"varint,6,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileType EncodedFileType `protobuf:"varint,1,opt,name=file_type,json=fileType,proto3,enum=livekit.EncodedFileType" json:"file_type,omitempty"` // (optional) + Filepath string `protobuf:"bytes,2,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {room_name}-{time}) + DisableManifest bool `protobuf:"varint,6,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are assignable to Output: // // *EncodedFileOutput_S3 // *EncodedFileOutput_Gcp // *EncodedFileOutput_Azure // *EncodedFileOutput_AliOSS - Output isEncodedFileOutput_Output `protobuf_oneof:"output"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Output isEncodedFileOutput_Output `protobuf_oneof:"output"` } func (x *EncodedFileOutput) Reset() { *x = EncodedFileOutput{} - mi := &file_livekit_egress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EncodedFileOutput) String() string { @@ -1405,7 +1436,7 @@ func (*EncodedFileOutput) ProtoMessage() {} func (x *EncodedFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1441,45 +1472,37 @@ func (x *EncodedFileOutput) GetDisableManifest() bool { return false } -func (x *EncodedFileOutput) GetOutput() isEncodedFileOutput_Output { - if x != nil { - return x.Output +func (m *EncodedFileOutput) GetOutput() isEncodedFileOutput_Output { + if m != nil { + return m.Output } return nil } func (x *EncodedFileOutput) GetS3() *S3Upload { - if x != nil { - if x, ok := x.Output.(*EncodedFileOutput_S3); ok { - return x.S3 - } + if x, ok := x.GetOutput().(*EncodedFileOutput_S3); ok { + return x.S3 } return nil } func (x *EncodedFileOutput) GetGcp() *GCPUpload { - if x != nil { - if x, ok := x.Output.(*EncodedFileOutput_Gcp); ok { - return x.Gcp - } + if x, ok := x.GetOutput().(*EncodedFileOutput_Gcp); ok { + return x.Gcp } return nil } func (x *EncodedFileOutput) GetAzure() *AzureBlobUpload { - if x != nil { - if x, ok := x.Output.(*EncodedFileOutput_Azure); ok { - return x.Azure - } + if x, ok := x.GetOutput().(*EncodedFileOutput_Azure); ok { + return x.Azure } return nil } func (x *EncodedFileOutput) GetAliOSS() *AliOSSUpload { - if x != nil { - if x, ok := x.Output.(*EncodedFileOutput_AliOSS); ok { - return x.AliOSS - } + if x, ok := x.GetOutput().(*EncodedFileOutput_AliOSS); ok { + return x.AliOSS } return nil } @@ -1514,30 +1537,33 @@ func (*EncodedFileOutput_AliOSS) isEncodedFileOutput_Output() {} // Used to generate HLS segments or other kind of segmented output type SegmentedFileOutput struct { - state protoimpl.MessageState `protogen:"open.v1"` - Protocol SegmentedFileProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.SegmentedFileProtocol" json:"protocol,omitempty"` // (optional) - FilenamePrefix string `protobuf:"bytes,2,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) - PlaylistName string `protobuf:"bytes,3,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` // (optional) - LivePlaylistName string `protobuf:"bytes,11,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` // (optional, disabled if not provided). Path of a live playlist - SegmentDuration uint32 `protobuf:"varint,4,opt,name=segment_duration,json=segmentDuration,proto3" json:"segment_duration,omitempty"` // in seconds (optional) - FilenameSuffix SegmentedFileSuffix `protobuf:"varint,10,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.SegmentedFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) - DisableManifest bool `protobuf:"varint,8,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Protocol SegmentedFileProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.SegmentedFileProtocol" json:"protocol,omitempty"` // (optional) + FilenamePrefix string `protobuf:"bytes,2,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) + PlaylistName string `protobuf:"bytes,3,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` // (optional) + LivePlaylistName string `protobuf:"bytes,11,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` // (optional, disabled if not provided). Path of a live playlist + SegmentDuration uint32 `protobuf:"varint,4,opt,name=segment_duration,json=segmentDuration,proto3" json:"segment_duration,omitempty"` // in seconds (optional) + FilenameSuffix SegmentedFileSuffix `protobuf:"varint,10,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.SegmentedFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) + DisableManifest bool `protobuf:"varint,8,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are assignable to Output: // // *SegmentedFileOutput_S3 // *SegmentedFileOutput_Gcp // *SegmentedFileOutput_Azure // *SegmentedFileOutput_AliOSS - Output isSegmentedFileOutput_Output `protobuf_oneof:"output"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Output isSegmentedFileOutput_Output `protobuf_oneof:"output"` } func (x *SegmentedFileOutput) Reset() { *x = SegmentedFileOutput{} - mi := &file_livekit_egress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SegmentedFileOutput) String() string { @@ -1548,7 +1574,7 @@ func (*SegmentedFileOutput) ProtoMessage() {} func (x *SegmentedFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1612,45 +1638,37 @@ func (x *SegmentedFileOutput) GetDisableManifest() bool { return false } -func (x *SegmentedFileOutput) GetOutput() isSegmentedFileOutput_Output { - if x != nil { - return x.Output +func (m *SegmentedFileOutput) GetOutput() isSegmentedFileOutput_Output { + if m != nil { + return m.Output } return nil } func (x *SegmentedFileOutput) GetS3() *S3Upload { - if x != nil { - if x, ok := x.Output.(*SegmentedFileOutput_S3); ok { - return x.S3 - } + if x, ok := x.GetOutput().(*SegmentedFileOutput_S3); ok { + return x.S3 } return nil } func (x *SegmentedFileOutput) GetGcp() *GCPUpload { - if x != nil { - if x, ok := x.Output.(*SegmentedFileOutput_Gcp); ok { - return x.Gcp - } + if x, ok := x.GetOutput().(*SegmentedFileOutput_Gcp); ok { + return x.Gcp } return nil } func (x *SegmentedFileOutput) GetAzure() *AzureBlobUpload { - if x != nil { - if x, ok := x.Output.(*SegmentedFileOutput_Azure); ok { - return x.Azure - } + if x, ok := x.GetOutput().(*SegmentedFileOutput_Azure); ok { + return x.Azure } return nil } func (x *SegmentedFileOutput) GetAliOSS() *AliOSSUpload { - if x != nil { - if x, ok := x.Output.(*SegmentedFileOutput_AliOSS); ok { - return x.AliOSS - } + if x, ok := x.GetOutput().(*SegmentedFileOutput_AliOSS); ok { + return x.AliOSS } return nil } @@ -1684,25 +1702,28 @@ func (*SegmentedFileOutput_Azure) isSegmentedFileOutput_Output() {} func (*SegmentedFileOutput_AliOSS) isSegmentedFileOutput_Output() {} type DirectFileOutput struct { - state protoimpl.MessageState `protogen:"open.v1"` - Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {track_id}-{time}) - DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {track_id}-{time}) + DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are assignable to Output: // // *DirectFileOutput_S3 // *DirectFileOutput_Gcp // *DirectFileOutput_Azure // *DirectFileOutput_AliOSS - Output isDirectFileOutput_Output `protobuf_oneof:"output"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Output isDirectFileOutput_Output `protobuf_oneof:"output"` } func (x *DirectFileOutput) Reset() { *x = DirectFileOutput{} - mi := &file_livekit_egress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DirectFileOutput) String() string { @@ -1713,7 +1734,7 @@ func (*DirectFileOutput) ProtoMessage() {} func (x *DirectFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1742,45 +1763,37 @@ func (x *DirectFileOutput) GetDisableManifest() bool { return false } -func (x *DirectFileOutput) GetOutput() isDirectFileOutput_Output { - if x != nil { - return x.Output +func (m *DirectFileOutput) GetOutput() isDirectFileOutput_Output { + if m != nil { + return m.Output } return nil } func (x *DirectFileOutput) GetS3() *S3Upload { - if x != nil { - if x, ok := x.Output.(*DirectFileOutput_S3); ok { - return x.S3 - } + if x, ok := x.GetOutput().(*DirectFileOutput_S3); ok { + return x.S3 } return nil } func (x *DirectFileOutput) GetGcp() *GCPUpload { - if x != nil { - if x, ok := x.Output.(*DirectFileOutput_Gcp); ok { - return x.Gcp - } + if x, ok := x.GetOutput().(*DirectFileOutput_Gcp); ok { + return x.Gcp } return nil } func (x *DirectFileOutput) GetAzure() *AzureBlobUpload { - if x != nil { - if x, ok := x.Output.(*DirectFileOutput_Azure); ok { - return x.Azure - } + if x, ok := x.GetOutput().(*DirectFileOutput_Azure); ok { + return x.Azure } return nil } func (x *DirectFileOutput) GetAliOSS() *AliOSSUpload { - if x != nil { - if x, ok := x.Output.(*DirectFileOutput_AliOSS); ok { - return x.AliOSS - } + if x, ok := x.GetOutput().(*DirectFileOutput_AliOSS); ok { + return x.AliOSS } return nil } @@ -1814,30 +1827,33 @@ func (*DirectFileOutput_Azure) isDirectFileOutput_Output() {} func (*DirectFileOutput_AliOSS) isDirectFileOutput_Output() {} type ImageOutput struct { - state protoimpl.MessageState `protogen:"open.v1"` - CaptureInterval uint32 `protobuf:"varint,1,opt,name=capture_interval,json=captureInterval,proto3" json:"capture_interval,omitempty"` // in seconds (required) - Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` // (optional, defaults to track width) - Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // (optional, defaults to track height) - FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) - FilenameSuffix ImageFileSuffix `protobuf:"varint,5,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.ImageFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) - ImageCodec ImageCodec `protobuf:"varint,6,opt,name=image_codec,json=imageCodec,proto3,enum=livekit.ImageCodec" json:"image_codec,omitempty"` // (optional) - DisableManifest bool `protobuf:"varint,7,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CaptureInterval uint32 `protobuf:"varint,1,opt,name=capture_interval,json=captureInterval,proto3" json:"capture_interval,omitempty"` // in seconds (required) + Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` // (optional, defaults to track width) + Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // (optional, defaults to track height) + FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) + FilenameSuffix ImageFileSuffix `protobuf:"varint,5,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.ImageFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) + ImageCodec ImageCodec `protobuf:"varint,6,opt,name=image_codec,json=imageCodec,proto3,enum=livekit.ImageCodec" json:"image_codec,omitempty"` // (optional) + DisableManifest bool `protobuf:"varint,7,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are assignable to Output: // // *ImageOutput_S3 // *ImageOutput_Gcp // *ImageOutput_Azure // *ImageOutput_AliOSS - Output isImageOutput_Output `protobuf_oneof:"output"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Output isImageOutput_Output `protobuf_oneof:"output"` } func (x *ImageOutput) Reset() { *x = ImageOutput{} - mi := &file_livekit_egress_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ImageOutput) String() string { @@ -1848,7 +1864,7 @@ func (*ImageOutput) ProtoMessage() {} func (x *ImageOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1912,45 +1928,37 @@ func (x *ImageOutput) GetDisableManifest() bool { return false } -func (x *ImageOutput) GetOutput() isImageOutput_Output { - if x != nil { - return x.Output +func (m *ImageOutput) GetOutput() isImageOutput_Output { + if m != nil { + return m.Output } return nil } func (x *ImageOutput) GetS3() *S3Upload { - if x != nil { - if x, ok := x.Output.(*ImageOutput_S3); ok { - return x.S3 - } + if x, ok := x.GetOutput().(*ImageOutput_S3); ok { + return x.S3 } return nil } func (x *ImageOutput) GetGcp() *GCPUpload { - if x != nil { - if x, ok := x.Output.(*ImageOutput_Gcp); ok { - return x.Gcp - } + if x, ok := x.GetOutput().(*ImageOutput_Gcp); ok { + return x.Gcp } return nil } func (x *ImageOutput) GetAzure() *AzureBlobUpload { - if x != nil { - if x, ok := x.Output.(*ImageOutput_Azure); ok { - return x.Azure - } + if x, ok := x.GetOutput().(*ImageOutput_Azure); ok { + return x.Azure } return nil } func (x *ImageOutput) GetAliOSS() *AliOSSUpload { - if x != nil { - if x, ok := x.Output.(*ImageOutput_AliOSS); ok { - return x.AliOSS - } + if x, ok := x.GetOutput().(*ImageOutput_AliOSS); ok { + return x.AliOSS } return nil } @@ -1984,27 +1992,30 @@ func (*ImageOutput_Azure) isImageOutput_Output() {} func (*ImageOutput_AliOSS) isImageOutput_Output() {} type S3Upload struct { - state protoimpl.MessageState `protogen:"open.v1"` - AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` - Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` - SessionToken string `protobuf:"bytes,11,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` - Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` - Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` - ForcePathStyle bool `protobuf:"varint,6,opt,name=force_path_style,json=forcePathStyle,proto3" json:"force_path_style,omitempty"` - Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Tagging string `protobuf:"bytes,8,opt,name=tagging,proto3" json:"tagging,omitempty"` - ContentDisposition string `protobuf:"bytes,9,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"` // Content-Disposition header - Proxy *ProxyConfig `protobuf:"bytes,10,opt,name=proxy,proto3" json:"proxy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` + Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + SessionToken string `protobuf:"bytes,11,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` + Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` + Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` + ForcePathStyle bool `protobuf:"varint,6,opt,name=force_path_style,json=forcePathStyle,proto3" json:"force_path_style,omitempty"` + Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Tagging string `protobuf:"bytes,8,opt,name=tagging,proto3" json:"tagging,omitempty"` + ContentDisposition string `protobuf:"bytes,9,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"` // Content-Disposition header + Proxy *ProxyConfig `protobuf:"bytes,10,opt,name=proxy,proto3" json:"proxy,omitempty"` } func (x *S3Upload) Reset() { *x = S3Upload{} - mi := &file_livekit_egress_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *S3Upload) String() string { @@ -2015,7 +2026,7 @@ func (*S3Upload) ProtoMessage() {} func (x *S3Upload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2108,20 +2119,23 @@ func (x *S3Upload) GetProxy() *ProxyConfig { } type GCPUpload struct { - state protoimpl.MessageState `protogen:"open.v1"` - // service account credentials serialized in JSON "credentials.json" - Credentials string `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"` - Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` - Proxy *ProxyConfig `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // service account credentials serialized in JSON "credentials.json" + Credentials string `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"` + Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` + Proxy *ProxyConfig `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty"` } func (x *GCPUpload) Reset() { *x = GCPUpload{} - mi := &file_livekit_egress_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GCPUpload) String() string { @@ -2132,7 +2146,7 @@ func (*GCPUpload) ProtoMessage() {} func (x *GCPUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2169,19 +2183,22 @@ func (x *GCPUpload) GetProxy() *ProxyConfig { } type AzureBlobUpload struct { - state protoimpl.MessageState `protogen:"open.v1"` - AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` - AccountKey string `protobuf:"bytes,2,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"` - ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` + AccountKey string `protobuf:"bytes,2,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"` + ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` } func (x *AzureBlobUpload) Reset() { *x = AzureBlobUpload{} - mi := &file_livekit_egress_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AzureBlobUpload) String() string { @@ -2192,7 +2209,7 @@ func (*AzureBlobUpload) ProtoMessage() {} func (x *AzureBlobUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2229,21 +2246,24 @@ func (x *AzureBlobUpload) GetContainerName() string { } type AliOSSUpload struct { - state protoimpl.MessageState `protogen:"open.v1"` - AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` - Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` - Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` - Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` + Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` + Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` } func (x *AliOSSUpload) Reset() { *x = AliOSSUpload{} - mi := &file_livekit_egress_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AliOSSUpload) String() string { @@ -2254,7 +2274,7 @@ func (*AliOSSUpload) ProtoMessage() {} func (x *AliOSSUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2305,19 +2325,22 @@ func (x *AliOSSUpload) GetBucket() string { } type ProxyConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` } func (x *ProxyConfig) Reset() { *x = ProxyConfig{} - mi := &file_livekit_egress_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ProxyConfig) String() string { @@ -2328,7 +2351,7 @@ func (*ProxyConfig) ProtoMessage() {} func (x *ProxyConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2365,18 +2388,21 @@ func (x *ProxyConfig) GetPassword() string { } type StreamOutput struct { - state protoimpl.MessageState `protogen:"open.v1"` - Protocol StreamProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.StreamProtocol" json:"protocol,omitempty"` // required - Urls []string `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"` // required - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Protocol StreamProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.StreamProtocol" json:"protocol,omitempty"` // required + Urls []string `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"` // required } func (x *StreamOutput) Reset() { *x = StreamOutput{} - mi := &file_livekit_egress_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamOutput) String() string { @@ -2387,7 +2413,7 @@ func (*StreamOutput) ProtoMessage() {} func (x *StreamOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2417,28 +2443,32 @@ func (x *StreamOutput) GetUrls() []string { } type EncodingOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` // (default 1920) - Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // (default 1080) - Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // (default 24) - Framerate int32 `protobuf:"varint,4,opt,name=framerate,proto3" json:"framerate,omitempty"` // (default 30) - AudioCodec AudioCodec `protobuf:"varint,5,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` // (default OPUS) - AudioBitrate int32 `protobuf:"varint,6,opt,name=audio_bitrate,json=audioBitrate,proto3" json:"audio_bitrate,omitempty"` // (default 128) - AudioQuality int32 `protobuf:"varint,11,opt,name=audio_quality,json=audioQuality,proto3" json:"audio_quality,omitempty"` // quality setting on audio encoder - AudioFrequency int32 `protobuf:"varint,7,opt,name=audio_frequency,json=audioFrequency,proto3" json:"audio_frequency,omitempty"` // (default 44100) - VideoCodec VideoCodec `protobuf:"varint,8,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` // (default H264_MAIN) - VideoBitrate int32 `protobuf:"varint,9,opt,name=video_bitrate,json=videoBitrate,proto3" json:"video_bitrate,omitempty"` // (default 4500) - VideoQuality int32 `protobuf:"varint,12,opt,name=video_quality,json=videoQuality,proto3" json:"video_quality,omitempty"` // quality setting on video encoder - KeyFrameInterval float64 `protobuf:"fixed64,10,opt,name=key_frame_interval,json=keyFrameInterval,proto3" json:"key_frame_interval,omitempty"` // in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` // (default 1920) + Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // (default 1080) + Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // (default 24) + Framerate int32 `protobuf:"varint,4,opt,name=framerate,proto3" json:"framerate,omitempty"` // (default 30) + AudioCodec AudioCodec `protobuf:"varint,5,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` // (default OPUS) + AudioBitrate int32 `protobuf:"varint,6,opt,name=audio_bitrate,json=audioBitrate,proto3" json:"audio_bitrate,omitempty"` // (default 128) + AudioQuality int32 `protobuf:"varint,11,opt,name=audio_quality,json=audioQuality,proto3" json:"audio_quality,omitempty"` // quality setting on audio encoder + AudioFrequency int32 `protobuf:"varint,7,opt,name=audio_frequency,json=audioFrequency,proto3" json:"audio_frequency,omitempty"` // (default 44100) + AudioMixing AudioMixing `protobuf:"varint,13,opt,name=audio_mixing,json=audioMixing,proto3,enum=livekit.AudioMixing" json:"audio_mixing,omitempty"` // (default DEFAULT_MIXING) + VideoCodec VideoCodec `protobuf:"varint,8,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` // (default H264_MAIN) + VideoBitrate int32 `protobuf:"varint,9,opt,name=video_bitrate,json=videoBitrate,proto3" json:"video_bitrate,omitempty"` // (default 4500) + VideoQuality int32 `protobuf:"varint,12,opt,name=video_quality,json=videoQuality,proto3" json:"video_quality,omitempty"` // quality setting on video encoder + KeyFrameInterval float64 `protobuf:"fixed64,10,opt,name=key_frame_interval,json=keyFrameInterval,proto3" json:"key_frame_interval,omitempty"` // in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) } func (x *EncodingOptions) Reset() { *x = EncodingOptions{} - mi := &file_livekit_egress_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EncodingOptions) String() string { @@ -2449,7 +2479,7 @@ func (*EncodingOptions) ProtoMessage() {} func (x *EncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2520,6 +2550,13 @@ func (x *EncodingOptions) GetAudioFrequency() int32 { return 0 } +func (x *EncodingOptions) GetAudioMixing() AudioMixing { + if x != nil { + return x.AudioMixing + } + return AudioMixing_DEFAULT_MIXING +} + func (x *EncodingOptions) GetVideoCodec() VideoCodec { if x != nil { return x.VideoCodec @@ -2549,18 +2586,21 @@ func (x *EncodingOptions) GetKeyFrameInterval() float64 { } type UpdateLayoutRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` } func (x *UpdateLayoutRequest) Reset() { *x = UpdateLayoutRequest{} - mi := &file_livekit_egress_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateLayoutRequest) String() string { @@ -2571,7 +2611,7 @@ func (*UpdateLayoutRequest) ProtoMessage() {} func (x *UpdateLayoutRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2601,19 +2641,22 @@ func (x *UpdateLayoutRequest) GetLayout() string { } type UpdateStreamRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - AddOutputUrls []string `protobuf:"bytes,2,rep,name=add_output_urls,json=addOutputUrls,proto3" json:"add_output_urls,omitempty"` - RemoveOutputUrls []string `protobuf:"bytes,3,rep,name=remove_output_urls,json=removeOutputUrls,proto3" json:"remove_output_urls,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + AddOutputUrls []string `protobuf:"bytes,2,rep,name=add_output_urls,json=addOutputUrls,proto3" json:"add_output_urls,omitempty"` + RemoveOutputUrls []string `protobuf:"bytes,3,rep,name=remove_output_urls,json=removeOutputUrls,proto3" json:"remove_output_urls,omitempty"` } func (x *UpdateStreamRequest) Reset() { *x = UpdateStreamRequest{} - mi := &file_livekit_egress_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateStreamRequest) String() string { @@ -2624,7 +2667,7 @@ func (*UpdateStreamRequest) ProtoMessage() {} func (x *UpdateStreamRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2661,19 +2704,22 @@ func (x *UpdateStreamRequest) GetRemoveOutputUrls() []string { } type ListEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) - EgressId string `protobuf:"bytes,2,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // (optional, filter by egress ID) - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` // (optional, list active egress only) - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) + EgressId string `protobuf:"bytes,2,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // (optional, filter by egress ID) + Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` // (optional, list active egress only) } func (x *ListEgressRequest) Reset() { *x = ListEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListEgressRequest) String() string { @@ -2684,7 +2730,7 @@ func (*ListEgressRequest) ProtoMessage() {} func (x *ListEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2721,17 +2767,20 @@ func (x *ListEgressRequest) GetActive() bool { } type ListEgressResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*EgressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Items []*EgressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *ListEgressResponse) Reset() { *x = ListEgressResponse{} - mi := &file_livekit_egress_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListEgressResponse) String() string { @@ -2742,7 +2791,7 @@ func (*ListEgressResponse) ProtoMessage() {} func (x *ListEgressResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2765,17 +2814,20 @@ func (x *ListEgressResponse) GetItems() []*EgressInfo { } type StopEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` } func (x *StopEgressRequest) Reset() { *x = StopEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopEgressRequest) String() string { @@ -2786,7 +2838,7 @@ func (*StopEgressRequest) ProtoMessage() {} func (x *StopEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2809,19 +2861,22 @@ func (x *StopEgressRequest) GetEgressId() string { } type EgressInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` - RoomName string `protobuf:"bytes,13,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - SourceType EgressSourceType `protobuf:"varint,26,opt,name=source_type,json=sourceType,proto3,enum=livekit.EgressSourceType" json:"source_type,omitempty"` - Status EgressStatus `protobuf:"varint,3,opt,name=status,proto3,enum=livekit.EgressStatus" json:"status,omitempty"` - StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,18,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Details string `protobuf:"bytes,21,opt,name=details,proto3" json:"details,omitempty"` - Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` - ErrorCode int32 `protobuf:"varint,22,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` - // Types that are valid to be assigned to Request: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` + RoomName string `protobuf:"bytes,13,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + SourceType EgressSourceType `protobuf:"varint,26,opt,name=source_type,json=sourceType,proto3,enum=livekit.EgressSourceType" json:"source_type,omitempty"` + Status EgressStatus `protobuf:"varint,3,opt,name=status,proto3,enum=livekit.EgressStatus" json:"status,omitempty"` + StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,18,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Details string `protobuf:"bytes,21,opt,name=details,proto3" json:"details,omitempty"` + Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` + ErrorCode int32 `protobuf:"varint,22,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` + // Types that are assignable to Request: // // *EgressInfo_RoomComposite // *EgressInfo_Web @@ -2829,7 +2884,7 @@ type EgressInfo struct { // *EgressInfo_TrackComposite // *EgressInfo_Track Request isEgressInfo_Request `protobuf_oneof:"request"` - // Types that are valid to be assigned to Result: + // Types that are assignable to Result: // // *EgressInfo_Stream // *EgressInfo_File @@ -2841,15 +2896,15 @@ type EgressInfo struct { ImageResults []*ImagesInfo `protobuf:"bytes,20,rep,name=image_results,json=imageResults,proto3" json:"image_results,omitempty"` ManifestLocation string `protobuf:"bytes,23,opt,name=manifest_location,json=manifestLocation,proto3" json:"manifest_location,omitempty"` BackupStorageUsed bool `protobuf:"varint,25,opt,name=backup_storage_used,json=backupStorageUsed,proto3" json:"backup_storage_used,omitempty"` // next ID: 27 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *EgressInfo) Reset() { *x = EgressInfo{} - mi := &file_livekit_egress_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EgressInfo) String() string { @@ -2860,7 +2915,7 @@ func (*EgressInfo) ProtoMessage() {} func (x *EgressInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2952,91 +3007,75 @@ func (x *EgressInfo) GetErrorCode() int32 { return 0 } -func (x *EgressInfo) GetRequest() isEgressInfo_Request { - if x != nil { - return x.Request +func (m *EgressInfo) GetRequest() isEgressInfo_Request { + if m != nil { + return m.Request } return nil } func (x *EgressInfo) GetRoomComposite() *RoomCompositeEgressRequest { - if x != nil { - if x, ok := x.Request.(*EgressInfo_RoomComposite); ok { - return x.RoomComposite - } + if x, ok := x.GetRequest().(*EgressInfo_RoomComposite); ok { + return x.RoomComposite } return nil } func (x *EgressInfo) GetWeb() *WebEgressRequest { - if x != nil { - if x, ok := x.Request.(*EgressInfo_Web); ok { - return x.Web - } + if x, ok := x.GetRequest().(*EgressInfo_Web); ok { + return x.Web } return nil } func (x *EgressInfo) GetParticipant() *ParticipantEgressRequest { - if x != nil { - if x, ok := x.Request.(*EgressInfo_Participant); ok { - return x.Participant - } + if x, ok := x.GetRequest().(*EgressInfo_Participant); ok { + return x.Participant } return nil } func (x *EgressInfo) GetTrackComposite() *TrackCompositeEgressRequest { - if x != nil { - if x, ok := x.Request.(*EgressInfo_TrackComposite); ok { - return x.TrackComposite - } + if x, ok := x.GetRequest().(*EgressInfo_TrackComposite); ok { + return x.TrackComposite } return nil } func (x *EgressInfo) GetTrack() *TrackEgressRequest { - if x != nil { - if x, ok := x.Request.(*EgressInfo_Track); ok { - return x.Track - } + if x, ok := x.GetRequest().(*EgressInfo_Track); ok { + return x.Track } return nil } -func (x *EgressInfo) GetResult() isEgressInfo_Result { - if x != nil { - return x.Result +func (m *EgressInfo) GetResult() isEgressInfo_Result { + if m != nil { + return m.Result } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *EgressInfo) GetStream() *StreamInfoList { - if x != nil { - if x, ok := x.Result.(*EgressInfo_Stream); ok { - return x.Stream - } + if x, ok := x.GetResult().(*EgressInfo_Stream); ok { + return x.Stream } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *EgressInfo) GetFile() *FileInfo { - if x != nil { - if x, ok := x.Result.(*EgressInfo_File); ok { - return x.File - } + if x, ok := x.GetResult().(*EgressInfo_File); ok { + return x.File } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *EgressInfo) GetSegments() *SegmentsInfo { - if x != nil { - if x, ok := x.Result.(*EgressInfo_Segments); ok { - return x.Segments - } + if x, ok := x.GetResult().(*EgressInfo_Segments); ok { + return x.Segments } return nil } @@ -3144,17 +3183,20 @@ func (*EgressInfo_Segments) isEgressInfo_Result() {} // Deprecated: Marked as deprecated in livekit_egress.proto. type StreamInfoList struct { - state protoimpl.MessageState `protogen:"open.v1"` - Info []*StreamInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info []*StreamInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"` } func (x *StreamInfoList) Reset() { *x = StreamInfoList{} - mi := &file_livekit_egress_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamInfoList) String() string { @@ -3165,7 +3207,7 @@ func (*StreamInfoList) ProtoMessage() {} func (x *StreamInfoList) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3188,22 +3230,25 @@ func (x *StreamInfoList) GetInfo() []*StreamInfo { } type StreamInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` - Status StreamInfo_Status `protobuf:"varint,5,opt,name=status,proto3,enum=livekit.StreamInfo_Status" json:"status,omitempty"` - Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` + Status StreamInfo_Status `protobuf:"varint,5,opt,name=status,proto3,enum=livekit.StreamInfo_Status" json:"status,omitempty"` + Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` } func (x *StreamInfo) Reset() { *x = StreamInfo{} - mi := &file_livekit_egress_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamInfo) String() string { @@ -3214,7 +3259,7 @@ func (*StreamInfo) ProtoMessage() {} func (x *StreamInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3272,22 +3317,25 @@ func (x *StreamInfo) GetError() string { } type FileInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` - StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - Duration int64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` - Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` - Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` + StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + Duration int64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` + Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` + Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` } func (x *FileInfo) Reset() { *x = FileInfo{} - mi := &file_livekit_egress_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FileInfo) String() string { @@ -3298,7 +3346,7 @@ func (*FileInfo) ProtoMessage() {} func (x *FileInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3356,25 +3404,28 @@ func (x *FileInfo) GetLocation() string { } type SegmentsInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - PlaylistName string `protobuf:"bytes,1,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` - LivePlaylistName string `protobuf:"bytes,8,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` - Duration int64 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` - Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` - PlaylistLocation string `protobuf:"bytes,4,opt,name=playlist_location,json=playlistLocation,proto3" json:"playlist_location,omitempty"` - LivePlaylistLocation string `protobuf:"bytes,9,opt,name=live_playlist_location,json=livePlaylistLocation,proto3" json:"live_playlist_location,omitempty"` - SegmentCount int64 `protobuf:"varint,5,opt,name=segment_count,json=segmentCount,proto3" json:"segment_count,omitempty"` - StartedAt int64 `protobuf:"varint,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,7,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlaylistName string `protobuf:"bytes,1,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` + LivePlaylistName string `protobuf:"bytes,8,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` + Duration int64 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` + Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` + PlaylistLocation string `protobuf:"bytes,4,opt,name=playlist_location,json=playlistLocation,proto3" json:"playlist_location,omitempty"` + LivePlaylistLocation string `protobuf:"bytes,9,opt,name=live_playlist_location,json=livePlaylistLocation,proto3" json:"live_playlist_location,omitempty"` + SegmentCount int64 `protobuf:"varint,5,opt,name=segment_count,json=segmentCount,proto3" json:"segment_count,omitempty"` + StartedAt int64 `protobuf:"varint,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,7,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` } func (x *SegmentsInfo) Reset() { *x = SegmentsInfo{} - mi := &file_livekit_egress_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SegmentsInfo) String() string { @@ -3385,7 +3436,7 @@ func (*SegmentsInfo) ProtoMessage() {} func (x *SegmentsInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3464,20 +3515,23 @@ func (x *SegmentsInfo) GetEndedAt() int64 { } type ImagesInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` - ImageCount int64 `protobuf:"varint,1,opt,name=image_count,json=imageCount,proto3" json:"image_count,omitempty"` - StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` + ImageCount int64 `protobuf:"varint,1,opt,name=image_count,json=imageCount,proto3" json:"image_count,omitempty"` + StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` } func (x *ImagesInfo) Reset() { *x = ImagesInfo{} - mi := &file_livekit_egress_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ImagesInfo) String() string { @@ -3488,7 +3542,7 @@ func (*ImagesInfo) ProtoMessage() {} func (x *ImagesInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3532,23 +3586,26 @@ func (x *ImagesInfo) GetEndedAt() int64 { } type AutoParticipantEgress struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Options: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Options: // // *AutoParticipantEgress_Preset // *AutoParticipantEgress_Advanced Options isAutoParticipantEgress_Options `protobuf_oneof:"options"` FileOutputs []*EncodedFileOutput `protobuf:"bytes,3,rep,name=file_outputs,json=fileOutputs,proto3" json:"file_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,4,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AutoParticipantEgress) Reset() { *x = AutoParticipantEgress{} - mi := &file_livekit_egress_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AutoParticipantEgress) String() string { @@ -3559,7 +3616,7 @@ func (*AutoParticipantEgress) ProtoMessage() {} func (x *AutoParticipantEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3574,27 +3631,23 @@ func (*AutoParticipantEgress) Descriptor() ([]byte, []int) { return file_livekit_egress_proto_rawDescGZIP(), []int{27} } -func (x *AutoParticipantEgress) GetOptions() isAutoParticipantEgress_Options { - if x != nil { - return x.Options +func (m *AutoParticipantEgress) GetOptions() isAutoParticipantEgress_Options { + if m != nil { + return m.Options } return nil } func (x *AutoParticipantEgress) GetPreset() EncodingOptionsPreset { - if x != nil { - if x, ok := x.Options.(*AutoParticipantEgress_Preset); ok { - return x.Preset - } + if x, ok := x.GetOptions().(*AutoParticipantEgress_Preset); ok { + return x.Preset } return EncodingOptionsPreset_H264_720P_30 } func (x *AutoParticipantEgress) GetAdvanced() *EncodingOptions { - if x != nil { - if x, ok := x.Options.(*AutoParticipantEgress_Advanced); ok { - return x.Advanced - } + if x, ok := x.GetOptions().(*AutoParticipantEgress_Advanced); ok { + return x.Advanced } return nil } @@ -3630,25 +3683,28 @@ func (*AutoParticipantEgress_Preset) isAutoParticipantEgress_Options() {} func (*AutoParticipantEgress_Advanced) isAutoParticipantEgress_Options() {} type AutoTrackEgress struct { - state protoimpl.MessageState `protogen:"open.v1"` - Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see docs for templating (default {track_id}-{time}) - DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disables upload of json manifest file (default false) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see docs for templating (default {track_id}-{time}) + DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disables upload of json manifest file (default false) + // Types that are assignable to Output: // // *AutoTrackEgress_S3 // *AutoTrackEgress_Gcp // *AutoTrackEgress_Azure // *AutoTrackEgress_AliOSS - Output isAutoTrackEgress_Output `protobuf_oneof:"output"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Output isAutoTrackEgress_Output `protobuf_oneof:"output"` } func (x *AutoTrackEgress) Reset() { *x = AutoTrackEgress{} - mi := &file_livekit_egress_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AutoTrackEgress) String() string { @@ -3659,7 +3715,7 @@ func (*AutoTrackEgress) ProtoMessage() {} func (x *AutoTrackEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3688,45 +3744,37 @@ func (x *AutoTrackEgress) GetDisableManifest() bool { return false } -func (x *AutoTrackEgress) GetOutput() isAutoTrackEgress_Output { - if x != nil { - return x.Output +func (m *AutoTrackEgress) GetOutput() isAutoTrackEgress_Output { + if m != nil { + return m.Output } return nil } func (x *AutoTrackEgress) GetS3() *S3Upload { - if x != nil { - if x, ok := x.Output.(*AutoTrackEgress_S3); ok { - return x.S3 - } + if x, ok := x.GetOutput().(*AutoTrackEgress_S3); ok { + return x.S3 } return nil } func (x *AutoTrackEgress) GetGcp() *GCPUpload { - if x != nil { - if x, ok := x.Output.(*AutoTrackEgress_Gcp); ok { - return x.Gcp - } + if x, ok := x.GetOutput().(*AutoTrackEgress_Gcp); ok { + return x.Gcp } return nil } func (x *AutoTrackEgress) GetAzure() *AzureBlobUpload { - if x != nil { - if x, ok := x.Output.(*AutoTrackEgress_Azure); ok { - return x.Azure - } + if x, ok := x.GetOutput().(*AutoTrackEgress_Azure); ok { + return x.Azure } return nil } func (x *AutoTrackEgress) GetAliOSS() *AliOSSUpload { - if x != nil { - if x, ok := x.Output.(*AutoTrackEgress_AliOSS); ok { - return x.AliOSS - } + if x, ok := x.GetOutput().(*AutoTrackEgress_AliOSS); ok { + return x.AliOSS } return nil } @@ -3761,7 +3809,7 @@ func (*AutoTrackEgress_AliOSS) isAutoTrackEgress_Output() {} var File_livekit_egress_proto protoreflect.FileDescriptor -var file_livekit_egress_proto_rawDesc = string([]byte{ +var file_livekit_egress_proto_rawDesc = []byte{ 0x0a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, @@ -4110,7 +4158,7 @@ var file_livekit_egress_proto_rawDesc = string([]byte{ 0x17, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x04, 0x75, 0x72, 0x6c, 0x73, 0x22, 0xca, 0x03, 0x0a, 0x0f, 0x45, 0x6e, 0x63, 0x6f, 0x64, + 0x52, 0x04, 0x75, 0x72, 0x6c, 0x73, 0x22, 0x83, 0x04, 0x0a, 0x0f, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, @@ -4128,481 +4176,493 @@ var file_livekit_egress_proto_rawDesc = string([]byte{ 0x61, 0x75, 0x64, 0x69, 0x6f, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x46, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x34, 0x0a, 0x0b, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x63, - 0x6f, 0x64, 0x65, 0x63, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x52, - 0x0a, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x12, 0x23, 0x0a, 0x0d, 0x76, - 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x62, 0x69, 0x74, 0x72, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0c, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x42, 0x69, 0x74, 0x72, 0x61, 0x74, 0x65, - 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, - 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x51, 0x75, - 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x72, 0x61, - 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x01, 0x52, 0x10, 0x6b, 0x65, 0x79, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, - 0x76, 0x61, 0x6c, 0x22, 0x4a, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x79, - 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x67, - 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, - 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x22, - 0x88, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x67, 0x72, 0x65, 0x73, - 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x67, 0x72, 0x65, - 0x73, 0x73, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x64, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x61, - 0x64, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, 0x72, 0x6c, 0x73, 0x12, 0x2c, 0x0a, 0x12, - 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, - 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, 0x72, 0x6c, 0x73, 0x22, 0x65, 0x0a, 0x11, 0x4c, 0x69, - 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, - 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x22, 0x3f, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x69, 0x74, 0x65, - 0x6d, 0x73, 0x22, 0x30, 0x0a, 0x11, 0x53, 0x74, 0x6f, 0x70, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x67, 0x72, 0x65, 0x73, - 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x67, 0x72, 0x65, - 0x73, 0x73, 0x49, 0x64, 0x22, 0xb7, 0x09, 0x0a, 0x0a, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, + 0x75, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x37, 0x0a, 0x0c, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x6d, + 0x69, 0x78, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x6c, 0x69, + 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4d, 0x69, 0x78, 0x69, 0x6e, + 0x67, 0x52, 0x0b, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x67, 0x12, 0x34, + 0x0a, 0x0b, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x56, 0x69, + 0x64, 0x65, 0x6f, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x52, 0x0a, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x43, + 0x6f, 0x64, 0x65, 0x63, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x62, 0x69, + 0x74, 0x72, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x76, 0x69, 0x64, + 0x65, 0x6f, 0x42, 0x69, 0x74, 0x72, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x69, 0x64, + 0x65, 0x6f, 0x5f, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0c, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x2c, + 0x0a, 0x12, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x76, 0x61, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x6b, 0x65, 0x79, 0x46, + 0x72, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, 0x4a, 0x0a, 0x13, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, - 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, - 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, - 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x2d, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, - 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x4c, 0x0a, 0x0e, 0x72, 0x6f, 0x6f, - 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x23, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, - 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x72, 0x6f, 0x6f, 0x6d, 0x43, 0x6f, - 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x03, 0x77, 0x65, 0x62, 0x18, 0x0e, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x57, - 0x65, 0x62, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, - 0x00, 0x52, 0x03, 0x77, 0x65, 0x62, 0x12, 0x45, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, - 0x69, 0x70, 0x61, 0x6e, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, - 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, - 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, - 0x0f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, - 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0e, - 0x74, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x12, 0x33, - 0x0a, 0x05, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x45, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x05, 0x74, 0x72, - 0x61, 0x63, 0x6b, 0x12, 0x35, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x02, 0x18, 0x01, - 0x48, 0x01, 0x52, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x2b, 0x0a, 0x04, 0x66, 0x69, - 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x02, 0x18, 0x01, 0x48, - 0x01, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, - 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x49, 0x6e, 0x66, 0x6f, - 0x42, 0x02, 0x18, 0x01, 0x48, 0x01, 0x52, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, - 0x12, 0x3a, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x73, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x0c, - 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x10, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x46, 0x69, 0x6c, - 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x73, 0x12, 0x3e, 0x0a, 0x0f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x0e, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x73, 0x12, 0x38, 0x0a, 0x0d, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, - 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x11, - 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, - 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x62, 0x61, 0x63, - 0x6b, 0x75, 0x70, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x64, - 0x18, 0x19, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x65, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x3d, - 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x27, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, - 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x3a, 0x02, 0x18, 0x01, 0x22, 0xee, 0x01, - 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, - 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, - 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x19, 0x0a, - 0x08, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x07, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x2e, - 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, - 0x56, 0x45, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, - 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0xac, - 0x01, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x66, - 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, - 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x22, 0x88, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x26, 0x0a, + 0x0f, 0x61, 0x64, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x64, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x55, 0x72, 0x6c, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, + 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, + 0x72, 0x6c, 0x73, 0x22, 0x65, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, + 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x3f, 0x0a, 0x12, 0x4c, 0x69, + 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x29, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x30, 0x0a, 0x11, 0x53, + 0x74, 0x6f, 0x70, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x22, 0xb7, 0x09, + 0x0a, 0x0a, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, + 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, + 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, + 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x3a, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x1a, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x69, + 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, + 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, + 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x64, 0x41, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x15, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x14, 0x0a, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, + 0x64, 0x65, 0x12, 0x4c, 0x0a, 0x0e, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, + 0x00, 0x52, 0x0d, 0x72, 0x6f, 0x6f, 0x6d, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, + 0x12, 0x2d, 0x0a, 0x03, 0x77, 0x65, 0x62, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x57, 0x65, 0x62, 0x45, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x03, 0x77, 0x65, 0x62, 0x12, + 0x45, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x18, 0x13, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, + 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f, + 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x24, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, + 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x6f, + 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x63, 0x6b, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, + 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x05, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x12, 0x35, 0x0a, 0x06, + 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x01, 0x52, 0x06, 0x73, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x12, 0x2b, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x02, 0x18, 0x01, 0x48, 0x01, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, + 0x12, 0x37, 0x0a, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x02, 0x18, 0x01, 0x48, 0x01, 0x52, + 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0e, 0x73, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, + 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, + 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3e, 0x0a, 0x0f, 0x73, + 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x11, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, + 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x73, 0x65, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x0d, 0x69, + 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x14, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6d, 0x61, + 0x67, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, + 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x19, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x11, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, + 0x65, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x08, 0x0a, + 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x3d, 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x04, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, + 0x66, 0x6f, 0x3a, 0x02, 0x18, 0x01, 0x22, 0xee, 0x01, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x41, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, - 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xd3, 0x02, - 0x0a, 0x0c, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, - 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x79, - 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x10, 0x6c, 0x69, 0x76, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, - 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, - 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x6c, - 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, - 0x0a, 0x16, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, - 0x6c, 0x69, 0x76, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x65, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x65, - 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x65, - 0x64, 0x41, 0x74, 0x22, 0x90, 0x01, 0x0a, 0x0a, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, - 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x69, - 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, - 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, - 0x6e, 0x64, 0x65, 0x64, 0x41, 0x74, 0x22, 0x9a, 0x02, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x6f, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x38, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, - 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, - 0x48, 0x00, 0x52, 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x61, 0x64, - 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, - 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, - 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, - 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, - 0x74, 0x70, 0x75, 0x74, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, - 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x92, 0x02, 0x0a, 0x0f, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x72, 0x61, 0x63, - 0x6b, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, - 0x61, 0x74, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, - 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64, - 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x23, - 0x0a, 0x02, 0x73, 0x33, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x33, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, - 0x02, 0x73, 0x33, 0x12, 0x26, 0x0a, 0x03, 0x67, 0x63, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x43, 0x50, 0x55, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x03, 0x67, 0x63, 0x70, 0x12, 0x30, 0x0a, 0x05, 0x61, - 0x7a, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x55, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x12, 0x2f, 0x0a, - 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x55, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x42, 0x08, - 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2a, 0x39, 0x0a, 0x0f, 0x45, 0x6e, 0x63, 0x6f, - 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x44, - 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x54, 0x59, 0x50, 0x45, 0x10, - 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x50, 0x34, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x47, - 0x47, 0x10, 0x02, 0x2a, 0x4e, 0x0a, 0x15, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, - 0x46, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x23, 0x0a, 0x1f, - 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x53, 0x45, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x45, - 0x44, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, - 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x4c, 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, - 0x4c, 0x10, 0x01, 0x2a, 0x2f, 0x0a, 0x13, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, - 0x46, 0x69, 0x6c, 0x65, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, - 0x44, 0x45, 0x58, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, - 0x4d, 0x50, 0x10, 0x01, 0x2a, 0x45, 0x0a, 0x0f, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x69, 0x6c, - 0x65, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4d, 0x41, 0x47, 0x45, - 0x5f, 0x53, 0x55, 0x46, 0x46, 0x49, 0x58, 0x5f, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x10, 0x00, 0x12, - 0x1a, 0x0a, 0x16, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x55, 0x46, 0x46, 0x49, 0x58, 0x5f, - 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x01, 0x2a, 0x39, 0x0a, 0x0e, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x14, 0x0a, - 0x10, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, - 0x4c, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x54, 0x4d, 0x50, 0x10, 0x01, 0x12, 0x07, 0x0a, - 0x03, 0x53, 0x52, 0x54, 0x10, 0x02, 0x2a, 0xcf, 0x01, 0x0a, 0x15, 0x45, 0x6e, 0x63, 0x6f, 0x64, - 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, - 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, 0x30, 0x50, 0x5f, 0x33, 0x30, - 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, 0x30, 0x50, 0x5f, - 0x36, 0x30, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x31, 0x30, 0x38, - 0x30, 0x50, 0x5f, 0x33, 0x30, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x48, 0x32, 0x36, 0x34, 0x5f, - 0x31, 0x30, 0x38, 0x30, 0x50, 0x5f, 0x36, 0x30, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4f, - 0x52, 0x54, 0x52, 0x41, 0x49, 0x54, 0x5f, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, 0x30, 0x50, - 0x5f, 0x33, 0x30, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4f, 0x52, 0x54, 0x52, 0x41, 0x49, - 0x54, 0x5f, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, 0x30, 0x50, 0x5f, 0x36, 0x30, 0x10, 0x05, - 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x4f, 0x52, 0x54, 0x52, 0x41, 0x49, 0x54, 0x5f, 0x48, 0x32, 0x36, - 0x34, 0x5f, 0x31, 0x30, 0x38, 0x30, 0x50, 0x5f, 0x33, 0x30, 0x10, 0x06, 0x12, 0x1a, 0x0a, 0x16, - 0x50, 0x4f, 0x52, 0x54, 0x52, 0x41, 0x49, 0x54, 0x5f, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x31, 0x30, - 0x38, 0x30, 0x50, 0x5f, 0x36, 0x30, 0x10, 0x07, 0x2a, 0x9f, 0x01, 0x0a, 0x0c, 0x45, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x47, 0x52, - 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x11, - 0x0a, 0x0d, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, - 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x45, 0x4e, 0x44, 0x49, - 0x4e, 0x47, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x43, - 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x47, 0x52, - 0x45, 0x53, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, - 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x05, - 0x12, 0x18, 0x0a, 0x14, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, - 0x5f, 0x52, 0x45, 0x41, 0x43, 0x48, 0x45, 0x44, 0x10, 0x06, 0x2a, 0x4a, 0x0a, 0x10, 0x45, 0x67, - 0x72, 0x65, 0x73, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, - 0x0a, 0x16, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x47, - 0x52, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x53, 0x44, 0x4b, 0x10, 0x01, 0x32, 0x9c, 0x05, 0x0a, 0x06, 0x45, 0x67, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x54, 0x0a, 0x18, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x6f, - 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x23, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x6f, 0x6d, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x72, 0x74, - 0x57, 0x65, 0x62, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x2e, 0x6c, 0x69, 0x76, 0x65, - 0x6b, 0x69, 0x74, 0x2e, 0x57, 0x65, 0x62, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, - 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x50, 0x0a, 0x16, 0x53, 0x74, 0x61, - 0x72, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x45, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x21, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x50, 0x61, - 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x56, 0x0a, 0x19, 0x53, - 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x24, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, - 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, 0x63, - 0x6b, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, - 0x74, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, - 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x41, 0x0a, 0x0c, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, - 0x6b, 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, + 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, + 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x2e, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x0c, 0x0a, + 0x08, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, + 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0xac, 0x01, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xd3, 0x02, 0x0a, 0x0c, 0x53, 0x65, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x6c, + 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, + 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x69, 0x76, 0x65, 0x50, 0x6c, + 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x6c, + 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x6c, 0x69, 0x76, 0x65, 0x5f, + 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x50, 0x6c, 0x61, + 0x79, 0x6c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, + 0x0d, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x41, 0x74, 0x22, 0x90, 0x01, 0x0a, + 0x0a, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x27, 0x0a, 0x0f, 0x66, + 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x50, 0x72, + 0x65, 0x66, 0x69, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, + 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x65, 0x64, 0x41, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x41, 0x74, 0x22, + 0x9a, 0x02, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x6f, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, + 0x61, 0x6e, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x72, 0x65, + 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x48, 0x00, 0x52, 0x06, 0x70, 0x72, 0x65, + 0x73, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, + 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, + 0x00, 0x52, 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x66, + 0x69, 0x6c, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, + 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0b, 0x66, + 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x65, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x52, 0x0e, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, + 0x73, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x92, 0x02, 0x0a, + 0x0f, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x12, 0x29, 0x0a, 0x10, + 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4d, + 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x33, + 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x02, 0x73, 0x33, 0x12, 0x26, 0x0a, 0x03, + 0x67, 0x63, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x43, 0x50, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, + 0x03, 0x67, 0x63, 0x70, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x7a, + 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, + 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, + 0x2e, 0x41, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, + 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x2a, 0x39, 0x0a, 0x0f, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, + 0x46, 0x49, 0x4c, 0x45, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x50, + 0x34, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x47, 0x47, 0x10, 0x02, 0x2a, 0x4e, 0x0a, 0x15, + 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x23, 0x0a, 0x1f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, + 0x5f, 0x53, 0x45, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x45, 0x44, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x5f, + 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x4c, + 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x01, 0x2a, 0x2f, 0x0a, 0x13, + 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x75, 0x66, + 0x66, 0x69, 0x78, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x10, 0x00, 0x12, 0x0d, + 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x01, 0x2a, 0x45, 0x0a, + 0x0f, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, + 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x55, 0x46, 0x46, 0x49, 0x58, + 0x5f, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x49, 0x4d, 0x41, 0x47, + 0x45, 0x5f, 0x53, 0x55, 0x46, 0x46, 0x49, 0x58, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, + 0x4d, 0x50, 0x10, 0x01, 0x2a, 0x39, 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, + 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, + 0x52, 0x54, 0x4d, 0x50, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x52, 0x54, 0x10, 0x02, 0x2a, + 0x68, 0x0a, 0x0b, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x67, 0x12, 0x12, + 0x0a, 0x0e, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x4d, 0x49, 0x58, 0x49, 0x4e, 0x47, + 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x44, 0x55, 0x41, 0x4c, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, + 0x45, 0x4c, 0x5f, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x44, 0x55, + 0x41, 0x4c, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x41, 0x4c, 0x54, 0x45, 0x52, + 0x4e, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x5f, + 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x10, 0x03, 0x2a, 0xcf, 0x01, 0x0a, 0x15, 0x45, 0x6e, + 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x65, + 0x73, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, 0x30, 0x50, + 0x5f, 0x33, 0x30, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, + 0x30, 0x50, 0x5f, 0x36, 0x30, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x48, 0x32, 0x36, 0x34, 0x5f, + 0x31, 0x30, 0x38, 0x30, 0x50, 0x5f, 0x33, 0x30, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x48, 0x32, + 0x36, 0x34, 0x5f, 0x31, 0x30, 0x38, 0x30, 0x50, 0x5f, 0x36, 0x30, 0x10, 0x03, 0x12, 0x19, 0x0a, + 0x15, 0x50, 0x4f, 0x52, 0x54, 0x52, 0x41, 0x49, 0x54, 0x5f, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, + 0x32, 0x30, 0x50, 0x5f, 0x33, 0x30, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4f, 0x52, 0x54, + 0x52, 0x41, 0x49, 0x54, 0x5f, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, 0x30, 0x50, 0x5f, 0x36, + 0x30, 0x10, 0x05, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x4f, 0x52, 0x54, 0x52, 0x41, 0x49, 0x54, 0x5f, + 0x48, 0x32, 0x36, 0x34, 0x5f, 0x31, 0x30, 0x38, 0x30, 0x50, 0x5f, 0x33, 0x30, 0x10, 0x06, 0x12, + 0x1a, 0x0a, 0x16, 0x50, 0x4f, 0x52, 0x54, 0x52, 0x41, 0x49, 0x54, 0x5f, 0x48, 0x32, 0x36, 0x34, + 0x5f, 0x31, 0x30, 0x38, 0x30, 0x50, 0x5f, 0x36, 0x30, 0x10, 0x07, 0x2a, 0x9f, 0x01, 0x0a, 0x0c, + 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x13, 0x0a, 0x0f, + 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, + 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, + 0x56, 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x45, + 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x47, 0x52, 0x45, 0x53, + 0x53, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, + 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, + 0x12, 0x0a, 0x0e, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, + 0x44, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x4c, 0x49, + 0x4d, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x43, 0x48, 0x45, 0x44, 0x10, 0x06, 0x2a, 0x4a, 0x0a, + 0x10, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x4f, 0x55, 0x52, + 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42, 0x10, 0x00, 0x12, 0x1a, 0x0a, + 0x16, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x53, 0x44, 0x4b, 0x10, 0x01, 0x32, 0x9c, 0x05, 0x0a, 0x06, 0x45, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x54, 0x0a, 0x18, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x6f, 0x6f, + 0x6d, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x23, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x43, + 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, + 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0e, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x57, 0x65, 0x62, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x57, 0x65, 0x62, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x50, 0x0a, 0x16, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, + 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, + 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x45, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x56, + 0x0a, 0x19, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x24, 0x2e, 0x6c, 0x69, + 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, + 0x72, 0x61, 0x63, 0x6b, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x41, 0x0a, 0x0c, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x1c, 0x2e, 0x6c, - 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, - 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x1c, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x79, + 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x45, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, - 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x69, 0x76, 0x65, - 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x53, 0x74, 0x6f, 0x70, 0x45, 0x67, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, - 0x74, 0x6f, 0x70, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, - 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x46, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, - 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, - 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) + 0x41, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, + 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, + 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x53, 0x74, 0x6f, + 0x70, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x46, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0xaa, + 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, + 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} var ( file_livekit_egress_proto_rawDescOnce sync.Once - file_livekit_egress_proto_rawDescData []byte + file_livekit_egress_proto_rawDescData = file_livekit_egress_proto_rawDesc ) func file_livekit_egress_proto_rawDescGZIP() []byte { file_livekit_egress_proto_rawDescOnce.Do(func() { - file_livekit_egress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_egress_proto_rawDesc), len(file_livekit_egress_proto_rawDesc))) + file_livekit_egress_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_egress_proto_rawDescData) }) return file_livekit_egress_proto_rawDescData } -var file_livekit_egress_proto_enumTypes = make([]protoimpl.EnumInfo, 9) +var file_livekit_egress_proto_enumTypes = make([]protoimpl.EnumInfo, 10) var file_livekit_egress_proto_msgTypes = make([]protoimpl.MessageInfo, 30) -var file_livekit_egress_proto_goTypes = []any{ +var file_livekit_egress_proto_goTypes = []interface{}{ (EncodedFileType)(0), // 0: livekit.EncodedFileType (SegmentedFileProtocol)(0), // 1: livekit.SegmentedFileProtocol (SegmentedFileSuffix)(0), // 2: livekit.SegmentedFileSuffix (ImageFileSuffix)(0), // 3: livekit.ImageFileSuffix (StreamProtocol)(0), // 4: livekit.StreamProtocol - (EncodingOptionsPreset)(0), // 5: livekit.EncodingOptionsPreset - (EgressStatus)(0), // 6: livekit.EgressStatus - (EgressSourceType)(0), // 7: livekit.EgressSourceType - (StreamInfo_Status)(0), // 8: livekit.StreamInfo.Status - (*RoomCompositeEgressRequest)(nil), // 9: livekit.RoomCompositeEgressRequest - (*WebEgressRequest)(nil), // 10: livekit.WebEgressRequest - (*ParticipantEgressRequest)(nil), // 11: livekit.ParticipantEgressRequest - (*TrackCompositeEgressRequest)(nil), // 12: livekit.TrackCompositeEgressRequest - (*TrackEgressRequest)(nil), // 13: livekit.TrackEgressRequest - (*EncodedFileOutput)(nil), // 14: livekit.EncodedFileOutput - (*SegmentedFileOutput)(nil), // 15: livekit.SegmentedFileOutput - (*DirectFileOutput)(nil), // 16: livekit.DirectFileOutput - (*ImageOutput)(nil), // 17: livekit.ImageOutput - (*S3Upload)(nil), // 18: livekit.S3Upload - (*GCPUpload)(nil), // 19: livekit.GCPUpload - (*AzureBlobUpload)(nil), // 20: livekit.AzureBlobUpload - (*AliOSSUpload)(nil), // 21: livekit.AliOSSUpload - (*ProxyConfig)(nil), // 22: livekit.ProxyConfig - (*StreamOutput)(nil), // 23: livekit.StreamOutput - (*EncodingOptions)(nil), // 24: livekit.EncodingOptions - (*UpdateLayoutRequest)(nil), // 25: livekit.UpdateLayoutRequest - (*UpdateStreamRequest)(nil), // 26: livekit.UpdateStreamRequest - (*ListEgressRequest)(nil), // 27: livekit.ListEgressRequest - (*ListEgressResponse)(nil), // 28: livekit.ListEgressResponse - (*StopEgressRequest)(nil), // 29: livekit.StopEgressRequest - (*EgressInfo)(nil), // 30: livekit.EgressInfo - (*StreamInfoList)(nil), // 31: livekit.StreamInfoList - (*StreamInfo)(nil), // 32: livekit.StreamInfo - (*FileInfo)(nil), // 33: livekit.FileInfo - (*SegmentsInfo)(nil), // 34: livekit.SegmentsInfo - (*ImagesInfo)(nil), // 35: livekit.ImagesInfo - (*AutoParticipantEgress)(nil), // 36: livekit.AutoParticipantEgress - (*AutoTrackEgress)(nil), // 37: livekit.AutoTrackEgress - nil, // 38: livekit.S3Upload.MetadataEntry - (ImageCodec)(0), // 39: livekit.ImageCodec - (AudioCodec)(0), // 40: livekit.AudioCodec - (VideoCodec)(0), // 41: livekit.VideoCodec + (AudioMixing)(0), // 5: livekit.AudioMixing + (EncodingOptionsPreset)(0), // 6: livekit.EncodingOptionsPreset + (EgressStatus)(0), // 7: livekit.EgressStatus + (EgressSourceType)(0), // 8: livekit.EgressSourceType + (StreamInfo_Status)(0), // 9: livekit.StreamInfo.Status + (*RoomCompositeEgressRequest)(nil), // 10: livekit.RoomCompositeEgressRequest + (*WebEgressRequest)(nil), // 11: livekit.WebEgressRequest + (*ParticipantEgressRequest)(nil), // 12: livekit.ParticipantEgressRequest + (*TrackCompositeEgressRequest)(nil), // 13: livekit.TrackCompositeEgressRequest + (*TrackEgressRequest)(nil), // 14: livekit.TrackEgressRequest + (*EncodedFileOutput)(nil), // 15: livekit.EncodedFileOutput + (*SegmentedFileOutput)(nil), // 16: livekit.SegmentedFileOutput + (*DirectFileOutput)(nil), // 17: livekit.DirectFileOutput + (*ImageOutput)(nil), // 18: livekit.ImageOutput + (*S3Upload)(nil), // 19: livekit.S3Upload + (*GCPUpload)(nil), // 20: livekit.GCPUpload + (*AzureBlobUpload)(nil), // 21: livekit.AzureBlobUpload + (*AliOSSUpload)(nil), // 22: livekit.AliOSSUpload + (*ProxyConfig)(nil), // 23: livekit.ProxyConfig + (*StreamOutput)(nil), // 24: livekit.StreamOutput + (*EncodingOptions)(nil), // 25: livekit.EncodingOptions + (*UpdateLayoutRequest)(nil), // 26: livekit.UpdateLayoutRequest + (*UpdateStreamRequest)(nil), // 27: livekit.UpdateStreamRequest + (*ListEgressRequest)(nil), // 28: livekit.ListEgressRequest + (*ListEgressResponse)(nil), // 29: livekit.ListEgressResponse + (*StopEgressRequest)(nil), // 30: livekit.StopEgressRequest + (*EgressInfo)(nil), // 31: livekit.EgressInfo + (*StreamInfoList)(nil), // 32: livekit.StreamInfoList + (*StreamInfo)(nil), // 33: livekit.StreamInfo + (*FileInfo)(nil), // 34: livekit.FileInfo + (*SegmentsInfo)(nil), // 35: livekit.SegmentsInfo + (*ImagesInfo)(nil), // 36: livekit.ImagesInfo + (*AutoParticipantEgress)(nil), // 37: livekit.AutoParticipantEgress + (*AutoTrackEgress)(nil), // 38: livekit.AutoTrackEgress + nil, // 39: livekit.S3Upload.MetadataEntry + (ImageCodec)(0), // 40: livekit.ImageCodec + (AudioCodec)(0), // 41: livekit.AudioCodec + (VideoCodec)(0), // 42: livekit.VideoCodec } var file_livekit_egress_proto_depIdxs = []int32{ - 14, // 0: livekit.RoomCompositeEgressRequest.file:type_name -> livekit.EncodedFileOutput - 23, // 1: livekit.RoomCompositeEgressRequest.stream:type_name -> livekit.StreamOutput - 15, // 2: livekit.RoomCompositeEgressRequest.segments:type_name -> livekit.SegmentedFileOutput - 5, // 3: livekit.RoomCompositeEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset - 24, // 4: livekit.RoomCompositeEgressRequest.advanced:type_name -> livekit.EncodingOptions - 14, // 5: livekit.RoomCompositeEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput - 23, // 6: livekit.RoomCompositeEgressRequest.stream_outputs:type_name -> livekit.StreamOutput - 15, // 7: livekit.RoomCompositeEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput - 17, // 8: livekit.RoomCompositeEgressRequest.image_outputs:type_name -> livekit.ImageOutput - 14, // 9: livekit.WebEgressRequest.file:type_name -> livekit.EncodedFileOutput - 23, // 10: livekit.WebEgressRequest.stream:type_name -> livekit.StreamOutput - 15, // 11: livekit.WebEgressRequest.segments:type_name -> livekit.SegmentedFileOutput - 5, // 12: livekit.WebEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset - 24, // 13: livekit.WebEgressRequest.advanced:type_name -> livekit.EncodingOptions - 14, // 14: livekit.WebEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput - 23, // 15: livekit.WebEgressRequest.stream_outputs:type_name -> livekit.StreamOutput - 15, // 16: livekit.WebEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput - 17, // 17: livekit.WebEgressRequest.image_outputs:type_name -> livekit.ImageOutput - 5, // 18: livekit.ParticipantEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset - 24, // 19: livekit.ParticipantEgressRequest.advanced:type_name -> livekit.EncodingOptions - 14, // 20: livekit.ParticipantEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput - 23, // 21: livekit.ParticipantEgressRequest.stream_outputs:type_name -> livekit.StreamOutput - 15, // 22: livekit.ParticipantEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput - 17, // 23: livekit.ParticipantEgressRequest.image_outputs:type_name -> livekit.ImageOutput - 14, // 24: livekit.TrackCompositeEgressRequest.file:type_name -> livekit.EncodedFileOutput - 23, // 25: livekit.TrackCompositeEgressRequest.stream:type_name -> livekit.StreamOutput - 15, // 26: livekit.TrackCompositeEgressRequest.segments:type_name -> livekit.SegmentedFileOutput - 5, // 27: livekit.TrackCompositeEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset - 24, // 28: livekit.TrackCompositeEgressRequest.advanced:type_name -> livekit.EncodingOptions - 14, // 29: livekit.TrackCompositeEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput - 23, // 30: livekit.TrackCompositeEgressRequest.stream_outputs:type_name -> livekit.StreamOutput - 15, // 31: livekit.TrackCompositeEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput - 17, // 32: livekit.TrackCompositeEgressRequest.image_outputs:type_name -> livekit.ImageOutput - 16, // 33: livekit.TrackEgressRequest.file:type_name -> livekit.DirectFileOutput + 15, // 0: livekit.RoomCompositeEgressRequest.file:type_name -> livekit.EncodedFileOutput + 24, // 1: livekit.RoomCompositeEgressRequest.stream:type_name -> livekit.StreamOutput + 16, // 2: livekit.RoomCompositeEgressRequest.segments:type_name -> livekit.SegmentedFileOutput + 6, // 3: livekit.RoomCompositeEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset + 25, // 4: livekit.RoomCompositeEgressRequest.advanced:type_name -> livekit.EncodingOptions + 15, // 5: livekit.RoomCompositeEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput + 24, // 6: livekit.RoomCompositeEgressRequest.stream_outputs:type_name -> livekit.StreamOutput + 16, // 7: livekit.RoomCompositeEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput + 18, // 8: livekit.RoomCompositeEgressRequest.image_outputs:type_name -> livekit.ImageOutput + 15, // 9: livekit.WebEgressRequest.file:type_name -> livekit.EncodedFileOutput + 24, // 10: livekit.WebEgressRequest.stream:type_name -> livekit.StreamOutput + 16, // 11: livekit.WebEgressRequest.segments:type_name -> livekit.SegmentedFileOutput + 6, // 12: livekit.WebEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset + 25, // 13: livekit.WebEgressRequest.advanced:type_name -> livekit.EncodingOptions + 15, // 14: livekit.WebEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput + 24, // 15: livekit.WebEgressRequest.stream_outputs:type_name -> livekit.StreamOutput + 16, // 16: livekit.WebEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput + 18, // 17: livekit.WebEgressRequest.image_outputs:type_name -> livekit.ImageOutput + 6, // 18: livekit.ParticipantEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset + 25, // 19: livekit.ParticipantEgressRequest.advanced:type_name -> livekit.EncodingOptions + 15, // 20: livekit.ParticipantEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput + 24, // 21: livekit.ParticipantEgressRequest.stream_outputs:type_name -> livekit.StreamOutput + 16, // 22: livekit.ParticipantEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput + 18, // 23: livekit.ParticipantEgressRequest.image_outputs:type_name -> livekit.ImageOutput + 15, // 24: livekit.TrackCompositeEgressRequest.file:type_name -> livekit.EncodedFileOutput + 24, // 25: livekit.TrackCompositeEgressRequest.stream:type_name -> livekit.StreamOutput + 16, // 26: livekit.TrackCompositeEgressRequest.segments:type_name -> livekit.SegmentedFileOutput + 6, // 27: livekit.TrackCompositeEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset + 25, // 28: livekit.TrackCompositeEgressRequest.advanced:type_name -> livekit.EncodingOptions + 15, // 29: livekit.TrackCompositeEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput + 24, // 30: livekit.TrackCompositeEgressRequest.stream_outputs:type_name -> livekit.StreamOutput + 16, // 31: livekit.TrackCompositeEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput + 18, // 32: livekit.TrackCompositeEgressRequest.image_outputs:type_name -> livekit.ImageOutput + 17, // 33: livekit.TrackEgressRequest.file:type_name -> livekit.DirectFileOutput 0, // 34: livekit.EncodedFileOutput.file_type:type_name -> livekit.EncodedFileType - 18, // 35: livekit.EncodedFileOutput.s3:type_name -> livekit.S3Upload - 19, // 36: livekit.EncodedFileOutput.gcp:type_name -> livekit.GCPUpload - 20, // 37: livekit.EncodedFileOutput.azure:type_name -> livekit.AzureBlobUpload - 21, // 38: livekit.EncodedFileOutput.aliOSS:type_name -> livekit.AliOSSUpload + 19, // 35: livekit.EncodedFileOutput.s3:type_name -> livekit.S3Upload + 20, // 36: livekit.EncodedFileOutput.gcp:type_name -> livekit.GCPUpload + 21, // 37: livekit.EncodedFileOutput.azure:type_name -> livekit.AzureBlobUpload + 22, // 38: livekit.EncodedFileOutput.aliOSS:type_name -> livekit.AliOSSUpload 1, // 39: livekit.SegmentedFileOutput.protocol:type_name -> livekit.SegmentedFileProtocol 2, // 40: livekit.SegmentedFileOutput.filename_suffix:type_name -> livekit.SegmentedFileSuffix - 18, // 41: livekit.SegmentedFileOutput.s3:type_name -> livekit.S3Upload - 19, // 42: livekit.SegmentedFileOutput.gcp:type_name -> livekit.GCPUpload - 20, // 43: livekit.SegmentedFileOutput.azure:type_name -> livekit.AzureBlobUpload - 21, // 44: livekit.SegmentedFileOutput.aliOSS:type_name -> livekit.AliOSSUpload - 18, // 45: livekit.DirectFileOutput.s3:type_name -> livekit.S3Upload - 19, // 46: livekit.DirectFileOutput.gcp:type_name -> livekit.GCPUpload - 20, // 47: livekit.DirectFileOutput.azure:type_name -> livekit.AzureBlobUpload - 21, // 48: livekit.DirectFileOutput.aliOSS:type_name -> livekit.AliOSSUpload + 19, // 41: livekit.SegmentedFileOutput.s3:type_name -> livekit.S3Upload + 20, // 42: livekit.SegmentedFileOutput.gcp:type_name -> livekit.GCPUpload + 21, // 43: livekit.SegmentedFileOutput.azure:type_name -> livekit.AzureBlobUpload + 22, // 44: livekit.SegmentedFileOutput.aliOSS:type_name -> livekit.AliOSSUpload + 19, // 45: livekit.DirectFileOutput.s3:type_name -> livekit.S3Upload + 20, // 46: livekit.DirectFileOutput.gcp:type_name -> livekit.GCPUpload + 21, // 47: livekit.DirectFileOutput.azure:type_name -> livekit.AzureBlobUpload + 22, // 48: livekit.DirectFileOutput.aliOSS:type_name -> livekit.AliOSSUpload 3, // 49: livekit.ImageOutput.filename_suffix:type_name -> livekit.ImageFileSuffix - 39, // 50: livekit.ImageOutput.image_codec:type_name -> livekit.ImageCodec - 18, // 51: livekit.ImageOutput.s3:type_name -> livekit.S3Upload - 19, // 52: livekit.ImageOutput.gcp:type_name -> livekit.GCPUpload - 20, // 53: livekit.ImageOutput.azure:type_name -> livekit.AzureBlobUpload - 21, // 54: livekit.ImageOutput.aliOSS:type_name -> livekit.AliOSSUpload - 38, // 55: livekit.S3Upload.metadata:type_name -> livekit.S3Upload.MetadataEntry - 22, // 56: livekit.S3Upload.proxy:type_name -> livekit.ProxyConfig - 22, // 57: livekit.GCPUpload.proxy:type_name -> livekit.ProxyConfig + 40, // 50: livekit.ImageOutput.image_codec:type_name -> livekit.ImageCodec + 19, // 51: livekit.ImageOutput.s3:type_name -> livekit.S3Upload + 20, // 52: livekit.ImageOutput.gcp:type_name -> livekit.GCPUpload + 21, // 53: livekit.ImageOutput.azure:type_name -> livekit.AzureBlobUpload + 22, // 54: livekit.ImageOutput.aliOSS:type_name -> livekit.AliOSSUpload + 39, // 55: livekit.S3Upload.metadata:type_name -> livekit.S3Upload.MetadataEntry + 23, // 56: livekit.S3Upload.proxy:type_name -> livekit.ProxyConfig + 23, // 57: livekit.GCPUpload.proxy:type_name -> livekit.ProxyConfig 4, // 58: livekit.StreamOutput.protocol:type_name -> livekit.StreamProtocol - 40, // 59: livekit.EncodingOptions.audio_codec:type_name -> livekit.AudioCodec - 41, // 60: livekit.EncodingOptions.video_codec:type_name -> livekit.VideoCodec - 30, // 61: livekit.ListEgressResponse.items:type_name -> livekit.EgressInfo - 7, // 62: livekit.EgressInfo.source_type:type_name -> livekit.EgressSourceType - 6, // 63: livekit.EgressInfo.status:type_name -> livekit.EgressStatus - 9, // 64: livekit.EgressInfo.room_composite:type_name -> livekit.RoomCompositeEgressRequest - 10, // 65: livekit.EgressInfo.web:type_name -> livekit.WebEgressRequest - 11, // 66: livekit.EgressInfo.participant:type_name -> livekit.ParticipantEgressRequest - 12, // 67: livekit.EgressInfo.track_composite:type_name -> livekit.TrackCompositeEgressRequest - 13, // 68: livekit.EgressInfo.track:type_name -> livekit.TrackEgressRequest - 31, // 69: livekit.EgressInfo.stream:type_name -> livekit.StreamInfoList - 33, // 70: livekit.EgressInfo.file:type_name -> livekit.FileInfo - 34, // 71: livekit.EgressInfo.segments:type_name -> livekit.SegmentsInfo - 32, // 72: livekit.EgressInfo.stream_results:type_name -> livekit.StreamInfo - 33, // 73: livekit.EgressInfo.file_results:type_name -> livekit.FileInfo - 34, // 74: livekit.EgressInfo.segment_results:type_name -> livekit.SegmentsInfo - 35, // 75: livekit.EgressInfo.image_results:type_name -> livekit.ImagesInfo - 32, // 76: livekit.StreamInfoList.info:type_name -> livekit.StreamInfo - 8, // 77: livekit.StreamInfo.status:type_name -> livekit.StreamInfo.Status - 5, // 78: livekit.AutoParticipantEgress.preset:type_name -> livekit.EncodingOptionsPreset - 24, // 79: livekit.AutoParticipantEgress.advanced:type_name -> livekit.EncodingOptions - 14, // 80: livekit.AutoParticipantEgress.file_outputs:type_name -> livekit.EncodedFileOutput - 15, // 81: livekit.AutoParticipantEgress.segment_outputs:type_name -> livekit.SegmentedFileOutput - 18, // 82: livekit.AutoTrackEgress.s3:type_name -> livekit.S3Upload - 19, // 83: livekit.AutoTrackEgress.gcp:type_name -> livekit.GCPUpload - 20, // 84: livekit.AutoTrackEgress.azure:type_name -> livekit.AzureBlobUpload - 21, // 85: livekit.AutoTrackEgress.aliOSS:type_name -> livekit.AliOSSUpload - 9, // 86: livekit.Egress.StartRoomCompositeEgress:input_type -> livekit.RoomCompositeEgressRequest - 10, // 87: livekit.Egress.StartWebEgress:input_type -> livekit.WebEgressRequest - 11, // 88: livekit.Egress.StartParticipantEgress:input_type -> livekit.ParticipantEgressRequest - 12, // 89: livekit.Egress.StartTrackCompositeEgress:input_type -> livekit.TrackCompositeEgressRequest - 13, // 90: livekit.Egress.StartTrackEgress:input_type -> livekit.TrackEgressRequest - 25, // 91: livekit.Egress.UpdateLayout:input_type -> livekit.UpdateLayoutRequest - 26, // 92: livekit.Egress.UpdateStream:input_type -> livekit.UpdateStreamRequest - 27, // 93: livekit.Egress.ListEgress:input_type -> livekit.ListEgressRequest - 29, // 94: livekit.Egress.StopEgress:input_type -> livekit.StopEgressRequest - 30, // 95: livekit.Egress.StartRoomCompositeEgress:output_type -> livekit.EgressInfo - 30, // 96: livekit.Egress.StartWebEgress:output_type -> livekit.EgressInfo - 30, // 97: livekit.Egress.StartParticipantEgress:output_type -> livekit.EgressInfo - 30, // 98: livekit.Egress.StartTrackCompositeEgress:output_type -> livekit.EgressInfo - 30, // 99: livekit.Egress.StartTrackEgress:output_type -> livekit.EgressInfo - 30, // 100: livekit.Egress.UpdateLayout:output_type -> livekit.EgressInfo - 30, // 101: livekit.Egress.UpdateStream:output_type -> livekit.EgressInfo - 28, // 102: livekit.Egress.ListEgress:output_type -> livekit.ListEgressResponse - 30, // 103: livekit.Egress.StopEgress:output_type -> livekit.EgressInfo - 95, // [95:104] is the sub-list for method output_type - 86, // [86:95] is the sub-list for method input_type - 86, // [86:86] is the sub-list for extension type_name - 86, // [86:86] is the sub-list for extension extendee - 0, // [0:86] is the sub-list for field type_name + 41, // 59: livekit.EncodingOptions.audio_codec:type_name -> livekit.AudioCodec + 5, // 60: livekit.EncodingOptions.audio_mixing:type_name -> livekit.AudioMixing + 42, // 61: livekit.EncodingOptions.video_codec:type_name -> livekit.VideoCodec + 31, // 62: livekit.ListEgressResponse.items:type_name -> livekit.EgressInfo + 8, // 63: livekit.EgressInfo.source_type:type_name -> livekit.EgressSourceType + 7, // 64: livekit.EgressInfo.status:type_name -> livekit.EgressStatus + 10, // 65: livekit.EgressInfo.room_composite:type_name -> livekit.RoomCompositeEgressRequest + 11, // 66: livekit.EgressInfo.web:type_name -> livekit.WebEgressRequest + 12, // 67: livekit.EgressInfo.participant:type_name -> livekit.ParticipantEgressRequest + 13, // 68: livekit.EgressInfo.track_composite:type_name -> livekit.TrackCompositeEgressRequest + 14, // 69: livekit.EgressInfo.track:type_name -> livekit.TrackEgressRequest + 32, // 70: livekit.EgressInfo.stream:type_name -> livekit.StreamInfoList + 34, // 71: livekit.EgressInfo.file:type_name -> livekit.FileInfo + 35, // 72: livekit.EgressInfo.segments:type_name -> livekit.SegmentsInfo + 33, // 73: livekit.EgressInfo.stream_results:type_name -> livekit.StreamInfo + 34, // 74: livekit.EgressInfo.file_results:type_name -> livekit.FileInfo + 35, // 75: livekit.EgressInfo.segment_results:type_name -> livekit.SegmentsInfo + 36, // 76: livekit.EgressInfo.image_results:type_name -> livekit.ImagesInfo + 33, // 77: livekit.StreamInfoList.info:type_name -> livekit.StreamInfo + 9, // 78: livekit.StreamInfo.status:type_name -> livekit.StreamInfo.Status + 6, // 79: livekit.AutoParticipantEgress.preset:type_name -> livekit.EncodingOptionsPreset + 25, // 80: livekit.AutoParticipantEgress.advanced:type_name -> livekit.EncodingOptions + 15, // 81: livekit.AutoParticipantEgress.file_outputs:type_name -> livekit.EncodedFileOutput + 16, // 82: livekit.AutoParticipantEgress.segment_outputs:type_name -> livekit.SegmentedFileOutput + 19, // 83: livekit.AutoTrackEgress.s3:type_name -> livekit.S3Upload + 20, // 84: livekit.AutoTrackEgress.gcp:type_name -> livekit.GCPUpload + 21, // 85: livekit.AutoTrackEgress.azure:type_name -> livekit.AzureBlobUpload + 22, // 86: livekit.AutoTrackEgress.aliOSS:type_name -> livekit.AliOSSUpload + 10, // 87: livekit.Egress.StartRoomCompositeEgress:input_type -> livekit.RoomCompositeEgressRequest + 11, // 88: livekit.Egress.StartWebEgress:input_type -> livekit.WebEgressRequest + 12, // 89: livekit.Egress.StartParticipantEgress:input_type -> livekit.ParticipantEgressRequest + 13, // 90: livekit.Egress.StartTrackCompositeEgress:input_type -> livekit.TrackCompositeEgressRequest + 14, // 91: livekit.Egress.StartTrackEgress:input_type -> livekit.TrackEgressRequest + 26, // 92: livekit.Egress.UpdateLayout:input_type -> livekit.UpdateLayoutRequest + 27, // 93: livekit.Egress.UpdateStream:input_type -> livekit.UpdateStreamRequest + 28, // 94: livekit.Egress.ListEgress:input_type -> livekit.ListEgressRequest + 30, // 95: livekit.Egress.StopEgress:input_type -> livekit.StopEgressRequest + 31, // 96: livekit.Egress.StartRoomCompositeEgress:output_type -> livekit.EgressInfo + 31, // 97: livekit.Egress.StartWebEgress:output_type -> livekit.EgressInfo + 31, // 98: livekit.Egress.StartParticipantEgress:output_type -> livekit.EgressInfo + 31, // 99: livekit.Egress.StartTrackCompositeEgress:output_type -> livekit.EgressInfo + 31, // 100: livekit.Egress.StartTrackEgress:output_type -> livekit.EgressInfo + 31, // 101: livekit.Egress.UpdateLayout:output_type -> livekit.EgressInfo + 31, // 102: livekit.Egress.UpdateStream:output_type -> livekit.EgressInfo + 29, // 103: livekit.Egress.ListEgress:output_type -> livekit.ListEgressResponse + 31, // 104: livekit.Egress.StopEgress:output_type -> livekit.EgressInfo + 96, // [96:105] is the sub-list for method output_type + 87, // [87:96] is the sub-list for method input_type + 87, // [87:87] is the sub-list for extension type_name + 87, // [87:87] is the sub-list for extension extendee + 0, // [0:87] is the sub-list for field type_name } func init() { file_livekit_egress_proto_init() } @@ -4611,60 +4671,410 @@ func file_livekit_egress_proto_init() { return } file_livekit_models_proto_init() - file_livekit_egress_proto_msgTypes[0].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_egress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomCompositeEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WebEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParticipantEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackCompositeEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EncodedFileOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SegmentedFileOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DirectFileOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*S3Upload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GCPUpload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AzureBlobUpload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AliOSSUpload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProxyConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EncodingOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateLayoutRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListEgressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EgressInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamInfoList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SegmentsInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImagesInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoParticipantEgress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoTrackEgress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_egress_proto_msgTypes[0].OneofWrappers = []interface{}{ (*RoomCompositeEgressRequest_File)(nil), (*RoomCompositeEgressRequest_Stream)(nil), (*RoomCompositeEgressRequest_Segments)(nil), (*RoomCompositeEgressRequest_Preset)(nil), (*RoomCompositeEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[1].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[1].OneofWrappers = []interface{}{ (*WebEgressRequest_File)(nil), (*WebEgressRequest_Stream)(nil), (*WebEgressRequest_Segments)(nil), (*WebEgressRequest_Preset)(nil), (*WebEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[2].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[2].OneofWrappers = []interface{}{ (*ParticipantEgressRequest_Preset)(nil), (*ParticipantEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[3].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[3].OneofWrappers = []interface{}{ (*TrackCompositeEgressRequest_File)(nil), (*TrackCompositeEgressRequest_Stream)(nil), (*TrackCompositeEgressRequest_Segments)(nil), (*TrackCompositeEgressRequest_Preset)(nil), (*TrackCompositeEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[4].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[4].OneofWrappers = []interface{}{ (*TrackEgressRequest_File)(nil), (*TrackEgressRequest_WebsocketUrl)(nil), } - file_livekit_egress_proto_msgTypes[5].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[5].OneofWrappers = []interface{}{ (*EncodedFileOutput_S3)(nil), (*EncodedFileOutput_Gcp)(nil), (*EncodedFileOutput_Azure)(nil), (*EncodedFileOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[6].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[6].OneofWrappers = []interface{}{ (*SegmentedFileOutput_S3)(nil), (*SegmentedFileOutput_Gcp)(nil), (*SegmentedFileOutput_Azure)(nil), (*SegmentedFileOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[7].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[7].OneofWrappers = []interface{}{ (*DirectFileOutput_S3)(nil), (*DirectFileOutput_Gcp)(nil), (*DirectFileOutput_Azure)(nil), (*DirectFileOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[8].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[8].OneofWrappers = []interface{}{ (*ImageOutput_S3)(nil), (*ImageOutput_Gcp)(nil), (*ImageOutput_Azure)(nil), (*ImageOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[21].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[21].OneofWrappers = []interface{}{ (*EgressInfo_RoomComposite)(nil), (*EgressInfo_Web)(nil), (*EgressInfo_Participant)(nil), @@ -4674,11 +5084,11 @@ func file_livekit_egress_proto_init() { (*EgressInfo_File)(nil), (*EgressInfo_Segments)(nil), } - file_livekit_egress_proto_msgTypes[27].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[27].OneofWrappers = []interface{}{ (*AutoParticipantEgress_Preset)(nil), (*AutoParticipantEgress_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[28].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[28].OneofWrappers = []interface{}{ (*AutoTrackEgress_S3)(nil), (*AutoTrackEgress_Gcp)(nil), (*AutoTrackEgress_Azure)(nil), @@ -4688,8 +5098,8 @@ func file_livekit_egress_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_egress_proto_rawDesc), len(file_livekit_egress_proto_rawDesc)), - NumEnums: 9, + RawDescriptor: file_livekit_egress_proto_rawDesc, + NumEnums: 10, NumMessages: 30, NumExtensions: 0, NumServices: 1, @@ -4700,6 +5110,7 @@ func file_livekit_egress_proto_init() { MessageInfos: file_livekit_egress_proto_msgTypes, }.Build() File_livekit_egress_proto = out.File + file_livekit_egress_proto_rawDesc = nil file_livekit_egress_proto_goTypes = nil file_livekit_egress_proto_depIdxs = nil } diff --git a/livekit/livekit_egress.twirp.go b/livekit/livekit_egress.twirp.go index be4def88a..a25723ef8 100644 --- a/livekit/livekit_egress.twirp.go +++ b/livekit/livekit_egress.twirp.go @@ -2754,198 +2754,203 @@ func (s *egressServer) PathPrefix() string { } var twirpFileDescriptor1 = []byte{ - // 3088 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0x49, 0x73, 0x1b, 0xc7, - 0x15, 0xe6, 0x60, 0xc7, 0xc3, 0xc2, 0x61, 0x8b, 0x92, 0x21, 0xca, 0xb1, 0x68, 0xc8, 0x8b, 0x4c, - 0xdb, 0x14, 0x23, 0xca, 0xb2, 0x4c, 0xc7, 0x4e, 0x40, 0x72, 0x48, 0xc2, 0xe6, 0x82, 0x0c, 0x40, - 0xcb, 0xc9, 0x65, 0x6a, 0x88, 0x69, 0x92, 0x53, 0x04, 0x66, 0xe0, 0xe9, 0x06, 0x65, 0xb8, 0xf2, - 0x03, 0x72, 0xcc, 0x72, 0x4b, 0xa5, 0x2a, 0x97, 0x9c, 0x52, 0xa9, 0x5c, 0x7d, 0xce, 0x35, 0xa9, - 0x54, 0x0e, 0xf9, 0x13, 0xa9, 0x54, 0x25, 0x87, 0xfc, 0x82, 0x54, 0x2f, 0xb3, 0x60, 0x30, 0xa4, - 0x40, 0x51, 0x55, 0x39, 0x24, 0xb7, 0xee, 0xb7, 0xe1, 0x75, 0xbf, 0xaf, 0x5f, 0xf7, 0x7b, 0x03, - 0x98, 0xef, 0xd9, 0xe7, 0xf8, 0xcc, 0xa6, 0x06, 0x3e, 0xf1, 0x30, 0x21, 0xcb, 0x03, 0xcf, 0xa5, - 0x2e, 0xca, 0x4b, 0xea, 0x42, 0xc0, 0xee, 0xbb, 0x16, 0xee, 0x49, 0x76, 0xfd, 0xef, 0x59, 0x58, - 0xd0, 0x5d, 0xb7, 0xbf, 0xe1, 0xf6, 0x07, 0x2e, 0xb1, 0x29, 0xd6, 0xb8, 0xb2, 0x8e, 0xbf, 0x1a, - 0x62, 0x42, 0xd1, 0x1d, 0x28, 0x7a, 0xae, 0xdb, 0x37, 0x1c, 0xb3, 0x8f, 0x6b, 0xca, 0xa2, 0x72, - 0xbf, 0xa8, 0x17, 0x18, 0x61, 0xdf, 0xec, 0x63, 0x74, 0x0b, 0x72, 0x3d, 0x73, 0xe4, 0x0e, 0x69, - 0x2d, 0xc5, 0x39, 0x72, 0x86, 0xbe, 0x03, 0x60, 0x0e, 0x2d, 0xdb, 0x35, 0x5c, 0xa7, 0x37, 0xaa, - 0xa5, 0x17, 0x95, 0xfb, 0x05, 0xbd, 0xc8, 0x29, 0x07, 0x4e, 0x6f, 0xc4, 0xd8, 0xe7, 0xb6, 0x85, - 0x25, 0x3b, 0x23, 0xd8, 0x9c, 0xc2, 0xd9, 0x6f, 0xc1, 0x6c, 0x77, 0x48, 0xa8, 0xdb, 0x37, 0x8e, - 0x4c, 0x82, 0x8d, 0xa1, 0xd7, 0xab, 0x65, 0xb9, 0xf9, 0x8a, 0x20, 0xaf, 0x9b, 0x04, 0x1f, 0x7a, - 0x3d, 0xf4, 0x08, 0x32, 0xc7, 0x76, 0x0f, 0xd7, 0x72, 0x8b, 0xca, 0xfd, 0xd2, 0xc3, 0x85, 0x65, - 0xb9, 0xbc, 0x65, 0xcd, 0xe9, 0xba, 0x16, 0xb6, 0xb6, 0xec, 0x1e, 0x3e, 0x18, 0xd2, 0xc1, 0x90, - 0xae, 0xa7, 0x6a, 0xca, 0xce, 0x8c, 0xce, 0xa5, 0xd1, 0x2a, 0xe4, 0x08, 0xf5, 0xb0, 0xd9, 0xaf, - 0xe5, 0xb9, 0xde, 0xcd, 0x40, 0xaf, 0xcd, 0xc9, 0x63, 0x2a, 0x52, 0x14, 0x7d, 0x0a, 0x05, 0x82, - 0x4f, 0xfa, 0xd8, 0xa1, 0xa4, 0x06, 0x5c, 0xed, 0xd5, 0x50, 0x4d, 0x30, 0x12, 0x7e, 0x30, 0xd0, - 0x41, 0x4f, 0x20, 0x37, 0xf0, 0x30, 0xc1, 0xb4, 0x56, 0x58, 0x54, 0xee, 0x57, 0x1f, 0xbe, 0x36, - 0xee, 0xac, 0xed, 0x9c, 0x1c, 0x0c, 0xa8, 0xed, 0x3a, 0xa4, 0xc5, 0xa5, 0x76, 0x14, 0x5d, 0xca, - 0xa3, 0xc7, 0x50, 0x30, 0xad, 0x73, 0xd3, 0xe9, 0x62, 0xab, 0x56, 0xe4, 0xbf, 0x5c, 0xbb, 0x48, - 0x77, 0x47, 0xd1, 0x03, 0x59, 0xf4, 0x09, 0x94, 0xd9, 0x72, 0x0d, 0x97, 0x3b, 0x44, 0x6a, 0xa5, - 0xc5, 0xf4, 0xe5, 0x9b, 0xa4, 0x97, 0x8e, 0x83, 0x31, 0x41, 0xdf, 0x83, 0xaa, 0x58, 0x7a, 0x60, - 0xa0, 0xcc, 0x0d, 0x24, 0xef, 0x96, 0x5e, 0x21, 0x91, 0x19, 0x41, 0x1a, 0xcc, 0xca, 0xa5, 0x07, - 0xea, 0x15, 0xae, 0x7e, 0xe9, 0xae, 0xe9, 0x55, 0xa9, 0xe4, 0x9b, 0xf9, 0x08, 0x2a, 0x76, 0xdf, - 0x3c, 0x09, 0x17, 0x51, 0xe5, 0x46, 0xe6, 0x03, 0x23, 0x4d, 0xc6, 0x95, 0xca, 0x65, 0x3b, 0x9c, - 0x90, 0xf5, 0x02, 0xe4, 0x84, 0xd2, 0x7a, 0x11, 0xf2, 0xae, 0xd8, 0x9f, 0xfa, 0x1f, 0xb3, 0xa0, - 0x3e, 0xc5, 0x47, 0xe3, 0x00, 0x57, 0x21, 0xcd, 0x10, 0x26, 0xa0, 0xcd, 0x86, 0x31, 0xf4, 0xa6, - 0x2e, 0x47, 0x6f, 0x3a, 0x8e, 0xde, 0xf7, 0x00, 0x99, 0xcf, 0x4c, 0x9b, 0x1a, 0x84, 0x9a, 0x1e, - 0x35, 0x88, 0x7d, 0xe2, 0x98, 0xbd, 0x5a, 0x99, 0x8b, 0xa9, 0x9c, 0xd3, 0x66, 0x8c, 0x36, 0xa7, - 0x07, 0x18, 0xce, 0xbc, 0x20, 0x86, 0xb3, 0x2f, 0x86, 0xe1, 0xdc, 0xb5, 0x30, 0x9c, 0xbf, 0x06, - 0x86, 0x0b, 0xd7, 0xc0, 0x70, 0xf1, 0xba, 0x18, 0x86, 0xeb, 0x61, 0xb8, 0xf4, 0x32, 0x30, 0x5c, - 0xb9, 0x1e, 0x86, 0xff, 0x9d, 0x86, 0x5a, 0xcb, 0xf4, 0xa8, 0xdd, 0xb5, 0x07, 0xa6, 0x43, 0xaf, - 0x90, 0xac, 0x17, 0xa0, 0x60, 0x5b, 0xd8, 0xa1, 0x36, 0x1d, 0xc9, 0x74, 0x1d, 0xcc, 0xd1, 0xeb, - 0x50, 0x26, 0x5d, 0x0f, 0x63, 0xc7, 0x20, 0xa7, 0xa6, 0x87, 0x25, 0xaa, 0x4b, 0x82, 0xd6, 0x66, - 0xa4, 0x48, 0xf8, 0x33, 0x53, 0x85, 0x7f, 0x26, 0x31, 0xfc, 0xd9, 0xe7, 0x84, 0x7f, 0xe6, 0x92, - 0xf0, 0xe7, 0xae, 0x1b, 0xfe, 0xfc, 0xf5, 0xc2, 0x5f, 0x78, 0x19, 0xe1, 0x2f, 0x4e, 0x1d, 0xfe, - 0x48, 0xd0, 0xbf, 0xcd, 0xc2, 0x9d, 0x8e, 0x67, 0x76, 0xcf, 0x5e, 0xe4, 0x92, 0x7e, 0x03, 0xaa, - 0x22, 0x9d, 0x51, 0x66, 0xc1, 0xb0, 0x2d, 0x19, 0xfd, 0x32, 0xa7, 0x72, 0xb3, 0x4d, 0x8b, 0x49, - 0x89, 0xac, 0x16, 0x48, 0xa5, 0x85, 0x14, 0xa7, 0xfa, 0x52, 0xff, 0xa5, 0x74, 0x55, 0xb8, 0x56, - 0xba, 0xca, 0x5d, 0x23, 0x5d, 0xe5, 0xff, 0x7f, 0xe5, 0x5e, 0x2b, 0x5d, 0xfd, 0x41, 0x01, 0xc4, - 0xc1, 0x73, 0x05, 0xc0, 0xde, 0x86, 0x42, 0x0c, 0xaa, 0x79, 0x2a, 0xf1, 0xf7, 0x40, 0xe2, 0x2f, - 0xcd, 0xc3, 0x72, 0x3b, 0xf0, 0x6a, 0xd3, 0xf6, 0x70, 0x97, 0x86, 0xeb, 0x0a, 0xa0, 0xf7, 0x26, - 0x54, 0x9e, 0xe1, 0x23, 0xe2, 0x76, 0xcf, 0x30, 0xe5, 0x2f, 0x49, 0x86, 0xdc, 0xe2, 0xce, 0x8c, - 0x5e, 0x0e, 0xc8, 0x87, 0x5e, 0x2f, 0xf4, 0xbd, 0xfe, 0xe7, 0x14, 0xcc, 0x4d, 0x04, 0x0a, 0x7d, - 0x00, 0x45, 0x1e, 0x5a, 0x3a, 0x1a, 0x08, 0x7f, 0xab, 0x71, 0x4c, 0x08, 0xf1, 0xce, 0x68, 0x80, - 0xf5, 0xc2, 0xb1, 0x1c, 0xb1, 0x94, 0xcb, 0xc6, 0x03, 0x93, 0x9e, 0xfa, 0x29, 0xd7, 0x9f, 0xa3, - 0x77, 0x40, 0xb5, 0x6c, 0x62, 0x1e, 0xf5, 0xb0, 0xd1, 0x37, 0x1d, 0xfb, 0x18, 0x13, 0x81, 0xd4, - 0x82, 0x3e, 0x2b, 0xe9, 0x7b, 0x92, 0x8c, 0xee, 0x41, 0x8a, 0xac, 0xca, 0x35, 0xcf, 0x85, 0xe1, - 0x5c, 0x3d, 0x1c, 0xf4, 0x5c, 0xd3, 0xda, 0x99, 0xd1, 0x53, 0x64, 0x15, 0xbd, 0x05, 0xe9, 0x93, - 0xee, 0x40, 0x9e, 0x4c, 0x14, 0x48, 0x6d, 0x6f, 0xb4, 0x02, 0x31, 0x26, 0x80, 0x56, 0x20, 0x6b, - 0x7e, 0x33, 0xf4, 0xf0, 0x44, 0x2a, 0x6e, 0x30, 0xea, 0x7a, 0xcf, 0x3d, 0x0a, 0xe4, 0x85, 0x20, - 0x7a, 0x00, 0x39, 0xb3, 0x67, 0x1f, 0xb4, 0xdb, 0x13, 0x2f, 0xe6, 0x06, 0x27, 0x07, 0xf2, 0x52, - 0x2c, 0xb2, 0x9b, 0xbf, 0xcd, 0xc0, 0x8d, 0x04, 0xd8, 0xa1, 0x35, 0x28, 0xf0, 0xea, 0xa3, 0xeb, - 0xf6, 0xe4, 0x76, 0xbe, 0x96, 0x0c, 0xd3, 0x96, 0x94, 0xd2, 0x03, 0x79, 0xf4, 0x36, 0xcc, 0xb2, - 0x4d, 0x64, 0xd0, 0x31, 0x06, 0x1e, 0x3e, 0xb6, 0xbf, 0x96, 0x7b, 0x5b, 0xf5, 0xc9, 0x2d, 0x4e, - 0x45, 0xf7, 0xa0, 0x32, 0xe8, 0x99, 0xa3, 0x9e, 0x4d, 0xa8, 0x00, 0x9a, 0xcc, 0x68, 0x3e, 0x91, - 0x83, 0xed, 0x3d, 0x40, 0xec, 0x87, 0x8d, 0x71, 0xc9, 0x12, 0x97, 0x54, 0x19, 0xa7, 0x15, 0x95, - 0x7e, 0x07, 0x54, 0xff, 0x94, 0x59, 0x43, 0xcf, 0x64, 0x18, 0xe7, 0x3b, 0x5e, 0xd1, 0xfd, 0xd3, - 0xb7, 0x29, 0xc9, 0xec, 0x40, 0x06, 0x6e, 0x92, 0xe1, 0x31, 0x73, 0x13, 0xf8, 0x4a, 0x2f, 0x38, - 0x90, 0x6d, 0x2e, 0x13, 0x2e, 0x42, 0xcc, 0x13, 0x61, 0x52, 0xb8, 0x0c, 0x26, 0xd9, 0xa9, 0x60, - 0x92, 0x9b, 0x1a, 0x26, 0xf9, 0xab, 0xc3, 0xa4, 0x78, 0x55, 0x98, 0xfc, 0x32, 0x05, 0x6a, 0xfc, - 0x08, 0x8f, 0x1d, 0x1e, 0x65, 0x8a, 0xc3, 0x93, 0xbd, 0x6c, 0x57, 0x52, 0x53, 0xed, 0x4a, 0x7a, - 0xea, 0x5d, 0xc9, 0x5c, 0x7d, 0x57, 0x72, 0x57, 0xdd, 0x95, 0x7f, 0xa6, 0xa1, 0x14, 0x49, 0xb7, - 0x6c, 0xd1, 0x5d, 0x73, 0x40, 0x87, 0x1e, 0x36, 0x6c, 0x87, 0x62, 0xef, 0xdc, 0x14, 0x87, 0xa7, - 0xa2, 0xcf, 0x4a, 0x7a, 0x53, 0x92, 0xd1, 0x3c, 0x64, 0x9f, 0xd9, 0x96, 0xcc, 0x3a, 0x59, 0x5d, - 0x4c, 0x58, 0xb9, 0x7e, 0x8a, 0xed, 0x93, 0x53, 0xca, 0x17, 0x9a, 0xd5, 0xe5, 0x2c, 0xe9, 0x44, - 0x65, 0x12, 0x4f, 0x54, 0x63, 0x12, 0xd3, 0xd9, 0x58, 0x32, 0xe4, 0x0e, 0x5f, 0x82, 0xe7, 0x47, - 0x50, 0x12, 0x17, 0x0c, 0xcb, 0x99, 0x5d, 0x79, 0x37, 0xdf, 0x18, 0x57, 0xdf, 0x60, 0x2c, 0x1d, - 0xec, 0x60, 0x9c, 0x18, 0xef, 0xfc, 0x65, 0xf1, 0x2e, 0x4c, 0x15, 0xef, 0xe2, 0xd4, 0xf1, 0x86, - 0xab, 0xc7, 0xbb, 0x74, 0xd5, 0x78, 0xff, 0x25, 0x0d, 0x05, 0xdf, 0x4f, 0x5e, 0x84, 0x76, 0xbb, - 0x98, 0x10, 0xe3, 0x0c, 0x8f, 0x24, 0xfe, 0x8b, 0x82, 0xf2, 0x39, 0x1e, 0xb1, 0x50, 0x12, 0xdc, - 0xf5, 0x70, 0xd0, 0x79, 0x11, 0x33, 0x96, 0xf3, 0x08, 0x26, 0xc4, 0x76, 0x1d, 0x83, 0xba, 0x67, - 0xd8, 0x91, 0x99, 0xac, 0x2c, 0x89, 0x1d, 0x46, 0x63, 0xca, 0x1e, 0x3e, 0x61, 0xb9, 0x4b, 0x64, - 0x44, 0x39, 0x63, 0x27, 0x0e, 0x3b, 0xd6, 0xc0, 0xb5, 0x1d, 0x2a, 0x01, 0x10, 0xcc, 0x99, 0xce, - 0xd1, 0x90, 0x5d, 0x97, 0xb2, 0x17, 0x23, 0x67, 0xe8, 0x3e, 0xa8, 0xc7, 0xae, 0xd7, 0xc5, 0x06, - 0x3b, 0x97, 0x06, 0xa1, 0x23, 0xd9, 0x90, 0x29, 0xe8, 0x55, 0x4e, 0x6f, 0x99, 0xf4, 0xb4, 0xcd, - 0xa8, 0xe8, 0x63, 0x28, 0xf4, 0x31, 0x35, 0x2d, 0x93, 0x9a, 0xf2, 0x25, 0x7e, 0x77, 0x22, 0x3c, - 0xcb, 0x7b, 0x52, 0x42, 0x73, 0xa8, 0x37, 0xd2, 0x03, 0x05, 0x54, 0x83, 0x3c, 0x35, 0x4f, 0x4e, - 0x6c, 0xe7, 0x84, 0x87, 0x96, 0x3d, 0x09, 0xc4, 0x14, 0x3d, 0x80, 0x1b, 0x5d, 0xd7, 0xa1, 0x3c, - 0x25, 0xdb, 0x84, 0xbf, 0x8e, 0xd9, 0xca, 0x8a, 0x5c, 0x0a, 0x49, 0xd6, 0x66, 0xc8, 0x41, 0x4b, - 0x90, 0x1d, 0x78, 0xee, 0xd7, 0x23, 0x19, 0xd3, 0xf0, 0x69, 0xd3, 0x62, 0xd4, 0x0d, 0xd7, 0x39, - 0xb6, 0x4f, 0x74, 0x21, 0xb2, 0xf0, 0x31, 0x54, 0xc6, 0x3c, 0x42, 0x2a, 0xa4, 0xc3, 0x78, 0xb0, - 0x21, 0x3b, 0x6a, 0xe7, 0x66, 0x6f, 0x88, 0x65, 0x20, 0xc4, 0x64, 0x2d, 0xf5, 0x44, 0xa9, 0x7f, - 0x05, 0xc5, 0x00, 0x50, 0x68, 0x11, 0x4a, 0x5d, 0x0f, 0xf3, 0x7a, 0xcb, 0xec, 0x11, 0x69, 0x20, - 0x4a, 0x8a, 0xec, 0x70, 0x6a, 0x6c, 0x87, 0x03, 0x7f, 0xd3, 0xcf, 0xf5, 0xb7, 0xfe, 0x13, 0x98, - 0x8d, 0x21, 0x93, 0x95, 0x76, 0x66, 0xb7, 0xeb, 0x0e, 0x1d, 0x1a, 0x7d, 0x6d, 0x95, 0x24, 0x8d, - 0xdf, 0x6a, 0x77, 0xc1, 0x9f, 0x72, 0xb0, 0x89, 0x9f, 0x07, 0x49, 0x62, 0x68, 0x7b, 0x13, 0xaa, - 0x6c, 0x23, 0x4d, 0xdb, 0xc1, 0x5e, 0xf4, 0x2a, 0xad, 0x04, 0x54, 0x66, 0xa7, 0xfe, 0x73, 0x05, - 0xca, 0x51, 0x94, 0xbf, 0x28, 0x88, 0x5f, 0x22, 0x3e, 0xeb, 0x4f, 0xa1, 0x14, 0xd9, 0xa7, 0x84, - 0x6e, 0xcf, 0x02, 0x14, 0x86, 0x04, 0x7b, 0x7c, 0x55, 0xf2, 0x8d, 0xe6, 0xcf, 0x19, 0x6f, 0x60, - 0x12, 0xf2, 0xcc, 0xf5, 0xfc, 0x72, 0x28, 0x98, 0xd7, 0x9f, 0x42, 0x39, 0xfa, 0x1e, 0x47, 0xab, - 0x13, 0x4f, 0x9a, 0x57, 0x62, 0x0f, 0xf7, 0x84, 0xb7, 0x0c, 0x82, 0xcc, 0xd0, 0xeb, 0x91, 0x5a, - 0x6a, 0x31, 0x7d, 0xbf, 0xa8, 0xf3, 0x71, 0xfd, 0x4f, 0x69, 0x98, 0x8d, 0x95, 0x19, 0x61, 0x3e, - 0x57, 0x92, 0xf3, 0x79, 0x6a, 0x2c, 0x9f, 0xcf, 0x43, 0xd6, 0xc2, 0x03, 0x7a, 0x2a, 0xd3, 0xbc, - 0x98, 0xa0, 0x57, 0xa1, 0x78, 0xec, 0x99, 0x7d, 0xec, 0x99, 0x54, 0xdc, 0x5f, 0x59, 0x3d, 0x24, - 0xb0, 0xbc, 0x2c, 0xaa, 0x44, 0x91, 0x97, 0xb3, 0xb1, 0xbc, 0xdc, 0x60, 0x3c, 0x99, 0x97, 0xcd, - 0x60, 0xcc, 0xd2, 0x8d, 0xd0, 0x3a, 0xb2, 0x29, 0xb7, 0x9b, 0xe3, 0x76, 0x45, 0x69, 0xb9, 0x2e, - 0x68, 0xa1, 0xd0, 0x57, 0x43, 0xb3, 0x67, 0xd3, 0x11, 0xcf, 0x49, 0xbe, 0xd0, 0x0f, 0x05, 0x8d, - 0xdd, 0x41, 0x42, 0xe8, 0xd8, 0x63, 0x35, 0x82, 0xd3, 0x1d, 0xf1, 0x04, 0x9f, 0xd5, 0x45, 0xf1, - 0xba, 0xe5, 0x53, 0x99, 0xa3, 0xa2, 0x50, 0x15, 0x8e, 0x16, 0x62, 0x8e, 0x7e, 0xc1, 0x78, 0xd2, - 0xd1, 0xf3, 0x60, 0xcc, 0x7c, 0x10, 0x5a, 0xbe, 0xa3, 0x45, 0xe1, 0x03, 0x27, 0x46, 0x1c, 0x15, - 0x42, 0xbe, 0xa3, 0xe5, 0x88, 0x90, 0xef, 0xe8, 0x7b, 0x80, 0xce, 0xf0, 0xc8, 0xe0, 0x3b, 0x17, - 0xde, 0xc3, 0x2c, 0x97, 0x28, 0xba, 0x7a, 0x86, 0x47, 0x5b, 0x8c, 0xe1, 0x5f, 0xc4, 0xf5, 0xcf, - 0xe0, 0xc6, 0xe1, 0xc0, 0x32, 0x29, 0xde, 0xe5, 0x9d, 0xf1, 0x48, 0xfd, 0x23, 0x7a, 0xf4, 0xac, - 0xc6, 0x91, 0x8f, 0x1b, 0x41, 0x68, 0x5a, 0x17, 0x75, 0xd5, 0xeb, 0x3f, 0x55, 0x7c, 0x63, 0x02, - 0x4f, 0x53, 0x19, 0x7b, 0x0b, 0x66, 0x4d, 0xcb, 0x92, 0xe5, 0x9c, 0x11, 0x01, 0x5b, 0xc5, 0xb4, - 0x2c, 0x01, 0xdd, 0x43, 0xaf, 0x47, 0xd8, 0xb2, 0x3c, 0xdc, 0x77, 0xcf, 0xf1, 0x98, 0x68, 0x9a, - 0x8b, 0xaa, 0x82, 0x13, 0x4a, 0xd7, 0x31, 0xcc, 0xed, 0xda, 0xe4, 0x2a, 0xdd, 0xa7, 0x31, 0x27, - 0x53, 0x93, 0x2b, 0x36, 0xbb, 0xd4, 0x3e, 0xf7, 0x1b, 0x4f, 0x72, 0x56, 0xff, 0x3e, 0xa0, 0xe8, - 0xcf, 0x90, 0x81, 0xeb, 0x10, 0xf6, 0x08, 0xcf, 0xda, 0x14, 0xf7, 0x59, 0x12, 0x65, 0xb7, 0x48, - 0x18, 0x7b, 0x21, 0xd7, 0x74, 0x8e, 0x5d, 0x5d, 0x48, 0xd4, 0x57, 0x60, 0xae, 0x4d, 0xdd, 0xc1, - 0x84, 0x9f, 0x17, 0xee, 0x57, 0xfd, 0xdb, 0x22, 0x40, 0x68, 0xe7, 0xf2, 0xbd, 0x7d, 0x05, 0xf2, - 0x7c, 0xc1, 0xc1, 0x8a, 0x72, 0x6c, 0xda, 0xb4, 0xc6, 0x77, 0xa2, 0x12, 0xdb, 0x89, 0x35, 0x28, - 0x11, 0x77, 0xc8, 0xae, 0x4c, 0x5e, 0x4d, 0x2e, 0x70, 0x00, 0xdf, 0x8e, 0x2d, 0xa2, 0xcd, 0x25, - 0x78, 0x39, 0x09, 0x24, 0x18, 0xa3, 0xf7, 0x21, 0x47, 0xa8, 0x49, 0x87, 0x84, 0x6f, 0x54, 0x35, - 0xf2, 0xba, 0x90, 0x6a, 0x9c, 0xa9, 0x4b, 0x21, 0x96, 0x7f, 0x79, 0x17, 0x1a, 0x5b, 0x86, 0x49, - 0x39, 0x46, 0xd3, 0x7a, 0x51, 0x52, 0x1a, 0x94, 0x15, 0xda, 0xd8, 0xb1, 0x04, 0xb3, 0xc4, 0x99, - 0x79, 0x3e, 0x6f, 0xf0, 0x2f, 0x38, 0x43, 0x0e, 0x35, 0xce, 0x44, 0x42, 0x53, 0x52, 0x1a, 0x94, - 0x5d, 0xc7, 0x16, 0xa6, 0xa6, 0xdd, 0x23, 0xb5, 0x9b, 0xe2, 0x3a, 0x96, 0x53, 0x96, 0x7b, 0xb0, - 0xe7, 0xb9, 0x9e, 0xbc, 0x80, 0xc5, 0x84, 0x99, 0xe3, 0x03, 0x7e, 0x68, 0x6b, 0xb7, 0x44, 0xf2, - 0xe1, 0x14, 0x76, 0x3c, 0xd1, 0x2e, 0x54, 0xf9, 0x7e, 0x75, 0xfd, 0xf6, 0x96, 0x7c, 0x5f, 0xdf, - 0x0b, 0x96, 0x77, 0xf1, 0x17, 0xaa, 0x9d, 0x19, 0xbd, 0xe2, 0x45, 0xb9, 0xe8, 0x7d, 0x48, 0x3f, - 0xc3, 0x47, 0xb5, 0x6a, 0xac, 0x47, 0x10, 0xef, 0xfc, 0xb3, 0x37, 0xde, 0x33, 0x7c, 0x84, 0x34, - 0x28, 0x0d, 0xc2, 0x86, 0x6a, 0xed, 0x06, 0x57, 0x7b, 0x3d, 0xbc, 0x65, 0x2f, 0x68, 0xb6, 0xee, - 0xcc, 0xe8, 0x51, 0x3d, 0x74, 0x00, 0xb3, 0xa2, 0x6b, 0x11, 0x2e, 0x42, 0x94, 0x62, 0x6f, 0x04, - 0xa6, 0x2e, 0x69, 0xe1, 0xed, 0xcc, 0xe8, 0x55, 0x3a, 0xc6, 0x46, 0xab, 0x90, 0xe5, 0x14, 0x59, - 0x38, 0xdc, 0x19, 0x37, 0x13, 0xd7, 0x16, 0xb2, 0xe8, 0x83, 0xd8, 0xd7, 0xad, 0xf8, 0x1d, 0xc4, - 0x40, 0xcd, 0x8e, 0x14, 0x6f, 0x97, 0x29, 0x41, 0xb3, 0xed, 0x5d, 0xd9, 0x57, 0x89, 0x3f, 0x9b, - 0xd9, 0x43, 0x9e, 0xa9, 0x48, 0x71, 0xd1, 0x53, 0xf9, 0x30, 0xd2, 0x99, 0x2b, 0xc7, 0x1b, 0x7a, - 0x92, 0x11, 0x51, 0x0a, 0x5b, 0x72, 0x6b, 0x41, 0x87, 0xcb, 0xc3, 0x64, 0xd8, 0xa3, 0xa4, 0x36, - 0x1b, 0x3b, 0xc1, 0xa1, 0x93, 0x7e, 0x7f, 0x4b, 0x17, 0x92, 0xe8, 0x91, 0x6c, 0xae, 0xf9, 0x9a, - 0x2a, 0xd7, 0x9c, 0xf4, 0x54, 0xf4, 0xd4, 0x7c, 0xad, 0x4f, 0xc3, 0xae, 0x98, 0xaf, 0x38, 0x17, - 0x6f, 0xaa, 0x45, 0x3c, 0x0e, 0xda, 0x61, 0xbe, 0xfe, 0x13, 0xbf, 0x1d, 0xe6, 0x6b, 0xcf, 0xc7, - 0x1c, 0xe6, 0xf5, 0x8a, 0xd0, 0x15, 0xdd, 0x30, 0x5f, 0xf3, 0x5d, 0x98, 0xf3, 0x2b, 0x15, 0xa3, - 0xe7, 0x76, 0x45, 0xab, 0xe0, 0x15, 0xd1, 0x56, 0xf0, 0x19, 0xbb, 0x92, 0x8e, 0x96, 0xe1, 0xc6, - 0x91, 0xd9, 0x3d, 0x1b, 0x0e, 0x0c, 0x42, 0x5d, 0x8f, 0xfd, 0xde, 0x90, 0x60, 0xab, 0x76, 0x9b, - 0x27, 0xc3, 0x39, 0xc1, 0x6a, 0x0b, 0xce, 0x21, 0xc1, 0xd6, 0x7a, 0x11, 0xf2, 0x9e, 0x88, 0x3c, - 0x2b, 0x1f, 0x84, 0x6f, 0xf5, 0x4f, 0xa0, 0x3a, 0x1e, 0x63, 0xf4, 0x36, 0x64, 0x6c, 0xe7, 0xd8, - 0x9d, 0xc8, 0x93, 0x91, 0x5d, 0xe6, 0x02, 0x6b, 0xa9, 0x9a, 0x52, 0xff, 0x97, 0x02, 0x10, 0x32, - 0x92, 0x3f, 0x8b, 0x45, 0x92, 0x49, 0xea, 0xb2, 0x64, 0x92, 0x1e, 0x4f, 0x26, 0x0b, 0x50, 0x18, - 0xeb, 0x96, 0xa4, 0xf5, 0x60, 0x8e, 0x1e, 0x06, 0x19, 0x4d, 0x3c, 0x39, 0x16, 0x12, 0xbc, 0x5c, - 0x8e, 0xa5, 0xb5, 0x20, 0xc7, 0xe4, 0x22, 0x39, 0xa6, 0xbe, 0x0c, 0x39, 0x21, 0x87, 0x00, 0x72, - 0x8d, 0x8d, 0x4e, 0xf3, 0x0b, 0x4d, 0x9d, 0x41, 0x65, 0x28, 0x6c, 0x35, 0xf7, 0x9b, 0xed, 0x1d, - 0x6d, 0x53, 0x55, 0x18, 0x67, 0xab, 0xd1, 0xdc, 0xd5, 0x36, 0xd5, 0x54, 0xfd, 0xf7, 0x0a, 0x14, - 0x7c, 0xd4, 0xf8, 0xcd, 0x86, 0xe8, 0xd5, 0xe5, 0xcf, 0x5f, 0xd2, 0xc2, 0x73, 0xb1, 0x85, 0x23, - 0xc8, 0x10, 0xfb, 0x1b, 0x2c, 0x37, 0x84, 0x8f, 0x99, 0x7c, 0x80, 0x15, 0xf1, 0x8c, 0x0d, 0xe6, - 0xf5, 0xbf, 0xa5, 0xa0, 0x1c, 0xc5, 0xea, 0x64, 0x7b, 0x4b, 0x99, 0xba, 0xbd, 0x55, 0xb8, 0xa0, - 0xbd, 0x15, 0xf5, 0x37, 0x75, 0x81, 0xbf, 0xe9, 0x88, 0xbf, 0xef, 0xc2, 0x5c, 0x60, 0x38, 0x70, - 0x5c, 0xbc, 0xcc, 0x55, 0x9f, 0x11, 0x80, 0xfc, 0x11, 0xdc, 0x1a, 0x77, 0x25, 0xd0, 0x10, 0x57, - 0xc5, 0x7c, 0xd4, 0x9d, 0x40, 0x8b, 0x17, 0xb4, 0xe2, 0x04, 0xf3, 0x72, 0x84, 0xef, 0x4b, 0x9a, - 0x15, 0xb4, 0x9c, 0xb8, 0xc1, 0x68, 0xb1, 0x08, 0xe5, 0x2e, 0x8b, 0x50, 0x7e, 0x2c, 0x42, 0xf5, - 0x9f, 0x29, 0x00, 0xe1, 0x19, 0x9e, 0xbe, 0x13, 0x72, 0x37, 0x6c, 0x63, 0x30, 0xa7, 0x14, 0x6e, - 0xd5, 0xef, 0x58, 0x4c, 0xba, 0x74, 0x05, 0xd0, 0xd4, 0x7f, 0x95, 0x82, 0x9b, 0x8d, 0x21, 0x75, - 0x27, 0x2e, 0x9e, 0xc8, 0x27, 0x0d, 0xe5, 0x1a, 0x9f, 0xe0, 0x52, 0xd7, 0xf8, 0x04, 0x97, 0xbe, - 0xda, 0x27, 0x8d, 0x84, 0x8f, 0x12, 0x99, 0xab, 0x7f, 0x94, 0x88, 0x7e, 0x4f, 0xf8, 0x45, 0x0a, - 0x66, 0xd9, 0xe6, 0x44, 0xee, 0xc0, 0xff, 0xf9, 0x46, 0xe1, 0xd2, 0x47, 0xb2, 0x60, 0x0c, 0xbf, - 0x41, 0xa0, 0x79, 0x50, 0x37, 0xb5, 0xad, 0xc6, 0xe1, 0x6e, 0xc7, 0xd8, 0x6a, 0xee, 0x6a, 0x9d, - 0x1f, 0xb5, 0x58, 0x32, 0xcc, 0x43, 0x7a, 0xaf, 0xf5, 0x48, 0x55, 0xd8, 0xe0, 0x60, 0x7b, 0x5b, - 0x4d, 0x2d, 0xed, 0xc3, 0xcd, 0xc4, 0x7e, 0x3b, 0xba, 0x07, 0x77, 0x7d, 0x03, 0x6d, 0x6d, 0x7b, - 0x4f, 0xdb, 0xef, 0x68, 0x9b, 0xdc, 0x94, 0xd1, 0xd2, 0x0f, 0x3a, 0x07, 0x1b, 0x07, 0xbb, 0xea, - 0x0c, 0x52, 0xa1, 0xbc, 0xb3, 0xdb, 0x0e, 0x29, 0xca, 0xd2, 0x83, 0x58, 0xbf, 0x5f, 0x76, 0xfd, - 0x8a, 0x90, 0x6d, 0xee, 0x6f, 0x6a, 0x5f, 0xaa, 0x33, 0xa8, 0x02, 0xc5, 0x4e, 0x73, 0x4f, 0x6b, - 0x77, 0x1a, 0x7b, 0x2d, 0x55, 0x59, 0xd2, 0x60, 0x36, 0xd6, 0x32, 0x44, 0xb7, 0x00, 0x35, 0xf7, - 0x1a, 0xdb, 0x9a, 0xd1, 0x3e, 0xdc, 0xda, 0x6a, 0x7e, 0x69, 0xf8, 0x9a, 0x0b, 0x70, 0x6b, 0x8c, - 0x1e, 0x35, 0xf3, 0x91, 0x7f, 0xf9, 0x05, 0x0b, 0x88, 0xec, 0x40, 0xc4, 0xe3, 0x02, 0x64, 0xf4, - 0x0e, 0xd3, 0x60, 0x5b, 0xd0, 0xd6, 0x3b, 0x6a, 0x6a, 0xe9, 0xaf, 0x0a, 0xdc, 0x4c, 0x3c, 0x3f, - 0x7c, 0x79, 0x0f, 0x1f, 0x3f, 0x32, 0x3e, 0x7c, 0xb8, 0xd2, 0x32, 0x56, 0x57, 0xe4, 0x82, 0x03, - 0xca, 0xe3, 0x15, 0x55, 0x41, 0x73, 0x50, 0xe1, 0x94, 0xef, 0xae, 0x3c, 0x11, 0x42, 0xa9, 0x18, - 0xe9, 0xf1, 0x8a, 0x9a, 0x46, 0xb7, 0xe1, 0x66, 0xeb, 0x40, 0xef, 0xe8, 0x8d, 0x66, 0xc7, 0x18, - 0x33, 0x99, 0xb9, 0x80, 0xf5, 0x78, 0x45, 0xcd, 0xb2, 0x05, 0x8f, 0xb3, 0x82, 0x1f, 0xc9, 0x5d, - 0xc4, 0x7b, 0xbc, 0xa2, 0xe6, 0x97, 0x7e, 0xa3, 0x40, 0x39, 0x5a, 0x0f, 0xa0, 0x1b, 0x30, 0xab, - 0x6d, 0xeb, 0x5a, 0xbb, 0x6d, 0xb4, 0x3b, 0x0d, 0xbd, 0xd3, 0xdc, 0xdf, 0x56, 0x67, 0x98, 0x9b, - 0x92, 0x28, 0x2f, 0x4b, 0x25, 0x42, 0xd2, 0xf6, 0x37, 0x99, 0x54, 0x2a, 0xa2, 0xba, 0x71, 0xb0, - 0xd7, 0xda, 0xd5, 0x3a, 0x9a, 0x9a, 0x8e, 0xc8, 0xc9, 0xdb, 0x34, 0x83, 0x10, 0x54, 0x7d, 0x6b, - 0xeb, 0x07, 0x7a, 0x47, 0xdb, 0x54, 0xb3, 0xa8, 0x06, 0xf3, 0x92, 0xb6, 0xdb, 0xdc, 0x6b, 0x76, - 0x0c, 0x5d, 0x6b, 0x6c, 0xb0, 0x7b, 0x38, 0xb7, 0xf4, 0x19, 0xa8, 0xf1, 0x3a, 0x87, 0xad, 0xc8, - 0x77, 0xf2, 0xe0, 0x50, 0xdf, 0xd0, 0x0c, 0x06, 0x5a, 0xe3, 0xa9, 0xb6, 0x2e, 0x42, 0x9f, 0xc0, - 0x6b, 0x6f, 0x7e, 0xae, 0x2a, 0x0f, 0x7f, 0x9d, 0x85, 0x9c, 0xcc, 0x04, 0x1d, 0xa8, 0xf1, 0x3f, - 0xd7, 0x24, 0x54, 0x0b, 0x68, 0x9a, 0x5a, 0x62, 0x21, 0xa9, 0x96, 0x44, 0x3f, 0x60, 0xd8, 0x32, - 0x3d, 0x1a, 0x14, 0x10, 0xe8, 0xe2, 0xa2, 0x22, 0xd9, 0x42, 0x0b, 0x6e, 0x71, 0x0b, 0x93, 0x29, - 0xfd, 0xf9, 0x75, 0x46, 0xb2, 0xc5, 0x2f, 0xe0, 0x36, 0xb7, 0x98, 0x54, 0x52, 0xa0, 0xa9, 0x2a, - 0x8e, 0x64, 0xbb, 0x9b, 0xa0, 0x86, 0x76, 0xa5, 0xb9, 0xcb, 0x2a, 0x8f, 0x64, 0x2b, 0x0d, 0x28, - 0x47, 0xbb, 0x1e, 0x28, 0x4c, 0xf7, 0x09, 0xcd, 0x90, 0xe7, 0x98, 0x10, 0xc7, 0x7a, 0xc2, 0xc4, - 0x58, 0x0b, 0x24, 0xd9, 0x84, 0x06, 0x10, 0x76, 0x0f, 0x50, 0x78, 0x69, 0x4d, 0x74, 0x2e, 0x16, - 0xee, 0x24, 0xf2, 0x64, 0xbb, 0xe1, 0x13, 0xf6, 0x2e, 0xf6, 0x7b, 0x08, 0x28, 0xfa, 0x3e, 0x8d, - 0x35, 0x16, 0x12, 0xbd, 0x58, 0xdf, 0xfa, 0xf1, 0xbd, 0x13, 0x9b, 0x9e, 0x0e, 0x8f, 0x96, 0xbb, - 0x6e, 0xff, 0x81, 0x14, 0x78, 0xe0, 0x77, 0x00, 0x7d, 0xc2, 0xef, 0x52, 0x95, 0x5d, 0xfb, 0x1c, - 0x7f, 0x2e, 0xda, 0xba, 0xd4, 0xfd, 0x47, 0xaa, 0x2a, 0xe7, 0x6b, 0x6b, 0x9c, 0x70, 0x94, 0xe3, - 0x2a, 0xab, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x63, 0x14, 0xd1, 0x2b, 0xe5, 0x29, 0x00, 0x00, + // 3167 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x1a, 0x4b, 0x6f, 0x1b, 0xc7, + 0x59, 0xcb, 0x37, 0x3f, 0x3e, 0xb4, 0x1a, 0xcb, 0x0e, 0x2d, 0xa7, 0xb1, 0x43, 0xe7, 0xe1, 0x28, + 0x89, 0xac, 0x5a, 0x8e, 0xe3, 0x38, 0x4d, 0x5a, 0x4a, 0x5a, 0x49, 0x4c, 0x28, 0x89, 0x5d, 0x52, + 0x71, 0xda, 0xcb, 0x62, 0xc5, 0x1d, 0x49, 0x0b, 0x91, 0xbb, 0xcc, 0xce, 0x50, 0x0e, 0x83, 0xde, + 0x7a, 0xe9, 0xb1, 0x8f, 0x5b, 0x51, 0xa0, 0x97, 0x9e, 0x8a, 0xa2, 0xd7, 0x9c, 0x7b, 0x2e, 0x8a, + 0x1e, 0xfa, 0x27, 0x8a, 0x02, 0xed, 0xa1, 0xbf, 0xa0, 0x98, 0xc7, 0x3e, 0xb8, 0x5c, 0xc9, 0x94, + 0x65, 0xa0, 0x87, 0xf6, 0xb6, 0xf3, 0xbd, 0xf8, 0xbd, 0xe6, 0x9b, 0xf9, 0xbe, 0x21, 0x2c, 0xf6, + 0xed, 0x33, 0x7c, 0x6a, 0x53, 0x03, 0x1f, 0x7b, 0x98, 0x90, 0x95, 0xa1, 0xe7, 0x52, 0x17, 0xe5, + 0x25, 0x74, 0x29, 0x40, 0x0f, 0x5c, 0x0b, 0xf7, 0x25, 0xba, 0xfe, 0xf7, 0x2c, 0x2c, 0xe9, 0xae, + 0x3b, 0xd8, 0x70, 0x07, 0x43, 0x97, 0xd8, 0x14, 0x6b, 0x9c, 0x59, 0xc7, 0x5f, 0x8d, 0x30, 0xa1, + 0xe8, 0x16, 0x14, 0x3d, 0xd7, 0x1d, 0x18, 0x8e, 0x39, 0xc0, 0x35, 0xe5, 0x8e, 0x72, 0xaf, 0xa8, + 0x17, 0x18, 0x60, 0xcf, 0x1c, 0x60, 0x74, 0x03, 0x72, 0x7d, 0x73, 0xec, 0x8e, 0x68, 0x2d, 0xc5, + 0x31, 0x72, 0x85, 0xbe, 0x03, 0x60, 0x8e, 0x2c, 0xdb, 0x35, 0x5c, 0xa7, 0x3f, 0xae, 0xa5, 0xef, + 0x28, 0xf7, 0x0a, 0x7a, 0x91, 0x43, 0xf6, 0x9d, 0xfe, 0x98, 0xa1, 0xcf, 0x6c, 0x0b, 0x4b, 0x74, + 0x46, 0xa0, 0x39, 0x84, 0xa3, 0xdf, 0x82, 0xf9, 0xde, 0x88, 0x50, 0x77, 0x60, 0x1c, 0x9a, 0x04, + 0x1b, 0x23, 0xaf, 0x5f, 0xcb, 0x72, 0xf1, 0x15, 0x01, 0x5e, 0x37, 0x09, 0x3e, 0xf0, 0xfa, 0xe8, + 0x21, 0x64, 0x8e, 0xec, 0x3e, 0xae, 0xe5, 0xee, 0x28, 0xf7, 0x4a, 0x0f, 0x96, 0x56, 0xa4, 0x79, + 0x2b, 0x9a, 0xd3, 0x73, 0x2d, 0x6c, 0x6d, 0xd9, 0x7d, 0xbc, 0x3f, 0xa2, 0xc3, 0x11, 0x5d, 0x4f, + 0xd5, 0x94, 0x9d, 0x39, 0x9d, 0x53, 0xa3, 0x35, 0xc8, 0x11, 0xea, 0x61, 0x73, 0x50, 0xcb, 0x73, + 0xbe, 0xeb, 0x01, 0x5f, 0x87, 0x83, 0x27, 0x58, 0x24, 0x29, 0xfa, 0x14, 0x0a, 0x04, 0x1f, 0x0f, + 0xb0, 0x43, 0x49, 0x0d, 0x38, 0xdb, 0xab, 0x21, 0x9b, 0x40, 0x24, 0xfc, 0x60, 0xc0, 0x83, 0x1e, + 0x43, 0x6e, 0xe8, 0x61, 0x82, 0x69, 0xad, 0x70, 0x47, 0xb9, 0x57, 0x7d, 0xf0, 0xda, 0xa4, 0xb2, + 0xb6, 0x73, 0xbc, 0x3f, 0xa4, 0xb6, 0xeb, 0x90, 0x36, 0xa7, 0xda, 0x51, 0x74, 0x49, 0x8f, 0x1e, + 0x41, 0xc1, 0xb4, 0xce, 0x4c, 0xa7, 0x87, 0xad, 0x5a, 0x91, 0xff, 0x72, 0xed, 0x3c, 0xde, 0x1d, + 0x45, 0x0f, 0x68, 0xd1, 0x27, 0x50, 0x66, 0xe6, 0x1a, 0x2e, 0x57, 0x88, 0xd4, 0x4a, 0x77, 0xd2, + 0x17, 0x3b, 0x49, 0x2f, 0x1d, 0x05, 0xdf, 0x04, 0x7d, 0x0f, 0xaa, 0xc2, 0xf4, 0x40, 0x40, 0x99, + 0x0b, 0x48, 0xf6, 0x96, 0x5e, 0x21, 0x91, 0x15, 0x41, 0x1a, 0xcc, 0x4b, 0xd3, 0x03, 0xf6, 0x0a, + 0x67, 0xbf, 0xd0, 0x6b, 0x7a, 0x55, 0x32, 0xf9, 0x62, 0x3e, 0x82, 0x8a, 0x3d, 0x30, 0x8f, 0x43, + 0x23, 0xaa, 0x5c, 0xc8, 0x62, 0x20, 0xa4, 0xc9, 0xb0, 0x92, 0xb9, 0x6c, 0x87, 0x0b, 0xb2, 0x5e, + 0x80, 0x9c, 0x60, 0x5a, 0x2f, 0x42, 0xde, 0x15, 0xfe, 0xa9, 0xff, 0x29, 0x0b, 0xea, 0x53, 0x7c, + 0x38, 0x99, 0xe0, 0x2a, 0xa4, 0x59, 0x86, 0x89, 0xd4, 0x66, 0x9f, 0xb1, 0xec, 0x4d, 0x5d, 0x9c, + 0xbd, 0xe9, 0x78, 0xf6, 0xbe, 0x07, 0xc8, 0x7c, 0x66, 0xda, 0xd4, 0x20, 0xd4, 0xf4, 0xa8, 0x41, + 0xec, 0x63, 0xc7, 0xec, 0xd7, 0xca, 0x9c, 0x4c, 0xe5, 0x98, 0x0e, 0x43, 0x74, 0x38, 0x3c, 0xc8, + 0xe1, 0xcc, 0x0b, 0xe6, 0x70, 0xf6, 0xc5, 0x72, 0x38, 0x77, 0xa5, 0x1c, 0xce, 0x5f, 0x21, 0x87, + 0x0b, 0x57, 0xc8, 0xe1, 0xe2, 0x55, 0x73, 0x18, 0xae, 0x96, 0xc3, 0xa5, 0x97, 0x91, 0xc3, 0x95, + 0xab, 0xe5, 0xf0, 0xbf, 0xd3, 0x50, 0x6b, 0x9b, 0x1e, 0xb5, 0x7b, 0xf6, 0xd0, 0x74, 0xe8, 0x25, + 0x8a, 0xf5, 0x12, 0x14, 0x6c, 0x0b, 0x3b, 0xd4, 0xa6, 0x63, 0x59, 0xae, 0x83, 0x35, 0x7a, 0x1d, + 0xca, 0xa4, 0xe7, 0x61, 0xec, 0x18, 0xe4, 0xc4, 0xf4, 0xb0, 0xcc, 0xea, 0x92, 0x80, 0x75, 0x18, + 0x28, 0x12, 0xfe, 0xcc, 0x4c, 0xe1, 0x9f, 0x4b, 0x0c, 0x7f, 0xf6, 0x39, 0xe1, 0x9f, 0xbb, 0x20, + 0xfc, 0xb9, 0xab, 0x86, 0x3f, 0x7f, 0xb5, 0xf0, 0x17, 0x5e, 0x46, 0xf8, 0x8b, 0x33, 0x87, 0x3f, + 0x12, 0xf4, 0x6f, 0xb3, 0x70, 0xab, 0xeb, 0x99, 0xbd, 0xd3, 0x17, 0x39, 0xa4, 0xdf, 0x80, 0xaa, + 0x28, 0x67, 0x94, 0x49, 0x30, 0x6c, 0x4b, 0x46, 0xbf, 0xcc, 0xa1, 0x5c, 0x6c, 0xd3, 0x62, 0x54, + 0xa2, 0xaa, 0x05, 0x54, 0x69, 0x41, 0xc5, 0xa1, 0x3e, 0xd5, 0x7f, 0xa9, 0x5c, 0x15, 0xae, 0x54, + 0xae, 0x72, 0x57, 0x28, 0x57, 0xf9, 0xff, 0x1f, 0xb9, 0x57, 0x2a, 0x57, 0x7f, 0x54, 0x00, 0xf1, + 0xe4, 0xb9, 0x44, 0xc2, 0xde, 0x84, 0x42, 0x2c, 0x55, 0xf3, 0x54, 0xe6, 0xdf, 0x7d, 0x99, 0x7f, + 0x69, 0x1e, 0x96, 0x9b, 0x81, 0x56, 0x9b, 0xb6, 0x87, 0x7b, 0x34, 0xb4, 0x2b, 0x48, 0xbd, 0x37, + 0xa1, 0xf2, 0x0c, 0x1f, 0x12, 0xb7, 0x77, 0x8a, 0x29, 0xbf, 0x49, 0xb2, 0xcc, 0x2d, 0xee, 0xcc, + 0xe9, 0xe5, 0x00, 0x7c, 0xe0, 0xf5, 0x43, 0xdd, 0xeb, 0x7f, 0x4e, 0xc1, 0xc2, 0x54, 0xa0, 0xd0, + 0x07, 0x50, 0xe4, 0xa1, 0xa5, 0xe3, 0xa1, 0xd0, 0xb7, 0x1a, 0xcf, 0x09, 0x41, 0xde, 0x1d, 0x0f, + 0xb1, 0x5e, 0x38, 0x92, 0x5f, 0xac, 0xe4, 0xb2, 0xef, 0xa1, 0x49, 0x4f, 0xfc, 0x92, 0xeb, 0xaf, + 0xd1, 0x3b, 0xa0, 0x5a, 0x36, 0x31, 0x0f, 0xfb, 0xd8, 0x18, 0x98, 0x8e, 0x7d, 0x84, 0x89, 0xc8, + 0xd4, 0x82, 0x3e, 0x2f, 0xe1, 0xbb, 0x12, 0x8c, 0xee, 0x42, 0x8a, 0xac, 0x49, 0x9b, 0x17, 0xc2, + 0x70, 0xae, 0x1d, 0x0c, 0xfb, 0xae, 0x69, 0xed, 0xcc, 0xe9, 0x29, 0xb2, 0x86, 0xde, 0x82, 0xf4, + 0x71, 0x6f, 0x28, 0x77, 0x26, 0x0a, 0xa8, 0xb6, 0x37, 0xda, 0x01, 0x19, 0x23, 0x40, 0xab, 0x90, + 0x35, 0xbf, 0x19, 0x79, 0x78, 0xaa, 0x14, 0x37, 0x18, 0x74, 0xbd, 0xef, 0x1e, 0x06, 0xf4, 0x82, + 0x10, 0xdd, 0x87, 0x9c, 0xd9, 0xb7, 0xf7, 0x3b, 0x9d, 0xa9, 0x1b, 0x73, 0x83, 0x83, 0x03, 0x7a, + 0x49, 0x16, 0xf1, 0xe6, 0xef, 0x32, 0x70, 0x2d, 0x21, 0xed, 0xd0, 0x13, 0x28, 0xf0, 0xee, 0xa3, + 0xe7, 0xf6, 0xa5, 0x3b, 0x5f, 0x4b, 0x4e, 0xd3, 0xb6, 0xa4, 0xd2, 0x03, 0x7a, 0xf4, 0x36, 0xcc, + 0x33, 0x27, 0xb2, 0xd4, 0x31, 0x86, 0x1e, 0x3e, 0xb2, 0xbf, 0x96, 0xbe, 0xad, 0xfa, 0xe0, 0x36, + 0x87, 0xa2, 0xbb, 0x50, 0x19, 0xf6, 0xcd, 0x71, 0xdf, 0x26, 0x54, 0x24, 0x9a, 0xac, 0x68, 0x3e, + 0x90, 0x27, 0xdb, 0x7b, 0x80, 0xd8, 0x0f, 0x1b, 0x93, 0x94, 0x25, 0x4e, 0xa9, 0x32, 0x4c, 0x3b, + 0x4a, 0xfd, 0x0e, 0xa8, 0xfe, 0x2e, 0xb3, 0x46, 0x9e, 0xc9, 0x72, 0x9c, 0x7b, 0xbc, 0xa2, 0xfb, + 0xbb, 0x6f, 0x53, 0x82, 0xd9, 0x86, 0x0c, 0xd4, 0x24, 0xa3, 0x23, 0xa6, 0x26, 0x70, 0x4b, 0xcf, + 0xd9, 0x90, 0x1d, 0x4e, 0x13, 0x1a, 0x21, 0xd6, 0x89, 0x69, 0x52, 0xb8, 0x28, 0x4d, 0xb2, 0x33, + 0xa5, 0x49, 0x6e, 0xe6, 0x34, 0xc9, 0x5f, 0x3e, 0x4d, 0x8a, 0x97, 0x4d, 0x93, 0x5f, 0xa5, 0x40, + 0x8d, 0x6f, 0xe1, 0x89, 0xcd, 0xa3, 0xcc, 0xb0, 0x79, 0xb2, 0x17, 0x79, 0x25, 0x35, 0x93, 0x57, + 0xd2, 0x33, 0x7b, 0x25, 0x73, 0x79, 0xaf, 0xe4, 0x2e, 0xeb, 0x95, 0x7f, 0xa6, 0xa1, 0x14, 0x29, + 0xb7, 0xcc, 0xe8, 0x9e, 0x39, 0xa4, 0x23, 0x0f, 0x1b, 0xb6, 0x43, 0xb1, 0x77, 0x66, 0x8a, 0xcd, + 0x53, 0xd1, 0xe7, 0x25, 0xbc, 0x29, 0xc1, 0x68, 0x11, 0xb2, 0xcf, 0x6c, 0x4b, 0x56, 0x9d, 0xac, + 0x2e, 0x16, 0xac, 0x5d, 0x3f, 0xc1, 0xf6, 0xf1, 0x09, 0xe5, 0x86, 0x66, 0x75, 0xb9, 0x4a, 0xda, + 0x51, 0x99, 0xc4, 0x1d, 0xd5, 0x98, 0xce, 0xe9, 0x6c, 0xac, 0x18, 0x72, 0x85, 0x2f, 0xc8, 0xe7, + 0x87, 0x50, 0x12, 0x07, 0x0c, 0xab, 0x99, 0x3d, 0x79, 0x36, 0x5f, 0x9b, 0x64, 0xdf, 0x60, 0x28, + 0x1d, 0xec, 0xe0, 0x3b, 0x31, 0xde, 0xf9, 0x8b, 0xe2, 0x5d, 0x98, 0x29, 0xde, 0xc5, 0x99, 0xe3, + 0x0d, 0x97, 0x8f, 0x77, 0xe9, 0xb2, 0xf1, 0xfe, 0x4b, 0x1a, 0x0a, 0xbe, 0x9e, 0xbc, 0x09, 0xed, + 0xf5, 0x30, 0x21, 0xc6, 0x29, 0x1e, 0xcb, 0xfc, 0x2f, 0x0a, 0xc8, 0xe7, 0x78, 0xcc, 0x42, 0x49, + 0x70, 0xcf, 0xc3, 0xc1, 0xe4, 0x45, 0xac, 0x58, 0xcd, 0x23, 0x98, 0x10, 0xdb, 0x75, 0x0c, 0xea, + 0x9e, 0x62, 0x47, 0x56, 0xb2, 0xb2, 0x04, 0x76, 0x19, 0x8c, 0x31, 0x7b, 0xf8, 0x98, 0xd5, 0x2e, + 0x51, 0x11, 0xe5, 0x8a, 0xed, 0x38, 0xec, 0x58, 0x43, 0xd7, 0x76, 0xa8, 0x4c, 0x80, 0x60, 0xcd, + 0x78, 0x0e, 0x47, 0xec, 0xb8, 0x94, 0xb3, 0x18, 0xb9, 0x42, 0xf7, 0x40, 0x3d, 0x72, 0xbd, 0x1e, + 0x36, 0xd8, 0xbe, 0x34, 0x08, 0x1d, 0xcb, 0x81, 0x4c, 0x41, 0xaf, 0x72, 0x78, 0xdb, 0xa4, 0x27, + 0x1d, 0x06, 0x45, 0x1f, 0x43, 0x61, 0x80, 0xa9, 0x69, 0x99, 0xd4, 0x94, 0x37, 0xf1, 0xdb, 0x53, + 0xe1, 0x59, 0xd9, 0x95, 0x14, 0x9a, 0x43, 0xbd, 0xb1, 0x1e, 0x30, 0xa0, 0x1a, 0xe4, 0xa9, 0x79, + 0x7c, 0x6c, 0x3b, 0xc7, 0x3c, 0xb4, 0xec, 0x4a, 0x20, 0x96, 0xe8, 0x3e, 0x5c, 0xeb, 0xb9, 0x0e, + 0xe5, 0x25, 0xd9, 0x26, 0xfc, 0x76, 0xcc, 0x2c, 0x2b, 0x72, 0x2a, 0x24, 0x51, 0x9b, 0x21, 0x06, + 0x2d, 0x43, 0x76, 0xe8, 0xb9, 0x5f, 0x8f, 0x65, 0x4c, 0xc3, 0xab, 0x4d, 0x9b, 0x41, 0x37, 0x5c, + 0xe7, 0xc8, 0x3e, 0xd6, 0x05, 0xc9, 0xd2, 0xc7, 0x50, 0x99, 0xd0, 0x08, 0xa9, 0x90, 0x0e, 0xe3, + 0xc1, 0x3e, 0xd9, 0x56, 0x3b, 0x33, 0xfb, 0x23, 0x2c, 0x03, 0x21, 0x16, 0x4f, 0x52, 0x8f, 0x95, + 0xfa, 0x57, 0x50, 0x0c, 0x12, 0x0a, 0xdd, 0x81, 0x52, 0xcf, 0xc3, 0xbc, 0xdf, 0x32, 0xfb, 0x44, + 0x0a, 0x88, 0x82, 0x22, 0x1e, 0x4e, 0x4d, 0x78, 0x38, 0xd0, 0x37, 0xfd, 0x5c, 0x7d, 0xeb, 0x3f, + 0x81, 0xf9, 0x58, 0x66, 0xb2, 0xd6, 0xce, 0xec, 0xf5, 0xdc, 0x91, 0x43, 0xa3, 0xb7, 0xad, 0x92, + 0x84, 0xf1, 0x53, 0xed, 0x36, 0xf8, 0x4b, 0x9e, 0x6c, 0xe2, 0xe7, 0x41, 0x82, 0x58, 0xb6, 0xbd, + 0x09, 0x55, 0xe6, 0x48, 0xd3, 0x76, 0xb0, 0x17, 0x3d, 0x4a, 0x2b, 0x01, 0x94, 0xc9, 0xa9, 0xff, + 0x42, 0x81, 0x72, 0x34, 0xcb, 0x5f, 0x34, 0x89, 0x5f, 0x62, 0x7e, 0xd6, 0x9f, 0x42, 0x29, 0xe2, + 0xa7, 0x84, 0x69, 0xcf, 0x12, 0x14, 0x46, 0x04, 0x7b, 0xdc, 0x2a, 0x79, 0x47, 0xf3, 0xd7, 0x0c, + 0x37, 0x34, 0x09, 0x79, 0xe6, 0x7a, 0x7e, 0x3b, 0x14, 0xac, 0xeb, 0x4f, 0xa1, 0x1c, 0xbd, 0x8f, + 0xa3, 0xb5, 0xa9, 0x2b, 0xcd, 0x2b, 0xb1, 0x8b, 0x7b, 0xc2, 0x5d, 0x06, 0x41, 0x66, 0xe4, 0xf5, + 0x49, 0x2d, 0x75, 0x27, 0x7d, 0xaf, 0xa8, 0xf3, 0xef, 0xfa, 0x4f, 0x33, 0x30, 0x1f, 0x6b, 0x33, + 0xc2, 0x7a, 0xae, 0x24, 0xd7, 0xf3, 0xd4, 0x44, 0x3d, 0x5f, 0x84, 0xac, 0x85, 0x87, 0xf4, 0x44, + 0x96, 0x79, 0xb1, 0x40, 0xaf, 0x42, 0xf1, 0xc8, 0x33, 0x07, 0xd8, 0x33, 0xa9, 0x38, 0xbf, 0xb2, + 0x7a, 0x08, 0x60, 0x75, 0x59, 0x74, 0x89, 0xa2, 0x2e, 0x67, 0x63, 0x75, 0xb9, 0xc1, 0x70, 0xb2, + 0x2e, 0x9b, 0xc1, 0x37, 0x2b, 0x37, 0x82, 0xeb, 0xd0, 0xa6, 0x5c, 0x6e, 0x8e, 0xcb, 0x15, 0xad, + 0xe5, 0xba, 0x80, 0x85, 0x44, 0x5f, 0x8d, 0xcc, 0xbe, 0x4d, 0xc7, 0xbc, 0x26, 0xf9, 0x44, 0x3f, + 0x14, 0x30, 0x76, 0x06, 0x09, 0xa2, 0x23, 0x8f, 0xf5, 0x08, 0x4e, 0x6f, 0xcc, 0x0b, 0x7c, 0x56, + 0x17, 0xcd, 0xeb, 0x96, 0x0f, 0x45, 0x1f, 0x82, 0x60, 0x34, 0x06, 0xf6, 0xd7, 0xac, 0x1c, 0x54, + 0xb8, 0xa6, 0x8b, 0x93, 0x9a, 0xee, 0x72, 0x9c, 0x2e, 0x4c, 0x12, 0x0b, 0x66, 0xa1, 0xe8, 0x70, + 0x85, 0x85, 0x85, 0x98, 0x85, 0x5f, 0x30, 0x9c, 0xb4, 0xf0, 0x2c, 0xf8, 0x66, 0xca, 0x0b, 0x2e, + 0xdf, 0xc2, 0xa2, 0x50, 0x9e, 0x03, 0x23, 0x16, 0x0a, 0x22, 0xdf, 0xc2, 0x72, 0x84, 0xc8, 0xb7, + 0xf0, 0x3d, 0x40, 0xa7, 0x78, 0x6c, 0x70, 0x97, 0x87, 0x07, 0x38, 0x2b, 0x42, 0x8a, 0xae, 0x9e, + 0xe2, 0xf1, 0x16, 0x43, 0xf8, 0x27, 0x78, 0xfd, 0x33, 0xb8, 0x76, 0x30, 0xb4, 0x4c, 0x8a, 0x5b, + 0x7c, 0xa4, 0x1e, 0x69, 0x9c, 0xc4, 0x70, 0x9f, 0x35, 0x47, 0xf2, 0x56, 0x24, 0x00, 0x4d, 0xeb, + 0xbc, 0x71, 0x7c, 0xfd, 0x67, 0x8a, 0x2f, 0x4c, 0x24, 0xe2, 0x4c, 0xc2, 0xde, 0x82, 0x79, 0xd3, + 0xb2, 0x64, 0x1f, 0x68, 0x44, 0xb2, 0xb4, 0x62, 0x5a, 0x96, 0xc8, 0xf9, 0x03, 0xaf, 0x4f, 0x98, + 0x59, 0x1e, 0x1e, 0xb8, 0x67, 0x78, 0x82, 0x34, 0xcd, 0x49, 0x55, 0x81, 0x09, 0xa9, 0xeb, 0x18, + 0x16, 0x5a, 0x36, 0xb9, 0xcc, 0xd8, 0x6a, 0x42, 0xc9, 0xd4, 0xb4, 0xc5, 0x66, 0x8f, 0xda, 0x67, + 0xfe, 0xc4, 0x4a, 0xae, 0xea, 0xdf, 0x07, 0x14, 0xfd, 0x19, 0x32, 0x74, 0x1d, 0xc2, 0x6e, 0xef, + 0x59, 0x9b, 0xe2, 0x01, 0xab, 0xbe, 0xec, 0xf8, 0x09, 0x63, 0x2f, 0xe8, 0x9a, 0xce, 0x91, 0xab, + 0x0b, 0x8a, 0xfa, 0x2a, 0x2c, 0x74, 0xa8, 0x3b, 0x9c, 0xd2, 0xf3, 0x5c, 0x7f, 0xd5, 0xbf, 0x2d, + 0x02, 0x84, 0x72, 0x2e, 0xf6, 0xed, 0x2b, 0x90, 0xe7, 0x06, 0x07, 0x16, 0xe5, 0xd8, 0xb2, 0x69, + 0x4d, 0x7a, 0xa2, 0x12, 0xf3, 0xc4, 0x13, 0x28, 0x11, 0x77, 0xc4, 0xce, 0x5a, 0xde, 0x86, 0x2e, + 0xf1, 0x04, 0xbe, 0x19, 0x33, 0xa2, 0xc3, 0x29, 0x78, 0x1f, 0x0a, 0x24, 0xf8, 0x46, 0xef, 0x43, + 0x8e, 0x50, 0x93, 0x8e, 0x08, 0x77, 0x54, 0x35, 0x72, 0x2d, 0x91, 0x6c, 0x1c, 0xa9, 0x4b, 0x22, + 0x56, 0xb8, 0xf9, 0xf8, 0x1a, 0x5b, 0x86, 0x49, 0x79, 0x8e, 0xa6, 0xf5, 0xa2, 0x84, 0x34, 0x28, + 0xeb, 0xd0, 0xb1, 0x63, 0x09, 0x64, 0x89, 0x23, 0xf3, 0x7c, 0xdd, 0xe0, 0x4f, 0x3f, 0x23, 0x9e, + 0x6a, 0x1c, 0x89, 0x04, 0xa7, 0x84, 0x34, 0x28, 0x3b, 0xc7, 0x2d, 0x4c, 0x4d, 0xbb, 0x4f, 0x6a, + 0xd7, 0xc5, 0x39, 0x2e, 0x97, 0xac, 0x68, 0x61, 0xcf, 0x73, 0x3d, 0x79, 0x72, 0x8b, 0x05, 0x13, + 0xc7, 0x3f, 0xf8, 0xa6, 0xad, 0xdd, 0x10, 0x55, 0x8b, 0x43, 0xd8, 0xf6, 0x44, 0x2d, 0xa8, 0x72, + 0x7f, 0xf5, 0xfc, 0xb9, 0x98, 0xbc, 0x98, 0xdf, 0x0d, 0xcc, 0x3b, 0xff, 0x69, 0x6b, 0x67, 0x4e, + 0xaf, 0x78, 0x51, 0x2c, 0x7a, 0x1f, 0xd2, 0xcf, 0xf0, 0x61, 0xad, 0x1a, 0x1b, 0x2e, 0xc4, 0x9f, + 0x0c, 0xd8, 0xe5, 0xf0, 0x19, 0x3e, 0x44, 0x1a, 0x94, 0x86, 0xe1, 0x24, 0xb6, 0x76, 0x8d, 0xb3, + 0xbd, 0x1e, 0x1e, 0xcf, 0xe7, 0x4c, 0x69, 0x77, 0xe6, 0xf4, 0x28, 0x1f, 0xda, 0x87, 0x79, 0x31, + 0xee, 0x08, 0x8d, 0x10, 0x3d, 0xdc, 0x1b, 0x81, 0xa8, 0x0b, 0x66, 0x7f, 0x3b, 0x73, 0x7a, 0x95, + 0x4e, 0xa0, 0xd1, 0x1a, 0x64, 0x39, 0x44, 0x76, 0x1c, 0xb7, 0x26, 0xc5, 0xc4, 0xb9, 0x05, 0x2d, + 0xfa, 0x20, 0xf6, 0x2c, 0x16, 0x3f, 0xbc, 0x58, 0x52, 0xb3, 0x2d, 0xc5, 0xe7, 0x6c, 0x4a, 0x30, + 0xa5, 0x7b, 0x57, 0x0e, 0x64, 0xe2, 0xf7, 0x6d, 0xd6, 0x01, 0x30, 0x16, 0x49, 0x2e, 0x86, 0x31, + 0x1f, 0x46, 0x46, 0x7a, 0xe5, 0xf8, 0x24, 0x50, 0x22, 0x22, 0x4c, 0xe1, 0x2c, 0xef, 0x49, 0x30, + 0x1a, 0xf3, 0x30, 0x19, 0xf5, 0x29, 0xa9, 0xcd, 0xc7, 0x76, 0x70, 0xa8, 0xa4, 0x3f, 0x18, 0xd3, + 0x05, 0x25, 0x7a, 0x28, 0xa7, 0x72, 0x3e, 0xa7, 0xca, 0x39, 0xa7, 0x35, 0x15, 0xc3, 0x38, 0x9f, + 0xeb, 0xd3, 0x70, 0x9c, 0xe6, 0x33, 0x2e, 0xc4, 0xa7, 0x71, 0x11, 0x8d, 0x83, 0x39, 0x9a, 0xcf, + 0xff, 0xd8, 0x9f, 0xa3, 0xf9, 0xdc, 0x8b, 0x31, 0x85, 0x79, 0xa3, 0x23, 0x78, 0xc5, 0x18, 0xcd, + 0xe7, 0x7c, 0x17, 0x16, 0xfc, 0x16, 0xc7, 0xe8, 0xbb, 0x3d, 0x31, 0x63, 0x78, 0x45, 0xcc, 0x23, + 0x7c, 0x44, 0x4b, 0xc2, 0xd1, 0x0a, 0x5c, 0x3b, 0x34, 0x7b, 0xa7, 0xa3, 0xa1, 0x41, 0xa8, 0xeb, + 0xb1, 0xdf, 0x1b, 0x11, 0x6c, 0xd5, 0x6e, 0xf2, 0x62, 0xb8, 0x20, 0x50, 0x1d, 0x81, 0x39, 0x20, + 0xd8, 0x5a, 0x2f, 0x42, 0xde, 0x13, 0x91, 0x67, 0x7d, 0x87, 0xd0, 0xad, 0xfe, 0x09, 0x54, 0x27, + 0x63, 0x8c, 0xde, 0x86, 0x8c, 0xed, 0x1c, 0xb9, 0x53, 0x75, 0x32, 0xe2, 0x65, 0x4e, 0xf0, 0x24, + 0x55, 0x53, 0xea, 0xff, 0x52, 0x00, 0x42, 0x44, 0xf2, 0x7b, 0x5a, 0xa4, 0x98, 0xa4, 0x2e, 0x2a, + 0x26, 0xe9, 0xc9, 0x62, 0xb2, 0x04, 0x85, 0x89, 0x31, 0x4b, 0x5a, 0x0f, 0xd6, 0xe8, 0x41, 0x50, + 0xd1, 0xc4, 0x5d, 0x65, 0x29, 0x41, 0xcb, 0x95, 0x58, 0x59, 0x0b, 0x6a, 0x4c, 0x2e, 0x52, 0x63, + 0xea, 0x2b, 0x90, 0x13, 0x74, 0x08, 0x20, 0xd7, 0xd8, 0xe8, 0x36, 0xbf, 0xd0, 0xd4, 0x39, 0x54, + 0x86, 0xc2, 0x56, 0x73, 0xaf, 0xd9, 0xd9, 0xd1, 0x36, 0x55, 0x85, 0x61, 0xb6, 0x1a, 0xcd, 0x96, + 0xb6, 0xa9, 0xa6, 0xea, 0x7f, 0x50, 0xa0, 0xe0, 0x67, 0x8d, 0x3f, 0xa5, 0x88, 0x1e, 0x5d, 0xfe, + 0xfa, 0x25, 0x19, 0x9e, 0x8b, 0x19, 0x8e, 0x20, 0x43, 0xec, 0x6f, 0xb0, 0x74, 0x08, 0xff, 0x66, + 0xf4, 0x41, 0xae, 0x88, 0xfb, 0x6f, 0xb0, 0xae, 0xff, 0x2d, 0x05, 0xe5, 0x68, 0xae, 0x4e, 0xcf, + 0xc5, 0x94, 0x99, 0xe7, 0x62, 0x85, 0x73, 0xe6, 0x62, 0x51, 0x7d, 0x53, 0xe7, 0xe8, 0x9b, 0x8e, + 0xe8, 0xfb, 0x2e, 0x2c, 0x04, 0x82, 0x03, 0xc5, 0xc5, 0x95, 0x5e, 0xf5, 0x11, 0x41, 0x92, 0x3f, + 0x84, 0x1b, 0x93, 0xaa, 0x04, 0x1c, 0xe2, 0xa8, 0x58, 0x8c, 0xaa, 0x13, 0x70, 0xf1, 0x4e, 0x58, + 0xec, 0x60, 0xde, 0xc7, 0x70, 0xbf, 0xa4, 0x59, 0x27, 0xcc, 0x81, 0x1b, 0x0c, 0x16, 0x8b, 0x50, + 0xee, 0xa2, 0x08, 0xe5, 0x27, 0x22, 0x54, 0xff, 0xb9, 0x02, 0x10, 0xee, 0xe1, 0xd9, 0x47, 0x28, + 0xb7, 0xc3, 0xf9, 0x07, 0x53, 0x4a, 0xe1, 0x52, 0xfd, 0x51, 0xc7, 0xb4, 0x4a, 0x97, 0x48, 0x9a, + 0xfa, 0xaf, 0x53, 0x70, 0xbd, 0x31, 0xa2, 0xee, 0xd4, 0xc1, 0x13, 0x79, 0x0b, 0x51, 0xae, 0xf0, + 0x76, 0x97, 0xba, 0xc2, 0xdb, 0x5d, 0xfa, 0x72, 0x6f, 0x21, 0x09, 0xaf, 0x19, 0x99, 0xcb, 0xbf, + 0x66, 0x44, 0x1f, 0x22, 0x7e, 0x99, 0x82, 0x79, 0xe6, 0x9c, 0xc8, 0x19, 0xf8, 0x3f, 0x3f, 0x61, + 0x5c, 0xfe, 0x48, 0x76, 0x9a, 0xe1, 0xe3, 0x05, 0x5a, 0x04, 0x75, 0x53, 0xdb, 0x6a, 0x1c, 0xb4, + 0xba, 0xc6, 0x56, 0xb3, 0xa5, 0x75, 0x7f, 0xd4, 0x66, 0xc5, 0x30, 0x0f, 0xe9, 0xdd, 0xf6, 0x43, + 0x55, 0x61, 0x1f, 0xfb, 0xdb, 0xdb, 0x6a, 0x6a, 0x79, 0x0f, 0xae, 0x27, 0x0e, 0xea, 0xd1, 0x5d, + 0xb8, 0xed, 0x0b, 0xe8, 0x68, 0xdb, 0xbb, 0xda, 0x5e, 0x57, 0xdb, 0xe4, 0xa2, 0x8c, 0xb6, 0xbe, + 0xdf, 0xdd, 0xdf, 0xd8, 0x6f, 0xa9, 0x73, 0x48, 0x85, 0xf2, 0x4e, 0xab, 0x13, 0x42, 0x94, 0xe5, + 0xfb, 0xb1, 0x87, 0x02, 0x39, 0x2e, 0x2c, 0x42, 0xb6, 0xb9, 0xb7, 0xa9, 0x7d, 0xa9, 0xce, 0xa1, + 0x0a, 0x14, 0xbb, 0xcd, 0x5d, 0xad, 0xd3, 0x6d, 0xec, 0xb6, 0x55, 0x65, 0x59, 0x83, 0xf9, 0xd8, + 0xac, 0x11, 0xdd, 0x00, 0xd4, 0xdc, 0x6d, 0x6c, 0x6b, 0x46, 0xe7, 0x60, 0x6b, 0xab, 0xf9, 0xa5, + 0xe1, 0x73, 0x2e, 0xc1, 0x8d, 0x09, 0x78, 0x54, 0xcc, 0x47, 0xfe, 0xe1, 0x17, 0x18, 0x10, 0xf1, + 0x40, 0x44, 0xe3, 0x02, 0x64, 0xf4, 0x2e, 0xe3, 0x60, 0x2e, 0xe8, 0xe8, 0x5d, 0x35, 0xb5, 0x7c, + 0x02, 0xa5, 0x48, 0xb3, 0x89, 0x10, 0x54, 0x7d, 0xbe, 0xdd, 0xe6, 0x97, 0xcd, 0xbd, 0x6d, 0x75, + 0x8e, 0x69, 0xb4, 0x79, 0xd0, 0x68, 0x19, 0x1b, 0x3b, 0x8d, 0xbd, 0x3d, 0xad, 0x65, 0x34, 0xb6, + 0xb5, 0xbd, 0xae, 0xaa, 0x30, 0x8d, 0x26, 0xe1, 0xad, 0xae, 0xa6, 0xef, 0x35, 0xba, 0x9a, 0x9a, + 0x42, 0x0b, 0x50, 0xd9, 0x3d, 0x68, 0x75, 0x9b, 0x3e, 0x52, 0x4d, 0x2f, 0xff, 0x55, 0x81, 0xeb, + 0x89, 0x3b, 0x95, 0x3b, 0xf2, 0xc1, 0xa3, 0x87, 0xc6, 0x87, 0x0f, 0x56, 0xdb, 0xc6, 0xda, 0xaa, + 0x74, 0x6d, 0x00, 0x79, 0xb4, 0xaa, 0x2a, 0x4c, 0x20, 0x87, 0x7c, 0x77, 0xf5, 0xb1, 0x20, 0x4a, + 0xc5, 0x40, 0x8f, 0x56, 0xd5, 0x34, 0xba, 0x09, 0xd7, 0xdb, 0xfb, 0x7a, 0x57, 0x6f, 0x34, 0xbb, + 0xc6, 0x84, 0xc8, 0xcc, 0x39, 0xa8, 0x47, 0xab, 0x6a, 0x96, 0x19, 0x32, 0x89, 0x0a, 0x7e, 0x24, + 0x77, 0x1e, 0xee, 0xd1, 0xaa, 0x9a, 0x5f, 0xfe, 0xad, 0x02, 0xe5, 0x68, 0xe7, 0x81, 0xae, 0xc1, + 0xbc, 0xb6, 0xad, 0x6b, 0x9d, 0x8e, 0xd1, 0xe9, 0x36, 0xf4, 0xae, 0x70, 0xdf, 0x02, 0x54, 0x24, + 0x50, 0x1e, 0xcb, 0x4a, 0x04, 0xa4, 0xed, 0x6d, 0x32, 0xaa, 0x54, 0x84, 0x75, 0x63, 0x7f, 0xb7, + 0xdd, 0xd2, 0xba, 0x9a, 0x9a, 0x8e, 0xd0, 0xc9, 0x73, 0x3b, 0xc3, 0x02, 0xe4, 0x4b, 0x5b, 0xdf, + 0xd7, 0xbb, 0xda, 0xa6, 0x9a, 0x45, 0x35, 0x58, 0x94, 0xb0, 0x56, 0x73, 0xb7, 0xd9, 0x35, 0x74, + 0xad, 0xb1, 0xc1, 0x4e, 0xfc, 0xdc, 0xf2, 0x67, 0xa0, 0xc6, 0x3b, 0x2a, 0x66, 0x91, 0xaf, 0xe4, + 0xfe, 0x81, 0xbe, 0xa1, 0x19, 0x6c, 0x7b, 0x18, 0x4f, 0xb5, 0x75, 0x91, 0x64, 0x09, 0xb8, 0xce, + 0xe6, 0xe7, 0xaa, 0xf2, 0xe0, 0x37, 0x59, 0xc8, 0xc9, 0x9a, 0xd3, 0x85, 0x1a, 0xff, 0xff, 0x4f, + 0x42, 0x5f, 0x82, 0x66, 0xe9, 0x5a, 0x96, 0x92, 0xba, 0x56, 0xf4, 0x03, 0x96, 0xc5, 0xa6, 0x47, + 0x83, 0x56, 0x05, 0x9d, 0xdf, 0xbe, 0x24, 0x4b, 0x68, 0xc3, 0x0d, 0x2e, 0x61, 0xfa, 0xf0, 0x78, + 0x7e, 0x47, 0x93, 0x2c, 0xf1, 0x0b, 0xb8, 0xc9, 0x25, 0x26, 0x35, 0x2f, 0x68, 0xa6, 0xde, 0x26, + 0x59, 0xee, 0x26, 0xa8, 0xa1, 0x5c, 0x29, 0xee, 0xa2, 0x1e, 0x27, 0x59, 0x4a, 0x03, 0xca, 0xd1, + 0xf9, 0x0a, 0x0a, 0x0f, 0x96, 0x84, 0xb1, 0xcb, 0x73, 0x44, 0x88, 0x02, 0x32, 0x25, 0x62, 0x62, + 0xd8, 0x92, 0x2c, 0x42, 0x03, 0x08, 0xe7, 0x14, 0x28, 0x3c, 0x1e, 0xa7, 0x66, 0x24, 0x4b, 0xb7, + 0x12, 0x71, 0x72, 0xb0, 0xf1, 0x09, 0xbb, 0x81, 0xfb, 0xd3, 0x0a, 0x14, 0xbd, 0x09, 0xc7, 0x46, + 0x18, 0x89, 0x5a, 0xac, 0x6f, 0xfd, 0xf8, 0xee, 0xb1, 0x4d, 0x4f, 0x46, 0x87, 0x2b, 0x3d, 0x77, + 0x70, 0x5f, 0x12, 0xdc, 0xf7, 0x87, 0x94, 0x3e, 0xe0, 0xf7, 0xa9, 0x4a, 0xcb, 0x3e, 0xc3, 0x9f, + 0x8b, 0xc9, 0x33, 0x75, 0xff, 0x91, 0xaa, 0xca, 0xf5, 0x93, 0x27, 0x1c, 0x70, 0x98, 0xe3, 0x2c, + 0x6b, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x53, 0xb3, 0x73, 0x4b, 0x88, 0x2a, 0x00, 0x00, } diff --git a/livekit/livekit_ingress.pb.go b/livekit/livekit_ingress.pb.go index b823cdded..f61247366 100644 --- a/livekit/livekit_ingress.pb.go +++ b/livekit/livekit_ingress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_ingress.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -256,8 +255,11 @@ func (IngressState_Status) EnumDescriptor() ([]byte, []int) { } type CreateIngressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - InputType IngressInput `protobuf:"varint,1,opt,name=input_type,json=inputType,proto3,enum=livekit.IngressInput" json:"input_type,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InputType IngressInput `protobuf:"varint,1,opt,name=input_type,json=inputType,proto3,enum=livekit.IngressInput" json:"input_type,omitempty"` // Where to pull media from, only for URL input type Url string `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"` // User provided identifier for the ingress @@ -279,15 +281,15 @@ type CreateIngressRequest struct { Audio *IngressAudioOptions `protobuf:"bytes,6,opt,name=audio,proto3" json:"audio,omitempty"` Video *IngressVideoOptions `protobuf:"bytes,7,opt,name=video,proto3" json:"video,omitempty"` Enabled *bool `protobuf:"varint,12,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // The default value is true and when set to false, the new connection attempts will be rejected - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *CreateIngressRequest) Reset() { *x = CreateIngressRequest{} - mi := &file_livekit_ingress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateIngressRequest) String() string { @@ -298,7 +300,7 @@ func (*CreateIngressRequest) ProtoMessage() {} func (x *CreateIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -399,23 +401,26 @@ func (x *CreateIngressRequest) GetEnabled() bool { } type IngressAudioOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` - // Types that are valid to be assigned to EncodingOptions: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` + // Types that are assignable to EncodingOptions: // // *IngressAudioOptions_Preset // *IngressAudioOptions_Options EncodingOptions isIngressAudioOptions_EncodingOptions `protobuf_oneof:"encoding_options"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *IngressAudioOptions) Reset() { *x = IngressAudioOptions{} - mi := &file_livekit_ingress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressAudioOptions) String() string { @@ -426,7 +431,7 @@ func (*IngressAudioOptions) ProtoMessage() {} func (x *IngressAudioOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -455,27 +460,23 @@ func (x *IngressAudioOptions) GetSource() TrackSource { return TrackSource_UNKNOWN } -func (x *IngressAudioOptions) GetEncodingOptions() isIngressAudioOptions_EncodingOptions { - if x != nil { - return x.EncodingOptions +func (m *IngressAudioOptions) GetEncodingOptions() isIngressAudioOptions_EncodingOptions { + if m != nil { + return m.EncodingOptions } return nil } func (x *IngressAudioOptions) GetPreset() IngressAudioEncodingPreset { - if x != nil { - if x, ok := x.EncodingOptions.(*IngressAudioOptions_Preset); ok { - return x.Preset - } + if x, ok := x.GetEncodingOptions().(*IngressAudioOptions_Preset); ok { + return x.Preset } return IngressAudioEncodingPreset_OPUS_STEREO_96KBPS } func (x *IngressAudioOptions) GetOptions() *IngressAudioEncodingOptions { - if x != nil { - if x, ok := x.EncodingOptions.(*IngressAudioOptions_Options); ok { - return x.Options - } + if x, ok := x.GetEncodingOptions().(*IngressAudioOptions_Options); ok { + return x.Options } return nil } @@ -497,23 +498,26 @@ func (*IngressAudioOptions_Preset) isIngressAudioOptions_EncodingOptions() {} func (*IngressAudioOptions_Options) isIngressAudioOptions_EncodingOptions() {} type IngressVideoOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` - // Types that are valid to be assigned to EncodingOptions: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` + // Types that are assignable to EncodingOptions: // // *IngressVideoOptions_Preset // *IngressVideoOptions_Options EncodingOptions isIngressVideoOptions_EncodingOptions `protobuf_oneof:"encoding_options"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *IngressVideoOptions) Reset() { *x = IngressVideoOptions{} - mi := &file_livekit_ingress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressVideoOptions) String() string { @@ -524,7 +528,7 @@ func (*IngressVideoOptions) ProtoMessage() {} func (x *IngressVideoOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -553,27 +557,23 @@ func (x *IngressVideoOptions) GetSource() TrackSource { return TrackSource_UNKNOWN } -func (x *IngressVideoOptions) GetEncodingOptions() isIngressVideoOptions_EncodingOptions { - if x != nil { - return x.EncodingOptions +func (m *IngressVideoOptions) GetEncodingOptions() isIngressVideoOptions_EncodingOptions { + if m != nil { + return m.EncodingOptions } return nil } func (x *IngressVideoOptions) GetPreset() IngressVideoEncodingPreset { - if x != nil { - if x, ok := x.EncodingOptions.(*IngressVideoOptions_Preset); ok { - return x.Preset - } + if x, ok := x.GetEncodingOptions().(*IngressVideoOptions_Preset); ok { + return x.Preset } return IngressVideoEncodingPreset_H264_720P_30FPS_3_LAYERS } func (x *IngressVideoOptions) GetOptions() *IngressVideoEncodingOptions { - if x != nil { - if x, ok := x.EncodingOptions.(*IngressVideoOptions_Options); ok { - return x.Options - } + if x, ok := x.GetEncodingOptions().(*IngressVideoOptions_Options); ok { + return x.Options } return nil } @@ -595,21 +595,24 @@ func (*IngressVideoOptions_Preset) isIngressVideoOptions_EncodingOptions() {} func (*IngressVideoOptions_Options) isIngressVideoOptions_EncodingOptions() {} type IngressAudioEncodingOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // desired audio codec to publish to room - AudioCodec AudioCodec `protobuf:"varint,1,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` - Bitrate uint32 `protobuf:"varint,2,opt,name=bitrate,proto3" json:"bitrate,omitempty"` - DisableDtx bool `protobuf:"varint,3,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"` - Channels uint32 `protobuf:"varint,4,opt,name=channels,proto3" json:"channels,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // desired audio codec to publish to room + AudioCodec AudioCodec `protobuf:"varint,1,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` + Bitrate uint32 `protobuf:"varint,2,opt,name=bitrate,proto3" json:"bitrate,omitempty"` + DisableDtx bool `protobuf:"varint,3,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"` + Channels uint32 `protobuf:"varint,4,opt,name=channels,proto3" json:"channels,omitempty"` } func (x *IngressAudioEncodingOptions) Reset() { *x = IngressAudioEncodingOptions{} - mi := &file_livekit_ingress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressAudioEncodingOptions) String() string { @@ -620,7 +623,7 @@ func (*IngressAudioEncodingOptions) ProtoMessage() {} func (x *IngressAudioEncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -664,21 +667,24 @@ func (x *IngressAudioEncodingOptions) GetChannels() uint32 { } type IngressVideoEncodingOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // desired codec to publish to room VideoCodec VideoCodec `protobuf:"varint,1,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` FrameRate float64 `protobuf:"fixed64,2,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"` // simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions - Layers []*VideoLayer `protobuf:"bytes,3,rep,name=layers,proto3" json:"layers,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Layers []*VideoLayer `protobuf:"bytes,3,rep,name=layers,proto3" json:"layers,omitempty"` } func (x *IngressVideoEncodingOptions) Reset() { *x = IngressVideoEncodingOptions{} - mi := &file_livekit_ingress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressVideoEncodingOptions) String() string { @@ -689,7 +695,7 @@ func (*IngressVideoEncodingOptions) ProtoMessage() {} func (x *IngressVideoEncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -726,11 +732,14 @@ func (x *IngressVideoEncodingOptions) GetLayers() []*VideoLayer { } type IngressInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - StreamKey string `protobuf:"bytes,3,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` - Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + StreamKey string `protobuf:"bytes,3,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` + Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) // for RTMP input, it'll be a rtmp:// URL // for FILE input, it'll be a http:// URL // for SRT input, it'll be a srt:// URL @@ -747,15 +756,15 @@ type IngressInfo struct { Reusable bool `protobuf:"varint,11,opt,name=reusable,proto3" json:"reusable,omitempty"` State *IngressState `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"` // Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth) Enabled *bool `protobuf:"varint,16,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // The default value is true and when set to false, the new connection attempts will be rejected - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *IngressInfo) Reset() { *x = IngressInfo{} - mi := &file_livekit_ingress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressInfo) String() string { @@ -766,7 +775,7 @@ func (*IngressInfo) ProtoMessage() {} func (x *IngressInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -895,26 +904,29 @@ func (x *IngressInfo) GetEnabled() bool { } type IngressState struct { - state protoimpl.MessageState `protogen:"open.v1"` - Status IngressState_Status `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.IngressState_Status" json:"status,omitempty"` - Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Error/non compliance description if any - Video *InputVideoState `protobuf:"bytes,3,opt,name=video,proto3" json:"video,omitempty"` - Audio *InputAudioState `protobuf:"bytes,4,opt,name=audio,proto3" json:"audio,omitempty"` - RoomId string `protobuf:"bytes,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to - StartedAt int64 `protobuf:"varint,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,8,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - ResourceId string `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - Tracks []*TrackInfo `protobuf:"bytes,6,rep,name=tracks,proto3" json:"tracks,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status IngressState_Status `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.IngressState_Status" json:"status,omitempty"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Error/non compliance description if any + Video *InputVideoState `protobuf:"bytes,3,opt,name=video,proto3" json:"video,omitempty"` + Audio *InputAudioState `protobuf:"bytes,4,opt,name=audio,proto3" json:"audio,omitempty"` + RoomId string `protobuf:"bytes,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to + StartedAt int64 `protobuf:"varint,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,8,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + ResourceId string `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + Tracks []*TrackInfo `protobuf:"bytes,6,rep,name=tracks,proto3" json:"tracks,omitempty"` } func (x *IngressState) Reset() { *x = IngressState{} - mi := &file_livekit_ingress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressState) String() string { @@ -925,7 +937,7 @@ func (*IngressState) ProtoMessage() {} func (x *IngressState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1011,21 +1023,24 @@ func (x *IngressState) GetTracks() []*TrackInfo { } type InputVideoState struct { - state protoimpl.MessageState `protogen:"open.v1"` - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` - Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` - Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` - Framerate float64 `protobuf:"fixed64,5,opt,name=framerate,proto3" json:"framerate,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` + Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` + Framerate float64 `protobuf:"fixed64,5,opt,name=framerate,proto3" json:"framerate,omitempty"` } func (x *InputVideoState) Reset() { *x = InputVideoState{} - mi := &file_livekit_ingress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InputVideoState) String() string { @@ -1036,7 +1051,7 @@ func (*InputVideoState) ProtoMessage() {} func (x *InputVideoState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1087,20 +1102,23 @@ func (x *InputVideoState) GetFramerate() float64 { } type InputAudioState struct { - state protoimpl.MessageState `protogen:"open.v1"` - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` - Channels uint32 `protobuf:"varint,3,opt,name=channels,proto3" json:"channels,omitempty"` - SampleRate uint32 `protobuf:"varint,4,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` + Channels uint32 `protobuf:"varint,3,opt,name=channels,proto3" json:"channels,omitempty"` + SampleRate uint32 `protobuf:"varint,4,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` } func (x *InputAudioState) Reset() { *x = InputAudioState{} - mi := &file_livekit_ingress_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InputAudioState) String() string { @@ -1111,7 +1129,7 @@ func (*InputAudioState) ProtoMessage() {} func (x *InputAudioState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1155,28 +1173,31 @@ func (x *InputAudioState) GetSampleRate() uint32 { } type UpdateIngressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - ParticipantName string `protobuf:"bytes,5,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` - ParticipantMetadata string `protobuf:"bytes,9,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + ParticipantName string `protobuf:"bytes,5,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` + ParticipantMetadata string `protobuf:"bytes,9,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` // Deprecated: Marked as deprecated in livekit_ingress.proto. BypassTranscoding *bool `protobuf:"varint,8,opt,name=bypass_transcoding,json=bypassTranscoding,proto3,oneof" json:"bypass_transcoding,omitempty"` EnableTranscoding *bool `protobuf:"varint,10,opt,name=enable_transcoding,json=enableTranscoding,proto3,oneof" json:"enable_transcoding,omitempty"` Audio *IngressAudioOptions `protobuf:"bytes,6,opt,name=audio,proto3" json:"audio,omitempty"` Video *IngressVideoOptions `protobuf:"bytes,7,opt,name=video,proto3" json:"video,omitempty"` Enabled *bool `protobuf:"varint,11,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // The default value is true and when set to false, the new connection attempts will be rejected - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *UpdateIngressRequest) Reset() { *x = UpdateIngressRequest{} - mi := &file_livekit_ingress_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateIngressRequest) String() string { @@ -1187,7 +1208,7 @@ func (*UpdateIngressRequest) ProtoMessage() {} func (x *UpdateIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1281,19 +1302,22 @@ func (x *UpdateIngressRequest) GetEnabled() bool { } type ListIngressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // when blank, lists all ingress endpoints - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) - IngressId string `protobuf:"bytes,2,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` // (optional, filter by ingress ID) - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // when blank, lists all ingress endpoints + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) + IngressId string `protobuf:"bytes,2,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` // (optional, filter by ingress ID) } func (x *ListIngressRequest) Reset() { *x = ListIngressRequest{} - mi := &file_livekit_ingress_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListIngressRequest) String() string { @@ -1304,7 +1328,7 @@ func (*ListIngressRequest) ProtoMessage() {} func (x *ListIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1334,17 +1358,20 @@ func (x *ListIngressRequest) GetIngressId() string { } type ListIngressResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*IngressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Items []*IngressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *ListIngressResponse) Reset() { *x = ListIngressResponse{} - mi := &file_livekit_ingress_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListIngressResponse) String() string { @@ -1355,7 +1382,7 @@ func (*ListIngressResponse) ProtoMessage() {} func (x *ListIngressResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1378,17 +1405,20 @@ func (x *ListIngressResponse) GetItems() []*IngressInfo { } type DeleteIngressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` } func (x *DeleteIngressRequest) Reset() { *x = DeleteIngressRequest{} - mi := &file_livekit_ingress_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteIngressRequest) String() string { @@ -1399,7 +1429,7 @@ func (*DeleteIngressRequest) ProtoMessage() {} func (x *DeleteIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1423,7 +1453,7 @@ func (x *DeleteIngressRequest) GetIngressId() string { var File_livekit_ingress_proto protoreflect.FileDescriptor -var file_livekit_ingress_proto_rawDesc = string([]byte{ +var file_livekit_ingress_proto_rawDesc = []byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, @@ -1712,23 +1742,23 @@ var file_livekit_ingress_proto_rawDesc = string([]byte{ 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_ingress_proto_rawDescOnce sync.Once - file_livekit_ingress_proto_rawDescData []byte + file_livekit_ingress_proto_rawDescData = file_livekit_ingress_proto_rawDesc ) func file_livekit_ingress_proto_rawDescGZIP() []byte { file_livekit_ingress_proto_rawDescOnce.Do(func() { - file_livekit_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_ingress_proto_rawDesc), len(file_livekit_ingress_proto_rawDesc))) + file_livekit_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_ingress_proto_rawDescData) }) return file_livekit_ingress_proto_rawDescData } var file_livekit_ingress_proto_enumTypes = make([]protoimpl.EnumInfo, 4) var file_livekit_ingress_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_livekit_ingress_proto_goTypes = []any{ +var file_livekit_ingress_proto_goTypes = []interface{}{ (IngressInput)(0), // 0: livekit.IngressInput (IngressAudioEncodingPreset)(0), // 1: livekit.IngressAudioEncodingPreset (IngressVideoEncodingPreset)(0), // 2: livekit.IngressVideoEncodingPreset @@ -1797,22 +1827,180 @@ func file_livekit_ingress_proto_init() { return } file_livekit_models_proto_init() - file_livekit_ingress_proto_msgTypes[0].OneofWrappers = []any{} - file_livekit_ingress_proto_msgTypes[1].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_ingress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressAudioOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressVideoOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressAudioEncodingOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressVideoEncodingOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InputVideoState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InputAudioState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListIngressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_ingress_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_livekit_ingress_proto_msgTypes[1].OneofWrappers = []interface{}{ (*IngressAudioOptions_Preset)(nil), (*IngressAudioOptions_Options)(nil), } - file_livekit_ingress_proto_msgTypes[2].OneofWrappers = []any{ + file_livekit_ingress_proto_msgTypes[2].OneofWrappers = []interface{}{ (*IngressVideoOptions_Preset)(nil), (*IngressVideoOptions_Options)(nil), } - file_livekit_ingress_proto_msgTypes[5].OneofWrappers = []any{} - file_livekit_ingress_proto_msgTypes[9].OneofWrappers = []any{} + file_livekit_ingress_proto_msgTypes[5].OneofWrappers = []interface{}{} + file_livekit_ingress_proto_msgTypes[9].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_ingress_proto_rawDesc), len(file_livekit_ingress_proto_rawDesc)), + RawDescriptor: file_livekit_ingress_proto_rawDesc, NumEnums: 4, NumMessages: 13, NumExtensions: 0, @@ -1824,6 +2012,7 @@ func file_livekit_ingress_proto_init() { MessageInfos: file_livekit_ingress_proto_msgTypes, }.Build() File_livekit_ingress_proto = out.File + file_livekit_ingress_proto_rawDesc = nil file_livekit_ingress_proto_goTypes = nil file_livekit_ingress_proto_depIdxs = nil } diff --git a/livekit/livekit_internal.pb.go b/livekit/livekit_internal.pb.go index 6ca6ac0a2..03592e363 100644 --- a/livekit/livekit_internal.pb.go +++ b/livekit/livekit_internal.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_internal.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -192,23 +191,26 @@ func (ICECandidateType) EnumDescriptor() ([]byte, []int) { } type Node struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` - NumCpus uint32 `protobuf:"varint,3,opt,name=num_cpus,json=numCpus,proto3" json:"num_cpus,omitempty"` - Stats *NodeStats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"` - Type NodeType `protobuf:"varint,5,opt,name=type,proto3,enum=livekit.NodeType" json:"type,omitempty"` - State NodeState `protobuf:"varint,6,opt,name=state,proto3,enum=livekit.NodeState" json:"state,omitempty"` - Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` + NumCpus uint32 `protobuf:"varint,3,opt,name=num_cpus,json=numCpus,proto3" json:"num_cpus,omitempty"` + Stats *NodeStats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"` + Type NodeType `protobuf:"varint,5,opt,name=type,proto3,enum=livekit.NodeType" json:"type,omitempty"` + State NodeState `protobuf:"varint,6,opt,name=state,proto3,enum=livekit.NodeState" json:"state,omitempty"` + Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` } func (x *Node) Reset() { *x = Node{} - mi := &file_livekit_internal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Node) String() string { @@ -219,7 +221,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -284,7 +286,10 @@ func (x *Node) GetRegion() string { } type NodeStats struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // when server was started StartedAt int64 `protobuf:"varint,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // when server last reported its status @@ -342,15 +347,15 @@ type NodeStats struct { // forward metrics ForwardLatency uint32 `protobuf:"varint,48,opt,name=forward_latency,json=forwardLatency,proto3" json:"forward_latency,omitempty"` ForwardJitter uint32 `protobuf:"varint,49,opt,name=forward_jitter,json=forwardJitter,proto3" json:"forward_jitter,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *NodeStats) Reset() { *x = NodeStats{} - mi := &file_livekit_internal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *NodeStats) String() string { @@ -361,7 +366,7 @@ func (*NodeStats) ProtoMessage() {} func (x *NodeStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -720,10 +725,13 @@ func (x *NodeStats) GetForwardJitter() uint32 { } type StartSession struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // if a client is reconnecting (i.e. resume instead of restart) Reconnect bool `protobuf:"varint,4,opt,name=reconnect,proto3" json:"reconnect,omitempty"` AutoSubscribe bool `protobuf:"varint,9,opt,name=auto_subscribe,json=autoSubscribe,proto3" json:"auto_subscribe,omitempty"` @@ -740,15 +748,15 @@ type StartSession struct { SubscriberAllowPause *bool `protobuf:"varint,18,opt,name=subscriber_allow_pause,json=subscriberAllowPause,proto3,oneof" json:"subscriber_allow_pause,omitempty"` DisableIceLite bool `protobuf:"varint,19,opt,name=disable_ice_lite,json=disableIceLite,proto3" json:"disable_ice_lite,omitempty"` CreateRoom *CreateRoomRequest `protobuf:"bytes,20,opt,name=create_room,json=createRoom,proto3" json:"create_room,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *StartSession) Reset() { *x = StartSession{} - mi := &file_livekit_internal_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartSession) String() string { @@ -759,7 +767,7 @@ func (*StartSession) ProtoMessage() {} func (x *StartSession) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -888,22 +896,25 @@ func (x *StartSession) GetCreateRoom() *CreateRoomRequest { // room info that should not be returned to clients type RoomInternal struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + TrackEgress *AutoTrackEgress `protobuf:"bytes,1,opt,name=track_egress,json=trackEgress,proto3" json:"track_egress,omitempty"` ParticipantEgress *AutoParticipantEgress `protobuf:"bytes,2,opt,name=participant_egress,json=participantEgress,proto3" json:"participant_egress,omitempty"` PlayoutDelay *PlayoutDelay `protobuf:"bytes,3,opt,name=playout_delay,json=playoutDelay,proto3" json:"playout_delay,omitempty"` AgentDispatches []*RoomAgentDispatch `protobuf:"bytes,5,rep,name=agent_dispatches,json=agentDispatches,proto3" json:"agent_dispatches,omitempty"` SyncStreams bool `protobuf:"varint,4,opt,name=sync_streams,json=syncStreams,proto3" json:"sync_streams,omitempty"` ReplayEnabled bool `protobuf:"varint,6,opt,name=replay_enabled,json=replayEnabled,proto3" json:"replay_enabled,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *RoomInternal) Reset() { *x = RoomInternal{} - mi := &file_livekit_internal_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomInternal) String() string { @@ -914,7 +925,7 @@ func (*RoomInternal) ProtoMessage() {} func (x *RoomInternal) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -972,18 +983,21 @@ func (x *RoomInternal) GetReplayEnabled() bool { } type ICEConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - PreferenceSubscriber ICECandidateType `protobuf:"varint,1,opt,name=preference_subscriber,json=preferenceSubscriber,proto3,enum=livekit.ICECandidateType" json:"preference_subscriber,omitempty"` - PreferencePublisher ICECandidateType `protobuf:"varint,2,opt,name=preference_publisher,json=preferencePublisher,proto3,enum=livekit.ICECandidateType" json:"preference_publisher,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PreferenceSubscriber ICECandidateType `protobuf:"varint,1,opt,name=preference_subscriber,json=preferenceSubscriber,proto3,enum=livekit.ICECandidateType" json:"preference_subscriber,omitempty"` + PreferencePublisher ICECandidateType `protobuf:"varint,2,opt,name=preference_publisher,json=preferencePublisher,proto3,enum=livekit.ICECandidateType" json:"preference_publisher,omitempty"` } func (x *ICEConfig) Reset() { *x = ICEConfig{} - mi := &file_livekit_internal_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ICEConfig) String() string { @@ -994,7 +1008,7 @@ func (*ICEConfig) ProtoMessage() {} func (x *ICEConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1025,7 +1039,7 @@ func (x *ICEConfig) GetPreferencePublisher() ICECandidateType { var File_livekit_internal_proto protoreflect.FileDescriptor -var file_livekit_internal_proto_rawDesc = string([]byte{ +var file_livekit_internal_proto_rawDesc = []byte{ 0x0a, 0x16, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, @@ -1289,23 +1303,23 @@ var file_livekit_internal_proto_rawDesc = string([]byte{ 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_internal_proto_rawDescOnce sync.Once - file_livekit_internal_proto_rawDescData []byte + file_livekit_internal_proto_rawDescData = file_livekit_internal_proto_rawDesc ) func file_livekit_internal_proto_rawDescGZIP() []byte { file_livekit_internal_proto_rawDescOnce.Do(func() { - file_livekit_internal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_internal_proto_rawDesc), len(file_livekit_internal_proto_rawDesc))) + file_livekit_internal_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_internal_proto_rawDescData) }) return file_livekit_internal_proto_rawDescData } var file_livekit_internal_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_livekit_internal_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_livekit_internal_proto_goTypes = []any{ +var file_livekit_internal_proto_goTypes = []interface{}{ (NodeType)(0), // 0: livekit.NodeType (NodeState)(0), // 1: livekit.NodeState (ICECandidateType)(0), // 2: livekit.ICECandidateType @@ -1351,12 +1365,74 @@ func file_livekit_internal_proto_init() { file_livekit_egress_proto_init() file_livekit_agent_dispatch_proto_init() file_livekit_room_proto_init() - file_livekit_internal_proto_msgTypes[2].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_livekit_internal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Node); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_internal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_internal_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartSession); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_internal_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomInternal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_internal_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ICEConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_internal_proto_msgTypes[2].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_internal_proto_rawDesc), len(file_livekit_internal_proto_rawDesc)), + RawDescriptor: file_livekit_internal_proto_rawDesc, NumEnums: 3, NumMessages: 5, NumExtensions: 0, @@ -1368,6 +1444,7 @@ func file_livekit_internal_proto_init() { MessageInfos: file_livekit_internal_proto_msgTypes, }.Build() File_livekit_internal_proto = out.File + file_livekit_internal_proto_rawDesc = nil file_livekit_internal_proto_goTypes = nil file_livekit_internal_proto_depIdxs = nil } diff --git a/livekit/livekit_metrics.pb.go b/livekit/livekit_metrics.pb.go index d138e2405..49dfe7d76 100644 --- a/livekit/livekit_metrics.pb.go +++ b/livekit/livekit_metrics.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_metrics.proto package livekit @@ -12,7 +12,6 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -127,7 +126,10 @@ func (MetricLabel) EnumDescriptor() ([]byte, []int) { } type MetricsBatch struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + TimestampMs int64 `protobuf:"varint,1,opt,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"` // time at which this batch is sent based on a monotonic clock (millisecond resolution) NormalizedTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=normalized_timestamp,json=normalizedTimestamp,proto3" json:"normalized_timestamp,omitempty"` // To avoid repeating string values, we store them in a separate list and reference them by index @@ -136,18 +138,18 @@ type MetricsBatch struct { // They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). // Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, // such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. - StrData []string `protobuf:"bytes,3,rep,name=str_data,json=strData,proto3" json:"str_data,omitempty"` - TimeSeries []*TimeSeriesMetric `protobuf:"bytes,4,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` - Events []*EventMetric `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + StrData []string `protobuf:"bytes,3,rep,name=str_data,json=strData,proto3" json:"str_data,omitempty"` + TimeSeries []*TimeSeriesMetric `protobuf:"bytes,4,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` + Events []*EventMetric `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` } func (x *MetricsBatch) Reset() { *x = MetricsBatch{} - mi := &file_livekit_metrics_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_metrics_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MetricsBatch) String() string { @@ -158,7 +160,7 @@ func (*MetricsBatch) ProtoMessage() {} func (x *MetricsBatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -209,7 +211,10 @@ func (x *MetricsBatch) GetEvents() []*EventMetric { } type TimeSeriesMetric struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index // in the `str_data` field of `MetricsBatch` Label uint32 `protobuf:"varint,1,opt,name=label,proto3" json:"label,omitempty"` @@ -217,15 +222,15 @@ type TimeSeriesMetric struct { TrackSid uint32 `protobuf:"varint,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` // index into `str_data` Samples []*MetricSample `protobuf:"bytes,4,rep,name=samples,proto3" json:"samples,omitempty"` Rid uint32 `protobuf:"varint,5,opt,name=rid,proto3" json:"rid,omitempty"` // index into 'str_data' - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *TimeSeriesMetric) Reset() { *x = TimeSeriesMetric{} - mi := &file_livekit_metrics_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_metrics_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TimeSeriesMetric) String() string { @@ -236,7 +241,7 @@ func (*TimeSeriesMetric) ProtoMessage() {} func (x *TimeSeriesMetric) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -287,19 +292,22 @@ func (x *TimeSeriesMetric) GetRid() uint32 { } type MetricSample struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + TimestampMs int64 `protobuf:"varint,1,opt,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"` // time of metric based on a monotonic clock (in milliseconds) NormalizedTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=normalized_timestamp,json=normalizedTimestamp,proto3" json:"normalized_timestamp,omitempty"` Value float32 `protobuf:"fixed32,3,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *MetricSample) Reset() { *x = MetricSample{} - mi := &file_livekit_metrics_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_metrics_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MetricSample) String() string { @@ -310,7 +318,7 @@ func (*MetricSample) ProtoMessage() {} func (x *MetricSample) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -347,7 +355,10 @@ func (x *MetricSample) GetValue() float32 { } type EventMetric struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Label uint32 `protobuf:"varint,1,opt,name=label,proto3" json:"label,omitempty"` ParticipantIdentity uint32 `protobuf:"varint,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` // index into `str_data` TrackSid uint32 `protobuf:"varint,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` // index into `str_data` @@ -357,15 +368,15 @@ type EventMetric struct { NormalizedEndTimestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=normalized_end_timestamp,json=normalizedEndTimestamp,proto3,oneof" json:"normalized_end_timestamp,omitempty"` Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` Rid uint32 `protobuf:"varint,9,opt,name=rid,proto3" json:"rid,omitempty"` // index into 'str_data' - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *EventMetric) Reset() { *x = EventMetric{} - mi := &file_livekit_metrics_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_metrics_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EventMetric) String() string { @@ -376,7 +387,7 @@ func (*EventMetric) ProtoMessage() {} func (x *EventMetric) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -456,7 +467,7 @@ func (x *EventMetric) GetRid() uint32 { var File_livekit_metrics_proto protoreflect.FileDescriptor -var file_livekit_metrics_proto_rawDesc = string([]byte{ +var file_livekit_metrics_proto_rawDesc = []byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, @@ -591,23 +602,23 @@ var file_livekit_metrics_proto_rawDesc = string([]byte{ 0x6b, 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_metrics_proto_rawDescOnce sync.Once - file_livekit_metrics_proto_rawDescData []byte + file_livekit_metrics_proto_rawDescData = file_livekit_metrics_proto_rawDesc ) func file_livekit_metrics_proto_rawDescGZIP() []byte { file_livekit_metrics_proto_rawDescOnce.Do(func() { - file_livekit_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_metrics_proto_rawDesc), len(file_livekit_metrics_proto_rawDesc))) + file_livekit_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_metrics_proto_rawDescData) }) return file_livekit_metrics_proto_rawDescData } var file_livekit_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_livekit_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_livekit_metrics_proto_goTypes = []any{ +var file_livekit_metrics_proto_goTypes = []interface{}{ (MetricLabel)(0), // 0: livekit.MetricLabel (*MetricsBatch)(nil), // 1: livekit.MetricsBatch (*TimeSeriesMetric)(nil), // 2: livekit.TimeSeriesMetric @@ -635,12 +646,62 @@ func file_livekit_metrics_proto_init() { if File_livekit_metrics_proto != nil { return } - file_livekit_metrics_proto_msgTypes[3].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_livekit_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsBatch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeSeriesMetric); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricSample); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventMetric); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_metrics_proto_msgTypes[3].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_metrics_proto_rawDesc), len(file_livekit_metrics_proto_rawDesc)), + RawDescriptor: file_livekit_metrics_proto_rawDesc, NumEnums: 1, NumMessages: 4, NumExtensions: 0, @@ -652,6 +713,7 @@ func file_livekit_metrics_proto_init() { MessageInfos: file_livekit_metrics_proto_msgTypes, }.Build() File_livekit_metrics_proto = out.File + file_livekit_metrics_proto_rawDesc = nil file_livekit_metrics_proto_goTypes = nil file_livekit_metrics_proto_depIdxs = nil } diff --git a/livekit/livekit_models.pb.go b/livekit/livekit_models.pb.go index 1f225df9e..298c6f144 100644 --- a/livekit/livekit_models.pb.go +++ b/livekit/livekit_models.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_models.proto package livekit @@ -26,7 +26,6 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -1139,18 +1138,21 @@ func (DataStream_OperationType) EnumDescriptor() ([]byte, []int) { } type Pagination struct { - state protoimpl.MessageState `protogen:"open.v1"` - AfterId string `protobuf:"bytes,1,opt,name=after_id,json=afterId,proto3" json:"after_id,omitempty"` // list entities which IDs are greater - Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AfterId string `protobuf:"bytes,1,opt,name=after_id,json=afterId,proto3" json:"after_id,omitempty"` // list entities which IDs are greater + Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` } func (x *Pagination) Reset() { *x = Pagination{} - mi := &file_livekit_models_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Pagination) String() string { @@ -1161,7 +1163,7 @@ func (*Pagination) ProtoMessage() {} func (x *Pagination) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1191,30 +1193,33 @@ func (x *Pagination) GetLimit() int32 { } type Room struct { - state protoimpl.MessageState `protogen:"open.v1"` - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - EmptyTimeout uint32 `protobuf:"varint,3,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` - DepartureTimeout uint32 `protobuf:"varint,14,opt,name=departure_timeout,json=departureTimeout,proto3" json:"departure_timeout,omitempty"` - MaxParticipants uint32 `protobuf:"varint,4,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"` - CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` - CreationTimeMs int64 `protobuf:"varint,15,opt,name=creation_time_ms,json=creationTimeMs,proto3" json:"creation_time_ms,omitempty"` - TurnPassword string `protobuf:"bytes,6,opt,name=turn_password,json=turnPassword,proto3" json:"turn_password,omitempty"` - EnabledCodecs []*Codec `protobuf:"bytes,7,rep,name=enabled_codecs,json=enabledCodecs,proto3" json:"enabled_codecs,omitempty"` - Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` - NumParticipants uint32 `protobuf:"varint,9,opt,name=num_participants,json=numParticipants,proto3" json:"num_participants,omitempty"` - NumPublishers uint32 `protobuf:"varint,11,opt,name=num_publishers,json=numPublishers,proto3" json:"num_publishers,omitempty"` - ActiveRecording bool `protobuf:"varint,10,opt,name=active_recording,json=activeRecording,proto3" json:"active_recording,omitempty"` - Version *TimedVersion `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + EmptyTimeout uint32 `protobuf:"varint,3,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` + DepartureTimeout uint32 `protobuf:"varint,14,opt,name=departure_timeout,json=departureTimeout,proto3" json:"departure_timeout,omitempty"` + MaxParticipants uint32 `protobuf:"varint,4,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"` + CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` + CreationTimeMs int64 `protobuf:"varint,15,opt,name=creation_time_ms,json=creationTimeMs,proto3" json:"creation_time_ms,omitempty"` + TurnPassword string `protobuf:"bytes,6,opt,name=turn_password,json=turnPassword,proto3" json:"turn_password,omitempty"` + EnabledCodecs []*Codec `protobuf:"bytes,7,rep,name=enabled_codecs,json=enabledCodecs,proto3" json:"enabled_codecs,omitempty"` + Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` + NumParticipants uint32 `protobuf:"varint,9,opt,name=num_participants,json=numParticipants,proto3" json:"num_participants,omitempty"` + NumPublishers uint32 `protobuf:"varint,11,opt,name=num_publishers,json=numPublishers,proto3" json:"num_publishers,omitempty"` + ActiveRecording bool `protobuf:"varint,10,opt,name=active_recording,json=activeRecording,proto3" json:"active_recording,omitempty"` + Version *TimedVersion `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"` } func (x *Room) Reset() { *x = Room{} - mi := &file_livekit_models_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Room) String() string { @@ -1225,7 +1230,7 @@ func (*Room) ProtoMessage() {} func (x *Room) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1339,18 +1344,21 @@ func (x *Room) GetVersion() *TimedVersion { } type Codec struct { - state protoimpl.MessageState `protogen:"open.v1"` - Mime string `protobuf:"bytes,1,opt,name=mime,proto3" json:"mime,omitempty"` - FmtpLine string `protobuf:"bytes,2,opt,name=fmtp_line,json=fmtpLine,proto3" json:"fmtp_line,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Mime string `protobuf:"bytes,1,opt,name=mime,proto3" json:"mime,omitempty"` + FmtpLine string `protobuf:"bytes,2,opt,name=fmtp_line,json=fmtpLine,proto3" json:"fmtp_line,omitempty"` } func (x *Codec) Reset() { *x = Codec{} - mi := &file_livekit_models_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Codec) String() string { @@ -1361,7 +1369,7 @@ func (*Codec) ProtoMessage() {} func (x *Codec) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1391,19 +1399,22 @@ func (x *Codec) GetFmtpLine() string { } type PlayoutDelay struct { - state protoimpl.MessageState `protogen:"open.v1"` - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - Min uint32 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` - Max uint32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + Min uint32 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` + Max uint32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` } func (x *PlayoutDelay) Reset() { *x = PlayoutDelay{} - mi := &file_livekit_models_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PlayoutDelay) String() string { @@ -1414,7 +1425,7 @@ func (*PlayoutDelay) ProtoMessage() {} func (x *PlayoutDelay) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1451,7 +1462,10 @@ func (x *PlayoutDelay) GetMax() uint32 { } type ParticipantPermission struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // allow participant to subscribe to other tracks in the room CanSubscribe bool `protobuf:"varint,1,opt,name=can_subscribe,json=canSubscribe,proto3" json:"can_subscribe,omitempty"` // allow participant to publish new tracks to room @@ -1476,15 +1490,15 @@ type ParticipantPermission struct { Agent bool `protobuf:"varint,11,opt,name=agent,proto3" json:"agent,omitempty"` // if a participant can subscribe to metrics CanSubscribeMetrics bool `protobuf:"varint,12,opt,name=can_subscribe_metrics,json=canSubscribeMetrics,proto3" json:"can_subscribe_metrics,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *ParticipantPermission) Reset() { *x = ParticipantPermission{} - mi := &file_livekit_models_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantPermission) String() string { @@ -1495,7 +1509,7 @@ func (*ParticipantPermission) ProtoMessage() {} func (x *ParticipantPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1576,12 +1590,15 @@ func (x *ParticipantPermission) GetCanSubscribeMetrics() bool { } type ParticipantInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - State ParticipantInfo_State `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` - Tracks []*TrackInfo `protobuf:"bytes,4,rep,name=tracks,proto3" json:"tracks,omitempty"` - Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + State ParticipantInfo_State `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` + Tracks []*TrackInfo `protobuf:"bytes,4,rep,name=tracks,proto3" json:"tracks,omitempty"` + Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // timestamp when participant joined room, in seconds JoinedAt int64 `protobuf:"varint,6,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` // timestamp when participant joined room, in milliseconds @@ -1594,17 +1611,17 @@ type ParticipantInfo struct { // and can publish to the server IsPublisher bool `protobuf:"varint,13,opt,name=is_publisher,json=isPublisher,proto3" json:"is_publisher,omitempty"` Kind ParticipantInfo_Kind `protobuf:"varint,14,opt,name=kind,proto3,enum=livekit.ParticipantInfo_Kind" json:"kind,omitempty"` - Attributes map[string]string `protobuf:"bytes,15,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Attributes map[string]string `protobuf:"bytes,15,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` DisconnectReason DisconnectReason `protobuf:"varint,16,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *ParticipantInfo) Reset() { *x = ParticipantInfo{} - mi := &file_livekit_models_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantInfo) String() string { @@ -1615,7 +1632,7 @@ func (*ParticipantInfo) ProtoMessage() {} func (x *ParticipantInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1736,16 +1753,18 @@ func (x *ParticipantInfo) GetDisconnectReason() DisconnectReason { } type Encryption struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *Encryption) Reset() { *x = Encryption{} - mi := &file_livekit_models_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Encryption) String() string { @@ -1756,7 +1775,7 @@ func (*Encryption) ProtoMessage() {} func (x *Encryption) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1772,20 +1791,23 @@ func (*Encryption) Descriptor() ([]byte, []int) { } type SimulcastCodecInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - Mid string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"` - Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` - Layers []*VideoLayer `protobuf:"bytes,4,rep,name=layers,proto3" json:"layers,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + Mid string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"` + Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` + Layers []*VideoLayer `protobuf:"bytes,4,rep,name=layers,proto3" json:"layers,omitempty"` } func (x *SimulcastCodecInfo) Reset() { *x = SimulcastCodecInfo{} - mi := &file_livekit_models_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulcastCodecInfo) String() string { @@ -1796,7 +1818,7 @@ func (*SimulcastCodecInfo) ProtoMessage() {} func (x *SimulcastCodecInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1840,11 +1862,14 @@ func (x *SimulcastCodecInfo) GetLayers() []*VideoLayer { } type TrackInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Type TrackType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.TrackType" json:"type,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Type TrackType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.TrackType" json:"type,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` // original width of video (unset for audio) // clients may receive a lower resolution version with simulcast Width uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"` @@ -1869,15 +1894,15 @@ type TrackInfo struct { Version *TimedVersion `protobuf:"bytes,18,opt,name=version,proto3" json:"version,omitempty"` AudioFeatures []AudioTrackFeature `protobuf:"varint,19,rep,packed,name=audio_features,json=audioFeatures,proto3,enum=livekit.AudioTrackFeature" json:"audio_features,omitempty"` BackupCodecPolicy BackupCodecPolicy `protobuf:"varint,20,opt,name=backup_codec_policy,json=backupCodecPolicy,proto3,enum=livekit.BackupCodecPolicy" json:"backup_codec_policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *TrackInfo) Reset() { *x = TrackInfo{} - mi := &file_livekit_models_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackInfo) String() string { @@ -1888,7 +1913,7 @@ func (*TrackInfo) ProtoMessage() {} func (x *TrackInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2045,23 +2070,26 @@ func (x *TrackInfo) GetBackupCodecPolicy() BackupCodecPolicy { // provide information about available spatial layers type VideoLayer struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // for tracks with a single layer, this should be HIGH Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"` Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // target bitrate in bit per second (bps), server will measure actual - Bitrate uint32 `protobuf:"varint,4,opt,name=bitrate,proto3" json:"bitrate,omitempty"` - Ssrc uint32 `protobuf:"varint,5,opt,name=ssrc,proto3" json:"ssrc,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Bitrate uint32 `protobuf:"varint,4,opt,name=bitrate,proto3" json:"bitrate,omitempty"` + Ssrc uint32 `protobuf:"varint,5,opt,name=ssrc,proto3" json:"ssrc,omitempty"` } func (x *VideoLayer) Reset() { *x = VideoLayer{} - mi := &file_livekit_models_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *VideoLayer) String() string { @@ -2072,7 +2100,7 @@ func (*VideoLayer) ProtoMessage() {} func (x *VideoLayer) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2124,14 +2152,17 @@ func (x *VideoLayer) GetSsrc() uint32 { // new DataPacket API type DataPacket struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Deprecated: Marked as deprecated in livekit_models.proto. Kind DataPacket_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"` // participant identity of user that sent the message ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` // identities of participants who will receive the message (sent to all by default) DestinationIdentities []string `protobuf:"bytes,5,rep,name=destination_identities,json=destinationIdentities,proto3" json:"destination_identities,omitempty"` - // Types that are valid to be assigned to Value: + // Types that are assignable to Value: // // *DataPacket_User // *DataPacket_Speaker @@ -2145,16 +2176,16 @@ type DataPacket struct { // *DataPacket_StreamHeader // *DataPacket_StreamChunk // *DataPacket_StreamTrailer - Value isDataPacket_Value `protobuf_oneof:"value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Value isDataPacket_Value `protobuf_oneof:"value"` } func (x *DataPacket) Reset() { *x = DataPacket{} - mi := &file_livekit_models_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataPacket) String() string { @@ -2165,7 +2196,7 @@ func (*DataPacket) ProtoMessage() {} func (x *DataPacket) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2202,118 +2233,94 @@ func (x *DataPacket) GetDestinationIdentities() []string { return nil } -func (x *DataPacket) GetValue() isDataPacket_Value { - if x != nil { - return x.Value +func (m *DataPacket) GetValue() isDataPacket_Value { + if m != nil { + return m.Value } return nil } func (x *DataPacket) GetUser() *UserPacket { - if x != nil { - if x, ok := x.Value.(*DataPacket_User); ok { - return x.User - } + if x, ok := x.GetValue().(*DataPacket_User); ok { + return x.User } return nil } // Deprecated: Marked as deprecated in livekit_models.proto. func (x *DataPacket) GetSpeaker() *ActiveSpeakerUpdate { - if x != nil { - if x, ok := x.Value.(*DataPacket_Speaker); ok { - return x.Speaker - } + if x, ok := x.GetValue().(*DataPacket_Speaker); ok { + return x.Speaker } return nil } func (x *DataPacket) GetSipDtmf() *SipDTMF { - if x != nil { - if x, ok := x.Value.(*DataPacket_SipDtmf); ok { - return x.SipDtmf - } + if x, ok := x.GetValue().(*DataPacket_SipDtmf); ok { + return x.SipDtmf } return nil } func (x *DataPacket) GetTranscription() *Transcription { - if x != nil { - if x, ok := x.Value.(*DataPacket_Transcription); ok { - return x.Transcription - } + if x, ok := x.GetValue().(*DataPacket_Transcription); ok { + return x.Transcription } return nil } func (x *DataPacket) GetMetrics() *MetricsBatch { - if x != nil { - if x, ok := x.Value.(*DataPacket_Metrics); ok { - return x.Metrics - } + if x, ok := x.GetValue().(*DataPacket_Metrics); ok { + return x.Metrics } return nil } func (x *DataPacket) GetChatMessage() *ChatMessage { - if x != nil { - if x, ok := x.Value.(*DataPacket_ChatMessage); ok { - return x.ChatMessage - } + if x, ok := x.GetValue().(*DataPacket_ChatMessage); ok { + return x.ChatMessage } return nil } func (x *DataPacket) GetRpcRequest() *RpcRequest { - if x != nil { - if x, ok := x.Value.(*DataPacket_RpcRequest); ok { - return x.RpcRequest - } + if x, ok := x.GetValue().(*DataPacket_RpcRequest); ok { + return x.RpcRequest } return nil } func (x *DataPacket) GetRpcAck() *RpcAck { - if x != nil { - if x, ok := x.Value.(*DataPacket_RpcAck); ok { - return x.RpcAck - } + if x, ok := x.GetValue().(*DataPacket_RpcAck); ok { + return x.RpcAck } return nil } func (x *DataPacket) GetRpcResponse() *RpcResponse { - if x != nil { - if x, ok := x.Value.(*DataPacket_RpcResponse); ok { - return x.RpcResponse - } + if x, ok := x.GetValue().(*DataPacket_RpcResponse); ok { + return x.RpcResponse } return nil } func (x *DataPacket) GetStreamHeader() *DataStream_Header { - if x != nil { - if x, ok := x.Value.(*DataPacket_StreamHeader); ok { - return x.StreamHeader - } + if x, ok := x.GetValue().(*DataPacket_StreamHeader); ok { + return x.StreamHeader } return nil } func (x *DataPacket) GetStreamChunk() *DataStream_Chunk { - if x != nil { - if x, ok := x.Value.(*DataPacket_StreamChunk); ok { - return x.StreamChunk - } + if x, ok := x.GetValue().(*DataPacket_StreamChunk); ok { + return x.StreamChunk } return nil } func (x *DataPacket) GetStreamTrailer() *DataStream_Trailer { - if x != nil { - if x, ok := x.Value.(*DataPacket_StreamTrailer); ok { - return x.StreamTrailer - } + if x, ok := x.GetValue().(*DataPacket_StreamTrailer); ok { + return x.StreamTrailer } return nil } @@ -2396,17 +2403,20 @@ func (*DataPacket_StreamChunk) isDataPacket_Value() {} func (*DataPacket_StreamTrailer) isDataPacket_Value() {} type ActiveSpeakerUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` } func (x *ActiveSpeakerUpdate) Reset() { *x = ActiveSpeakerUpdate{} - mi := &file_livekit_models_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ActiveSpeakerUpdate) String() string { @@ -2417,7 +2427,7 @@ func (*ActiveSpeakerUpdate) ProtoMessage() {} func (x *ActiveSpeakerUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2440,21 +2450,24 @@ func (x *ActiveSpeakerUpdate) GetSpeakers() []*SpeakerInfo { } type SpeakerInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` // audio level, 0-1.0, 1 is loudest Level float32 `protobuf:"fixed32,2,opt,name=level,proto3" json:"level,omitempty"` // true if speaker is currently active - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` } func (x *SpeakerInfo) Reset() { *x = SpeakerInfo{} - mi := &file_livekit_models_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SpeakerInfo) String() string { @@ -2465,7 +2478,7 @@ func (*SpeakerInfo) ProtoMessage() {} func (x *SpeakerInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2502,7 +2515,10 @@ func (x *SpeakerInfo) GetActive() bool { } type UserPacket struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // participant ID of user that sent the message // // Deprecated: Marked as deprecated in livekit_models.proto. @@ -2527,16 +2543,16 @@ type UserPacket struct { StartTime *uint64 `protobuf:"varint,9,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"` EndTime *uint64 `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"` // added by SDK to enable de-duping of messages, for INTERNAL USE ONLY - Nonce []byte `protobuf:"bytes,11,opt,name=nonce,proto3" json:"nonce,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Nonce []byte `protobuf:"bytes,11,opt,name=nonce,proto3" json:"nonce,omitempty"` } func (x *UserPacket) Reset() { *x = UserPacket{} - mi := &file_livekit_models_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UserPacket) String() string { @@ -2547,7 +2563,7 @@ func (*UserPacket) ProtoMessage() {} func (x *UserPacket) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2637,18 +2653,21 @@ func (x *UserPacket) GetNonce() []byte { } type SipDTMF struct { - state protoimpl.MessageState `protogen:"open.v1"` - Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` - Digit string `protobuf:"bytes,4,opt,name=digit,proto3" json:"digit,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` + Digit string `protobuf:"bytes,4,opt,name=digit,proto3" json:"digit,omitempty"` } func (x *SipDTMF) Reset() { *x = SipDTMF{} - mi := &file_livekit_models_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SipDTMF) String() string { @@ -2659,7 +2678,7 @@ func (*SipDTMF) ProtoMessage() {} func (x *SipDTMF) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2689,20 +2708,23 @@ func (x *SipDTMF) GetDigit() string { } type Transcription struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Participant that got its speech transcribed TranscribedParticipantIdentity string `protobuf:"bytes,2,opt,name=transcribed_participant_identity,json=transcribedParticipantIdentity,proto3" json:"transcribed_participant_identity,omitempty"` TrackId string `protobuf:"bytes,3,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` Segments []*TranscriptionSegment `protobuf:"bytes,4,rep,name=segments,proto3" json:"segments,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *Transcription) Reset() { *x = Transcription{} - mi := &file_livekit_models_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Transcription) String() string { @@ -2713,7 +2735,7 @@ func (*Transcription) ProtoMessage() {} func (x *Transcription) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2750,22 +2772,25 @@ func (x *Transcription) GetSegments() []*TranscriptionSegment { } type TranscriptionSegment struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` - StartTime uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime uint64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - Final bool `protobuf:"varint,5,opt,name=final,proto3" json:"final,omitempty"` - Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` + StartTime uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime uint64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + Final bool `protobuf:"varint,5,opt,name=final,proto3" json:"final,omitempty"` + Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"` } func (x *TranscriptionSegment) Reset() { *x = TranscriptionSegment{} - mi := &file_livekit_models_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TranscriptionSegment) String() string { @@ -2776,7 +2801,7 @@ func (*TranscriptionSegment) ProtoMessage() {} func (x *TranscriptionSegment) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2834,22 +2859,25 @@ func (x *TranscriptionSegment) GetLanguage() string { } type ChatMessage struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // uuid - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - EditTimestamp *int64 `protobuf:"varint,3,opt,name=edit_timestamp,json=editTimestamp,proto3,oneof" json:"edit_timestamp,omitempty"` // populated only if the intent is to edit/update an existing message - Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` - Deleted bool `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"` // true to remove message - Generated bool `protobuf:"varint,6,opt,name=generated,proto3" json:"generated,omitempty"` // true if the chat message has been generated by an agent from a participant's audio transcription - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // uuid + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + EditTimestamp *int64 `protobuf:"varint,3,opt,name=edit_timestamp,json=editTimestamp,proto3,oneof" json:"edit_timestamp,omitempty"` // populated only if the intent is to edit/update an existing message + Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` + Deleted bool `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"` // true to remove message + Generated bool `protobuf:"varint,6,opt,name=generated,proto3" json:"generated,omitempty"` // true if the chat message has been generated by an agent from a participant's audio transcription } func (x *ChatMessage) Reset() { *x = ChatMessage{} - mi := &file_livekit_models_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ChatMessage) String() string { @@ -2860,7 +2888,7 @@ func (*ChatMessage) ProtoMessage() {} func (x *ChatMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2918,21 +2946,24 @@ func (x *ChatMessage) GetGenerated() bool { } type RpcRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` - Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - ResponseTimeoutMs uint32 `protobuf:"varint,4,opt,name=response_timeout_ms,json=responseTimeoutMs,proto3" json:"response_timeout_ms,omitempty"` - Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` + Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` + ResponseTimeoutMs uint32 `protobuf:"varint,4,opt,name=response_timeout_ms,json=responseTimeoutMs,proto3" json:"response_timeout_ms,omitempty"` + Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` } func (x *RpcRequest) Reset() { *x = RpcRequest{} - mi := &file_livekit_models_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RpcRequest) String() string { @@ -2943,7 +2974,7 @@ func (*RpcRequest) ProtoMessage() {} func (x *RpcRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2994,17 +3025,20 @@ func (x *RpcRequest) GetVersion() uint32 { } type RpcAck struct { - state protoimpl.MessageState `protogen:"open.v1"` - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } func (x *RpcAck) Reset() { *x = RpcAck{} - mi := &file_livekit_models_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RpcAck) String() string { @@ -3015,7 +3049,7 @@ func (*RpcAck) ProtoMessage() {} func (x *RpcAck) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3038,22 +3072,25 @@ func (x *RpcAck) GetRequestId() string { } type RpcResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Types that are valid to be assigned to Value: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // Types that are assignable to Value: // // *RpcResponse_Payload // *RpcResponse_Error - Value isRpcResponse_Value `protobuf_oneof:"value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Value isRpcResponse_Value `protobuf_oneof:"value"` } func (x *RpcResponse) Reset() { *x = RpcResponse{} - mi := &file_livekit_models_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RpcResponse) String() string { @@ -3064,7 +3101,7 @@ func (*RpcResponse) ProtoMessage() {} func (x *RpcResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3086,27 +3123,23 @@ func (x *RpcResponse) GetRequestId() string { return "" } -func (x *RpcResponse) GetValue() isRpcResponse_Value { - if x != nil { - return x.Value +func (m *RpcResponse) GetValue() isRpcResponse_Value { + if m != nil { + return m.Value } return nil } func (x *RpcResponse) GetPayload() string { - if x != nil { - if x, ok := x.Value.(*RpcResponse_Payload); ok { - return x.Payload - } + if x, ok := x.GetValue().(*RpcResponse_Payload); ok { + return x.Payload } return "" } func (x *RpcResponse) GetError() *RpcError { - if x != nil { - if x, ok := x.Value.(*RpcResponse_Error); ok { - return x.Error - } + if x, ok := x.GetValue().(*RpcResponse_Error); ok { + return x.Error } return nil } @@ -3128,19 +3161,22 @@ func (*RpcResponse_Payload) isRpcResponse_Value() {} func (*RpcResponse_Error) isRpcResponse_Value() {} type RpcError struct { - state protoimpl.MessageState `protogen:"open.v1"` - Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` } func (x *RpcError) Reset() { *x = RpcError{} - mi := &file_livekit_models_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RpcError) String() string { @@ -3151,7 +3187,7 @@ func (*RpcError) ProtoMessage() {} func (x *RpcError) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3188,19 +3224,22 @@ func (x *RpcError) GetData() string { } type ParticipantTracks struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // participant ID of participant to whom the tracks belong ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` TrackSids []string `protobuf:"bytes,2,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *ParticipantTracks) Reset() { *x = ParticipantTracks{} - mi := &file_livekit_models_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantTracks) String() string { @@ -3211,7 +3250,7 @@ func (*ParticipantTracks) ProtoMessage() {} func (x *ParticipantTracks) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3242,24 +3281,27 @@ func (x *ParticipantTracks) GetTrackSids() []string { // details about the server type ServerInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Edition ServerInfo_Edition `protobuf:"varint,1,opt,name=edition,proto3,enum=livekit.ServerInfo_Edition" json:"edition,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` - NodeId string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Edition ServerInfo_Edition `protobuf:"varint,1,opt,name=edition,proto3,enum=livekit.ServerInfo_Edition" json:"edition,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` + Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` + NodeId string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // additional debugging information. sent only if server is in development mode DebugInfo string `protobuf:"bytes,6,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"` AgentProtocol int32 `protobuf:"varint,7,opt,name=agent_protocol,json=agentProtocol,proto3" json:"agent_protocol,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *ServerInfo) Reset() { *x = ServerInfo{} - mi := &file_livekit_models_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ServerInfo) String() string { @@ -3270,7 +3312,7 @@ func (*ServerInfo) ProtoMessage() {} func (x *ServerInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3336,30 +3378,33 @@ func (x *ServerInfo) GetAgentProtocol() int32 { // details about the client type ClientInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Sdk ClientInfo_SDK `protobuf:"varint,1,opt,name=sdk,proto3,enum=livekit.ClientInfo_SDK" json:"sdk,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"` - OsVersion string `protobuf:"bytes,5,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` - DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"` - Browser string `protobuf:"bytes,7,opt,name=browser,proto3" json:"browser,omitempty"` - BrowserVersion string `protobuf:"bytes,8,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"` - Address string `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sdk ClientInfo_SDK `protobuf:"varint,1,opt,name=sdk,proto3,enum=livekit.ClientInfo_SDK" json:"sdk,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` + Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"` + OsVersion string `protobuf:"bytes,5,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` + DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"` + Browser string `protobuf:"bytes,7,opt,name=browser,proto3" json:"browser,omitempty"` + BrowserVersion string `protobuf:"bytes,8,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"` + Address string `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"` // wifi, wired, cellular, vpn, empty if not known Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"` // comma separated list of additional LiveKit SDKs in use of this client, with versions // e.g. "components-js:1.2.3,track-processors-js:1.2.3" - OtherSdks string `protobuf:"bytes,11,opt,name=other_sdks,json=otherSdks,proto3" json:"other_sdks,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + OtherSdks string `protobuf:"bytes,11,opt,name=other_sdks,json=otherSdks,proto3" json:"other_sdks,omitempty"` } func (x *ClientInfo) Reset() { *x = ClientInfo{} - mi := &file_livekit_models_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ClientInfo) String() string { @@ -3370,7 +3415,7 @@ func (*ClientInfo) ProtoMessage() {} func (x *ClientInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3464,21 +3509,24 @@ func (x *ClientInfo) GetOtherSdks() string { // server provided client configuration type ClientConfiguration struct { - state protoimpl.MessageState `protogen:"open.v1"` - Video *VideoConfiguration `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"` - Screen *VideoConfiguration `protobuf:"bytes,2,opt,name=screen,proto3" json:"screen,omitempty"` - ResumeConnection ClientConfigSetting `protobuf:"varint,3,opt,name=resume_connection,json=resumeConnection,proto3,enum=livekit.ClientConfigSetting" json:"resume_connection,omitempty"` - DisabledCodecs *DisabledCodecs `protobuf:"bytes,4,opt,name=disabled_codecs,json=disabledCodecs,proto3" json:"disabled_codecs,omitempty"` - ForceRelay ClientConfigSetting `protobuf:"varint,5,opt,name=force_relay,json=forceRelay,proto3,enum=livekit.ClientConfigSetting" json:"force_relay,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Video *VideoConfiguration `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"` + Screen *VideoConfiguration `protobuf:"bytes,2,opt,name=screen,proto3" json:"screen,omitempty"` + ResumeConnection ClientConfigSetting `protobuf:"varint,3,opt,name=resume_connection,json=resumeConnection,proto3,enum=livekit.ClientConfigSetting" json:"resume_connection,omitempty"` + DisabledCodecs *DisabledCodecs `protobuf:"bytes,4,opt,name=disabled_codecs,json=disabledCodecs,proto3" json:"disabled_codecs,omitempty"` + ForceRelay ClientConfigSetting `protobuf:"varint,5,opt,name=force_relay,json=forceRelay,proto3,enum=livekit.ClientConfigSetting" json:"force_relay,omitempty"` } func (x *ClientConfiguration) Reset() { *x = ClientConfiguration{} - mi := &file_livekit_models_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ClientConfiguration) String() string { @@ -3489,7 +3537,7 @@ func (*ClientConfiguration) ProtoMessage() {} func (x *ClientConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3540,17 +3588,20 @@ func (x *ClientConfiguration) GetForceRelay() ClientConfigSetting { } type VideoConfiguration struct { - state protoimpl.MessageState `protogen:"open.v1"` - HardwareEncoder ClientConfigSetting `protobuf:"varint,1,opt,name=hardware_encoder,json=hardwareEncoder,proto3,enum=livekit.ClientConfigSetting" json:"hardware_encoder,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HardwareEncoder ClientConfigSetting `protobuf:"varint,1,opt,name=hardware_encoder,json=hardwareEncoder,proto3,enum=livekit.ClientConfigSetting" json:"hardware_encoder,omitempty"` } func (x *VideoConfiguration) Reset() { *x = VideoConfiguration{} - mi := &file_livekit_models_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *VideoConfiguration) String() string { @@ -3561,7 +3612,7 @@ func (*VideoConfiguration) ProtoMessage() {} func (x *VideoConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3584,20 +3635,23 @@ func (x *VideoConfiguration) GetHardwareEncoder() ClientConfigSetting { } type DisabledCodecs struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // disabled for both publish and subscribe Codecs []*Codec `protobuf:"bytes,1,rep,name=codecs,proto3" json:"codecs,omitempty"` // only disable for publish - Publish []*Codec `protobuf:"bytes,2,rep,name=publish,proto3" json:"publish,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Publish []*Codec `protobuf:"bytes,2,rep,name=publish,proto3" json:"publish,omitempty"` } func (x *DisabledCodecs) Reset() { *x = DisabledCodecs{} - mi := &file_livekit_models_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DisabledCodecs) String() string { @@ -3608,7 +3662,7 @@ func (*DisabledCodecs) ProtoMessage() {} func (x *DisabledCodecs) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3638,7 +3692,10 @@ func (x *DisabledCodecs) GetPublish() []*Codec { } type RTPDrift struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Duration float64 `protobuf:"fixed64,3,opt,name=duration,proto3" json:"duration,omitempty"` @@ -3648,15 +3705,15 @@ type RTPDrift struct { DriftSamples int64 `protobuf:"varint,7,opt,name=drift_samples,json=driftSamples,proto3" json:"drift_samples,omitempty"` DriftMs float64 `protobuf:"fixed64,8,opt,name=drift_ms,json=driftMs,proto3" json:"drift_ms,omitempty"` ClockRate float64 `protobuf:"fixed64,9,opt,name=clock_rate,json=clockRate,proto3" json:"clock_rate,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *RTPDrift) Reset() { *x = RTPDrift{} - mi := &file_livekit_models_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTPDrift) String() string { @@ -3667,7 +3724,7 @@ func (*RTPDrift) ProtoMessage() {} func (x *RTPDrift) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3746,7 +3803,10 @@ func (x *RTPDrift) GetClockRate() float64 { } type RTPStats struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Duration float64 `protobuf:"fixed64,3,opt,name=duration,proto3" json:"duration,omitempty"` @@ -3773,7 +3833,7 @@ type RTPStats struct { FrameRate float64 `protobuf:"fixed64,21,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"` JitterCurrent float64 `protobuf:"fixed64,22,opt,name=jitter_current,json=jitterCurrent,proto3" json:"jitter_current,omitempty"` JitterMax float64 `protobuf:"fixed64,23,opt,name=jitter_max,json=jitterMax,proto3" json:"jitter_max,omitempty"` - GapHistogram map[int32]uint32 `protobuf:"bytes,24,rep,name=gap_histogram,json=gapHistogram,proto3" json:"gap_histogram,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + GapHistogram map[int32]uint32 `protobuf:"bytes,24,rep,name=gap_histogram,json=gapHistogram,proto3" json:"gap_histogram,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` Nacks uint32 `protobuf:"varint,25,opt,name=nacks,proto3" json:"nacks,omitempty"` NackAcks uint32 `protobuf:"varint,37,opt,name=nack_acks,json=nackAcks,proto3" json:"nack_acks,omitempty"` NackMisses uint32 `protobuf:"varint,26,opt,name=nack_misses,json=nackMisses,proto3" json:"nack_misses,omitempty"` @@ -3792,15 +3852,15 @@ type RTPStats struct { NtpReportDrift *RTPDrift `protobuf:"bytes,45,opt,name=ntp_report_drift,json=ntpReportDrift,proto3" json:"ntp_report_drift,omitempty"` RebasedReportDrift *RTPDrift `protobuf:"bytes,46,opt,name=rebased_report_drift,json=rebasedReportDrift,proto3" json:"rebased_report_drift,omitempty"` ReceivedReportDrift *RTPDrift `protobuf:"bytes,47,opt,name=received_report_drift,json=receivedReportDrift,proto3" json:"received_report_drift,omitempty"` // NEXT_ID: 48 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *RTPStats) Reset() { *x = RTPStats{} - mi := &file_livekit_models_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTPStats) String() string { @@ -3811,7 +3871,7 @@ func (*RTPStats) ProtoMessage() {} func (x *RTPStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[29] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4142,23 +4202,26 @@ func (x *RTPStats) GetReceivedReportDrift() *RTPDrift { } type RTCPSenderReportState struct { - state protoimpl.MessageState `protogen:"open.v1"` - RtpTimestamp uint32 `protobuf:"varint,1,opt,name=rtp_timestamp,json=rtpTimestamp,proto3" json:"rtp_timestamp,omitempty"` - RtpTimestampExt uint64 `protobuf:"varint,2,opt,name=rtp_timestamp_ext,json=rtpTimestampExt,proto3" json:"rtp_timestamp_ext,omitempty"` - NtpTimestamp uint64 `protobuf:"varint,3,opt,name=ntp_timestamp,json=ntpTimestamp,proto3" json:"ntp_timestamp,omitempty"` - At int64 `protobuf:"varint,4,opt,name=at,proto3" json:"at,omitempty"` // time at which this happened - AtAdjusted int64 `protobuf:"varint,5,opt,name=at_adjusted,json=atAdjusted,proto3" json:"at_adjusted,omitempty"` - Packets uint32 `protobuf:"varint,6,opt,name=packets,proto3" json:"packets,omitempty"` - Octets uint64 `protobuf:"varint,7,opt,name=octets,proto3" json:"octets,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RtpTimestamp uint32 `protobuf:"varint,1,opt,name=rtp_timestamp,json=rtpTimestamp,proto3" json:"rtp_timestamp,omitempty"` + RtpTimestampExt uint64 `protobuf:"varint,2,opt,name=rtp_timestamp_ext,json=rtpTimestampExt,proto3" json:"rtp_timestamp_ext,omitempty"` + NtpTimestamp uint64 `protobuf:"varint,3,opt,name=ntp_timestamp,json=ntpTimestamp,proto3" json:"ntp_timestamp,omitempty"` + At int64 `protobuf:"varint,4,opt,name=at,proto3" json:"at,omitempty"` // time at which this happened + AtAdjusted int64 `protobuf:"varint,5,opt,name=at_adjusted,json=atAdjusted,proto3" json:"at_adjusted,omitempty"` + Packets uint32 `protobuf:"varint,6,opt,name=packets,proto3" json:"packets,omitempty"` + Octets uint64 `protobuf:"varint,7,opt,name=octets,proto3" json:"octets,omitempty"` } func (x *RTCPSenderReportState) Reset() { *x = RTCPSenderReportState{} - mi := &file_livekit_models_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTCPSenderReportState) String() string { @@ -4169,7 +4232,7 @@ func (*RTCPSenderReportState) ProtoMessage() {} func (x *RTCPSenderReportState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[30] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4234,27 +4297,30 @@ func (x *RTCPSenderReportState) GetOctets() uint64 { } type RTPForwarderState struct { - state protoimpl.MessageState `protogen:"open.v1"` - Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"` - ReferenceLayerSpatial int32 `protobuf:"varint,2,opt,name=reference_layer_spatial,json=referenceLayerSpatial,proto3" json:"reference_layer_spatial,omitempty"` - PreStartTime int64 `protobuf:"varint,3,opt,name=pre_start_time,json=preStartTime,proto3" json:"pre_start_time,omitempty"` - ExtFirstTimestamp uint64 `protobuf:"varint,4,opt,name=ext_first_timestamp,json=extFirstTimestamp,proto3" json:"ext_first_timestamp,omitempty"` - DummyStartTimestampOffset uint64 `protobuf:"varint,5,opt,name=dummy_start_timestamp_offset,json=dummyStartTimestampOffset,proto3" json:"dummy_start_timestamp_offset,omitempty"` - RtpMunger *RTPMungerState `protobuf:"bytes,6,opt,name=rtp_munger,json=rtpMunger,proto3" json:"rtp_munger,omitempty"` - // Types that are valid to be assigned to CodecMunger: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"` + ReferenceLayerSpatial int32 `protobuf:"varint,2,opt,name=reference_layer_spatial,json=referenceLayerSpatial,proto3" json:"reference_layer_spatial,omitempty"` + PreStartTime int64 `protobuf:"varint,3,opt,name=pre_start_time,json=preStartTime,proto3" json:"pre_start_time,omitempty"` + ExtFirstTimestamp uint64 `protobuf:"varint,4,opt,name=ext_first_timestamp,json=extFirstTimestamp,proto3" json:"ext_first_timestamp,omitempty"` + DummyStartTimestampOffset uint64 `protobuf:"varint,5,opt,name=dummy_start_timestamp_offset,json=dummyStartTimestampOffset,proto3" json:"dummy_start_timestamp_offset,omitempty"` + RtpMunger *RTPMungerState `protobuf:"bytes,6,opt,name=rtp_munger,json=rtpMunger,proto3" json:"rtp_munger,omitempty"` + // Types that are assignable to CodecMunger: // // *RTPForwarderState_Vp8Munger CodecMunger isRTPForwarderState_CodecMunger `protobuf_oneof:"codec_munger"` SenderReportState []*RTCPSenderReportState `protobuf:"bytes,8,rep,name=sender_report_state,json=senderReportState,proto3" json:"sender_report_state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *RTPForwarderState) Reset() { *x = RTPForwarderState{} - mi := &file_livekit_models_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTPForwarderState) String() string { @@ -4265,7 +4331,7 @@ func (*RTPForwarderState) ProtoMessage() {} func (x *RTPForwarderState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[31] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4322,18 +4388,16 @@ func (x *RTPForwarderState) GetRtpMunger() *RTPMungerState { return nil } -func (x *RTPForwarderState) GetCodecMunger() isRTPForwarderState_CodecMunger { - if x != nil { - return x.CodecMunger +func (m *RTPForwarderState) GetCodecMunger() isRTPForwarderState_CodecMunger { + if m != nil { + return m.CodecMunger } return nil } func (x *RTPForwarderState) GetVp8Munger() *VP8MungerState { - if x != nil { - if x, ok := x.CodecMunger.(*RTPForwarderState_Vp8Munger); ok { - return x.Vp8Munger - } + if x, ok := x.GetCodecMunger().(*RTPForwarderState_Vp8Munger); ok { + return x.Vp8Munger } return nil } @@ -4356,22 +4420,25 @@ type RTPForwarderState_Vp8Munger struct { func (*RTPForwarderState_Vp8Munger) isRTPForwarderState_CodecMunger() {} type RTPMungerState struct { - state protoimpl.MessageState `protogen:"open.v1"` - ExtLastSequenceNumber uint64 `protobuf:"varint,1,opt,name=ext_last_sequence_number,json=extLastSequenceNumber,proto3" json:"ext_last_sequence_number,omitempty"` - ExtSecondLastSequenceNumber uint64 `protobuf:"varint,2,opt,name=ext_second_last_sequence_number,json=extSecondLastSequenceNumber,proto3" json:"ext_second_last_sequence_number,omitempty"` - ExtLastTimestamp uint64 `protobuf:"varint,3,opt,name=ext_last_timestamp,json=extLastTimestamp,proto3" json:"ext_last_timestamp,omitempty"` - ExtSecondLastTimestamp uint64 `protobuf:"varint,4,opt,name=ext_second_last_timestamp,json=extSecondLastTimestamp,proto3" json:"ext_second_last_timestamp,omitempty"` - LastMarker bool `protobuf:"varint,5,opt,name=last_marker,json=lastMarker,proto3" json:"last_marker,omitempty"` - SecondLastMarker bool `protobuf:"varint,6,opt,name=second_last_marker,json=secondLastMarker,proto3" json:"second_last_marker,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExtLastSequenceNumber uint64 `protobuf:"varint,1,opt,name=ext_last_sequence_number,json=extLastSequenceNumber,proto3" json:"ext_last_sequence_number,omitempty"` + ExtSecondLastSequenceNumber uint64 `protobuf:"varint,2,opt,name=ext_second_last_sequence_number,json=extSecondLastSequenceNumber,proto3" json:"ext_second_last_sequence_number,omitempty"` + ExtLastTimestamp uint64 `protobuf:"varint,3,opt,name=ext_last_timestamp,json=extLastTimestamp,proto3" json:"ext_last_timestamp,omitempty"` + ExtSecondLastTimestamp uint64 `protobuf:"varint,4,opt,name=ext_second_last_timestamp,json=extSecondLastTimestamp,proto3" json:"ext_second_last_timestamp,omitempty"` + LastMarker bool `protobuf:"varint,5,opt,name=last_marker,json=lastMarker,proto3" json:"last_marker,omitempty"` + SecondLastMarker bool `protobuf:"varint,6,opt,name=second_last_marker,json=secondLastMarker,proto3" json:"second_last_marker,omitempty"` } func (x *RTPMungerState) Reset() { *x = RTPMungerState{} - mi := &file_livekit_models_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTPMungerState) String() string { @@ -4382,7 +4449,7 @@ func (*RTPMungerState) ProtoMessage() {} func (x *RTPMungerState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[32] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4440,23 +4507,26 @@ func (x *RTPMungerState) GetSecondLastMarker() bool { } type VP8MungerState struct { - state protoimpl.MessageState `protogen:"open.v1"` - ExtLastPictureId int32 `protobuf:"varint,1,opt,name=ext_last_picture_id,json=extLastPictureId,proto3" json:"ext_last_picture_id,omitempty"` - PictureIdUsed bool `protobuf:"varint,2,opt,name=picture_id_used,json=pictureIdUsed,proto3" json:"picture_id_used,omitempty"` - LastTl0PicIdx uint32 `protobuf:"varint,3,opt,name=last_tl0_pic_idx,json=lastTl0PicIdx,proto3" json:"last_tl0_pic_idx,omitempty"` - Tl0PicIdxUsed bool `protobuf:"varint,4,opt,name=tl0_pic_idx_used,json=tl0PicIdxUsed,proto3" json:"tl0_pic_idx_used,omitempty"` - TidUsed bool `protobuf:"varint,5,opt,name=tid_used,json=tidUsed,proto3" json:"tid_used,omitempty"` - LastKeyIdx uint32 `protobuf:"varint,6,opt,name=last_key_idx,json=lastKeyIdx,proto3" json:"last_key_idx,omitempty"` - KeyIdxUsed bool `protobuf:"varint,7,opt,name=key_idx_used,json=keyIdxUsed,proto3" json:"key_idx_used,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExtLastPictureId int32 `protobuf:"varint,1,opt,name=ext_last_picture_id,json=extLastPictureId,proto3" json:"ext_last_picture_id,omitempty"` + PictureIdUsed bool `protobuf:"varint,2,opt,name=picture_id_used,json=pictureIdUsed,proto3" json:"picture_id_used,omitempty"` + LastTl0PicIdx uint32 `protobuf:"varint,3,opt,name=last_tl0_pic_idx,json=lastTl0PicIdx,proto3" json:"last_tl0_pic_idx,omitempty"` + Tl0PicIdxUsed bool `protobuf:"varint,4,opt,name=tl0_pic_idx_used,json=tl0PicIdxUsed,proto3" json:"tl0_pic_idx_used,omitempty"` + TidUsed bool `protobuf:"varint,5,opt,name=tid_used,json=tidUsed,proto3" json:"tid_used,omitempty"` + LastKeyIdx uint32 `protobuf:"varint,6,opt,name=last_key_idx,json=lastKeyIdx,proto3" json:"last_key_idx,omitempty"` + KeyIdxUsed bool `protobuf:"varint,7,opt,name=key_idx_used,json=keyIdxUsed,proto3" json:"key_idx_used,omitempty"` } func (x *VP8MungerState) Reset() { *x = VP8MungerState{} - mi := &file_livekit_models_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *VP8MungerState) String() string { @@ -4467,7 +4537,7 @@ func (*VP8MungerState) ProtoMessage() {} func (x *VP8MungerState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[33] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4532,18 +4602,21 @@ func (x *VP8MungerState) GetKeyIdxUsed() bool { } type TimedVersion struct { - state protoimpl.MessageState `protogen:"open.v1"` - UnixMicro int64 `protobuf:"varint,1,opt,name=unix_micro,json=unixMicro,proto3" json:"unix_micro,omitempty"` - Ticks int32 `protobuf:"varint,2,opt,name=ticks,proto3" json:"ticks,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UnixMicro int64 `protobuf:"varint,1,opt,name=unix_micro,json=unixMicro,proto3" json:"unix_micro,omitempty"` + Ticks int32 `protobuf:"varint,2,opt,name=ticks,proto3" json:"ticks,omitempty"` } func (x *TimedVersion) Reset() { *x = TimedVersion{} - mi := &file_livekit_models_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TimedVersion) String() string { @@ -4554,7 +4627,7 @@ func (*TimedVersion) ProtoMessage() {} func (x *TimedVersion) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[34] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4584,16 +4657,18 @@ func (x *TimedVersion) GetTicks() int32 { } type DataStream struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *DataStream) Reset() { *x = DataStream{} - mi := &file_livekit_models_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataStream) String() string { @@ -4604,7 +4679,7 @@ func (*DataStream) ProtoMessage() {} func (x *DataStream) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[35] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4621,21 +4696,24 @@ func (*DataStream) Descriptor() ([]byte, []int) { // header properties specific to text streams type DataStream_TextHeader struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + OperationType DataStream_OperationType `protobuf:"varint,1,opt,name=operation_type,json=operationType,proto3,enum=livekit.DataStream_OperationType" json:"operation_type,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // Optional: Version for updates/edits ReplyToStreamId string `protobuf:"bytes,3,opt,name=reply_to_stream_id,json=replyToStreamId,proto3" json:"reply_to_stream_id,omitempty"` // Optional: Reply to specific message AttachedStreamIds []string `protobuf:"bytes,4,rep,name=attached_stream_ids,json=attachedStreamIds,proto3" json:"attached_stream_ids,omitempty"` // file attachments for text streams Generated bool `protobuf:"varint,5,opt,name=generated,proto3" json:"generated,omitempty"` // true if the text has been generated by an agent from a participant's audio transcription - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *DataStream_TextHeader) Reset() { *x = DataStream_TextHeader{} - mi := &file_livekit_models_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataStream_TextHeader) String() string { @@ -4646,7 +4724,7 @@ func (*DataStream_TextHeader) ProtoMessage() {} func (x *DataStream_TextHeader) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[38] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4698,17 +4776,20 @@ func (x *DataStream_TextHeader) GetGenerated() bool { // header properties specific to byte or file streams type DataStream_ByteHeader struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *DataStream_ByteHeader) Reset() { *x = DataStream_ByteHeader{} - mi := &file_livekit_models_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataStream_ByteHeader) String() string { @@ -4719,7 +4800,7 @@ func (*DataStream_ByteHeader) ProtoMessage() {} func (x *DataStream_ByteHeader) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[39] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4743,30 +4824,33 @@ func (x *DataStream_ByteHeader) GetName() string { // main DataStream.Header that contains a oneof for specific headers type DataStream_Header struct { - state protoimpl.MessageState `protogen:"open.v1"` - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // using int64 for Unix timestamp - Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` - MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - TotalLength *uint64 `protobuf:"varint,5,opt,name=total_length,json=totalLength,proto3,oneof" json:"total_length,omitempty"` // only populated for finite streams, if it's a stream of unknown size this stays empty - EncryptionType Encryption_Type `protobuf:"varint,7,opt,name=encryption_type,json=encryptionType,proto3,enum=livekit.Encryption_Type" json:"encryption_type,omitempty"` // defaults to NONE - Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // user defined attributes map that can carry additional info + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // using int64 for Unix timestamp + Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` + MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + TotalLength *uint64 `protobuf:"varint,5,opt,name=total_length,json=totalLength,proto3,oneof" json:"total_length,omitempty"` // only populated for finite streams, if it's a stream of unknown size this stays empty + EncryptionType Encryption_Type `protobuf:"varint,7,opt,name=encryption_type,json=encryptionType,proto3,enum=livekit.Encryption_Type" json:"encryption_type,omitempty"` // defaults to NONE + Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // user defined attributes map that can carry additional info // oneof to choose between specific header types // - // Types that are valid to be assigned to ContentHeader: + // Types that are assignable to ContentHeader: // // *DataStream_Header_TextHeader // *DataStream_Header_ByteHeader ContentHeader isDataStream_Header_ContentHeader `protobuf_oneof:"content_header"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *DataStream_Header) Reset() { *x = DataStream_Header{} - mi := &file_livekit_models_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataStream_Header) String() string { @@ -4777,7 +4861,7 @@ func (*DataStream_Header) ProtoMessage() {} func (x *DataStream_Header) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[40] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4841,27 +4925,23 @@ func (x *DataStream_Header) GetAttributes() map[string]string { return nil } -func (x *DataStream_Header) GetContentHeader() isDataStream_Header_ContentHeader { - if x != nil { - return x.ContentHeader +func (m *DataStream_Header) GetContentHeader() isDataStream_Header_ContentHeader { + if m != nil { + return m.ContentHeader } return nil } func (x *DataStream_Header) GetTextHeader() *DataStream_TextHeader { - if x != nil { - if x, ok := x.ContentHeader.(*DataStream_Header_TextHeader); ok { - return x.TextHeader - } + if x, ok := x.GetContentHeader().(*DataStream_Header_TextHeader); ok { + return x.TextHeader } return nil } func (x *DataStream_Header) GetByteHeader() *DataStream_ByteHeader { - if x != nil { - if x, ok := x.ContentHeader.(*DataStream_Header_ByteHeader); ok { - return x.ByteHeader - } + if x, ok := x.GetContentHeader().(*DataStream_Header_ByteHeader); ok { + return x.ByteHeader } return nil } @@ -4883,21 +4963,24 @@ func (*DataStream_Header_TextHeader) isDataStream_Header_ContentHeader() {} func (*DataStream_Header_ByteHeader) isDataStream_Header_ContentHeader() {} type DataStream_Chunk struct { - state protoimpl.MessageState `protogen:"open.v1"` - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream to map it to the correct header - ChunkIndex uint64 `protobuf:"varint,2,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"` - Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // content as binary (bytes) - Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` // a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced - Iv []byte `protobuf:"bytes,5,opt,name=iv,proto3,oneof" json:"iv,omitempty"` // optional, initialization vector for AES-GCM encryption - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream to map it to the correct header + ChunkIndex uint64 `protobuf:"varint,2,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"` + Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // content as binary (bytes) + Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` // a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced + Iv []byte `protobuf:"bytes,5,opt,name=iv,proto3,oneof" json:"iv,omitempty"` // optional, initialization vector for AES-GCM encryption } func (x *DataStream_Chunk) Reset() { *x = DataStream_Chunk{} - mi := &file_livekit_models_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataStream_Chunk) String() string { @@ -4908,7 +4991,7 @@ func (*DataStream_Chunk) ProtoMessage() {} func (x *DataStream_Chunk) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[41] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4959,19 +5042,22 @@ func (x *DataStream_Chunk) GetIv() []byte { } type DataStream_Trailer struct { - state protoimpl.MessageState `protogen:"open.v1"` - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream - Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end) - Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // finalizing updates for the stream, can also include additional insights for errors or endTime for transcription - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream + Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end) + Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // finalizing updates for the stream, can also include additional insights for errors or endTime for transcription } func (x *DataStream_Trailer) Reset() { *x = DataStream_Trailer{} - mi := &file_livekit_models_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataStream_Trailer) String() string { @@ -4982,7 +5068,7 @@ func (*DataStream_Trailer) ProtoMessage() {} func (x *DataStream_Trailer) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[42] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5020,7 +5106,7 @@ func (x *DataStream_Trailer) GetAttributes() map[string]string { var File_livekit_models_proto protoreflect.FileDescriptor -var file_livekit_models_proto_rawDesc = string([]byte{ +var file_livekit_models_proto_rawDesc = []byte{ 0x0a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, @@ -5855,23 +5941,23 @@ var file_livekit_models_proto_rawDesc = string([]byte{ 0x76, 0x65, 0x6b, 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_models_proto_rawDescOnce sync.Once - file_livekit_models_proto_rawDescData []byte + file_livekit_models_proto_rawDescData = file_livekit_models_proto_rawDesc ) func file_livekit_models_proto_rawDescGZIP() []byte { file_livekit_models_proto_rawDescOnce.Do(func() { - file_livekit_models_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_models_proto_rawDesc), len(file_livekit_models_proto_rawDesc))) + file_livekit_models_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_models_proto_rawDescData) }) return file_livekit_models_proto_rawDescData } var file_livekit_models_proto_enumTypes = make([]protoimpl.EnumInfo, 20) var file_livekit_models_proto_msgTypes = make([]protoimpl.MessageInfo, 45) -var file_livekit_models_proto_goTypes = []any{ +var file_livekit_models_proto_goTypes = []interface{}{ (AudioCodec)(0), // 0: livekit.AudioCodec (VideoCodec)(0), // 1: livekit.VideoCodec (ImageCodec)(0), // 2: livekit.ImageCodec @@ -6021,7 +6107,501 @@ func file_livekit_models_proto_init() { return } file_livekit_metrics_proto_init() - file_livekit_models_proto_msgTypes[10].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_models_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Pagination); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Room); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Codec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayoutDelay); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParticipantPermission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParticipantInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Encryption); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SimulcastCodecInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoLayer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataPacket); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActiveSpeakerUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpeakerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserPacket); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SipDTMF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Transcription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TranscriptionSegment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChatMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RpcRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RpcAck); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RpcResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RpcError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParticipantTracks); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientConfiguration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoConfiguration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisabledCodecs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RTPDrift); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RTPStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RTCPSenderReportState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RTPForwarderState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RTPMungerState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VP8MungerState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimedVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataStream); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataStream_TextHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataStream_ByteHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataStream_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataStream_Chunk); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataStream_Trailer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_models_proto_msgTypes[10].OneofWrappers = []interface{}{ (*DataPacket_User)(nil), (*DataPacket_Speaker)(nil), (*DataPacket_SipDtmf)(nil), @@ -6035,25 +6615,25 @@ func file_livekit_models_proto_init() { (*DataPacket_StreamChunk)(nil), (*DataPacket_StreamTrailer)(nil), } - file_livekit_models_proto_msgTypes[13].OneofWrappers = []any{} - file_livekit_models_proto_msgTypes[17].OneofWrappers = []any{} - file_livekit_models_proto_msgTypes[20].OneofWrappers = []any{ + file_livekit_models_proto_msgTypes[13].OneofWrappers = []interface{}{} + file_livekit_models_proto_msgTypes[17].OneofWrappers = []interface{}{} + file_livekit_models_proto_msgTypes[20].OneofWrappers = []interface{}{ (*RpcResponse_Payload)(nil), (*RpcResponse_Error)(nil), } - file_livekit_models_proto_msgTypes[31].OneofWrappers = []any{ + file_livekit_models_proto_msgTypes[31].OneofWrappers = []interface{}{ (*RTPForwarderState_Vp8Munger)(nil), } - file_livekit_models_proto_msgTypes[40].OneofWrappers = []any{ + file_livekit_models_proto_msgTypes[40].OneofWrappers = []interface{}{ (*DataStream_Header_TextHeader)(nil), (*DataStream_Header_ByteHeader)(nil), } - file_livekit_models_proto_msgTypes[41].OneofWrappers = []any{} + file_livekit_models_proto_msgTypes[41].OneofWrappers = []interface{}{} 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)), + RawDescriptor: file_livekit_models_proto_rawDesc, NumEnums: 20, NumMessages: 45, NumExtensions: 0, @@ -6065,6 +6645,7 @@ func file_livekit_models_proto_init() { MessageInfos: file_livekit_models_proto_msgTypes, }.Build() File_livekit_models_proto = out.File + file_livekit_models_proto_rawDesc = nil file_livekit_models_proto_goTypes = nil file_livekit_models_proto_depIdxs = nil } diff --git a/livekit/livekit_room.pb.go b/livekit/livekit_room.pb.go index ce291ccd1..4e5bb0a0d 100644 --- a/livekit/livekit_room.pb.go +++ b/livekit/livekit_room.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_room.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -36,7 +35,10 @@ const ( ) type CreateRoomRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // name of the room Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // configuration to use for this room parameters. Setting parameters below override the config defaults. @@ -62,16 +64,16 @@ type CreateRoomRequest struct { // replay ReplayEnabled bool `protobuf:"varint,13,opt,name=replay_enabled,json=replayEnabled,proto3" json:"replay_enabled,omitempty"` // Define agents that should be dispatched to this room - Agents []*RoomAgentDispatch `protobuf:"bytes,14,rep,name=agents,proto3" json:"agents,omitempty"` // NEXT-ID: 15 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Agents []*RoomAgentDispatch `protobuf:"bytes,14,rep,name=agents,proto3" json:"agents,omitempty"` // NEXT-ID: 15 } func (x *CreateRoomRequest) Reset() { *x = CreateRoomRequest{} - mi := &file_livekit_room_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateRoomRequest) String() string { @@ -82,7 +84,7 @@ func (*CreateRoomRequest) ProtoMessage() {} func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -189,19 +191,22 @@ func (x *CreateRoomRequest) GetAgents() []*RoomAgentDispatch { } type RoomEgress struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room *RoomCompositeEgressRequest `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Participant *AutoParticipantEgress `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` - Tracks *AutoTrackEgress `protobuf:"bytes,2,opt,name=tracks,proto3" json:"tracks,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room *RoomCompositeEgressRequest `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Participant *AutoParticipantEgress `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` + Tracks *AutoTrackEgress `protobuf:"bytes,2,opt,name=tracks,proto3" json:"tracks,omitempty"` } func (x *RoomEgress) Reset() { *x = RoomEgress{} - mi := &file_livekit_room_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomEgress) String() string { @@ -212,7 +217,7 @@ func (*RoomEgress) ProtoMessage() {} func (x *RoomEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -249,17 +254,20 @@ func (x *RoomEgress) GetTracks() *AutoTrackEgress { } type RoomAgent struct { - state protoimpl.MessageState `protogen:"open.v1"` - Dispatches []*RoomAgentDispatch `protobuf:"bytes,1,rep,name=dispatches,proto3" json:"dispatches,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Dispatches []*RoomAgentDispatch `protobuf:"bytes,1,rep,name=dispatches,proto3" json:"dispatches,omitempty"` } func (x *RoomAgent) Reset() { *x = RoomAgent{} - mi := &file_livekit_room_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomAgent) String() string { @@ -270,7 +278,7 @@ func (*RoomAgent) ProtoMessage() {} func (x *RoomAgent) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -293,18 +301,21 @@ func (x *RoomAgent) GetDispatches() []*RoomAgentDispatch { } type ListRoomsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // when set, will only return rooms with name match - Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // when set, will only return rooms with name match + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` } func (x *ListRoomsRequest) Reset() { *x = ListRoomsRequest{} - mi := &file_livekit_room_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListRoomsRequest) String() string { @@ -315,7 +326,7 @@ func (*ListRoomsRequest) ProtoMessage() {} func (x *ListRoomsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -338,17 +349,20 @@ func (x *ListRoomsRequest) GetNames() []string { } type ListRoomsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` } func (x *ListRoomsResponse) Reset() { *x = ListRoomsResponse{} - mi := &file_livekit_room_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListRoomsResponse) String() string { @@ -359,7 +373,7 @@ func (*ListRoomsResponse) ProtoMessage() {} func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -382,18 +396,21 @@ func (x *ListRoomsResponse) GetRooms() []*Room { } type DeleteRoomRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // name of the room - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name of the room + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` } func (x *DeleteRoomRequest) Reset() { *x = DeleteRoomRequest{} - mi := &file_livekit_room_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRoomRequest) String() string { @@ -404,7 +421,7 @@ func (*DeleteRoomRequest) ProtoMessage() {} func (x *DeleteRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -427,16 +444,18 @@ func (x *DeleteRoomRequest) GetRoom() string { } type DeleteRoomResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *DeleteRoomResponse) Reset() { *x = DeleteRoomResponse{} - mi := &file_livekit_room_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRoomResponse) String() string { @@ -447,7 +466,7 @@ func (*DeleteRoomResponse) ProtoMessage() {} func (x *DeleteRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -463,18 +482,21 @@ func (*DeleteRoomResponse) Descriptor() ([]byte, []int) { } type ListParticipantsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // name of the room - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name of the room + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` } func (x *ListParticipantsRequest) Reset() { *x = ListParticipantsRequest{} - mi := &file_livekit_room_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListParticipantsRequest) String() string { @@ -485,7 +507,7 @@ func (*ListParticipantsRequest) ProtoMessage() {} func (x *ListParticipantsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -508,17 +530,20 @@ func (x *ListParticipantsRequest) GetRoom() string { } type ListParticipantsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` } func (x *ListParticipantsResponse) Reset() { *x = ListParticipantsResponse{} - mi := &file_livekit_room_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListParticipantsResponse) String() string { @@ -529,7 +554,7 @@ func (*ListParticipantsResponse) ProtoMessage() {} func (x *ListParticipantsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -552,20 +577,23 @@ func (x *ListParticipantsResponse) GetParticipants() []*ParticipantInfo { } type RoomParticipantIdentity struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // name of the room Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // identity of the participant - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` } func (x *RoomParticipantIdentity) Reset() { *x = RoomParticipantIdentity{} - mi := &file_livekit_room_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomParticipantIdentity) String() string { @@ -576,7 +604,7 @@ func (*RoomParticipantIdentity) ProtoMessage() {} func (x *RoomParticipantIdentity) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -606,16 +634,18 @@ func (x *RoomParticipantIdentity) GetIdentity() string { } type RemoveParticipantResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *RemoveParticipantResponse) Reset() { *x = RemoveParticipantResponse{} - mi := &file_livekit_room_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveParticipantResponse) String() string { @@ -626,7 +656,7 @@ func (*RemoveParticipantResponse) ProtoMessage() {} func (x *RemoveParticipantResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -642,23 +672,26 @@ func (*RemoveParticipantResponse) Descriptor() ([]byte, []int) { } type MuteRoomTrackRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // name of the room Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // sid of the track to mute TrackSid string `protobuf:"bytes,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` // set to true to mute, false to unmute - Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` } func (x *MuteRoomTrackRequest) Reset() { *x = MuteRoomTrackRequest{} - mi := &file_livekit_room_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MuteRoomTrackRequest) String() string { @@ -669,7 +702,7 @@ func (*MuteRoomTrackRequest) ProtoMessage() {} func (x *MuteRoomTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -713,17 +746,20 @@ func (x *MuteRoomTrackRequest) GetMuted() bool { } type MuteRoomTrackResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Track *TrackInfo `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Track *TrackInfo `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"` } func (x *MuteRoomTrackResponse) Reset() { *x = MuteRoomTrackResponse{} - mi := &file_livekit_room_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MuteRoomTrackResponse) String() string { @@ -734,7 +770,7 @@ func (*MuteRoomTrackResponse) ProtoMessage() {} func (x *MuteRoomTrackResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -757,9 +793,12 @@ func (x *MuteRoomTrackResponse) GetTrack() *TrackInfo { } type UpdateParticipantRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // metadata to update. skipping updates if left empty Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // set to update the participant's permissions @@ -768,16 +807,16 @@ type UpdateParticipantRequest struct { Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // attributes to update. it only updates attributes that have been set // to delete attributes, set the value to an empty string - Attributes map[string]string `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Attributes map[string]string `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *UpdateParticipantRequest) Reset() { *x = UpdateParticipantRequest{} - mi := &file_livekit_room_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateParticipantRequest) String() string { @@ -788,7 +827,7 @@ func (*UpdateParticipantRequest) ProtoMessage() {} func (x *UpdateParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -846,24 +885,27 @@ func (x *UpdateParticipantRequest) GetAttributes() map[string]string { } type UpdateSubscriptionsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // list of sids of tracks TrackSids []string `protobuf:"bytes,3,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` // set to true to subscribe, false to unsubscribe from tracks Subscribe bool `protobuf:"varint,4,opt,name=subscribe,proto3" json:"subscribe,omitempty"` // list of participants and their tracks ParticipantTracks []*ParticipantTracks `protobuf:"bytes,5,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *UpdateSubscriptionsRequest) Reset() { *x = UpdateSubscriptionsRequest{} - mi := &file_livekit_room_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateSubscriptionsRequest) String() string { @@ -874,7 +916,7 @@ func (*UpdateSubscriptionsRequest) ProtoMessage() {} func (x *UpdateSubscriptionsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -925,16 +967,18 @@ func (x *UpdateSubscriptionsRequest) GetParticipantTracks() []*ParticipantTracks } type UpdateSubscriptionsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *UpdateSubscriptionsResponse) Reset() { *x = UpdateSubscriptionsResponse{} - mi := &file_livekit_room_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateSubscriptionsResponse) String() string { @@ -945,7 +989,7 @@ func (*UpdateSubscriptionsResponse) ProtoMessage() {} func (x *UpdateSubscriptionsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -961,10 +1005,13 @@ func (*UpdateSubscriptionsResponse) Descriptor() ([]byte, []int) { } type SendDataRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Kind DataPacket_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + Kind DataPacket_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"` // mark deprecated // // Deprecated: Marked as deprecated in livekit_room.proto. @@ -973,16 +1020,16 @@ type SendDataRequest struct { DestinationIdentities []string `protobuf:"bytes,6,rep,name=destination_identities,json=destinationIdentities,proto3" json:"destination_identities,omitempty"` Topic *string `protobuf:"bytes,5,opt,name=topic,proto3,oneof" json:"topic,omitempty"` // added by SDK to enable de-duping of messages, for INTERNAL USE ONLY - Nonce []byte `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Nonce []byte `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"` } func (x *SendDataRequest) Reset() { *x = SendDataRequest{} - mi := &file_livekit_room_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SendDataRequest) String() string { @@ -993,7 +1040,7 @@ func (*SendDataRequest) ProtoMessage() {} func (x *SendDataRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1059,16 +1106,18 @@ func (x *SendDataRequest) GetNonce() []byte { } type SendDataResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *SendDataResponse) Reset() { *x = SendDataResponse{} - mi := &file_livekit_room_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SendDataResponse) String() string { @@ -1079,7 +1128,7 @@ func (*SendDataResponse) ProtoMessage() {} func (x *SendDataResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1095,19 +1144,22 @@ func (*SendDataResponse) Descriptor() ([]byte, []int) { } type UpdateRoomMetadataRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - // metadata to update. skipping updates if left empty - Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + // metadata to update. skipping updates if left empty + Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *UpdateRoomMetadataRequest) Reset() { *x = UpdateRoomMetadataRequest{} - mi := &file_livekit_room_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateRoomMetadataRequest) String() string { @@ -1118,7 +1170,7 @@ func (*UpdateRoomMetadataRequest) ProtoMessage() {} func (x *UpdateRoomMetadataRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1148,8 +1200,11 @@ func (x *UpdateRoomMetadataRequest) GetMetadata() string { } type RoomConfiguration struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Used as ID, must be unique + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Used as ID, must be unique // number of seconds to keep the room open if no one joins EmptyTimeout uint32 `protobuf:"varint,2,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` // number of seconds to keep the room open after everyone leaves @@ -1165,16 +1220,16 @@ type RoomConfiguration struct { // so not recommended for rooms with frequent subscription changes SyncStreams bool `protobuf:"varint,9,opt,name=sync_streams,json=syncStreams,proto3" json:"sync_streams,omitempty"` // Define agents that should be dispatched to this room - Agents []*RoomAgentDispatch `protobuf:"bytes,10,rep,name=agents,proto3" json:"agents,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Agents []*RoomAgentDispatch `protobuf:"bytes,10,rep,name=agents,proto3" json:"agents,omitempty"` } func (x *RoomConfiguration) Reset() { *x = RoomConfiguration{} - mi := &file_livekit_room_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomConfiguration) String() string { @@ -1185,7 +1240,7 @@ func (*RoomConfiguration) ProtoMessage() {} func (x *RoomConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1265,7 +1320,7 @@ func (x *RoomConfiguration) GetAgents() []*RoomAgentDispatch { var File_livekit_room_proto protoreflect.FileDescriptor -var file_livekit_room_proto_rawDesc = string([]byte{ +var file_livekit_room_proto_rawDesc = []byte{ 0x0a, 0x12, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, @@ -1501,22 +1556,22 @@ var file_livekit_room_proto_rawDesc = string([]byte{ 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_room_proto_rawDescOnce sync.Once - file_livekit_room_proto_rawDescData []byte + file_livekit_room_proto_rawDescData = file_livekit_room_proto_rawDesc ) func file_livekit_room_proto_rawDescGZIP() []byte { file_livekit_room_proto_rawDescOnce.Do(func() { - file_livekit_room_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_room_proto_rawDesc), len(file_livekit_room_proto_rawDesc))) + file_livekit_room_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_room_proto_rawDescData) }) return file_livekit_room_proto_rawDescData } var file_livekit_room_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_livekit_room_proto_goTypes = []any{ +var file_livekit_room_proto_goTypes = []interface{}{ (*CreateRoomRequest)(nil), // 0: livekit.CreateRoomRequest (*RoomEgress)(nil), // 1: livekit.RoomEgress (*RoomAgent)(nil), // 2: livekit.RoomAgent @@ -1602,12 +1657,254 @@ func file_livekit_room_proto_init() { file_livekit_models_proto_init() file_livekit_egress_proto_init() file_livekit_agent_dispatch_proto_init() - file_livekit_room_proto_msgTypes[16].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_livekit_room_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRoomRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomEgress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomAgent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRoomsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRoomsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRoomRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRoomResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListParticipantsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListParticipantsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomParticipantIdentity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveParticipantResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MuteRoomTrackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MuteRoomTrackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateSubscriptionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateSubscriptionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendDataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendDataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRoomMetadataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomConfiguration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_room_proto_msgTypes[16].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_room_proto_rawDesc), len(file_livekit_room_proto_rawDesc)), + RawDescriptor: file_livekit_room_proto_rawDesc, NumEnums: 0, NumMessages: 21, NumExtensions: 0, @@ -1618,6 +1915,7 @@ func file_livekit_room_proto_init() { MessageInfos: file_livekit_room_proto_msgTypes, }.Build() File_livekit_room_proto = out.File + file_livekit_room_proto_rawDesc = nil file_livekit_room_proto_goTypes = nil file_livekit_room_proto_depIdxs = nil } diff --git a/livekit/livekit_rtc.pb.go b/livekit/livekit_rtc.pb.go index 1593fc88b..aceabb553 100644 --- a/livekit/livekit_rtc.pb.go +++ b/livekit/livekit_rtc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_rtc.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -279,8 +278,11 @@ func (RequestResponse_Reason) EnumDescriptor() ([]byte, []int) { } type SignalRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Message: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Message: // // *SignalRequest_Offer // *SignalRequest_Answer @@ -299,16 +301,16 @@ type SignalRequest struct { // *SignalRequest_PingReq // *SignalRequest_UpdateAudioTrack // *SignalRequest_UpdateVideoTrack - Message isSignalRequest_Message `protobuf_oneof:"message"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Message isSignalRequest_Message `protobuf_oneof:"message"` } func (x *SignalRequest) Reset() { *x = SignalRequest{} - mi := &file_livekit_rtc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SignalRequest) String() string { @@ -319,7 +321,7 @@ func (*SignalRequest) ProtoMessage() {} func (x *SignalRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -334,163 +336,129 @@ func (*SignalRequest) Descriptor() ([]byte, []int) { return file_livekit_rtc_proto_rawDescGZIP(), []int{0} } -func (x *SignalRequest) GetMessage() isSignalRequest_Message { - if x != nil { - return x.Message +func (m *SignalRequest) GetMessage() isSignalRequest_Message { + if m != nil { + return m.Message } return nil } func (x *SignalRequest) GetOffer() *SessionDescription { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Offer); ok { - return x.Offer - } + if x, ok := x.GetMessage().(*SignalRequest_Offer); ok { + return x.Offer } return nil } func (x *SignalRequest) GetAnswer() *SessionDescription { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Answer); ok { - return x.Answer - } + if x, ok := x.GetMessage().(*SignalRequest_Answer); ok { + return x.Answer } return nil } func (x *SignalRequest) GetTrickle() *TrickleRequest { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Trickle); ok { - return x.Trickle - } + if x, ok := x.GetMessage().(*SignalRequest_Trickle); ok { + return x.Trickle } return nil } func (x *SignalRequest) GetAddTrack() *AddTrackRequest { - if x != nil { - if x, ok := x.Message.(*SignalRequest_AddTrack); ok { - return x.AddTrack - } + if x, ok := x.GetMessage().(*SignalRequest_AddTrack); ok { + return x.AddTrack } return nil } func (x *SignalRequest) GetMute() *MuteTrackRequest { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Mute); ok { - return x.Mute - } + if x, ok := x.GetMessage().(*SignalRequest_Mute); ok { + return x.Mute } return nil } func (x *SignalRequest) GetSubscription() *UpdateSubscription { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Subscription); ok { - return x.Subscription - } + if x, ok := x.GetMessage().(*SignalRequest_Subscription); ok { + return x.Subscription } return nil } func (x *SignalRequest) GetTrackSetting() *UpdateTrackSettings { - if x != nil { - if x, ok := x.Message.(*SignalRequest_TrackSetting); ok { - return x.TrackSetting - } + if x, ok := x.GetMessage().(*SignalRequest_TrackSetting); ok { + return x.TrackSetting } return nil } func (x *SignalRequest) GetLeave() *LeaveRequest { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Leave); ok { - return x.Leave - } + if x, ok := x.GetMessage().(*SignalRequest_Leave); ok { + return x.Leave } return nil } // Deprecated: Marked as deprecated in livekit_rtc.proto. func (x *SignalRequest) GetUpdateLayers() *UpdateVideoLayers { - if x != nil { - if x, ok := x.Message.(*SignalRequest_UpdateLayers); ok { - return x.UpdateLayers - } + if x, ok := x.GetMessage().(*SignalRequest_UpdateLayers); ok { + return x.UpdateLayers } return nil } func (x *SignalRequest) GetSubscriptionPermission() *SubscriptionPermission { - if x != nil { - if x, ok := x.Message.(*SignalRequest_SubscriptionPermission); ok { - return x.SubscriptionPermission - } + if x, ok := x.GetMessage().(*SignalRequest_SubscriptionPermission); ok { + return x.SubscriptionPermission } return nil } func (x *SignalRequest) GetSyncState() *SyncState { - if x != nil { - if x, ok := x.Message.(*SignalRequest_SyncState); ok { - return x.SyncState - } + if x, ok := x.GetMessage().(*SignalRequest_SyncState); ok { + return x.SyncState } return nil } func (x *SignalRequest) GetSimulate() *SimulateScenario { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Simulate); ok { - return x.Simulate - } + if x, ok := x.GetMessage().(*SignalRequest_Simulate); ok { + return x.Simulate } return nil } func (x *SignalRequest) GetPing() int64 { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Ping); ok { - return x.Ping - } + if x, ok := x.GetMessage().(*SignalRequest_Ping); ok { + return x.Ping } return 0 } func (x *SignalRequest) GetUpdateMetadata() *UpdateParticipantMetadata { - if x != nil { - if x, ok := x.Message.(*SignalRequest_UpdateMetadata); ok { - return x.UpdateMetadata - } + if x, ok := x.GetMessage().(*SignalRequest_UpdateMetadata); ok { + return x.UpdateMetadata } return nil } func (x *SignalRequest) GetPingReq() *Ping { - if x != nil { - if x, ok := x.Message.(*SignalRequest_PingReq); ok { - return x.PingReq - } + if x, ok := x.GetMessage().(*SignalRequest_PingReq); ok { + return x.PingReq } return nil } func (x *SignalRequest) GetUpdateAudioTrack() *UpdateLocalAudioTrack { - if x != nil { - if x, ok := x.Message.(*SignalRequest_UpdateAudioTrack); ok { - return x.UpdateAudioTrack - } + if x, ok := x.GetMessage().(*SignalRequest_UpdateAudioTrack); ok { + return x.UpdateAudioTrack } return nil } func (x *SignalRequest) GetUpdateVideoTrack() *UpdateLocalVideoTrack { - if x != nil { - if x, ok := x.Message.(*SignalRequest_UpdateVideoTrack); ok { - return x.UpdateVideoTrack - } + if x, ok := x.GetMessage().(*SignalRequest_UpdateVideoTrack); ok { + return x.UpdateVideoTrack } return nil } @@ -619,8 +587,11 @@ func (*SignalRequest_UpdateAudioTrack) isSignalRequest_Message() {} func (*SignalRequest_UpdateVideoTrack) isSignalRequest_Message() {} type SignalResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Message: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Message: // // *SignalResponse_Join // *SignalResponse_Answer @@ -644,16 +615,16 @@ type SignalResponse struct { // *SignalResponse_SubscriptionResponse // *SignalResponse_RequestResponse // *SignalResponse_TrackSubscribed - Message isSignalResponse_Message `protobuf_oneof:"message"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Message isSignalResponse_Message `protobuf_oneof:"message"` } func (x *SignalResponse) Reset() { *x = SignalResponse{} - mi := &file_livekit_rtc_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SignalResponse) String() string { @@ -664,7 +635,7 @@ func (*SignalResponse) ProtoMessage() {} func (x *SignalResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -679,207 +650,163 @@ func (*SignalResponse) Descriptor() ([]byte, []int) { return file_livekit_rtc_proto_rawDescGZIP(), []int{1} } -func (x *SignalResponse) GetMessage() isSignalResponse_Message { - if x != nil { - return x.Message +func (m *SignalResponse) GetMessage() isSignalResponse_Message { + if m != nil { + return m.Message } return nil } func (x *SignalResponse) GetJoin() *JoinResponse { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Join); ok { - return x.Join - } + if x, ok := x.GetMessage().(*SignalResponse_Join); ok { + return x.Join } return nil } func (x *SignalResponse) GetAnswer() *SessionDescription { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Answer); ok { - return x.Answer - } + if x, ok := x.GetMessage().(*SignalResponse_Answer); ok { + return x.Answer } return nil } func (x *SignalResponse) GetOffer() *SessionDescription { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Offer); ok { - return x.Offer - } + if x, ok := x.GetMessage().(*SignalResponse_Offer); ok { + return x.Offer } return nil } func (x *SignalResponse) GetTrickle() *TrickleRequest { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Trickle); ok { - return x.Trickle - } + if x, ok := x.GetMessage().(*SignalResponse_Trickle); ok { + return x.Trickle } return nil } func (x *SignalResponse) GetUpdate() *ParticipantUpdate { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Update); ok { - return x.Update - } + if x, ok := x.GetMessage().(*SignalResponse_Update); ok { + return x.Update } return nil } func (x *SignalResponse) GetTrackPublished() *TrackPublishedResponse { - if x != nil { - if x, ok := x.Message.(*SignalResponse_TrackPublished); ok { - return x.TrackPublished - } + if x, ok := x.GetMessage().(*SignalResponse_TrackPublished); ok { + return x.TrackPublished } return nil } func (x *SignalResponse) GetLeave() *LeaveRequest { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Leave); ok { - return x.Leave - } + if x, ok := x.GetMessage().(*SignalResponse_Leave); ok { + return x.Leave } return nil } func (x *SignalResponse) GetMute() *MuteTrackRequest { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Mute); ok { - return x.Mute - } + if x, ok := x.GetMessage().(*SignalResponse_Mute); ok { + return x.Mute } return nil } func (x *SignalResponse) GetSpeakersChanged() *SpeakersChanged { - if x != nil { - if x, ok := x.Message.(*SignalResponse_SpeakersChanged); ok { - return x.SpeakersChanged - } + if x, ok := x.GetMessage().(*SignalResponse_SpeakersChanged); ok { + return x.SpeakersChanged } return nil } func (x *SignalResponse) GetRoomUpdate() *RoomUpdate { - if x != nil { - if x, ok := x.Message.(*SignalResponse_RoomUpdate); ok { - return x.RoomUpdate - } + if x, ok := x.GetMessage().(*SignalResponse_RoomUpdate); ok { + return x.RoomUpdate } return nil } func (x *SignalResponse) GetConnectionQuality() *ConnectionQualityUpdate { - if x != nil { - if x, ok := x.Message.(*SignalResponse_ConnectionQuality); ok { - return x.ConnectionQuality - } + if x, ok := x.GetMessage().(*SignalResponse_ConnectionQuality); ok { + return x.ConnectionQuality } return nil } func (x *SignalResponse) GetStreamStateUpdate() *StreamStateUpdate { - if x != nil { - if x, ok := x.Message.(*SignalResponse_StreamStateUpdate); ok { - return x.StreamStateUpdate - } + if x, ok := x.GetMessage().(*SignalResponse_StreamStateUpdate); ok { + return x.StreamStateUpdate } return nil } func (x *SignalResponse) GetSubscribedQualityUpdate() *SubscribedQualityUpdate { - if x != nil { - if x, ok := x.Message.(*SignalResponse_SubscribedQualityUpdate); ok { - return x.SubscribedQualityUpdate - } + if x, ok := x.GetMessage().(*SignalResponse_SubscribedQualityUpdate); ok { + return x.SubscribedQualityUpdate } return nil } func (x *SignalResponse) GetSubscriptionPermissionUpdate() *SubscriptionPermissionUpdate { - if x != nil { - if x, ok := x.Message.(*SignalResponse_SubscriptionPermissionUpdate); ok { - return x.SubscriptionPermissionUpdate - } + if x, ok := x.GetMessage().(*SignalResponse_SubscriptionPermissionUpdate); ok { + return x.SubscriptionPermissionUpdate } return nil } func (x *SignalResponse) GetRefreshToken() string { - if x != nil { - if x, ok := x.Message.(*SignalResponse_RefreshToken); ok { - return x.RefreshToken - } + if x, ok := x.GetMessage().(*SignalResponse_RefreshToken); ok { + return x.RefreshToken } return "" } func (x *SignalResponse) GetTrackUnpublished() *TrackUnpublishedResponse { - if x != nil { - if x, ok := x.Message.(*SignalResponse_TrackUnpublished); ok { - return x.TrackUnpublished - } + if x, ok := x.GetMessage().(*SignalResponse_TrackUnpublished); ok { + return x.TrackUnpublished } return nil } func (x *SignalResponse) GetPong() int64 { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Pong); ok { - return x.Pong - } + if x, ok := x.GetMessage().(*SignalResponse_Pong); ok { + return x.Pong } return 0 } func (x *SignalResponse) GetReconnect() *ReconnectResponse { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Reconnect); ok { - return x.Reconnect - } + if x, ok := x.GetMessage().(*SignalResponse_Reconnect); ok { + return x.Reconnect } return nil } func (x *SignalResponse) GetPongResp() *Pong { - if x != nil { - if x, ok := x.Message.(*SignalResponse_PongResp); ok { - return x.PongResp - } + if x, ok := x.GetMessage().(*SignalResponse_PongResp); ok { + return x.PongResp } return nil } func (x *SignalResponse) GetSubscriptionResponse() *SubscriptionResponse { - if x != nil { - if x, ok := x.Message.(*SignalResponse_SubscriptionResponse); ok { - return x.SubscriptionResponse - } + if x, ok := x.GetMessage().(*SignalResponse_SubscriptionResponse); ok { + return x.SubscriptionResponse } return nil } func (x *SignalResponse) GetRequestResponse() *RequestResponse { - if x != nil { - if x, ok := x.Message.(*SignalResponse_RequestResponse); ok { - return x.RequestResponse - } + if x, ok := x.GetMessage().(*SignalResponse_RequestResponse); ok { + return x.RequestResponse } return nil } func (x *SignalResponse) GetTrackSubscribed() *TrackSubscribed { - if x != nil { - if x, ok := x.Message.(*SignalResponse_TrackSubscribed); ok { - return x.TrackSubscribed - } + if x, ok := x.GetMessage().(*SignalResponse_TrackSubscribed); ok { + return x.TrackSubscribed } return nil } @@ -1044,18 +971,21 @@ func (*SignalResponse_RequestResponse) isSignalResponse_Message() {} func (*SignalResponse_TrackSubscribed) isSignalResponse_Message() {} type SimulcastCodec struct { - state protoimpl.MessageState `protogen:"open.v1"` - Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` - Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` + Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` } func (x *SimulcastCodec) Reset() { *x = SimulcastCodec{} - mi := &file_livekit_rtc_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulcastCodec) String() string { @@ -1066,7 +996,7 @@ func (*SimulcastCodec) ProtoMessage() {} func (x *SimulcastCodec) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1096,7 +1026,10 @@ func (x *SimulcastCodec) GetCid() string { } type AddTrackRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // client ID of track, to match it when RTC track is received Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -1121,15 +1054,15 @@ type AddTrackRequest struct { // if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together Stream string `protobuf:"bytes,15,opt,name=stream,proto3" json:"stream,omitempty"` BackupCodecPolicy BackupCodecPolicy `protobuf:"varint,16,opt,name=backup_codec_policy,json=backupCodecPolicy,proto3,enum=livekit.BackupCodecPolicy" json:"backup_codec_policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AddTrackRequest) Reset() { *x = AddTrackRequest{} - mi := &file_livekit_rtc_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddTrackRequest) String() string { @@ -1140,7 +1073,7 @@ func (*AddTrackRequest) ProtoMessage() {} func (x *AddTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1268,19 +1201,22 @@ func (x *AddTrackRequest) GetBackupCodecPolicy() BackupCodecPolicy { } type TrickleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - CandidateInit string `protobuf:"bytes,1,opt,name=candidateInit,proto3" json:"candidateInit,omitempty"` - Target SignalTarget `protobuf:"varint,2,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` - Final bool `protobuf:"varint,3,opt,name=final,proto3" json:"final,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CandidateInit string `protobuf:"bytes,1,opt,name=candidateInit,proto3" json:"candidateInit,omitempty"` + Target SignalTarget `protobuf:"varint,2,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` + Final bool `protobuf:"varint,3,opt,name=final,proto3" json:"final,omitempty"` } func (x *TrickleRequest) Reset() { *x = TrickleRequest{} - mi := &file_livekit_rtc_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrickleRequest) String() string { @@ -1291,7 +1227,7 @@ func (*TrickleRequest) ProtoMessage() {} func (x *TrickleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1328,18 +1264,21 @@ func (x *TrickleRequest) GetFinal() bool { } type MuteTrackRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Muted bool `protobuf:"varint,2,opt,name=muted,proto3" json:"muted,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Muted bool `protobuf:"varint,2,opt,name=muted,proto3" json:"muted,omitempty"` } func (x *MuteTrackRequest) Reset() { *x = MuteTrackRequest{} - mi := &file_livekit_rtc_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MuteTrackRequest) String() string { @@ -1350,7 +1289,7 @@ func (*MuteTrackRequest) ProtoMessage() {} func (x *MuteTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1380,10 +1319,13 @@ func (x *MuteTrackRequest) GetMuted() bool { } type JoinResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Participant *ParticipantInfo `protobuf:"bytes,2,opt,name=participant,proto3" json:"participant,omitempty"` - OtherParticipants []*ParticipantInfo `protobuf:"bytes,3,rep,name=other_participants,json=otherParticipants,proto3" json:"other_participants,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Participant *ParticipantInfo `protobuf:"bytes,2,opt,name=participant,proto3" json:"participant,omitempty"` + OtherParticipants []*ParticipantInfo `protobuf:"bytes,3,rep,name=other_participants,json=otherParticipants,proto3" json:"other_participants,omitempty"` // deprecated. use server_info.version instead. ServerVersion string `protobuf:"bytes,4,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` IceServers []*ICEServer `protobuf:"bytes,5,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` @@ -1402,16 +1344,16 @@ type JoinResponse struct { SifTrailer []byte `protobuf:"bytes,13,opt,name=sif_trailer,json=sifTrailer,proto3" json:"sif_trailer,omitempty"` EnabledPublishCodecs []*Codec `protobuf:"bytes,14,rep,name=enabled_publish_codecs,json=enabledPublishCodecs,proto3" json:"enabled_publish_codecs,omitempty"` // when set, client should attempt to establish publish peer connection when joining room to speed up publishing - FastPublish bool `protobuf:"varint,15,opt,name=fast_publish,json=fastPublish,proto3" json:"fast_publish,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + FastPublish bool `protobuf:"varint,15,opt,name=fast_publish,json=fastPublish,proto3" json:"fast_publish,omitempty"` } func (x *JoinResponse) Reset() { *x = JoinResponse{} - mi := &file_livekit_rtc_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JoinResponse) String() string { @@ -1422,7 +1364,7 @@ func (*JoinResponse) ProtoMessage() {} func (x *JoinResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1543,18 +1485,21 @@ func (x *JoinResponse) GetFastPublish() bool { } type ReconnectResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - IceServers []*ICEServer `protobuf:"bytes,1,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` - ClientConfiguration *ClientConfiguration `protobuf:"bytes,2,opt,name=client_configuration,json=clientConfiguration,proto3" json:"client_configuration,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IceServers []*ICEServer `protobuf:"bytes,1,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` + ClientConfiguration *ClientConfiguration `protobuf:"bytes,2,opt,name=client_configuration,json=clientConfiguration,proto3" json:"client_configuration,omitempty"` } func (x *ReconnectResponse) Reset() { *x = ReconnectResponse{} - mi := &file_livekit_rtc_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ReconnectResponse) String() string { @@ -1565,7 +1510,7 @@ func (*ReconnectResponse) ProtoMessage() {} func (x *ReconnectResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1595,18 +1540,21 @@ func (x *ReconnectResponse) GetClientConfiguration() *ClientConfiguration { } type TrackPublishedResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` - Track *TrackInfo `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` + Track *TrackInfo `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"` } func (x *TrackPublishedResponse) Reset() { *x = TrackPublishedResponse{} - mi := &file_livekit_rtc_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackPublishedResponse) String() string { @@ -1617,7 +1565,7 @@ func (*TrackPublishedResponse) ProtoMessage() {} func (x *TrackPublishedResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1647,17 +1595,20 @@ func (x *TrackPublishedResponse) GetTrack() *TrackInfo { } type TrackUnpublishedResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` } func (x *TrackUnpublishedResponse) Reset() { *x = TrackUnpublishedResponse{} - mi := &file_livekit_rtc_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackUnpublishedResponse) String() string { @@ -1668,7 +1619,7 @@ func (*TrackUnpublishedResponse) ProtoMessage() {} func (x *TrackUnpublishedResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1691,18 +1642,21 @@ func (x *TrackUnpublishedResponse) GetTrackSid() string { } type SessionDescription struct { - state protoimpl.MessageState `protogen:"open.v1"` - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "answer" | "offer" | "pranswer" | "rollback" - Sdp string `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "answer" | "offer" | "pranswer" | "rollback" + Sdp string `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` } func (x *SessionDescription) Reset() { *x = SessionDescription{} - mi := &file_livekit_rtc_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SessionDescription) String() string { @@ -1713,7 +1667,7 @@ func (*SessionDescription) ProtoMessage() {} func (x *SessionDescription) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1743,17 +1697,20 @@ func (x *SessionDescription) GetSdp() string { } type ParticipantUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` } func (x *ParticipantUpdate) Reset() { *x = ParticipantUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantUpdate) String() string { @@ -1764,7 +1721,7 @@ func (*ParticipantUpdate) ProtoMessage() {} func (x *ParticipantUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1787,19 +1744,22 @@ func (x *ParticipantUpdate) GetParticipants() []*ParticipantInfo { } type UpdateSubscription struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` - Subscribe bool `protobuf:"varint,2,opt,name=subscribe,proto3" json:"subscribe,omitempty"` - ParticipantTracks []*ParticipantTracks `protobuf:"bytes,3,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` + Subscribe bool `protobuf:"varint,2,opt,name=subscribe,proto3" json:"subscribe,omitempty"` + ParticipantTracks []*ParticipantTracks `protobuf:"bytes,3,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` } func (x *UpdateSubscription) Reset() { *x = UpdateSubscription{} - mi := &file_livekit_rtc_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateSubscription) String() string { @@ -1810,7 +1770,7 @@ func (*UpdateSubscription) ProtoMessage() {} func (x *UpdateSubscription) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1847,8 +1807,11 @@ func (x *UpdateSubscription) GetParticipantTracks() []*ParticipantTracks { } 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"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` // when true, the track is placed in a paused state, with no new data returned Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"` // deprecated in favor of width & height @@ -1865,16 +1828,16 @@ type UpdateTrackSettings struct { // pause the lowest priority tracks // 2. when the network is congested, server will assign available bandwidth to // higher priority tracks first. lowest priority tracks can be paused - Priority uint32 `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Priority uint32 `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"` } func (x *UpdateTrackSettings) Reset() { *x = UpdateTrackSettings{} - mi := &file_livekit_rtc_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateTrackSettings) String() string { @@ -1885,7 +1848,7 @@ func (*UpdateTrackSettings) ProtoMessage() {} func (x *UpdateTrackSettings) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1950,18 +1913,21 @@ func (x *UpdateTrackSettings) GetPriority() uint32 { } type UpdateLocalAudioTrack struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Features []AudioTrackFeature `protobuf:"varint,2,rep,packed,name=features,proto3,enum=livekit.AudioTrackFeature" json:"features,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Features []AudioTrackFeature `protobuf:"varint,2,rep,packed,name=features,proto3,enum=livekit.AudioTrackFeature" json:"features,omitempty"` } func (x *UpdateLocalAudioTrack) Reset() { *x = UpdateLocalAudioTrack{} - mi := &file_livekit_rtc_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateLocalAudioTrack) String() string { @@ -1972,7 +1938,7 @@ func (*UpdateLocalAudioTrack) ProtoMessage() {} func (x *UpdateLocalAudioTrack) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2002,19 +1968,22 @@ func (x *UpdateLocalAudioTrack) GetFeatures() []AudioTrackFeature { } type UpdateLocalVideoTrack struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` - Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` } func (x *UpdateLocalVideoTrack) Reset() { *x = UpdateLocalVideoTrack{} - mi := &file_livekit_rtc_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateLocalVideoTrack) String() string { @@ -2025,7 +1994,7 @@ func (*UpdateLocalVideoTrack) ProtoMessage() {} func (x *UpdateLocalVideoTrack) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2062,23 +2031,26 @@ func (x *UpdateLocalVideoTrack) GetHeight() uint32 { } type LeaveRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // sent when server initiates the disconnect due to server-restart // indicates clients should attempt full-reconnect sequence // NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13 - CanReconnect bool `protobuf:"varint,1,opt,name=can_reconnect,json=canReconnect,proto3" json:"can_reconnect,omitempty"` - Reason DisconnectReason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.DisconnectReason" json:"reason,omitempty"` - Action LeaveRequest_Action `protobuf:"varint,3,opt,name=action,proto3,enum=livekit.LeaveRequest_Action" json:"action,omitempty"` - Regions *RegionSettings `protobuf:"bytes,4,opt,name=regions,proto3" json:"regions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + CanReconnect bool `protobuf:"varint,1,opt,name=can_reconnect,json=canReconnect,proto3" json:"can_reconnect,omitempty"` + Reason DisconnectReason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.DisconnectReason" json:"reason,omitempty"` + Action LeaveRequest_Action `protobuf:"varint,3,opt,name=action,proto3,enum=livekit.LeaveRequest_Action" json:"action,omitempty"` + Regions *RegionSettings `protobuf:"bytes,4,opt,name=regions,proto3" json:"regions,omitempty"` } func (x *LeaveRequest) Reset() { *x = LeaveRequest{} - mi := &file_livekit_rtc_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LeaveRequest) String() string { @@ -2089,7 +2061,7 @@ func (*LeaveRequest) ProtoMessage() {} func (x *LeaveRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2136,18 +2108,21 @@ func (x *LeaveRequest) GetRegions() *RegionSettings { // // Deprecated: Marked as deprecated in livekit_rtc.proto. type UpdateVideoLayers struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Layers []*VideoLayer `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Layers []*VideoLayer `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` } func (x *UpdateVideoLayers) Reset() { *x = UpdateVideoLayers{} - mi := &file_livekit_rtc_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateVideoLayers) String() string { @@ -2158,7 +2133,7 @@ func (*UpdateVideoLayers) ProtoMessage() {} func (x *UpdateVideoLayers) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2188,22 +2163,25 @@ func (x *UpdateVideoLayers) GetLayers() []*VideoLayer { } type UpdateParticipantMetadata struct { - state protoimpl.MessageState `protogen:"open.v1"` - Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // attributes to update. it only updates attributes that have been set // to delete attributes, set the value to an empty string - Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - RequestId uint32 `protobuf:"varint,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + RequestId uint32 `protobuf:"varint,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } func (x *UpdateParticipantMetadata) Reset() { *x = UpdateParticipantMetadata{} - mi := &file_livekit_rtc_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateParticipantMetadata) String() string { @@ -2214,7 +2192,7 @@ func (*UpdateParticipantMetadata) ProtoMessage() {} func (x *UpdateParticipantMetadata) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2258,19 +2236,22 @@ func (x *UpdateParticipantMetadata) GetRequestId() uint32 { } type ICEServer struct { - state protoimpl.MessageState `protogen:"open.v1"` - Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - Credential string `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + Credential string `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"` } func (x *ICEServer) Reset() { *x = ICEServer{} - mi := &file_livekit_rtc_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ICEServer) String() string { @@ -2281,7 +2262,7 @@ func (*ICEServer) ProtoMessage() {} func (x *ICEServer) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2318,17 +2299,20 @@ func (x *ICEServer) GetCredential() string { } type SpeakersChanged struct { - state protoimpl.MessageState `protogen:"open.v1"` - Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` } func (x *SpeakersChanged) Reset() { *x = SpeakersChanged{} - mi := &file_livekit_rtc_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SpeakersChanged) String() string { @@ -2339,7 +2323,7 @@ func (*SpeakersChanged) ProtoMessage() {} func (x *SpeakersChanged) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2362,17 +2346,20 @@ func (x *SpeakersChanged) GetSpeakers() []*SpeakerInfo { } type RoomUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` } func (x *RoomUpdate) Reset() { *x = RoomUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomUpdate) String() string { @@ -2383,7 +2370,7 @@ func (*RoomUpdate) ProtoMessage() {} func (x *RoomUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2406,19 +2393,22 @@ func (x *RoomUpdate) GetRoom() *Room { } type ConnectionQualityInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` - Quality ConnectionQuality `protobuf:"varint,2,opt,name=quality,proto3,enum=livekit.ConnectionQuality" json:"quality,omitempty"` - Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` + Quality ConnectionQuality `protobuf:"varint,2,opt,name=quality,proto3,enum=livekit.ConnectionQuality" json:"quality,omitempty"` + Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` } func (x *ConnectionQualityInfo) Reset() { *x = ConnectionQualityInfo{} - mi := &file_livekit_rtc_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ConnectionQualityInfo) String() string { @@ -2429,7 +2419,7 @@ func (*ConnectionQualityInfo) ProtoMessage() {} func (x *ConnectionQualityInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2466,17 +2456,20 @@ func (x *ConnectionQualityInfo) GetScore() float32 { } type ConnectionQualityUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - Updates []*ConnectionQualityInfo `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Updates []*ConnectionQualityInfo `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` } func (x *ConnectionQualityUpdate) Reset() { *x = ConnectionQualityUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ConnectionQualityUpdate) String() string { @@ -2487,7 +2480,7 @@ func (*ConnectionQualityUpdate) ProtoMessage() {} func (x *ConnectionQualityUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2510,19 +2503,22 @@ func (x *ConnectionQualityUpdate) GetUpdates() []*ConnectionQualityInfo { } type StreamStateInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` - TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - State StreamState `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.StreamState" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` + TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + State StreamState `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.StreamState" json:"state,omitempty"` } func (x *StreamStateInfo) Reset() { *x = StreamStateInfo{} - mi := &file_livekit_rtc_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamStateInfo) String() string { @@ -2533,7 +2529,7 @@ func (*StreamStateInfo) ProtoMessage() {} func (x *StreamStateInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2570,17 +2566,20 @@ func (x *StreamStateInfo) GetState() StreamState { } type StreamStateUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - StreamStates []*StreamStateInfo `protobuf:"bytes,1,rep,name=stream_states,json=streamStates,proto3" json:"stream_states,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StreamStates []*StreamStateInfo `protobuf:"bytes,1,rep,name=stream_states,json=streamStates,proto3" json:"stream_states,omitempty"` } func (x *StreamStateUpdate) Reset() { *x = StreamStateUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamStateUpdate) String() string { @@ -2591,7 +2590,7 @@ func (*StreamStateUpdate) ProtoMessage() {} func (x *StreamStateUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2614,18 +2613,21 @@ func (x *StreamStateUpdate) GetStreamStates() []*StreamStateInfo { } type SubscribedQuality struct { - state protoimpl.MessageState `protogen:"open.v1"` - Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"` - Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"` + Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` } func (x *SubscribedQuality) Reset() { *x = SubscribedQuality{} - mi := &file_livekit_rtc_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscribedQuality) String() string { @@ -2636,7 +2638,7 @@ func (*SubscribedQuality) ProtoMessage() {} func (x *SubscribedQuality) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2666,18 +2668,21 @@ func (x *SubscribedQuality) GetEnabled() bool { } type SubscribedCodec struct { - state protoimpl.MessageState `protogen:"open.v1"` - Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` - Qualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=qualities,proto3" json:"qualities,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` + Qualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=qualities,proto3" json:"qualities,omitempty"` } func (x *SubscribedCodec) Reset() { *x = SubscribedCodec{} - mi := &file_livekit_rtc_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscribedCodec) String() string { @@ -2688,7 +2693,7 @@ func (*SubscribedCodec) ProtoMessage() {} func (x *SubscribedCodec) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2718,19 +2723,22 @@ func (x *SubscribedCodec) GetQualities() []*SubscribedQuality { } type SubscribedQualityUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - SubscribedQualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=subscribed_qualities,json=subscribedQualities,proto3" json:"subscribed_qualities,omitempty"` - SubscribedCodecs []*SubscribedCodec `protobuf:"bytes,3,rep,name=subscribed_codecs,json=subscribedCodecs,proto3" json:"subscribed_codecs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + SubscribedQualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=subscribed_qualities,json=subscribedQualities,proto3" json:"subscribed_qualities,omitempty"` + SubscribedCodecs []*SubscribedCodec `protobuf:"bytes,3,rep,name=subscribed_codecs,json=subscribedCodecs,proto3" json:"subscribed_codecs,omitempty"` } func (x *SubscribedQualityUpdate) Reset() { *x = SubscribedQualityUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscribedQualityUpdate) String() string { @@ -2741,7 +2749,7 @@ func (*SubscribedQualityUpdate) ProtoMessage() {} func (x *SubscribedQualityUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2778,21 +2786,24 @@ func (x *SubscribedQualityUpdate) GetSubscribedCodecs() []*SubscribedCodec { } type TrackPermission struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // permission could be granted either by participant sid or identity ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` AllTracks bool `protobuf:"varint,2,opt,name=all_tracks,json=allTracks,proto3" json:"all_tracks,omitempty"` TrackSids []string `protobuf:"bytes,3,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *TrackPermission) Reset() { *x = TrackPermission{} - mi := &file_livekit_rtc_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackPermission) String() string { @@ -2803,7 +2814,7 @@ func (*TrackPermission) ProtoMessage() {} func (x *TrackPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[29] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2847,18 +2858,21 @@ func (x *TrackPermission) GetParticipantIdentity() string { } type SubscriptionPermission struct { - state protoimpl.MessageState `protogen:"open.v1"` - AllParticipants bool `protobuf:"varint,1,opt,name=all_participants,json=allParticipants,proto3" json:"all_participants,omitempty"` - TrackPermissions []*TrackPermission `protobuf:"bytes,2,rep,name=track_permissions,json=trackPermissions,proto3" json:"track_permissions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AllParticipants bool `protobuf:"varint,1,opt,name=all_participants,json=allParticipants,proto3" json:"all_participants,omitempty"` + TrackPermissions []*TrackPermission `protobuf:"bytes,2,rep,name=track_permissions,json=trackPermissions,proto3" json:"track_permissions,omitempty"` } func (x *SubscriptionPermission) Reset() { *x = SubscriptionPermission{} - mi := &file_livekit_rtc_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscriptionPermission) String() string { @@ -2869,7 +2883,7 @@ func (*SubscriptionPermission) ProtoMessage() {} func (x *SubscriptionPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[30] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2899,19 +2913,22 @@ func (x *SubscriptionPermission) GetTrackPermissions() []*TrackPermission { } type SubscriptionPermissionUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` - TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Allowed bool `protobuf:"varint,3,opt,name=allowed,proto3" json:"allowed,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` + TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Allowed bool `protobuf:"varint,3,opt,name=allowed,proto3" json:"allowed,omitempty"` } func (x *SubscriptionPermissionUpdate) Reset() { *x = SubscriptionPermissionUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscriptionPermissionUpdate) String() string { @@ -2922,7 +2939,7 @@ func (*SubscriptionPermissionUpdate) ProtoMessage() {} func (x *SubscriptionPermissionUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[31] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2959,7 +2976,10 @@ func (x *SubscriptionPermissionUpdate) GetAllowed() bool { } type SyncState struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // last subscribe answer before reconnecting Answer *SessionDescription `protobuf:"bytes,1,opt,name=answer,proto3" json:"answer,omitempty"` Subscription *UpdateSubscription `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"` @@ -2968,15 +2988,15 @@ type SyncState struct { // last received server side offer before reconnecting Offer *SessionDescription `protobuf:"bytes,5,opt,name=offer,proto3" json:"offer,omitempty"` TrackSidsDisabled []string `protobuf:"bytes,6,rep,name=track_sids_disabled,json=trackSidsDisabled,proto3" json:"track_sids_disabled,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *SyncState) Reset() { *x = SyncState{} - mi := &file_livekit_rtc_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SyncState) String() string { @@ -2987,7 +3007,7 @@ func (*SyncState) ProtoMessage() {} func (x *SyncState) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[32] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3045,19 +3065,22 @@ func (x *SyncState) GetTrackSidsDisabled() []string { } type DataChannelInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` - Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` - Target SignalTarget `protobuf:"varint,3,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` + Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` + Target SignalTarget `protobuf:"varint,3,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` } func (x *DataChannelInfo) Reset() { *x = DataChannelInfo{} - mi := &file_livekit_rtc_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataChannelInfo) String() string { @@ -3068,7 +3091,7 @@ func (*DataChannelInfo) ProtoMessage() {} func (x *DataChannelInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[33] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3105,8 +3128,11 @@ func (x *DataChannelInfo) GetTarget() SignalTarget { } type SimulateScenario struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Scenario: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Scenario: // // *SimulateScenario_SpeakerUpdate // *SimulateScenario_NodeFailure @@ -3117,16 +3143,16 @@ type SimulateScenario struct { // *SimulateScenario_DisconnectSignalOnResume // *SimulateScenario_DisconnectSignalOnResumeNoMessages // *SimulateScenario_LeaveRequestFullReconnect - Scenario isSimulateScenario_Scenario `protobuf_oneof:"scenario"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Scenario isSimulateScenario_Scenario `protobuf_oneof:"scenario"` } func (x *SimulateScenario) Reset() { *x = SimulateScenario{} - mi := &file_livekit_rtc_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulateScenario) String() string { @@ -3137,7 +3163,7 @@ func (*SimulateScenario) ProtoMessage() {} func (x *SimulateScenario) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[34] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3152,90 +3178,72 @@ func (*SimulateScenario) Descriptor() ([]byte, []int) { return file_livekit_rtc_proto_rawDescGZIP(), []int{34} } -func (x *SimulateScenario) GetScenario() isSimulateScenario_Scenario { - if x != nil { - return x.Scenario +func (m *SimulateScenario) GetScenario() isSimulateScenario_Scenario { + if m != nil { + return m.Scenario } return nil } func (x *SimulateScenario) GetSpeakerUpdate() int32 { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_SpeakerUpdate); ok { - return x.SpeakerUpdate - } + if x, ok := x.GetScenario().(*SimulateScenario_SpeakerUpdate); ok { + return x.SpeakerUpdate } return 0 } func (x *SimulateScenario) GetNodeFailure() bool { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_NodeFailure); ok { - return x.NodeFailure - } + if x, ok := x.GetScenario().(*SimulateScenario_NodeFailure); ok { + return x.NodeFailure } return false } func (x *SimulateScenario) GetMigration() bool { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_Migration); ok { - return x.Migration - } + if x, ok := x.GetScenario().(*SimulateScenario_Migration); ok { + return x.Migration } return false } func (x *SimulateScenario) GetServerLeave() bool { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_ServerLeave); ok { - return x.ServerLeave - } + if x, ok := x.GetScenario().(*SimulateScenario_ServerLeave); ok { + return x.ServerLeave } return false } func (x *SimulateScenario) GetSwitchCandidateProtocol() CandidateProtocol { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_SwitchCandidateProtocol); ok { - return x.SwitchCandidateProtocol - } + if x, ok := x.GetScenario().(*SimulateScenario_SwitchCandidateProtocol); ok { + return x.SwitchCandidateProtocol } return CandidateProtocol_UDP } func (x *SimulateScenario) GetSubscriberBandwidth() int64 { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_SubscriberBandwidth); ok { - return x.SubscriberBandwidth - } + if x, ok := x.GetScenario().(*SimulateScenario_SubscriberBandwidth); ok { + return x.SubscriberBandwidth } return 0 } func (x *SimulateScenario) GetDisconnectSignalOnResume() bool { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_DisconnectSignalOnResume); ok { - return x.DisconnectSignalOnResume - } + if x, ok := x.GetScenario().(*SimulateScenario_DisconnectSignalOnResume); ok { + return x.DisconnectSignalOnResume } return false } func (x *SimulateScenario) GetDisconnectSignalOnResumeNoMessages() bool { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_DisconnectSignalOnResumeNoMessages); ok { - return x.DisconnectSignalOnResumeNoMessages - } + if x, ok := x.GetScenario().(*SimulateScenario_DisconnectSignalOnResumeNoMessages); ok { + return x.DisconnectSignalOnResumeNoMessages } return false } func (x *SimulateScenario) GetLeaveRequestFullReconnect() bool { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_LeaveRequestFullReconnect); ok { - return x.LeaveRequestFullReconnect - } + if x, ok := x.GetScenario().(*SimulateScenario_LeaveRequestFullReconnect); ok { + return x.LeaveRequestFullReconnect } return false } @@ -3309,19 +3317,22 @@ func (*SimulateScenario_DisconnectSignalOnResumeNoMessages) isSimulateScenario_S func (*SimulateScenario_LeaveRequestFullReconnect) isSimulateScenario_Scenario() {} type Ping struct { - state protoimpl.MessageState `protogen:"open.v1"` - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // rtt in milliseconds calculated by client - Rtt int64 `protobuf:"varint,2,opt,name=rtt,proto3" json:"rtt,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + // rtt in milliseconds calculated by client + Rtt int64 `protobuf:"varint,2,opt,name=rtt,proto3" json:"rtt,omitempty"` } func (x *Ping) Reset() { *x = Ping{} - mi := &file_livekit_rtc_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Ping) String() string { @@ -3332,7 +3343,7 @@ func (*Ping) ProtoMessage() {} func (x *Ping) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[35] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3362,19 +3373,22 @@ func (x *Ping) GetRtt() int64 { } type Pong struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // timestamp field of last received ping request LastPingTimestamp int64 `protobuf:"varint,1,opt,name=last_ping_timestamp,json=lastPingTimestamp,proto3" json:"last_ping_timestamp,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *Pong) Reset() { *x = Pong{} - mi := &file_livekit_rtc_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Pong) String() string { @@ -3385,7 +3399,7 @@ func (*Pong) ProtoMessage() {} func (x *Pong) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[36] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3415,17 +3429,20 @@ func (x *Pong) GetTimestamp() int64 { } type RegionSettings struct { - state protoimpl.MessageState `protogen:"open.v1"` - Regions []*RegionInfo `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Regions []*RegionInfo `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` } func (x *RegionSettings) Reset() { *x = RegionSettings{} - mi := &file_livekit_rtc_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegionSettings) String() string { @@ -3436,7 +3453,7 @@ func (*RegionSettings) ProtoMessage() {} func (x *RegionSettings) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[37] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3459,19 +3476,22 @@ func (x *RegionSettings) GetRegions() []*RegionInfo { } type RegionInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - Distance int64 `protobuf:"varint,3,opt,name=distance,proto3" json:"distance,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Distance int64 `protobuf:"varint,3,opt,name=distance,proto3" json:"distance,omitempty"` } func (x *RegionInfo) Reset() { *x = RegionInfo{} - mi := &file_livekit_rtc_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegionInfo) String() string { @@ -3482,7 +3502,7 @@ func (*RegionInfo) ProtoMessage() {} func (x *RegionInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[38] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3519,18 +3539,21 @@ func (x *RegionInfo) GetDistance() int64 { } type SubscriptionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Err SubscriptionError `protobuf:"varint,2,opt,name=err,proto3,enum=livekit.SubscriptionError" json:"err,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Err SubscriptionError `protobuf:"varint,2,opt,name=err,proto3,enum=livekit.SubscriptionError" json:"err,omitempty"` } func (x *SubscriptionResponse) Reset() { *x = SubscriptionResponse{} - mi := &file_livekit_rtc_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscriptionResponse) String() string { @@ -3541,7 +3564,7 @@ func (*SubscriptionResponse) ProtoMessage() {} func (x *SubscriptionResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[39] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3571,19 +3594,22 @@ func (x *SubscriptionResponse) GetErr() SubscriptionError { } type RequestResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - RequestId uint32 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - Reason RequestResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.RequestResponse_Reason" json:"reason,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestId uint32 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + Reason RequestResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.RequestResponse_Reason" json:"reason,omitempty"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` } func (x *RequestResponse) Reset() { *x = RequestResponse{} - mi := &file_livekit_rtc_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RequestResponse) String() string { @@ -3594,7 +3620,7 @@ func (*RequestResponse) ProtoMessage() {} func (x *RequestResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[40] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3631,17 +3657,20 @@ func (x *RequestResponse) GetMessage() string { } 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"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` } func (x *TrackSubscribed) Reset() { *x = TrackSubscribed{} - mi := &file_livekit_rtc_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackSubscribed) String() string { @@ -3652,7 +3681,7 @@ func (*TrackSubscribed) ProtoMessage() {} func (x *TrackSubscribed) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[41] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3676,7 +3705,7 @@ func (x *TrackSubscribed) GetTrackSid() string { var File_livekit_rtc_proto protoreflect.FileDescriptor -var file_livekit_rtc_proto_rawDesc = string([]byte{ +var file_livekit_rtc_proto_rawDesc = []byte{ 0x0a, 0x11, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x72, 0x74, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, @@ -4249,23 +4278,23 @@ var file_livekit_rtc_proto_rawDesc = string([]byte{ 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_rtc_proto_rawDescOnce sync.Once - file_livekit_rtc_proto_rawDescData []byte + file_livekit_rtc_proto_rawDescData = file_livekit_rtc_proto_rawDesc ) func file_livekit_rtc_proto_rawDescGZIP() []byte { file_livekit_rtc_proto_rawDescOnce.Do(func() { - file_livekit_rtc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_rtc_proto_rawDesc), len(file_livekit_rtc_proto_rawDesc))) + file_livekit_rtc_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_rtc_proto_rawDescData) }) return file_livekit_rtc_proto_rawDescData } var file_livekit_rtc_proto_enumTypes = make([]protoimpl.EnumInfo, 5) var file_livekit_rtc_proto_msgTypes = make([]protoimpl.MessageInfo, 43) -var file_livekit_rtc_proto_goTypes = []any{ +var file_livekit_rtc_proto_goTypes = []interface{}{ (SignalTarget)(0), // 0: livekit.SignalTarget (StreamState)(0), // 1: livekit.StreamState (CandidateProtocol)(0), // 2: livekit.CandidateProtocol @@ -4430,7 +4459,513 @@ func file_livekit_rtc_proto_init() { return } file_livekit_models_proto_init() - file_livekit_rtc_proto_msgTypes[0].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_rtc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SimulcastCodec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTrackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrickleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MuteTrackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JoinResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReconnectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackPublishedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackUnpublishedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SessionDescription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParticipantUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateSubscription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateTrackSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateLocalAudioTrack); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateLocalVideoTrack); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LeaveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateVideoLayers); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateParticipantMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ICEServer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpeakersChanged); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionQualityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionQualityUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamStateInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamStateUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscribedQuality); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscribedCodec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscribedQualityUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackPermission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscriptionPermission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscriptionPermissionUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataChannelInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SimulateScenario); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ping); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Pong); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegionSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscriptionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackSubscribed); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_rtc_proto_msgTypes[0].OneofWrappers = []interface{}{ (*SignalRequest_Offer)(nil), (*SignalRequest_Answer)(nil), (*SignalRequest_Trickle)(nil), @@ -4449,7 +4984,7 @@ func file_livekit_rtc_proto_init() { (*SignalRequest_UpdateAudioTrack)(nil), (*SignalRequest_UpdateVideoTrack)(nil), } - file_livekit_rtc_proto_msgTypes[1].OneofWrappers = []any{ + file_livekit_rtc_proto_msgTypes[1].OneofWrappers = []interface{}{ (*SignalResponse_Join)(nil), (*SignalResponse_Answer)(nil), (*SignalResponse_Offer)(nil), @@ -4473,7 +5008,7 @@ func file_livekit_rtc_proto_init() { (*SignalResponse_RequestResponse)(nil), (*SignalResponse_TrackSubscribed)(nil), } - file_livekit_rtc_proto_msgTypes[34].OneofWrappers = []any{ + file_livekit_rtc_proto_msgTypes[34].OneofWrappers = []interface{}{ (*SimulateScenario_SpeakerUpdate)(nil), (*SimulateScenario_NodeFailure)(nil), (*SimulateScenario_Migration)(nil), @@ -4488,7 +5023,7 @@ func file_livekit_rtc_proto_init() { 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)), + RawDescriptor: file_livekit_rtc_proto_rawDesc, NumEnums: 5, NumMessages: 43, NumExtensions: 0, @@ -4500,6 +5035,7 @@ func file_livekit_rtc_proto_init() { MessageInfos: file_livekit_rtc_proto_msgTypes, }.Build() File_livekit_rtc_proto = out.File + file_livekit_rtc_proto_rawDesc = nil file_livekit_rtc_proto_goTypes = nil file_livekit_rtc_proto_depIdxs = nil } diff --git a/livekit/livekit_sip.pb.go b/livekit/livekit_sip.pb.go index 651f65e63..954bf0ba5 100644 --- a/livekit/livekit_sip.pb.go +++ b/livekit/livekit_sip.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_sip.proto package livekit @@ -27,7 +27,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -575,18 +574,21 @@ func (SIPTrunkInfo_TrunkKind) EnumDescriptor() ([]byte, []int) { // SIPStatus is returned as an error detail in CreateSIPParticipant. type SIPStatus struct { - state protoimpl.MessageState `protogen:"open.v1"` - Code SIPStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=livekit.SIPStatusCode" json:"code,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code SIPStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=livekit.SIPStatusCode" json:"code,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` } func (x *SIPStatus) Reset() { *x = SIPStatus{} - mi := &file_livekit_sip_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPStatus) String() string { @@ -597,7 +599,7 @@ func (*SIPStatus) ProtoMessage() {} func (x *SIPStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -628,7 +630,10 @@ func (x *SIPStatus) GetStatus() string { // Deprecated: Marked as deprecated in livekit_sip.proto. type CreateSIPTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // CIDR or IPs that traffic is accepted from // An empty list means all inbound traffic is accepted. InboundAddresses []string `protobuf:"bytes,1,rep,name=inbound_addresses,json=inboundAddresses,proto3" json:"inbound_addresses,omitempty"` @@ -651,16 +656,16 @@ type CreateSIPTrunkRequest struct { // Optional human-readable name for the Trunk. Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` // Optional user-defined metadata for the Trunk. - Metadata string `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Metadata string `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *CreateSIPTrunkRequest) Reset() { *x = CreateSIPTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPTrunkRequest) String() string { @@ -671,7 +676,7 @@ func (*CreateSIPTrunkRequest) ProtoMessage() {} func (x *CreateSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -766,7 +771,10 @@ func (x *CreateSIPTrunkRequest) GetMetadata() string { // Deprecated: Marked as deprecated in livekit_sip.proto. type SIPTrunkInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` Kind SIPTrunkInfo_TrunkKind `protobuf:"varint,14,opt,name=kind,proto3,enum=livekit.SIPTrunkInfo_TrunkKind" json:"kind,omitempty"` // CIDR or IPs that traffic is accepted from @@ -793,16 +801,16 @@ type SIPTrunkInfo struct { // Human-readable name for the Trunk. Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"` // User-defined metadata for the Trunk. - Metadata string `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Metadata string `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *SIPTrunkInfo) Reset() { *x = SIPTrunkInfo{} - mi := &file_livekit_sip_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPTrunkInfo) String() string { @@ -813,7 +821,7 @@ func (*SIPTrunkInfo) ProtoMessage() {} func (x *SIPTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -928,17 +936,20 @@ func (x *SIPTrunkInfo) GetMetadata() string { } type CreateSIPInboundTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored } func (x *CreateSIPInboundTrunkRequest) Reset() { *x = CreateSIPInboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPInboundTrunkRequest) String() string { @@ -949,7 +960,7 @@ func (*CreateSIPInboundTrunkRequest) ProtoMessage() {} func (x *CreateSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -972,8 +983,11 @@ func (x *CreateSIPInboundTrunkRequest) GetTrunk() *SIPInboundTrunkInfo { } type SIPInboundTrunkInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` // Human-readable name for the Trunk. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // User-defined metadata for the Trunk. @@ -992,12 +1006,12 @@ type SIPInboundTrunkInfo struct { AuthUsername string `protobuf:"bytes,7,opt,name=auth_username,json=authUsername,proto3" json:"auth_username,omitempty"` AuthPassword string `protobuf:"bytes,8,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` // Include these SIP X-* headers in 200 OK responses. - Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP X-* headers from INVITE to SIP participant attributes. - HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,14,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + AttributesToHeaders map[string]string `protobuf:"bytes,14,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP headers from INVITE to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -1011,15 +1025,15 @@ type SIPInboundTrunkInfo struct { MaxCallDuration *durationpb.Duration `protobuf:"bytes,12,opt,name=max_call_duration,json=maxCallDuration,proto3" json:"max_call_duration,omitempty"` KrispEnabled bool `protobuf:"varint,13,opt,name=krisp_enabled,json=krispEnabled,proto3" json:"krisp_enabled,omitempty"` MediaEncryption SIPMediaEncryption `protobuf:"varint,16,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *SIPInboundTrunkInfo) Reset() { *x = SIPInboundTrunkInfo{} - mi := &file_livekit_sip_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPInboundTrunkInfo) String() string { @@ -1030,7 +1044,7 @@ func (*SIPInboundTrunkInfo) ProtoMessage() {} func (x *SIPInboundTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1158,17 +1172,20 @@ func (x *SIPInboundTrunkInfo) GetMediaEncryption() SIPMediaEncryption { } type CreateSIPOutboundTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored } func (x *CreateSIPOutboundTrunkRequest) Reset() { *x = CreateSIPOutboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPOutboundTrunkRequest) String() string { @@ -1179,7 +1196,7 @@ func (*CreateSIPOutboundTrunkRequest) ProtoMessage() {} func (x *CreateSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1202,8 +1219,11 @@ func (x *CreateSIPOutboundTrunkRequest) GetTrunk() *SIPOutboundTrunkInfo { } type SIPOutboundTrunkInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` // Human-readable name for the Trunk. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // User-defined metadata for the Trunk. @@ -1221,13 +1241,13 @@ type SIPOutboundTrunkInfo struct { AuthPassword string `protobuf:"bytes,8,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` // Include these SIP X-* headers in INVITE request. // These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. - Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP X-* headers from 200 OK to SIP participant attributes. // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,11,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + AttributesToHeaders map[string]string `protobuf:"bytes,11,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP headers from 200 OK to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -1236,15 +1256,15 @@ type SIPOutboundTrunkInfo struct { // lowercase header names should be used, for example: sip.h.x-custom-header. IncludeHeaders SIPHeaderOptions `protobuf:"varint,12,opt,name=include_headers,json=includeHeaders,proto3,enum=livekit.SIPHeaderOptions" json:"include_headers,omitempty"` MediaEncryption SIPMediaEncryption `protobuf:"varint,13,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *SIPOutboundTrunkInfo) Reset() { *x = SIPOutboundTrunkInfo{} - mi := &file_livekit_sip_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPOutboundTrunkInfo) String() string { @@ -1255,7 +1275,7 @@ func (*SIPOutboundTrunkInfo) ProtoMessage() {} func (x *SIPOutboundTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1362,17 +1382,20 @@ func (x *SIPOutboundTrunkInfo) GetMediaEncryption() SIPMediaEncryption { } type GetSIPInboundTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` } func (x *GetSIPInboundTrunkRequest) Reset() { *x = GetSIPInboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPInboundTrunkRequest) String() string { @@ -1383,7 +1406,7 @@ func (*GetSIPInboundTrunkRequest) ProtoMessage() {} func (x *GetSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1406,17 +1429,20 @@ func (x *GetSIPInboundTrunkRequest) GetSipTrunkId() string { } type GetSIPInboundTrunkResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` } func (x *GetSIPInboundTrunkResponse) Reset() { *x = GetSIPInboundTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPInboundTrunkResponse) String() string { @@ -1427,7 +1453,7 @@ func (*GetSIPInboundTrunkResponse) ProtoMessage() {} func (x *GetSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1450,17 +1476,20 @@ func (x *GetSIPInboundTrunkResponse) GetTrunk() *SIPInboundTrunkInfo { } type GetSIPOutboundTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` } func (x *GetSIPOutboundTrunkRequest) Reset() { *x = GetSIPOutboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPOutboundTrunkRequest) String() string { @@ -1471,7 +1500,7 @@ func (*GetSIPOutboundTrunkRequest) ProtoMessage() {} func (x *GetSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1494,17 +1523,20 @@ func (x *GetSIPOutboundTrunkRequest) GetSipTrunkId() string { } type GetSIPOutboundTrunkResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` } func (x *GetSIPOutboundTrunkResponse) Reset() { *x = GetSIPOutboundTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPOutboundTrunkResponse) String() string { @@ -1515,7 +1547,7 @@ func (*GetSIPOutboundTrunkResponse) ProtoMessage() {} func (x *GetSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1539,17 +1571,20 @@ func (x *GetSIPOutboundTrunkResponse) GetTrunk() *SIPOutboundTrunkInfo { // Deprecated: Marked as deprecated in livekit_sip.proto. type ListSIPTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Page *Pagination `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Page *Pagination `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` } func (x *ListSIPTrunkRequest) Reset() { *x = ListSIPTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPTrunkRequest) String() string { @@ -1560,7 +1595,7 @@ func (*ListSIPTrunkRequest) ProtoMessage() {} func (x *ListSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1584,17 +1619,20 @@ func (x *ListSIPTrunkRequest) GetPage() *Pagination { // Deprecated: Marked as deprecated in livekit_sip.proto. type ListSIPTrunkResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*SIPTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Items []*SIPTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *ListSIPTrunkResponse) Reset() { *x = ListSIPTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPTrunkResponse) String() string { @@ -1605,7 +1643,7 @@ func (*ListSIPTrunkResponse) ProtoMessage() {} func (x *ListSIPTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1629,22 +1667,25 @@ func (x *ListSIPTrunkResponse) GetItems() []*SIPTrunkInfo { // ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed. type ListSIPInboundTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // Trunk IDs to list. If this option is set, the response will contains trunks in the same order. // If any of the trunks is missing, a nil item in that position will be sent in the response. TrunkIds []string `protobuf:"bytes,1,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` // Only list trunks that contain one of the numbers, including wildcard trunks. - Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` } func (x *ListSIPInboundTrunkRequest) Reset() { *x = ListSIPInboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPInboundTrunkRequest) String() string { @@ -1655,7 +1696,7 @@ func (*ListSIPInboundTrunkRequest) ProtoMessage() {} func (x *ListSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1692,17 +1733,20 @@ func (x *ListSIPInboundTrunkRequest) GetNumbers() []string { } type ListSIPInboundTrunkResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*SIPInboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Items []*SIPInboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *ListSIPInboundTrunkResponse) Reset() { *x = ListSIPInboundTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPInboundTrunkResponse) String() string { @@ -1713,7 +1757,7 @@ func (*ListSIPInboundTrunkResponse) ProtoMessage() {} func (x *ListSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1737,22 +1781,25 @@ func (x *ListSIPInboundTrunkResponse) GetItems() []*SIPInboundTrunkInfo { // ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed. type ListSIPOutboundTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // Trunk IDs to list. If this option is set, the response will contains trunks in the same order. // If any of the trunks is missing, a nil item in that position will be sent in the response. TrunkIds []string `protobuf:"bytes,1,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` // Only list trunks that contain one of the numbers, including wildcard trunks. - Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` } func (x *ListSIPOutboundTrunkRequest) Reset() { *x = ListSIPOutboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPOutboundTrunkRequest) String() string { @@ -1763,7 +1810,7 @@ func (*ListSIPOutboundTrunkRequest) ProtoMessage() {} func (x *ListSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1800,17 +1847,20 @@ func (x *ListSIPOutboundTrunkRequest) GetNumbers() []string { } type ListSIPOutboundTrunkResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*SIPOutboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Items []*SIPOutboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *ListSIPOutboundTrunkResponse) Reset() { *x = ListSIPOutboundTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPOutboundTrunkResponse) String() string { @@ -1821,7 +1871,7 @@ func (*ListSIPOutboundTrunkResponse) ProtoMessage() {} func (x *ListSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1844,17 +1894,20 @@ func (x *ListSIPOutboundTrunkResponse) GetItems() []*SIPOutboundTrunkInfo { } type DeleteSIPTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` } func (x *DeleteSIPTrunkRequest) Reset() { *x = DeleteSIPTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteSIPTrunkRequest) String() string { @@ -1865,7 +1918,7 @@ func (*DeleteSIPTrunkRequest) ProtoMessage() {} func (x *DeleteSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1888,20 +1941,23 @@ func (x *DeleteSIPTrunkRequest) GetSipTrunkId() string { } type SIPDispatchRuleDirect struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // What room should call be directed into RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // Optional pin required to enter room - Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` } func (x *SIPDispatchRuleDirect) Reset() { *x = SIPDispatchRuleDirect{} - mi := &file_livekit_sip_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRuleDirect) String() string { @@ -1912,7 +1968,7 @@ func (*SIPDispatchRuleDirect) ProtoMessage() {} func (x *SIPDispatchRuleDirect) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1942,20 +1998,23 @@ func (x *SIPDispatchRuleDirect) GetPin() string { } type SIPDispatchRuleIndividual struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Prefix used on new room name RoomPrefix string `protobuf:"bytes,1,opt,name=room_prefix,json=roomPrefix,proto3" json:"room_prefix,omitempty"` // Optional pin required to enter room - Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` } func (x *SIPDispatchRuleIndividual) Reset() { *x = SIPDispatchRuleIndividual{} - mi := &file_livekit_sip_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRuleIndividual) String() string { @@ -1966,7 +2025,7 @@ func (*SIPDispatchRuleIndividual) ProtoMessage() {} func (x *SIPDispatchRuleIndividual) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1996,22 +2055,25 @@ func (x *SIPDispatchRuleIndividual) GetPin() string { } type SIPDispatchRuleCallee struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Prefix used on new room name RoomPrefix string `protobuf:"bytes,1,opt,name=room_prefix,json=roomPrefix,proto3" json:"room_prefix,omitempty"` // Optional pin required to enter room Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` // Optionally append random suffix - Randomize bool `protobuf:"varint,3,opt,name=randomize,proto3" json:"randomize,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Randomize bool `protobuf:"varint,3,opt,name=randomize,proto3" json:"randomize,omitempty"` } func (x *SIPDispatchRuleCallee) Reset() { *x = SIPDispatchRuleCallee{} - mi := &file_livekit_sip_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRuleCallee) String() string { @@ -2022,7 +2084,7 @@ func (*SIPDispatchRuleCallee) ProtoMessage() {} func (x *SIPDispatchRuleCallee) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2059,22 +2121,25 @@ func (x *SIPDispatchRuleCallee) GetRandomize() bool { } type SIPDispatchRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Rule: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Rule: // // *SIPDispatchRule_DispatchRuleDirect // *SIPDispatchRule_DispatchRuleIndividual // *SIPDispatchRule_DispatchRuleCallee - Rule isSIPDispatchRule_Rule `protobuf_oneof:"rule"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Rule isSIPDispatchRule_Rule `protobuf_oneof:"rule"` } func (x *SIPDispatchRule) Reset() { *x = SIPDispatchRule{} - mi := &file_livekit_sip_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRule) String() string { @@ -2085,7 +2150,7 @@ func (*SIPDispatchRule) ProtoMessage() {} func (x *SIPDispatchRule) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2100,36 +2165,30 @@ func (*SIPDispatchRule) Descriptor() ([]byte, []int) { return file_livekit_sip_proto_rawDescGZIP(), []int{21} } -func (x *SIPDispatchRule) GetRule() isSIPDispatchRule_Rule { - if x != nil { - return x.Rule +func (m *SIPDispatchRule) GetRule() isSIPDispatchRule_Rule { + if m != nil { + return m.Rule } return nil } func (x *SIPDispatchRule) GetDispatchRuleDirect() *SIPDispatchRuleDirect { - if x != nil { - if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleDirect); ok { - return x.DispatchRuleDirect - } + if x, ok := x.GetRule().(*SIPDispatchRule_DispatchRuleDirect); ok { + return x.DispatchRuleDirect } return nil } func (x *SIPDispatchRule) GetDispatchRuleIndividual() *SIPDispatchRuleIndividual { - if x != nil { - if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleIndividual); ok { - return x.DispatchRuleIndividual - } + if x, ok := x.GetRule().(*SIPDispatchRule_DispatchRuleIndividual); ok { + return x.DispatchRuleIndividual } return nil } func (x *SIPDispatchRule) GetDispatchRuleCallee() *SIPDispatchRuleCallee { - if x != nil { - if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleCallee); ok { - return x.DispatchRuleCallee - } + if x, ok := x.GetRule().(*SIPDispatchRule_DispatchRuleCallee); ok { + return x.DispatchRuleCallee } return nil } @@ -2162,8 +2221,11 @@ func (*SIPDispatchRule_DispatchRuleIndividual) isSIPDispatchRule_Rule() {} func (*SIPDispatchRule_DispatchRuleCallee) isSIPDispatchRule_Rule() {} type CreateSIPDispatchRuleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Rule *SIPDispatchRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rule *SIPDispatchRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` // What trunks are accepted for this dispatch rule // If empty all trunks will match this dispatch rule TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` @@ -2179,20 +2241,20 @@ type CreateSIPDispatchRuleRequest struct { Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // User-defined attributes for the Dispatch Rule. // Participants created by this rule will inherit these attributes. - Attributes map[string]string `protobuf:"bytes,7,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Attributes map[string]string `protobuf:"bytes,7,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Cloud-only, config preset to use RoomPreset string `protobuf:"bytes,8,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"` // RoomConfiguration to use if the participant initiates the room - RoomConfig *RoomConfiguration `protobuf:"bytes,9,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + RoomConfig *RoomConfiguration `protobuf:"bytes,9,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` } func (x *CreateSIPDispatchRuleRequest) Reset() { *x = CreateSIPDispatchRuleRequest{} - mi := &file_livekit_sip_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPDispatchRuleRequest) String() string { @@ -2203,7 +2265,7 @@ func (*CreateSIPDispatchRuleRequest) ProtoMessage() {} func (x *CreateSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2282,11 +2344,14 @@ func (x *CreateSIPDispatchRuleRequest) GetRoomConfig() *RoomConfiguration { } type SIPDispatchRuleInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` - Rule *SIPDispatchRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` - TrunkIds []string `protobuf:"bytes,3,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` - HidePhoneNumber bool `protobuf:"varint,4,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` + Rule *SIPDispatchRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` + TrunkIds []string `protobuf:"bytes,3,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` + HidePhoneNumber bool `protobuf:"varint,4,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"` // Dispatch Rule will only accept a call made to these numbers (if set). InboundNumbers []string `protobuf:"bytes,7,rep,name=inbound_numbers,json=inboundNumbers,proto3" json:"inbound_numbers,omitempty"` // Human-readable name for the Dispatch Rule. @@ -2296,22 +2361,22 @@ type SIPDispatchRuleInfo struct { Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // User-defined attributes for the Dispatch Rule. // Participants created by this rule will inherit these attributes. - Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Cloud-only, config preset to use RoomPreset string `protobuf:"bytes,9,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"` // RoomConfiguration to use if the participant initiates the room RoomConfig *RoomConfiguration `protobuf:"bytes,10,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` KrispEnabled bool `protobuf:"varint,11,opt,name=krisp_enabled,json=krispEnabled,proto3" json:"krisp_enabled,omitempty"` MediaEncryption SIPMediaEncryption `protobuf:"varint,12,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` // NEXT ID: 13 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *SIPDispatchRuleInfo) Reset() { *x = SIPDispatchRuleInfo{} - mi := &file_livekit_sip_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRuleInfo) String() string { @@ -2322,7 +2387,7 @@ func (*SIPDispatchRuleInfo) ProtoMessage() {} func (x *SIPDispatchRuleInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2423,22 +2488,25 @@ func (x *SIPDispatchRuleInfo) GetMediaEncryption() SIPMediaEncryption { // ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed. type ListSIPDispatchRuleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // Rule IDs to list. If this option is set, the response will contains rules in the same order. // If any of the rules is missing, a nil item in that position will be sent in the response. DispatchRuleIds []string `protobuf:"bytes,1,rep,name=dispatch_rule_ids,json=dispatchRuleIds,proto3" json:"dispatch_rule_ids,omitempty"` // Only list rules that contain one of the Trunk IDs, including wildcard rules. - TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` } func (x *ListSIPDispatchRuleRequest) Reset() { *x = ListSIPDispatchRuleRequest{} - mi := &file_livekit_sip_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPDispatchRuleRequest) String() string { @@ -2449,7 +2517,7 @@ func (*ListSIPDispatchRuleRequest) ProtoMessage() {} func (x *ListSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2486,17 +2554,20 @@ func (x *ListSIPDispatchRuleRequest) GetTrunkIds() []string { } type ListSIPDispatchRuleResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*SIPDispatchRuleInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Items []*SIPDispatchRuleInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *ListSIPDispatchRuleResponse) Reset() { *x = ListSIPDispatchRuleResponse{} - mi := &file_livekit_sip_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPDispatchRuleResponse) String() string { @@ -2507,7 +2578,7 @@ func (*ListSIPDispatchRuleResponse) ProtoMessage() {} func (x *ListSIPDispatchRuleResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2530,17 +2601,20 @@ func (x *ListSIPDispatchRuleResponse) GetItems() []*SIPDispatchRuleInfo { } type DeleteSIPDispatchRuleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` } func (x *DeleteSIPDispatchRuleRequest) Reset() { *x = DeleteSIPDispatchRuleRequest{} - mi := &file_livekit_sip_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteSIPDispatchRuleRequest) String() string { @@ -2551,7 +2625,7 @@ func (*DeleteSIPDispatchRuleRequest) ProtoMessage() {} func (x *DeleteSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2574,7 +2648,10 @@ func (x *DeleteSIPDispatchRuleRequest) GetSipDispatchRuleId() string { } type SIPOutboundConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // SIP server address Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // SIP Transport used for outbound call. @@ -2585,19 +2662,19 @@ type SIPOutboundConfig struct { AuthPassword string `protobuf:"bytes,4,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` // Map SIP X-* headers from 200 OK to SIP participant attributes. // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - HeadersToAttributes map[string]string `protobuf:"bytes,5,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + HeadersToAttributes map[string]string `protobuf:"bytes,5,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,6,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + AttributesToHeaders map[string]string `protobuf:"bytes,6,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *SIPOutboundConfig) Reset() { *x = SIPOutboundConfig{} - mi := &file_livekit_sip_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPOutboundConfig) String() string { @@ -2608,7 +2685,7 @@ func (*SIPOutboundConfig) ProtoMessage() {} func (x *SIPOutboundConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2668,7 +2745,10 @@ func (x *SIPOutboundConfig) GetAttributesToHeaders() map[string]string { // A SIP Participant is a singular SIP session connected to a LiveKit room via // a SIP Trunk into a SIP DispatchRule type CreateSIPParticipantRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // What SIP Trunk should be used to dial the user SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` Trunk *SIPOutboundConfig `protobuf:"bytes,20,opt,name=trunk,proto3" json:"trunk,omitempty"` @@ -2685,7 +2765,7 @@ type CreateSIPParticipantRequest struct { // Optional user-defined metadata. Will be attached to a created Participant in the room. ParticipantMetadata string `protobuf:"bytes,8,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` // Optional user-defined attributes. Will be attached to a created Participant in the room. - ParticipantAttributes map[string]string `protobuf:"bytes,9,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + ParticipantAttributes map[string]string `protobuf:"bytes,9,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Optionally send following DTMF digits (extension codes) when making a call. // Character 'w' can be used to add a 0.5 sec delay. Dtmf string `protobuf:"bytes,5,opt,name=dtmf,proto3" json:"dtmf,omitempty"` @@ -2698,7 +2778,7 @@ type CreateSIPParticipantRequest struct { // If true, a random value for identity will be used and numbers will be omitted from attributes. HidePhoneNumber bool `protobuf:"varint,10,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"` // These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. - Headers map[string]string `protobuf:"bytes,16,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Headers map[string]string `protobuf:"bytes,16,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP headers from 200 OK to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -2715,15 +2795,15 @@ type CreateSIPParticipantRequest struct { MediaEncryption SIPMediaEncryption `protobuf:"varint,18,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` // Wait for the answer for the call before returning. WaitUntilAnswered bool `protobuf:"varint,19,opt,name=wait_until_answered,json=waitUntilAnswered,proto3" json:"wait_until_answered,omitempty"` // NEXT ID: 21 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *CreateSIPParticipantRequest) Reset() { *x = CreateSIPParticipantRequest{} - mi := &file_livekit_sip_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPParticipantRequest) String() string { @@ -2734,7 +2814,7 @@ func (*CreateSIPParticipantRequest) ProtoMessage() {} func (x *CreateSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2891,20 +2971,23 @@ func (x *CreateSIPParticipantRequest) GetWaitUntilAnswered() bool { } type SIPParticipantInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` - ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - SipCallId string `protobuf:"bytes,4,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` + ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + SipCallId string `protobuf:"bytes,4,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` } func (x *SIPParticipantInfo) Reset() { *x = SIPParticipantInfo{} - mi := &file_livekit_sip_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPParticipantInfo) String() string { @@ -2915,7 +2998,7 @@ func (*SIPParticipantInfo) ProtoMessage() {} func (x *SIPParticipantInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[29] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2959,23 +3042,26 @@ func (x *SIPParticipantInfo) GetSipCallId() string { } type TransferSIPParticipantRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - ParticipantIdentity string `protobuf:"bytes,1,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - TransferTo string `protobuf:"bytes,3,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParticipantIdentity string `protobuf:"bytes,1,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + TransferTo string `protobuf:"bytes,3,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` // Optionally play dialtone to the SIP participant as an audible indicator of being transferred PlayDialtone bool `protobuf:"varint,4,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` // Add the following headers to the REFER SIP request. - Headers map[string]string `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Headers map[string]string `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *TransferSIPParticipantRequest) Reset() { *x = TransferSIPParticipantRequest{} - mi := &file_livekit_sip_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TransferSIPParticipantRequest) String() string { @@ -2986,7 +3072,7 @@ func (*TransferSIPParticipantRequest) ProtoMessage() {} func (x *TransferSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[30] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3037,31 +3123,34 @@ func (x *TransferSIPParticipantRequest) GetHeaders() map[string]string { } type SIPCallInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - CallId string `protobuf:"bytes,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` - TrunkId string `protobuf:"bytes,2,opt,name=trunk_id,json=trunkId,proto3" json:"trunk_id,omitempty"` - RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to - ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - FromUri *SIPUri `protobuf:"bytes,6,opt,name=from_uri,json=fromUri,proto3" json:"from_uri,omitempty"` - ToUri *SIPUri `protobuf:"bytes,7,opt,name=to_uri,json=toUri,proto3" json:"to_uri,omitempty"` - EnabledFeatures []SIPFeature `protobuf:"varint,14,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=livekit.SIPFeature" json:"enabled_features,omitempty"` - CallDirection SIPCallDirection `protobuf:"varint,15,opt,name=call_direction,json=callDirection,proto3,enum=livekit.SIPCallDirection" json:"call_direction,omitempty"` - CallStatus SIPCallStatus `protobuf:"varint,8,opt,name=call_status,json=callStatus,proto3,enum=livekit.SIPCallStatus" json:"call_status,omitempty"` - CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - DisconnectReason DisconnectReason `protobuf:"varint,12,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"` - Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CallId string `protobuf:"bytes,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` + TrunkId string `protobuf:"bytes,2,opt,name=trunk_id,json=trunkId,proto3" json:"trunk_id,omitempty"` + RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to + ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + FromUri *SIPUri `protobuf:"bytes,6,opt,name=from_uri,json=fromUri,proto3" json:"from_uri,omitempty"` + ToUri *SIPUri `protobuf:"bytes,7,opt,name=to_uri,json=toUri,proto3" json:"to_uri,omitempty"` + EnabledFeatures []SIPFeature `protobuf:"varint,14,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=livekit.SIPFeature" json:"enabled_features,omitempty"` + CallDirection SIPCallDirection `protobuf:"varint,15,opt,name=call_direction,json=callDirection,proto3,enum=livekit.SIPCallDirection" json:"call_direction,omitempty"` + CallStatus SIPCallStatus `protobuf:"varint,8,opt,name=call_status,json=callStatus,proto3,enum=livekit.SIPCallStatus" json:"call_status,omitempty"` + CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + DisconnectReason DisconnectReason `protobuf:"varint,12,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"` + Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"` } func (x *SIPCallInfo) Reset() { *x = SIPCallInfo{} - mi := &file_livekit_sip_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPCallInfo) String() string { @@ -3072,7 +3161,7 @@ func (*SIPCallInfo) ProtoMessage() {} func (x *SIPCallInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[31] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3193,21 +3282,24 @@ func (x *SIPCallInfo) GetError() string { } type SIPUri struct { - state protoimpl.MessageState `protogen:"open.v1"` - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` - Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` - Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` - Transport SIPTransport `protobuf:"varint,5,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` + Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` + Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` + Transport SIPTransport `protobuf:"varint,5,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"` } func (x *SIPUri) Reset() { *x = SIPUri{} - mi := &file_livekit_sip_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPUri) String() string { @@ -3218,7 +3310,7 @@ func (*SIPUri) ProtoMessage() {} func (x *SIPUri) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[32] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3270,7 +3362,7 @@ func (x *SIPUri) GetTransport() SIPTransport { var File_livekit_sip_proto protoreflect.FileDescriptor -var file_livekit_sip_proto_rawDesc = string([]byte{ +var file_livekit_sip_proto_rawDesc = []byte{ 0x0a, 0x11, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x73, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, @@ -4078,23 +4170,23 @@ var file_livekit_sip_proto_rawDesc = string([]byte{ 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_sip_proto_rawDescOnce sync.Once - file_livekit_sip_proto_rawDescData []byte + file_livekit_sip_proto_rawDescData = file_livekit_sip_proto_rawDesc ) func file_livekit_sip_proto_rawDescGZIP() []byte { file_livekit_sip_proto_rawDescOnce.Do(func() { - file_livekit_sip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_sip_proto_rawDesc), len(file_livekit_sip_proto_rawDesc))) + file_livekit_sip_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_sip_proto_rawDescData) }) return file_livekit_sip_proto_rawDescData } var file_livekit_sip_proto_enumTypes = make([]protoimpl.EnumInfo, 8) var file_livekit_sip_proto_msgTypes = make([]protoimpl.MessageInfo, 46) -var file_livekit_sip_proto_goTypes = []any{ +var file_livekit_sip_proto_goTypes = []interface{}{ (SIPStatusCode)(0), // 0: livekit.SIPStatusCode (SIPTransport)(0), // 1: livekit.SIPTransport (SIPHeaderOptions)(0), // 2: livekit.SIPHeaderOptions @@ -4252,7 +4344,405 @@ func file_livekit_sip_proto_init() { } file_livekit_models_proto_init() file_livekit_room_proto_init() - file_livekit_sip_proto_msgTypes[21].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_sip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSIPTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPTrunkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSIPInboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPInboundTrunkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSIPOutboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPOutboundTrunkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSIPInboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSIPInboundTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSIPOutboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSIPOutboundTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPInboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPInboundTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPOutboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPOutboundTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteSIPTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPDispatchRuleDirect); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPDispatchRuleIndividual); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPDispatchRuleCallee); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPDispatchRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSIPDispatchRuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPDispatchRuleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPDispatchRuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPDispatchRuleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteSIPDispatchRuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPOutboundConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSIPParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPParticipantInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransferSIPParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPCallInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPUri); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_sip_proto_msgTypes[21].OneofWrappers = []interface{}{ (*SIPDispatchRule_DispatchRuleDirect)(nil), (*SIPDispatchRule_DispatchRuleIndividual)(nil), (*SIPDispatchRule_DispatchRuleCallee)(nil), @@ -4261,7 +4751,7 @@ func file_livekit_sip_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_sip_proto_rawDesc), len(file_livekit_sip_proto_rawDesc)), + RawDescriptor: file_livekit_sip_proto_rawDesc, NumEnums: 8, NumMessages: 46, NumExtensions: 0, @@ -4273,6 +4763,7 @@ func file_livekit_sip_proto_init() { MessageInfos: file_livekit_sip_proto_msgTypes, }.Build() File_livekit_sip_proto = out.File + file_livekit_sip_proto_rawDesc = nil file_livekit_sip_proto_goTypes = nil file_livekit_sip_proto_depIdxs = nil } diff --git a/livekit/livekit_webhook.pb.go b/livekit/livekit_webhook.pb.go index 1f56d9981..f39c8b9c0 100644 --- a/livekit/livekit_webhook.pb.go +++ b/livekit/livekit_webhook.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_webhook.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -36,7 +35,10 @@ const ( ) type WebhookEvent struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // one of room_started, room_finished, participant_joined, participant_left, // track_published, track_unpublished, egress_started, egress_updated, egress_ended, // ingress_started, ingress_ended @@ -53,17 +55,17 @@ type WebhookEvent struct { // unique event uuid Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` // timestamp in seconds - CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - NumDropped int32 `protobuf:"varint,11,opt,name=num_dropped,json=numDropped,proto3" json:"num_dropped,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + NumDropped int32 `protobuf:"varint,11,opt,name=num_dropped,json=numDropped,proto3" json:"num_dropped,omitempty"` } func (x *WebhookEvent) Reset() { *x = WebhookEvent{} - mi := &file_livekit_webhook_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_webhook_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WebhookEvent) String() string { @@ -74,7 +76,7 @@ func (*WebhookEvent) ProtoMessage() {} func (x *WebhookEvent) ProtoReflect() protoreflect.Message { mi := &file_livekit_webhook_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -154,7 +156,7 @@ func (x *WebhookEvent) GetNumDropped() int32 { var File_livekit_webhook_proto protoreflect.FileDescriptor -var file_livekit_webhook_proto_rawDesc = string([]byte{ +var file_livekit_webhook_proto_rawDesc = []byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, @@ -190,22 +192,22 @@ var file_livekit_webhook_proto_rawDesc = string([]byte{ 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_webhook_proto_rawDescOnce sync.Once - file_livekit_webhook_proto_rawDescData []byte + file_livekit_webhook_proto_rawDescData = file_livekit_webhook_proto_rawDesc ) func file_livekit_webhook_proto_rawDescGZIP() []byte { file_livekit_webhook_proto_rawDescOnce.Do(func() { - file_livekit_webhook_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_webhook_proto_rawDesc), len(file_livekit_webhook_proto_rawDesc))) + file_livekit_webhook_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_webhook_proto_rawDescData) }) return file_livekit_webhook_proto_rawDescData } var file_livekit_webhook_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_livekit_webhook_proto_goTypes = []any{ +var file_livekit_webhook_proto_goTypes = []interface{}{ (*WebhookEvent)(nil), // 0: livekit.WebhookEvent (*Room)(nil), // 1: livekit.Room (*ParticipantInfo)(nil), // 2: livekit.ParticipantInfo @@ -234,11 +236,25 @@ func file_livekit_webhook_proto_init() { file_livekit_models_proto_init() file_livekit_egress_proto_init() file_livekit_ingress_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_webhook_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WebhookEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_webhook_proto_rawDesc), len(file_livekit_webhook_proto_rawDesc)), + RawDescriptor: file_livekit_webhook_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -249,6 +265,7 @@ func file_livekit_webhook_proto_init() { MessageInfos: file_livekit_webhook_proto_msgTypes, }.Build() File_livekit_webhook_proto = out.File + file_livekit_webhook_proto_rawDesc = nil file_livekit_webhook_proto_goTypes = nil file_livekit_webhook_proto_depIdxs = nil } diff --git a/protobufs/livekit_egress.proto b/protobufs/livekit_egress.proto index 1e714da1d..9aecf429b 100644 --- a/protobufs/livekit_egress.proto +++ b/protobufs/livekit_egress.proto @@ -260,6 +260,13 @@ message StreamOutput { repeated string urls = 2; // required } +enum AudioMixing { + DEFAULT_MIXING = 0; // all users are mixed together + DUAL_CHANNEL_AGENT = 1; // agent audio in the left channel, all other audio in the right channel + DUAL_CHANNEL_ALTERNATE = 2; // each new audio track alternates between left and right channels + MULTI_CHANNEL = 3; // every audio track is mixed into a new channel, max 255 channels +} + message EncodingOptions { int32 width = 1; // (default 1920) int32 height = 2; // (default 1080) @@ -269,6 +276,7 @@ message EncodingOptions { int32 audio_bitrate = 6; // (default 128) int32 audio_quality = 11; // quality setting on audio encoder int32 audio_frequency = 7; // (default 44100) + AudioMixing audio_mixing = 13; // (default DEFAULT_MIXING) VideoCodec video_codec = 8; // (default H264_MAIN) int32 video_bitrate = 9; // (default 4500) int32 video_quality = 12; // quality setting on video encoder diff --git a/replay/cloud_replay.pb.go b/replay/cloud_replay.pb.go index d725274ae..668043da9 100644 --- a/replay/cloud_replay.pb.go +++ b/replay/cloud_replay.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 -// protoc v4.24.3 +// protoc v4.25.3 // source: cloud_replay.proto package replay diff --git a/rpc/agent.pb.go b/rpc/agent.pb.go index 39162d2fb..846f8abd0 100644 --- a/rpc/agent.pb.go +++ b/rpc/agent.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/agent.proto package rpc @@ -28,7 +28,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -85,16 +84,18 @@ func (JobTerminateReason) EnumDescriptor() ([]byte, []int) { } type CheckEnabledRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *CheckEnabledRequest) Reset() { *x = CheckEnabledRequest{} - mi := &file_rpc_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CheckEnabledRequest) String() string { @@ -105,7 +106,7 @@ func (*CheckEnabledRequest) ProtoMessage() {} func (x *CheckEnabledRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -121,21 +122,24 @@ func (*CheckEnabledRequest) Descriptor() ([]byte, []int) { } type CheckEnabledResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomEnabled bool `protobuf:"varint,1,opt,name=room_enabled,json=roomEnabled,proto3" json:"room_enabled,omitempty"` - PublisherEnabled bool `protobuf:"varint,2,opt,name=publisher_enabled,json=publisherEnabled,proto3" json:"publisher_enabled,omitempty"` - // Deprecated: Marked as deprecated in rpc/agent.proto. - Namespaces []string `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"` - AgentNames []string `protobuf:"bytes,4,rep,name=agent_names,json=agentNames,proto3" json:"agent_names,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomEnabled bool `protobuf:"varint,1,opt,name=room_enabled,json=roomEnabled,proto3" json:"room_enabled,omitempty"` + PublisherEnabled bool `protobuf:"varint,2,opt,name=publisher_enabled,json=publisherEnabled,proto3" json:"publisher_enabled,omitempty"` + // Deprecated: Marked as deprecated in rpc/agent.proto. + Namespaces []string `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"` + AgentNames []string `protobuf:"bytes,4,rep,name=agent_names,json=agentNames,proto3" json:"agent_names,omitempty"` } func (x *CheckEnabledResponse) Reset() { *x = CheckEnabledResponse{} - mi := &file_rpc_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CheckEnabledResponse) String() string { @@ -146,7 +150,7 @@ func (*CheckEnabledResponse) ProtoMessage() {} func (x *CheckEnabledResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -191,17 +195,20 @@ func (x *CheckEnabledResponse) GetAgentNames() []string { } type JobRequestResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` } func (x *JobRequestResponse) Reset() { *x = JobRequestResponse{} - mi := &file_rpc_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobRequestResponse) String() string { @@ -212,7 +219,7 @@ func (*JobRequestResponse) ProtoMessage() {} func (x *JobRequestResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -235,18 +242,21 @@ func (x *JobRequestResponse) GetState() *livekit.JobState { } type JobTerminateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - Reason JobTerminateReason `protobuf:"varint,2,opt,name=reason,proto3,enum=rpc.JobTerminateReason" json:"reason,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + Reason JobTerminateReason `protobuf:"varint,2,opt,name=reason,proto3,enum=rpc.JobTerminateReason" json:"reason,omitempty"` } func (x *JobTerminateRequest) Reset() { *x = JobTerminateRequest{} - mi := &file_rpc_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobTerminateRequest) String() string { @@ -257,7 +267,7 @@ func (*JobTerminateRequest) ProtoMessage() {} func (x *JobTerminateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -287,17 +297,20 @@ func (x *JobTerminateRequest) GetReason() JobTerminateReason { } type JobTerminateResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` } func (x *JobTerminateResponse) Reset() { *x = JobTerminateResponse{} - mi := &file_rpc_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobTerminateResponse) String() string { @@ -308,7 +321,7 @@ func (*JobTerminateResponse) ProtoMessage() {} func (x *JobTerminateResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -332,7 +345,7 @@ func (x *JobTerminateResponse) GetState() *livekit.JobState { var File_rpc_agent_proto protoreflect.FileDescriptor -var file_rpc_agent_proto_rawDesc = string([]byte{ +var file_rpc_agent_proto_rawDesc = []byte{ 0x0a, 0x0f, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, @@ -395,23 +408,23 @@ var file_rpc_agent_proto_rawDesc = string([]byte{ 0x28, 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_agent_proto_rawDescOnce sync.Once - file_rpc_agent_proto_rawDescData []byte + file_rpc_agent_proto_rawDescData = file_rpc_agent_proto_rawDesc ) func file_rpc_agent_proto_rawDescGZIP() []byte { file_rpc_agent_proto_rawDescOnce.Do(func() { - file_rpc_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_agent_proto_rawDesc), len(file_rpc_agent_proto_rawDesc))) + file_rpc_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_agent_proto_rawDescData) }) return file_rpc_agent_proto_rawDescData } var file_rpc_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_rpc_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_rpc_agent_proto_goTypes = []any{ +var file_rpc_agent_proto_goTypes = []interface{}{ (JobTerminateReason)(0), // 0: rpc.JobTerminateReason (*CheckEnabledRequest)(nil), // 1: rpc.CheckEnabledRequest (*CheckEnabledResponse)(nil), // 2: rpc.CheckEnabledResponse @@ -446,11 +459,73 @@ func file_rpc_agent_proto_init() { if File_rpc_agent_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckEnabledRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckEnabledResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobRequestResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobTerminateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobTerminateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_agent_proto_rawDesc), len(file_rpc_agent_proto_rawDesc)), + RawDescriptor: file_rpc_agent_proto_rawDesc, NumEnums: 1, NumMessages: 5, NumExtensions: 0, @@ -462,6 +537,7 @@ func file_rpc_agent_proto_init() { MessageInfos: file_rpc_agent_proto_msgTypes, }.Build() File_rpc_agent_proto = out.File + file_rpc_agent_proto_rawDesc = nil file_rpc_agent_proto_goTypes = nil file_rpc_agent_proto_depIdxs = nil } diff --git a/rpc/agent_dispatch.pb.go b/rpc/agent_dispatch.pb.go index 385e169f1..f55c77a3a 100644 --- a/rpc/agent_dispatch.pb.go +++ b/rpc/agent_dispatch.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/agent_dispatch.proto package rpc @@ -26,7 +26,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_agent_dispatch_proto protoreflect.FileDescriptor -var file_rpc_agent_dispatch_proto_rawDesc = string([]byte{ +var file_rpc_agent_dispatch_proto_rawDesc = []byte{ 0x0a, 0x18, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, @@ -68,9 +67,9 @@ var file_rpc_agent_dispatch_proto_rawDesc = string([]byte{ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} -var file_rpc_agent_dispatch_proto_goTypes = []any{ +var file_rpc_agent_dispatch_proto_goTypes = []interface{}{ (*livekit.AgentDispatch)(nil), // 0: livekit.AgentDispatch (*livekit.DeleteAgentDispatchRequest)(nil), // 1: livekit.DeleteAgentDispatchRequest (*livekit.ListAgentDispatchRequest)(nil), // 2: livekit.ListAgentDispatchRequest @@ -99,7 +98,7 @@ func file_rpc_agent_dispatch_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_agent_dispatch_proto_rawDesc), len(file_rpc_agent_dispatch_proto_rawDesc)), + RawDescriptor: file_rpc_agent_dispatch_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -109,6 +108,7 @@ func file_rpc_agent_dispatch_proto_init() { DependencyIndexes: file_rpc_agent_dispatch_proto_depIdxs, }.Build() File_rpc_agent_dispatch_proto = out.File + file_rpc_agent_dispatch_proto_rawDesc = nil file_rpc_agent_dispatch_proto_goTypes = nil file_rpc_agent_dispatch_proto_depIdxs = nil } diff --git a/rpc/analytics.pb.go b/rpc/analytics.pb.go index adddb3bc1..3062d26e7 100644 --- a/rpc/analytics.pb.go +++ b/rpc/analytics.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/analytics.proto package rpc @@ -26,7 +26,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_analytics_proto protoreflect.FileDescriptor -var file_rpc_analytics_proto_rawDesc = string([]byte{ +var file_rpc_analytics_proto_rawDesc = []byte{ 0x0a, 0x13, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, @@ -63,9 +62,9 @@ var file_rpc_analytics_proto_rawDesc = string([]byte{ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} -var file_rpc_analytics_proto_goTypes = []any{ +var file_rpc_analytics_proto_goTypes = []interface{}{ (*livekit.AnalyticsStats)(nil), // 0: livekit.AnalyticsStats (*livekit.AnalyticsEvents)(nil), // 1: livekit.AnalyticsEvents (*livekit.AnalyticsNodeRooms)(nil), // 2: livekit.AnalyticsNodeRooms @@ -94,7 +93,7 @@ func file_rpc_analytics_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_analytics_proto_rawDesc), len(file_rpc_analytics_proto_rawDesc)), + RawDescriptor: file_rpc_analytics_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -104,6 +103,7 @@ func file_rpc_analytics_proto_init() { DependencyIndexes: file_rpc_analytics_proto_depIdxs, }.Build() File_rpc_analytics_proto = out.File + file_rpc_analytics_proto_rawDesc = nil file_rpc_analytics_proto_goTypes = nil file_rpc_analytics_proto_depIdxs = nil } diff --git a/rpc/analytics_grpc.pb.go b/rpc/analytics_grpc.pb.go index 6217bb431..a1b53c1a5 100644 --- a/rpc/analytics_grpc.pb.go +++ b/rpc/analytics_grpc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.5.1 -// - protoc v4.23.4 +// - protoc-gen-go-grpc v1.3.0 +// - protoc v4.25.3 // source: rpc/analytics.proto package rpc @@ -31,8 +31,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.64.0 or later. -const _ = grpc.SupportPackageIsVersion9 +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 const ( AnalyticsRecorderService_IngestStats_FullMethodName = "/livekit.AnalyticsRecorderService/IngestStats" @@ -44,9 +44,9 @@ const ( // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type AnalyticsRecorderServiceClient interface { - IngestStats(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsStats, emptypb.Empty], error) - IngestEvents(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsEvents, emptypb.Empty], error) - IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsNodeRooms, emptypb.Empty], error) + IngestStats(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestStatsClient, error) + IngestEvents(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestEventsClient, error) + IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestNodeRoomStatesClient, error) } type analyticsRecorderServiceClient struct { @@ -57,74 +57,133 @@ func NewAnalyticsRecorderServiceClient(cc grpc.ClientConnInterface) AnalyticsRec return &analyticsRecorderServiceClient{cc} } -func (c *analyticsRecorderServiceClient) IngestStats(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsStats, emptypb.Empty], error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[0], AnalyticsRecorderService_IngestStats_FullMethodName, cOpts...) +func (c *analyticsRecorderServiceClient) IngestStats(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestStatsClient, error) { + stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[0], AnalyticsRecorderService_IngestStats_FullMethodName, opts...) if err != nil { return nil, err } - x := &grpc.GenericClientStream[livekit.AnalyticsStats, emptypb.Empty]{ClientStream: stream} + x := &analyticsRecorderServiceIngestStatsClient{stream} return x, nil } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type AnalyticsRecorderService_IngestStatsClient = grpc.ClientStreamingClient[livekit.AnalyticsStats, emptypb.Empty] +type AnalyticsRecorderService_IngestStatsClient interface { + Send(*livekit.AnalyticsStats) error + CloseAndRecv() (*emptypb.Empty, error) + grpc.ClientStream +} + +type analyticsRecorderServiceIngestStatsClient struct { + grpc.ClientStream +} + +func (x *analyticsRecorderServiceIngestStatsClient) Send(m *livekit.AnalyticsStats) error { + return x.ClientStream.SendMsg(m) +} + +func (x *analyticsRecorderServiceIngestStatsClient) CloseAndRecv() (*emptypb.Empty, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(emptypb.Empty) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} -func (c *analyticsRecorderServiceClient) IngestEvents(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsEvents, emptypb.Empty], error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[1], AnalyticsRecorderService_IngestEvents_FullMethodName, cOpts...) +func (c *analyticsRecorderServiceClient) IngestEvents(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestEventsClient, error) { + stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[1], AnalyticsRecorderService_IngestEvents_FullMethodName, opts...) if err != nil { return nil, err } - x := &grpc.GenericClientStream[livekit.AnalyticsEvents, emptypb.Empty]{ClientStream: stream} + x := &analyticsRecorderServiceIngestEventsClient{stream} return x, nil } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type AnalyticsRecorderService_IngestEventsClient = grpc.ClientStreamingClient[livekit.AnalyticsEvents, emptypb.Empty] +type AnalyticsRecorderService_IngestEventsClient interface { + Send(*livekit.AnalyticsEvents) error + CloseAndRecv() (*emptypb.Empty, error) + grpc.ClientStream +} + +type analyticsRecorderServiceIngestEventsClient struct { + grpc.ClientStream +} + +func (x *analyticsRecorderServiceIngestEventsClient) Send(m *livekit.AnalyticsEvents) error { + return x.ClientStream.SendMsg(m) +} + +func (x *analyticsRecorderServiceIngestEventsClient) CloseAndRecv() (*emptypb.Empty, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(emptypb.Empty) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} -func (c *analyticsRecorderServiceClient) IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsNodeRooms, emptypb.Empty], error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[2], AnalyticsRecorderService_IngestNodeRoomStates_FullMethodName, cOpts...) +func (c *analyticsRecorderServiceClient) IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestNodeRoomStatesClient, error) { + stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[2], AnalyticsRecorderService_IngestNodeRoomStates_FullMethodName, opts...) if err != nil { return nil, err } - x := &grpc.GenericClientStream[livekit.AnalyticsNodeRooms, emptypb.Empty]{ClientStream: stream} + x := &analyticsRecorderServiceIngestNodeRoomStatesClient{stream} return x, nil } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type AnalyticsRecorderService_IngestNodeRoomStatesClient = grpc.ClientStreamingClient[livekit.AnalyticsNodeRooms, emptypb.Empty] +type AnalyticsRecorderService_IngestNodeRoomStatesClient interface { + Send(*livekit.AnalyticsNodeRooms) error + CloseAndRecv() (*emptypb.Empty, error) + grpc.ClientStream +} + +type analyticsRecorderServiceIngestNodeRoomStatesClient struct { + grpc.ClientStream +} + +func (x *analyticsRecorderServiceIngestNodeRoomStatesClient) Send(m *livekit.AnalyticsNodeRooms) error { + return x.ClientStream.SendMsg(m) +} + +func (x *analyticsRecorderServiceIngestNodeRoomStatesClient) CloseAndRecv() (*emptypb.Empty, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(emptypb.Empty) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} // AnalyticsRecorderServiceServer is the server API for AnalyticsRecorderService service. // All implementations must embed UnimplementedAnalyticsRecorderServiceServer -// for forward compatibility. +// for forward compatibility type AnalyticsRecorderServiceServer interface { - IngestStats(grpc.ClientStreamingServer[livekit.AnalyticsStats, emptypb.Empty]) error - IngestEvents(grpc.ClientStreamingServer[livekit.AnalyticsEvents, emptypb.Empty]) error - IngestNodeRoomStates(grpc.ClientStreamingServer[livekit.AnalyticsNodeRooms, emptypb.Empty]) error + IngestStats(AnalyticsRecorderService_IngestStatsServer) error + IngestEvents(AnalyticsRecorderService_IngestEventsServer) error + IngestNodeRoomStates(AnalyticsRecorderService_IngestNodeRoomStatesServer) error mustEmbedUnimplementedAnalyticsRecorderServiceServer() } -// UnimplementedAnalyticsRecorderServiceServer must be embedded to have -// forward compatible implementations. -// -// NOTE: this should be embedded by value instead of pointer to avoid a nil -// pointer dereference when methods are called. -type UnimplementedAnalyticsRecorderServiceServer struct{} +// UnimplementedAnalyticsRecorderServiceServer must be embedded to have forward compatible implementations. +type UnimplementedAnalyticsRecorderServiceServer struct { +} -func (UnimplementedAnalyticsRecorderServiceServer) IngestStats(grpc.ClientStreamingServer[livekit.AnalyticsStats, emptypb.Empty]) error { +func (UnimplementedAnalyticsRecorderServiceServer) IngestStats(AnalyticsRecorderService_IngestStatsServer) error { return status.Errorf(codes.Unimplemented, "method IngestStats not implemented") } -func (UnimplementedAnalyticsRecorderServiceServer) IngestEvents(grpc.ClientStreamingServer[livekit.AnalyticsEvents, emptypb.Empty]) error { +func (UnimplementedAnalyticsRecorderServiceServer) IngestEvents(AnalyticsRecorderService_IngestEventsServer) error { return status.Errorf(codes.Unimplemented, "method IngestEvents not implemented") } -func (UnimplementedAnalyticsRecorderServiceServer) IngestNodeRoomStates(grpc.ClientStreamingServer[livekit.AnalyticsNodeRooms, emptypb.Empty]) error { +func (UnimplementedAnalyticsRecorderServiceServer) IngestNodeRoomStates(AnalyticsRecorderService_IngestNodeRoomStatesServer) error { return status.Errorf(codes.Unimplemented, "method IngestNodeRoomStates not implemented") } func (UnimplementedAnalyticsRecorderServiceServer) mustEmbedUnimplementedAnalyticsRecorderServiceServer() { } -func (UnimplementedAnalyticsRecorderServiceServer) testEmbeddedByValue() {} // UnsafeAnalyticsRecorderServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to AnalyticsRecorderServiceServer will @@ -134,36 +193,86 @@ type UnsafeAnalyticsRecorderServiceServer interface { } func RegisterAnalyticsRecorderServiceServer(s grpc.ServiceRegistrar, srv AnalyticsRecorderServiceServer) { - // If the following call pancis, it indicates UnimplementedAnalyticsRecorderServiceServer was - // embedded by pointer and is nil. This will cause panics if an - // unimplemented method is ever invoked, so we test this at initialization - // time to prevent it from happening at runtime later due to I/O. - if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { - t.testEmbeddedByValue() - } s.RegisterService(&AnalyticsRecorderService_ServiceDesc, srv) } func _AnalyticsRecorderService_IngestStats_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestStats(&grpc.GenericServerStream[livekit.AnalyticsStats, emptypb.Empty]{ServerStream: stream}) + return srv.(AnalyticsRecorderServiceServer).IngestStats(&analyticsRecorderServiceIngestStatsServer{stream}) +} + +type AnalyticsRecorderService_IngestStatsServer interface { + SendAndClose(*emptypb.Empty) error + Recv() (*livekit.AnalyticsStats, error) + grpc.ServerStream +} + +type analyticsRecorderServiceIngestStatsServer struct { + grpc.ServerStream } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type AnalyticsRecorderService_IngestStatsServer = grpc.ClientStreamingServer[livekit.AnalyticsStats, emptypb.Empty] +func (x *analyticsRecorderServiceIngestStatsServer) SendAndClose(m *emptypb.Empty) error { + return x.ServerStream.SendMsg(m) +} + +func (x *analyticsRecorderServiceIngestStatsServer) Recv() (*livekit.AnalyticsStats, error) { + m := new(livekit.AnalyticsStats) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} func _AnalyticsRecorderService_IngestEvents_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestEvents(&grpc.GenericServerStream[livekit.AnalyticsEvents, emptypb.Empty]{ServerStream: stream}) + return srv.(AnalyticsRecorderServiceServer).IngestEvents(&analyticsRecorderServiceIngestEventsServer{stream}) +} + +type AnalyticsRecorderService_IngestEventsServer interface { + SendAndClose(*emptypb.Empty) error + Recv() (*livekit.AnalyticsEvents, error) + grpc.ServerStream } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type AnalyticsRecorderService_IngestEventsServer = grpc.ClientStreamingServer[livekit.AnalyticsEvents, emptypb.Empty] +type analyticsRecorderServiceIngestEventsServer struct { + grpc.ServerStream +} + +func (x *analyticsRecorderServiceIngestEventsServer) SendAndClose(m *emptypb.Empty) error { + return x.ServerStream.SendMsg(m) +} + +func (x *analyticsRecorderServiceIngestEventsServer) Recv() (*livekit.AnalyticsEvents, error) { + m := new(livekit.AnalyticsEvents) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} func _AnalyticsRecorderService_IngestNodeRoomStates_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestNodeRoomStates(&grpc.GenericServerStream[livekit.AnalyticsNodeRooms, emptypb.Empty]{ServerStream: stream}) + return srv.(AnalyticsRecorderServiceServer).IngestNodeRoomStates(&analyticsRecorderServiceIngestNodeRoomStatesServer{stream}) +} + +type AnalyticsRecorderService_IngestNodeRoomStatesServer interface { + SendAndClose(*emptypb.Empty) error + Recv() (*livekit.AnalyticsNodeRooms, error) + grpc.ServerStream } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type AnalyticsRecorderService_IngestNodeRoomStatesServer = grpc.ClientStreamingServer[livekit.AnalyticsNodeRooms, emptypb.Empty] +type analyticsRecorderServiceIngestNodeRoomStatesServer struct { + grpc.ServerStream +} + +func (x *analyticsRecorderServiceIngestNodeRoomStatesServer) SendAndClose(m *emptypb.Empty) error { + return x.ServerStream.SendMsg(m) +} + +func (x *analyticsRecorderServiceIngestNodeRoomStatesServer) Recv() (*livekit.AnalyticsNodeRooms, error) { + m := new(livekit.AnalyticsNodeRooms) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} // AnalyticsRecorderService_ServiceDesc is the grpc.ServiceDesc for AnalyticsRecorderService service. // It's only intended for direct use with grpc.RegisterService, diff --git a/rpc/egress.pb.go b/rpc/egress.pb.go index a17b4b0cb..72affa4cf 100644 --- a/rpc/egress.pb.go +++ b/rpc/egress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/egress.proto package rpc @@ -27,7 +27,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -38,12 +37,15 @@ const ( ) type StartEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // request metadata EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // request // - // Types that are valid to be assigned to Request: + // Types that are assignable to Request: // // *StartEgressRequest_RoomComposite // *StartEgressRequest_Web @@ -58,15 +60,15 @@ type StartEgressRequest struct { // cloud only CloudBackupEnabled bool `protobuf:"varint,10,opt,name=cloud_backup_enabled,json=cloudBackupEnabled,proto3" json:"cloud_backup_enabled,omitempty"` EstimatedCpu float64 `protobuf:"fixed64,14,opt,name=estimated_cpu,json=estimatedCpu,proto3" json:"estimated_cpu,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *StartEgressRequest) Reset() { *x = StartEgressRequest{} - mi := &file_rpc_egress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_egress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartEgressRequest) String() string { @@ -77,7 +79,7 @@ func (*StartEgressRequest) ProtoMessage() {} func (x *StartEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -99,54 +101,44 @@ func (x *StartEgressRequest) GetEgressId() string { return "" } -func (x *StartEgressRequest) GetRequest() isStartEgressRequest_Request { - if x != nil { - return x.Request +func (m *StartEgressRequest) GetRequest() isStartEgressRequest_Request { + if m != nil { + return m.Request } return nil } func (x *StartEgressRequest) GetRoomComposite() *livekit.RoomCompositeEgressRequest { - if x != nil { - if x, ok := x.Request.(*StartEgressRequest_RoomComposite); ok { - return x.RoomComposite - } + if x, ok := x.GetRequest().(*StartEgressRequest_RoomComposite); ok { + return x.RoomComposite } return nil } func (x *StartEgressRequest) GetWeb() *livekit.WebEgressRequest { - if x != nil { - if x, ok := x.Request.(*StartEgressRequest_Web); ok { - return x.Web - } + if x, ok := x.GetRequest().(*StartEgressRequest_Web); ok { + return x.Web } return nil } func (x *StartEgressRequest) GetParticipant() *livekit.ParticipantEgressRequest { - if x != nil { - if x, ok := x.Request.(*StartEgressRequest_Participant); ok { - return x.Participant - } + if x, ok := x.GetRequest().(*StartEgressRequest_Participant); ok { + return x.Participant } return nil } func (x *StartEgressRequest) GetTrackComposite() *livekit.TrackCompositeEgressRequest { - if x != nil { - if x, ok := x.Request.(*StartEgressRequest_TrackComposite); ok { - return x.TrackComposite - } + if x, ok := x.GetRequest().(*StartEgressRequest_TrackComposite); ok { + return x.TrackComposite } return nil } func (x *StartEgressRequest) GetTrack() *livekit.TrackEgressRequest { - if x != nil { - if x, ok := x.Request.(*StartEgressRequest_Track); ok { - return x.Track - } + if x, ok := x.GetRequest().(*StartEgressRequest_Track); ok { + return x.Track } return nil } @@ -221,16 +213,18 @@ func (*StartEgressRequest_TrackComposite) isStartEgressRequest_Request() {} func (*StartEgressRequest_Track) isStartEgressRequest_Request() {} type ListActiveEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *ListActiveEgressRequest) Reset() { *x = ListActiveEgressRequest{} - mi := &file_rpc_egress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_egress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListActiveEgressRequest) String() string { @@ -241,7 +235,7 @@ func (*ListActiveEgressRequest) ProtoMessage() {} func (x *ListActiveEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -257,17 +251,20 @@ func (*ListActiveEgressRequest) Descriptor() ([]byte, []int) { } type ListActiveEgressResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - EgressIds []string `protobuf:"bytes,1,rep,name=egress_ids,json=egressIds,proto3" json:"egress_ids,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EgressIds []string `protobuf:"bytes,1,rep,name=egress_ids,json=egressIds,proto3" json:"egress_ids,omitempty"` } func (x *ListActiveEgressResponse) Reset() { *x = ListActiveEgressResponse{} - mi := &file_rpc_egress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_egress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListActiveEgressResponse) String() string { @@ -278,7 +275,7 @@ func (*ListActiveEgressResponse) ProtoMessage() {} func (x *ListActiveEgressResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -302,7 +299,7 @@ func (x *ListActiveEgressResponse) GetEgressIds() []string { var File_rpc_egress_proto protoreflect.FileDescriptor -var file_rpc_egress_proto_rawDesc = string([]byte{ +var file_rpc_egress_proto_rawDesc = []byte{ 0x0a, 0x10, 0x72, 0x70, 0x63, 0x2f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, @@ -371,22 +368,22 @@ var file_rpc_egress_proto_rawDesc = string([]byte{ 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_egress_proto_rawDescOnce sync.Once - file_rpc_egress_proto_rawDescData []byte + file_rpc_egress_proto_rawDescData = file_rpc_egress_proto_rawDesc ) func file_rpc_egress_proto_rawDescGZIP() []byte { file_rpc_egress_proto_rawDescOnce.Do(func() { - file_rpc_egress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_egress_proto_rawDesc), len(file_rpc_egress_proto_rawDesc))) + file_rpc_egress_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_egress_proto_rawDescData) }) return file_rpc_egress_proto_rawDescData } var file_rpc_egress_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_rpc_egress_proto_goTypes = []any{ +var file_rpc_egress_proto_goTypes = []interface{}{ (*StartEgressRequest)(nil), // 0: rpc.StartEgressRequest (*ListActiveEgressRequest)(nil), // 1: rpc.ListActiveEgressRequest (*ListActiveEgressResponse)(nil), // 2: rpc.ListActiveEgressResponse @@ -425,7 +422,45 @@ func file_rpc_egress_proto_init() { if File_rpc_egress_proto != nil { return } - file_rpc_egress_proto_msgTypes[0].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_rpc_egress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_egress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListActiveEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_egress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListActiveEgressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_rpc_egress_proto_msgTypes[0].OneofWrappers = []interface{}{ (*StartEgressRequest_RoomComposite)(nil), (*StartEgressRequest_Web)(nil), (*StartEgressRequest_Participant)(nil), @@ -436,7 +471,7 @@ func file_rpc_egress_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_egress_proto_rawDesc), len(file_rpc_egress_proto_rawDesc)), + RawDescriptor: file_rpc_egress_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -447,6 +482,7 @@ func file_rpc_egress_proto_init() { MessageInfos: file_rpc_egress_proto_msgTypes, }.Build() File_rpc_egress_proto = out.File + file_rpc_egress_proto_rawDesc = nil file_rpc_egress_proto_goTypes = nil file_rpc_egress_proto_depIdxs = nil } diff --git a/rpc/ingress.pb.go b/rpc/ingress.pb.go index e1fb4ec94..eae4a13bf 100644 --- a/rpc/ingress.pb.go +++ b/rpc/ingress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/ingress.proto package rpc @@ -28,7 +28,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -39,16 +38,18 @@ const ( ) type ListActiveIngressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *ListActiveIngressRequest) Reset() { *x = ListActiveIngressRequest{} - mi := &file_rpc_ingress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListActiveIngressRequest) String() string { @@ -59,7 +60,7 @@ func (*ListActiveIngressRequest) ProtoMessage() {} func (x *ListActiveIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -75,19 +76,22 @@ func (*ListActiveIngressRequest) Descriptor() ([]byte, []int) { } type ListActiveIngressResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Deprecated: Marked as deprecated in rpc/ingress.proto. IngressIds []string `protobuf:"bytes,1,rep,name=ingress_ids,json=ingressIds,proto3" json:"ingress_ids,omitempty"` IngressSessions []*IngressSession `protobuf:"bytes,2,rep,name=ingress_sessions,json=ingressSessions,proto3" json:"ingress_sessions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *ListActiveIngressResponse) Reset() { *x = ListActiveIngressResponse{} - mi := &file_rpc_ingress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListActiveIngressResponse) String() string { @@ -98,7 +102,7 @@ func (*ListActiveIngressResponse) ProtoMessage() {} func (x *ListActiveIngressResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -129,18 +133,21 @@ func (x *ListActiveIngressResponse) GetIngressSessions() []*IngressSession { } type DeleteWHIPResourceRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` } func (x *DeleteWHIPResourceRequest) Reset() { *x = DeleteWHIPResourceRequest{} - mi := &file_rpc_ingress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteWHIPResourceRequest) String() string { @@ -151,7 +158,7 @@ func (*DeleteWHIPResourceRequest) ProtoMessage() {} func (x *DeleteWHIPResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -181,21 +188,24 @@ func (x *DeleteWHIPResourceRequest) GetStreamKey() string { } type ICERestartWHIPResourceRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` - UserFragment string `protobuf:"bytes,3,opt,name=user_fragment,json=userFragment,proto3" json:"user_fragment,omitempty"` - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` - Candidates []string `protobuf:"bytes,5,rep,name=candidates,proto3" json:"candidates,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` + UserFragment string `protobuf:"bytes,3,opt,name=user_fragment,json=userFragment,proto3" json:"user_fragment,omitempty"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + Candidates []string `protobuf:"bytes,5,rep,name=candidates,proto3" json:"candidates,omitempty"` } func (x *ICERestartWHIPResourceRequest) Reset() { *x = ICERestartWHIPResourceRequest{} - mi := &file_rpc_ingress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ICERestartWHIPResourceRequest) String() string { @@ -206,7 +216,7 @@ func (*ICERestartWHIPResourceRequest) ProtoMessage() {} func (x *ICERestartWHIPResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -257,17 +267,20 @@ func (x *ICERestartWHIPResourceRequest) GetCandidates() []string { } type ICERestartWHIPResourceResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrickleIceSdpfrag string `protobuf:"bytes,1,opt,name=trickle_ice_sdpfrag,json=trickleIceSdpfrag,proto3" json:"trickle_ice_sdpfrag,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrickleIceSdpfrag string `protobuf:"bytes,1,opt,name=trickle_ice_sdpfrag,json=trickleIceSdpfrag,proto3" json:"trickle_ice_sdpfrag,omitempty"` } func (x *ICERestartWHIPResourceResponse) Reset() { *x = ICERestartWHIPResourceResponse{} - mi := &file_rpc_ingress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ICERestartWHIPResourceResponse) String() string { @@ -278,7 +291,7 @@ func (*ICERestartWHIPResourceResponse) ProtoMessage() {} func (x *ICERestartWHIPResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -301,20 +314,23 @@ func (x *ICERestartWHIPResourceResponse) GetTrickleIceSdpfrag() string { } type StartIngressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` - LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` + WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` + LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *StartIngressRequest) Reset() { *x = StartIngressRequest{} - mi := &file_rpc_ingress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartIngressRequest) String() string { @@ -325,7 +341,7 @@ func (*StartIngressRequest) ProtoMessage() {} func (x *StartIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -369,18 +385,21 @@ func (x *StartIngressRequest) GetLoggingFields() map[string]string { } type IngressSession struct { - state protoimpl.MessageState `protogen:"open.v1"` - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` } func (x *IngressSession) Reset() { *x = IngressSession{} - mi := &file_rpc_ingress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressSession) String() string { @@ -391,7 +410,7 @@ func (*IngressSession) ProtoMessage() {} func (x *IngressSession) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -421,17 +440,20 @@ func (x *IngressSession) GetResourceId() string { } type KillIngressSessionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Session *IngressSession `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Session *IngressSession `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` } func (x *KillIngressSessionRequest) Reset() { *x = KillIngressSessionRequest{} - mi := &file_rpc_ingress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *KillIngressSessionRequest) String() string { @@ -442,7 +464,7 @@ func (*KillIngressSessionRequest) ProtoMessage() {} func (x *KillIngressSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -466,7 +488,7 @@ func (x *KillIngressSessionRequest) GetSession() *IngressSession { var File_rpc_ingress_proto protoreflect.FileDescriptor -var file_rpc_ingress_proto_rawDesc = string([]byte{ +var file_rpc_ingress_proto_rawDesc = []byte{ 0x0a, 0x11, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, @@ -577,22 +599,22 @@ var file_rpc_ingress_proto_rawDesc = string([]byte{ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_ingress_proto_rawDescOnce sync.Once - file_rpc_ingress_proto_rawDescData []byte + file_rpc_ingress_proto_rawDescData = file_rpc_ingress_proto_rawDesc ) func file_rpc_ingress_proto_rawDescGZIP() []byte { file_rpc_ingress_proto_rawDescOnce.Do(func() { - file_rpc_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_ingress_proto_rawDesc), len(file_rpc_ingress_proto_rawDesc))) + file_rpc_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_ingress_proto_rawDescData) }) return file_rpc_ingress_proto_rawDescData } var file_rpc_ingress_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_rpc_ingress_proto_goTypes = []any{ +var file_rpc_ingress_proto_goTypes = []interface{}{ (*ListActiveIngressRequest)(nil), // 0: rpc.ListActiveIngressRequest (*ListActiveIngressResponse)(nil), // 1: rpc.ListActiveIngressResponse (*DeleteWHIPResourceRequest)(nil), // 2: rpc.DeleteWHIPResourceRequest @@ -639,11 +661,109 @@ func file_rpc_ingress_proto_init() { if File_rpc_ingress_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_ingress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListActiveIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListActiveIngressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteWHIPResourceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ICERestartWHIPResourceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ICERestartWHIPResourceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressSession); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KillIngressSessionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_ingress_proto_rawDesc), len(file_rpc_ingress_proto_rawDesc)), + RawDescriptor: file_rpc_ingress_proto_rawDesc, NumEnums: 0, NumMessages: 9, NumExtensions: 0, @@ -654,6 +774,7 @@ func file_rpc_ingress_proto_init() { MessageInfos: file_rpc_ingress_proto_msgTypes, }.Build() File_rpc_ingress_proto = out.File + file_rpc_ingress_proto_rawDesc = nil file_rpc_ingress_proto_goTypes = nil file_rpc_ingress_proto_depIdxs = nil } diff --git a/rpc/io.pb.go b/rpc/io.pb.go index b47b4b5f4..fb33a943f 100644 --- a/rpc/io.pb.go +++ b/rpc/io.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/io.proto package rpc @@ -28,7 +28,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -94,17 +93,20 @@ func (SIPDispatchResult) EnumDescriptor() ([]byte, []int) { } type GetEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` } func (x *GetEgressRequest) Reset() { *x = GetEgressRequest{} - mi := &file_rpc_io_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetEgressRequest) String() string { @@ -115,7 +117,7 @@ func (*GetEgressRequest) ProtoMessage() {} func (x *GetEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -138,19 +140,22 @@ func (x *GetEgressRequest) GetEgressId() string { } type UpdateMetricsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Info *livekit.EgressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - AvgCpuUsage float32 `protobuf:"fixed32,3,opt,name=avg_cpu_usage,json=avgCpuUsage,proto3" json:"avg_cpu_usage,omitempty"` - MaxCpuUsage float32 `protobuf:"fixed32,4,opt,name=max_cpu_usage,json=maxCpuUsage,proto3" json:"max_cpu_usage,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *livekit.EgressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` + AvgCpuUsage float32 `protobuf:"fixed32,3,opt,name=avg_cpu_usage,json=avgCpuUsage,proto3" json:"avg_cpu_usage,omitempty"` + MaxCpuUsage float32 `protobuf:"fixed32,4,opt,name=max_cpu_usage,json=maxCpuUsage,proto3" json:"max_cpu_usage,omitempty"` } func (x *UpdateMetricsRequest) Reset() { *x = UpdateMetricsRequest{} - mi := &file_rpc_io_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateMetricsRequest) String() string { @@ -161,7 +166,7 @@ func (*UpdateMetricsRequest) ProtoMessage() {} func (x *UpdateMetricsRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -199,18 +204,21 @@ func (x *UpdateMetricsRequest) GetMaxCpuUsage() float32 { // Query an ingress info from an ingress ID or stream key type GetIngressInfoRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` } func (x *GetIngressInfoRequest) Reset() { *x = GetIngressInfoRequest{} - mi := &file_rpc_io_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetIngressInfoRequest) String() string { @@ -221,7 +229,7 @@ func (*GetIngressInfoRequest) ProtoMessage() {} func (x *GetIngressInfoRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -251,20 +259,23 @@ func (x *GetIngressInfoRequest) GetStreamKey() string { } type GetIngressInfoResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` - LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` + WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` + LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *GetIngressInfoResponse) Reset() { *x = GetIngressInfoResponse{} - mi := &file_rpc_io_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetIngressInfoResponse) String() string { @@ -275,7 +286,7 @@ func (*GetIngressInfoResponse) ProtoMessage() {} func (x *GetIngressInfoResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -320,18 +331,21 @@ func (x *GetIngressInfoResponse) GetLoggingFields() map[string]string { // Request to store an update to the ingress state ingress -> service type UpdateIngressStateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - State *livekit.IngressState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + State *livekit.IngressState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` } func (x *UpdateIngressStateRequest) Reset() { *x = UpdateIngressStateRequest{} - mi := &file_rpc_io_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateIngressStateRequest) String() string { @@ -342,7 +356,7 @@ func (*UpdateIngressStateRequest) ProtoMessage() {} func (x *UpdateIngressStateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -372,8 +386,11 @@ func (x *UpdateIngressStateRequest) GetState() *livekit.IngressState { } type GetSIPTrunkAuthenticationRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipCallId string `protobuf:"bytes,6,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipCallId string `protobuf:"bytes,6,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` // What Number is calling From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // What Number was called @@ -381,16 +398,16 @@ type GetSIPTrunkAuthenticationRequest struct { // What is the IP address of the called number SrcAddress string `protobuf:"bytes,4,opt,name=src_address,json=srcAddress,proto3" json:"src_address,omitempty"` // What Host was called - ToHost string `protobuf:"bytes,5,opt,name=to_host,json=toHost,proto3" json:"to_host,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + ToHost string `protobuf:"bytes,5,opt,name=to_host,json=toHost,proto3" json:"to_host,omitempty"` } func (x *GetSIPTrunkAuthenticationRequest) Reset() { *x = GetSIPTrunkAuthenticationRequest{} - mi := &file_rpc_io_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPTrunkAuthenticationRequest) String() string { @@ -401,7 +418,7 @@ func (*GetSIPTrunkAuthenticationRequest) ProtoMessage() {} func (x *GetSIPTrunkAuthenticationRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -452,7 +469,10 @@ func (x *GetSIPTrunkAuthenticationRequest) GetToHost() string { } type GetSIPTrunkAuthenticationResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Expected username and password Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` @@ -460,16 +480,16 @@ type GetSIPTrunkAuthenticationResponse struct { // Trunk used to fulfill this request SipTrunkId string `protobuf:"bytes,4,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` // Used in Cloud only - ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } func (x *GetSIPTrunkAuthenticationResponse) Reset() { *x = GetSIPTrunkAuthenticationResponse{} - mi := &file_rpc_io_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPTrunkAuthenticationResponse) String() string { @@ -480,7 +500,7 @@ func (*GetSIPTrunkAuthenticationResponse) ProtoMessage() {} func (x *GetSIPTrunkAuthenticationResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -531,8 +551,11 @@ func (x *GetSIPTrunkAuthenticationResponse) GetProjectId() string { } type EvaluateSIPDispatchRulesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipCallId string `protobuf:"bytes,8,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipCallId string `protobuf:"bytes,8,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` // Deprecated: Marked as deprecated in rpc/io.proto. SipParticipantId string `protobuf:"bytes,1,opt,name=sip_participant_id,json=sipParticipantId,proto3" json:"sip_participant_id,omitempty"` // Trunk from the auth response, if any @@ -551,16 +574,16 @@ type EvaluateSIPDispatchRulesRequest struct { CalledHost string `protobuf:"bytes,7,opt,name=called_host,json=calledHost,proto3" json:"called_host,omitempty"` // Extra participant attributes added for this call. // Usually include provider-specific metadata. - ExtraAttributes map[string]string `protobuf:"bytes,9,rep,name=extra_attributes,json=extraAttributes,proto3" json:"extra_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + ExtraAttributes map[string]string `protobuf:"bytes,9,rep,name=extra_attributes,json=extraAttributes,proto3" json:"extra_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *EvaluateSIPDispatchRulesRequest) Reset() { *x = EvaluateSIPDispatchRulesRequest{} - mi := &file_rpc_io_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EvaluateSIPDispatchRulesRequest) String() string { @@ -571,7 +594,7 @@ func (*EvaluateSIPDispatchRulesRequest) ProtoMessage() {} func (x *EvaluateSIPDispatchRulesRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -658,7 +681,10 @@ func (x *EvaluateSIPDispatchRulesRequest) GetExtraAttributes() map[string]string } type EvaluateSIPDispatchRulesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // non-empty string if SIPParticipant should be placed a room RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // What should be used for the LiveKit participant identity @@ -668,7 +694,7 @@ type EvaluateSIPDispatchRulesResponse struct { // What should be used for the LiveKit participant metadata ParticipantMetadata string `protobuf:"bytes,8,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` // What should be used for the LiveKit participant attributes - ParticipantAttributes map[string]string `protobuf:"bytes,11,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + ParticipantAttributes map[string]string `protobuf:"bytes,11,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Deprecated: Marked as deprecated in rpc/io.proto. RequestPin bool `protobuf:"varint,3,opt,name=request_pin,json=requestPin,proto3" json:"request_pin,omitempty"` // see result // optional token that should be used when creating LiveKit participant @@ -684,13 +710,13 @@ type EvaluateSIPDispatchRulesResponse struct { ProjectId string `protobuf:"bytes,12,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Include these SIP X-* headers in 200 OK response to INVITE. // These headers are included as-is and may help identify triggered LiveKit Dispatch Rule for the other SIP endpoint. - Headers map[string]string `protobuf:"bytes,13,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Headers map[string]string `protobuf:"bytes,13,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP X-* headers from INVITE to SIP participant attributes. // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - HeadersToAttributes map[string]string `protobuf:"bytes,14,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + HeadersToAttributes map[string]string `protobuf:"bytes,14,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,18,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + AttributesToHeaders map[string]string `protobuf:"bytes,18,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP headers from INVITE to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -709,15 +735,15 @@ type EvaluateSIPDispatchRulesResponse struct { RoomPreset string `protobuf:"bytes,20,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"` RoomConfig *livekit.RoomConfiguration `protobuf:"bytes,21,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` MediaEncryption livekit.SIPMediaEncryption `protobuf:"varint,22,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *EvaluateSIPDispatchRulesResponse) Reset() { *x = EvaluateSIPDispatchRulesResponse{} - mi := &file_rpc_io_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EvaluateSIPDispatchRulesResponse) String() string { @@ -728,7 +754,7 @@ func (*EvaluateSIPDispatchRulesResponse) ProtoMessage() {} func (x *EvaluateSIPDispatchRulesResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -899,17 +925,20 @@ func (x *EvaluateSIPDispatchRulesResponse) GetMediaEncryption() livekit.SIPMedia } type UpdateSIPCallStateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - CallInfo *livekit.SIPCallInfo `protobuf:"bytes,1,opt,name=call_info,json=callInfo,proto3" json:"call_info,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CallInfo *livekit.SIPCallInfo `protobuf:"bytes,1,opt,name=call_info,json=callInfo,proto3" json:"call_info,omitempty"` } func (x *UpdateSIPCallStateRequest) Reset() { *x = UpdateSIPCallStateRequest{} - mi := &file_rpc_io_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateSIPCallStateRequest) String() string { @@ -920,7 +949,7 @@ func (*UpdateSIPCallStateRequest) ProtoMessage() {} func (x *UpdateSIPCallStateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -944,7 +973,7 @@ func (x *UpdateSIPCallStateRequest) GetCallInfo() *livekit.SIPCallInfo { var File_rpc_io_proto protoreflect.FileDescriptor -var file_rpc_io_proto_rawDesc = string([]byte{ +var file_rpc_io_proto_rawDesc = []byte{ 0x0a, 0x0c, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, @@ -1215,23 +1244,23 @@ var file_rpc_io_proto_rawDesc = string([]byte{ 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_io_proto_rawDescOnce sync.Once - file_rpc_io_proto_rawDescData []byte + file_rpc_io_proto_rawDescData = file_rpc_io_proto_rawDesc ) func file_rpc_io_proto_rawDescGZIP() []byte { file_rpc_io_proto_rawDescOnce.Do(func() { - file_rpc_io_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_io_proto_rawDesc), len(file_rpc_io_proto_rawDesc))) + file_rpc_io_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_io_proto_rawDescData) }) return file_rpc_io_proto_rawDescData } var file_rpc_io_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_rpc_io_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_rpc_io_proto_goTypes = []any{ +var file_rpc_io_proto_goTypes = []interface{}{ (SIPDispatchResult)(0), // 0: rpc.SIPDispatchResult (*GetEgressRequest)(nil), // 1: rpc.GetEgressRequest (*UpdateMetricsRequest)(nil), // 2: rpc.UpdateMetricsRequest @@ -1314,11 +1343,133 @@ func file_rpc_io_proto_init() { if File_rpc_io_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_io_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateMetricsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetIngressInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetIngressInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateIngressStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSIPTrunkAuthenticationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSIPTrunkAuthenticationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvaluateSIPDispatchRulesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvaluateSIPDispatchRulesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateSIPCallStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_io_proto_rawDesc), len(file_rpc_io_proto_rawDesc)), + RawDescriptor: file_rpc_io_proto_rawDesc, NumEnums: 1, NumMessages: 16, NumExtensions: 0, @@ -1330,6 +1481,7 @@ func file_rpc_io_proto_init() { MessageInfos: file_rpc_io_proto_msgTypes, }.Build() File_rpc_io_proto = out.File + file_rpc_io_proto_rawDesc = nil file_rpc_io_proto_goTypes = nil file_rpc_io_proto_depIdxs = nil } diff --git a/rpc/keepalive.pb.go b/rpc/keepalive.pb.go index 29b8de691..2f7426eff 100644 --- a/rpc/keepalive.pb.go +++ b/rpc/keepalive.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/keepalive.proto package rpc @@ -26,7 +26,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -37,17 +36,20 @@ const ( ) type KeepalivePing struct { - state protoimpl.MessageState `protogen:"open.v1"` - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } func (x *KeepalivePing) Reset() { *x = KeepalivePing{} - mi := &file_rpc_keepalive_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_keepalive_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *KeepalivePing) String() string { @@ -58,7 +60,7 @@ func (*KeepalivePing) ProtoMessage() {} func (x *KeepalivePing) ProtoReflect() protoreflect.Message { mi := &file_rpc_keepalive_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -82,7 +84,7 @@ func (x *KeepalivePing) GetTimestamp() int64 { var File_rpc_keepalive_proto protoreflect.FileDescriptor -var file_rpc_keepalive_proto_rawDesc = string([]byte{ +var file_rpc_keepalive_proto_rawDesc = []byte{ 0x0a, 0x13, 0x72, 0x70, 0x63, 0x2f, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x0d, 0x4b, 0x65, 0x65, @@ -97,22 +99,22 @@ var file_rpc_keepalive_proto_rawDesc = string([]byte{ 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_keepalive_proto_rawDescOnce sync.Once - file_rpc_keepalive_proto_rawDescData []byte + file_rpc_keepalive_proto_rawDescData = file_rpc_keepalive_proto_rawDesc ) func file_rpc_keepalive_proto_rawDescGZIP() []byte { file_rpc_keepalive_proto_rawDescOnce.Do(func() { - file_rpc_keepalive_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_keepalive_proto_rawDesc), len(file_rpc_keepalive_proto_rawDesc))) + file_rpc_keepalive_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_keepalive_proto_rawDescData) }) return file_rpc_keepalive_proto_rawDescData } var file_rpc_keepalive_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_rpc_keepalive_proto_goTypes = []any{ +var file_rpc_keepalive_proto_goTypes = []interface{}{ (*KeepalivePing)(nil), // 0: rpc.KeepalivePing } var file_rpc_keepalive_proto_depIdxs = []int32{ @@ -130,11 +132,25 @@ func file_rpc_keepalive_proto_init() { if File_rpc_keepalive_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_keepalive_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeepalivePing); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_keepalive_proto_rawDesc), len(file_rpc_keepalive_proto_rawDesc)), + RawDescriptor: file_rpc_keepalive_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -145,6 +161,7 @@ func file_rpc_keepalive_proto_init() { MessageInfos: file_rpc_keepalive_proto_msgTypes, }.Build() File_rpc_keepalive_proto = out.File + file_rpc_keepalive_proto_rawDesc = nil file_rpc_keepalive_proto_goTypes = nil file_rpc_keepalive_proto_depIdxs = nil } diff --git a/rpc/participant.pb.go b/rpc/participant.pb.go index c6ea4931d..9e9b31ed3 100644 --- a/rpc/participant.pb.go +++ b/rpc/participant.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/participant.proto package rpc @@ -26,7 +26,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_participant_proto protoreflect.FileDescriptor -var file_rpc_participant_proto_rawDesc = string([]byte{ +var file_rpc_participant_proto_rawDesc = []byte{ 0x0a, 0x15, 0x72, 0x70, 0x63, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, @@ -80,9 +79,9 @@ var file_rpc_participant_proto_rawDesc = string([]byte{ 0x18, 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} -var file_rpc_participant_proto_goTypes = []any{ +var file_rpc_participant_proto_goTypes = []interface{}{ (*livekit.RoomParticipantIdentity)(nil), // 0: livekit.RoomParticipantIdentity (*livekit.MuteRoomTrackRequest)(nil), // 1: livekit.MuteRoomTrackRequest (*livekit.UpdateParticipantRequest)(nil), // 2: livekit.UpdateParticipantRequest @@ -117,7 +116,7 @@ func file_rpc_participant_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_participant_proto_rawDesc), len(file_rpc_participant_proto_rawDesc)), + RawDescriptor: file_rpc_participant_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -127,6 +126,7 @@ func file_rpc_participant_proto_init() { DependencyIndexes: file_rpc_participant_proto_depIdxs, }.Build() File_rpc_participant_proto = out.File + file_rpc_participant_proto_rawDesc = nil file_rpc_participant_proto_goTypes = nil file_rpc_participant_proto_depIdxs = nil } diff --git a/rpc/room.pb.go b/rpc/room.pb.go index 2ab094e9a..970650d63 100644 --- a/rpc/room.pb.go +++ b/rpc/room.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/room.proto package rpc @@ -26,7 +26,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_room_proto protoreflect.FileDescriptor -var file_rpc_room_proto_rawDesc = string([]byte{ +var file_rpc_room_proto_rawDesc = []byte{ 0x0a, 0x0e, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, @@ -65,9 +64,9 @@ var file_rpc_room_proto_rawDesc = string([]byte{ 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} -var file_rpc_room_proto_goTypes = []any{ +var file_rpc_room_proto_goTypes = []interface{}{ (*livekit.DeleteRoomRequest)(nil), // 0: livekit.DeleteRoomRequest (*livekit.SendDataRequest)(nil), // 1: livekit.SendDataRequest (*livekit.UpdateRoomMetadataRequest)(nil), // 2: livekit.UpdateRoomMetadataRequest @@ -98,7 +97,7 @@ func file_rpc_room_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_room_proto_rawDesc), len(file_rpc_room_proto_rawDesc)), + RawDescriptor: file_rpc_room_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -108,6 +107,7 @@ func file_rpc_room_proto_init() { DependencyIndexes: file_rpc_room_proto_depIdxs, }.Build() File_rpc_room_proto = out.File + file_rpc_room_proto_rawDesc = nil file_rpc_room_proto_goTypes = nil file_rpc_room_proto_depIdxs = nil } diff --git a/rpc/roommanager.pb.go b/rpc/roommanager.pb.go index 00f5ad4b2..39bfec550 100644 --- a/rpc/roommanager.pb.go +++ b/rpc/roommanager.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/roommanager.proto package rpc @@ -26,7 +26,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_roommanager_proto protoreflect.FileDescriptor -var file_rpc_roommanager_proto_rawDesc = string([]byte{ +var file_rpc_roommanager_proto_rawDesc = []byte{ 0x0a, 0x15, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, @@ -54,9 +53,9 @@ var file_rpc_roommanager_proto_rawDesc = string([]byte{ 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} -var file_rpc_roommanager_proto_goTypes = []any{ +var file_rpc_roommanager_proto_goTypes = []interface{}{ (*livekit.CreateRoomRequest)(nil), // 0: livekit.CreateRoomRequest (*livekit.Room)(nil), // 1: livekit.Room } @@ -79,7 +78,7 @@ func file_rpc_roommanager_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_roommanager_proto_rawDesc), len(file_rpc_roommanager_proto_rawDesc)), + RawDescriptor: file_rpc_roommanager_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -89,6 +88,7 @@ func file_rpc_roommanager_proto_init() { DependencyIndexes: file_rpc_roommanager_proto_depIdxs, }.Build() File_rpc_roommanager_proto = out.File + file_rpc_roommanager_proto_rawDesc = nil file_rpc_roommanager_proto_goTypes = nil file_rpc_roommanager_proto_depIdxs = nil } diff --git a/rpc/signal.pb.go b/rpc/signal.pb.go index c053c38d0..2a4361367 100644 --- a/rpc/signal.pb.go +++ b/rpc/signal.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/signal.proto package rpc @@ -27,7 +27,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -38,20 +37,23 @@ const ( ) type RelaySignalRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - StartSession *livekit.StartSession `protobuf:"bytes,1,opt,name=start_session,json=startSession,proto3" json:"start_session,omitempty"` - Requests []*livekit.SignalRequest `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"` - Seq uint64 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"` - Close bool `protobuf:"varint,5,opt,name=close,proto3" json:"close,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartSession *livekit.StartSession `protobuf:"bytes,1,opt,name=start_session,json=startSession,proto3" json:"start_session,omitempty"` + Requests []*livekit.SignalRequest `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"` + Seq uint64 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"` + Close bool `protobuf:"varint,5,opt,name=close,proto3" json:"close,omitempty"` } func (x *RelaySignalRequest) Reset() { *x = RelaySignalRequest{} - mi := &file_rpc_signal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_signal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RelaySignalRequest) String() string { @@ -62,7 +64,7 @@ func (*RelaySignalRequest) ProtoMessage() {} func (x *RelaySignalRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_signal_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -106,19 +108,22 @@ func (x *RelaySignalRequest) GetClose() bool { } type RelaySignalResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Responses []*livekit.SignalResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"` - Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` - Close bool `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Responses []*livekit.SignalResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"` + Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` + Close bool `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"` } func (x *RelaySignalResponse) Reset() { *x = RelaySignalResponse{} - mi := &file_rpc_signal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_signal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RelaySignalResponse) String() string { @@ -129,7 +134,7 @@ func (*RelaySignalResponse) ProtoMessage() {} func (x *RelaySignalResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_signal_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -167,7 +172,7 @@ func (x *RelaySignalResponse) GetClose() bool { var File_rpc_signal_proto protoreflect.FileDescriptor -var file_rpc_signal_proto_rawDesc = string([]byte{ +var file_rpc_signal_proto_rawDesc = []byte{ 0x0a, 0x10, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, @@ -201,22 +206,22 @@ var file_rpc_signal_proto_rawDesc = string([]byte{ 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_signal_proto_rawDescOnce sync.Once - file_rpc_signal_proto_rawDescData []byte + file_rpc_signal_proto_rawDescData = file_rpc_signal_proto_rawDesc ) func file_rpc_signal_proto_rawDescGZIP() []byte { file_rpc_signal_proto_rawDescOnce.Do(func() { - file_rpc_signal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_signal_proto_rawDesc), len(file_rpc_signal_proto_rawDesc))) + file_rpc_signal_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_signal_proto_rawDescData) }) return file_rpc_signal_proto_rawDescData } var file_rpc_signal_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_rpc_signal_proto_goTypes = []any{ +var file_rpc_signal_proto_goTypes = []interface{}{ (*RelaySignalRequest)(nil), // 0: rpc.RelaySignalRequest (*RelaySignalResponse)(nil), // 1: rpc.RelaySignalResponse (*livekit.StartSession)(nil), // 2: livekit.StartSession @@ -241,11 +246,37 @@ func file_rpc_signal_proto_init() { if File_rpc_signal_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_signal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RelaySignalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_signal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RelaySignalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_signal_proto_rawDesc), len(file_rpc_signal_proto_rawDesc)), + RawDescriptor: file_rpc_signal_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -256,6 +287,7 @@ func file_rpc_signal_proto_init() { MessageInfos: file_rpc_signal_proto_msgTypes, }.Build() File_rpc_signal_proto = out.File + file_rpc_signal_proto_rawDesc = nil file_rpc_signal_proto_goTypes = nil file_rpc_signal_proto_depIdxs = nil } diff --git a/rpc/sip.pb.go b/rpc/sip.pb.go index b681bd7af..f86ece570 100644 --- a/rpc/sip.pb.go +++ b/rpc/sip.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/sip.proto package rpc @@ -29,7 +29,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -40,7 +39,10 @@ const ( ) type InternalCreateSIPParticipantRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Used in Cloud only ProjectId string `protobuf:"bytes,18,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` SipCallId string `protobuf:"bytes,13,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` @@ -60,7 +62,7 @@ type InternalCreateSIPParticipantRequest struct { ParticipantIdentity string `protobuf:"bytes,8,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` ParticipantName string `protobuf:"bytes,14,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` ParticipantMetadata string `protobuf:"bytes,15,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` - ParticipantAttributes map[string]string `protobuf:"bytes,17,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + ParticipantAttributes map[string]string `protobuf:"bytes,17,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // optional token that should be used when creating LiveKit participant Token string `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"` // optional websocket url that should be used when creating LiveKit participant @@ -70,11 +72,11 @@ type InternalCreateSIPParticipantRequest struct { Dtmf string `protobuf:"bytes,11,opt,name=dtmf,proto3" json:"dtmf,omitempty"` // Optionally play dialtone in the room as an audible indicator for existing participants PlayDialtone bool `protobuf:"varint,12,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` - Headers map[string]string `protobuf:"bytes,21,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - HeadersToAttributes map[string]string `protobuf:"bytes,22,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Headers map[string]string `protobuf:"bytes,21,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + HeadersToAttributes map[string]string `protobuf:"bytes,22,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,26,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + AttributesToHeaders map[string]string `protobuf:"bytes,26,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP headers from 200 OK to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -90,15 +92,15 @@ type InternalCreateSIPParticipantRequest struct { MediaEncryption livekit.SIPMediaEncryption `protobuf:"varint,28,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` // Wait for the answer for the call before returning. WaitUntilAnswered bool `protobuf:"varint,29,opt,name=wait_until_answered,json=waitUntilAnswered,proto3" json:"wait_until_answered,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *InternalCreateSIPParticipantRequest) Reset() { *x = InternalCreateSIPParticipantRequest{} - mi := &file_rpc_sip_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_sip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InternalCreateSIPParticipantRequest) String() string { @@ -109,7 +111,7 @@ func (*InternalCreateSIPParticipantRequest) ProtoMessage() {} func (x *InternalCreateSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -321,19 +323,22 @@ func (x *InternalCreateSIPParticipantRequest) GetWaitUntilAnswered() bool { } type InternalCreateSIPParticipantResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` - ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - SipCallId string `protobuf:"bytes,3,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` + ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + SipCallId string `protobuf:"bytes,3,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` } func (x *InternalCreateSIPParticipantResponse) Reset() { *x = InternalCreateSIPParticipantResponse{} - mi := &file_rpc_sip_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_sip_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InternalCreateSIPParticipantResponse) String() string { @@ -344,7 +349,7 @@ func (*InternalCreateSIPParticipantResponse) ProtoMessage() {} func (x *InternalCreateSIPParticipantResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -381,22 +386,25 @@ func (x *InternalCreateSIPParticipantResponse) GetSipCallId() string { } type InternalTransferSIPParticipantRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipCallId string `protobuf:"bytes,1,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` - TransferTo string `protobuf:"bytes,2,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipCallId string `protobuf:"bytes,1,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + TransferTo string `protobuf:"bytes,2,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` // Optionally play dialtone to the SIP participant as an audible indicator of being transferred PlayDialtone bool `protobuf:"varint,3,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` // Add the following headers to the REFER SIP request. - Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *InternalTransferSIPParticipantRequest) Reset() { *x = InternalTransferSIPParticipantRequest{} - mi := &file_rpc_sip_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_sip_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InternalTransferSIPParticipantRequest) String() string { @@ -407,7 +415,7 @@ func (*InternalTransferSIPParticipantRequest) ProtoMessage() {} func (x *InternalTransferSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -452,7 +460,7 @@ func (x *InternalTransferSIPParticipantRequest) GetHeaders() map[string]string { var File_rpc_sip_proto protoreflect.FileDescriptor -var file_rpc_sip_proto_rawDesc = string([]byte{ +var file_rpc_sip_proto_rawDesc = []byte{ 0x0a, 0x0d, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, @@ -616,22 +624,22 @@ var file_rpc_sip_proto_rawDesc = string([]byte{ 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_sip_proto_rawDescOnce sync.Once - file_rpc_sip_proto_rawDescData []byte + file_rpc_sip_proto_rawDescData = file_rpc_sip_proto_rawDesc ) func file_rpc_sip_proto_rawDescGZIP() []byte { file_rpc_sip_proto_rawDescOnce.Do(func() { - file_rpc_sip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc))) + file_rpc_sip_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_sip_proto_rawDescData) }) return file_rpc_sip_proto_rawDescData } var file_rpc_sip_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_rpc_sip_proto_goTypes = []any{ +var file_rpc_sip_proto_goTypes = []interface{}{ (*InternalCreateSIPParticipantRequest)(nil), // 0: rpc.InternalCreateSIPParticipantRequest (*InternalCreateSIPParticipantResponse)(nil), // 1: rpc.InternalCreateSIPParticipantResponse (*InternalTransferSIPParticipantRequest)(nil), // 2: rpc.InternalTransferSIPParticipantRequest @@ -675,11 +683,49 @@ func file_rpc_sip_proto_init() { if File_rpc_sip_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_sip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InternalCreateSIPParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_sip_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InternalCreateSIPParticipantResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_sip_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InternalTransferSIPParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc)), + RawDescriptor: file_rpc_sip_proto_rawDesc, NumEnums: 0, NumMessages: 8, NumExtensions: 0, @@ -690,6 +736,7 @@ func file_rpc_sip_proto_init() { MessageInfos: file_rpc_sip_proto_msgTypes, }.Build() File_rpc_sip_proto = out.File + file_rpc_sip_proto_rawDesc = nil file_rpc_sip_proto_goTypes = nil file_rpc_sip_proto_depIdxs = nil } From 44ff0057974b00aa94a5a020a610e3a4f0367375 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 11 Feb 2025 14:37:33 +0000 Subject: [PATCH 2/5] generated protobuf --- infra/link.pb.go | 156 +-- infra/link_grpc.pb.go | 77 +- livekit/livekit_agent.pb.go | 664 ++++------ livekit/livekit_agent_dispatch.pb.go | 249 ++-- livekit/livekit_analytics.pb.go | 581 +++------ livekit/livekit_egress.pb.go | 1547 ++++++++++-------------- livekit/livekit_ingress.pb.go | 527 +++----- livekit/livekit_internal.pb.go | 189 +-- livekit/livekit_metrics.pb.go | 144 +-- livekit/livekit_models.pb.go | 1591 ++++++++---------------- livekit/livekit_room.pb.go | 632 +++------- livekit/livekit_rtc.pb.go | 1674 +++++++++----------------- livekit/livekit_sip.pb.go | 1127 +++++------------ livekit/livekit_webhook.pb.go | 53 +- rpc/agent.pb.go | 172 +-- rpc/agent_dispatch.pb.go | 14 +- rpc/analytics.pb.go | 14 +- rpc/analytics_grpc.pb.go | 219 +--- rpc/egress.pb.go | 144 +-- rpc/ingress.pb.go | 269 ++--- rpc/io.pb.go | 342 ++---- rpc/keepalive.pb.go | 49 +- rpc/participant.pb.go | 14 +- rpc/room.pb.go | 14 +- rpc/roommanager.pb.go | 14 +- rpc/signal.pb.go | 88 +- rpc/sip.pb.go | 127 +- 27 files changed, 3455 insertions(+), 7236 deletions(-) diff --git a/infra/link.pb.go b/infra/link.pb.go index a20ba5777..2749fa266 100644 --- a/infra/link.pb.go +++ b/infra/link.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: infra/link.proto package infra @@ -26,6 +26,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -36,18 +37,16 @@ const ( ) type WatchLocalLinksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WatchLocalLinksRequest) Reset() { *x = WatchLocalLinksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_infra_link_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_infra_link_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WatchLocalLinksRequest) String() string { @@ -58,7 +57,7 @@ func (*WatchLocalLinksRequest) ProtoMessage() {} func (x *WatchLocalLinksRequest) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -74,26 +73,23 @@ func (*WatchLocalLinksRequest) Descriptor() ([]byte, []int) { } type WatchLocalLinksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` + RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` + Rtt int64 `protobuf:"varint,3,opt,name=rtt,proto3" json:"rtt,omitempty"` + Jitter int64 `protobuf:"varint,4,opt,name=jitter,proto3" json:"jitter,omitempty"` + PacketLoss float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3" json:"packet_loss,omitempty"` + Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` + LastRead *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_read,json=lastRead,proto3" json:"last_read,omitempty"` unknownFields protoimpl.UnknownFields - - LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` - RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` - Rtt int64 `protobuf:"varint,3,opt,name=rtt,proto3" json:"rtt,omitempty"` - Jitter int64 `protobuf:"varint,4,opt,name=jitter,proto3" json:"jitter,omitempty"` - PacketLoss float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3" json:"packet_loss,omitempty"` - Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` - LastRead *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_read,json=lastRead,proto3" json:"last_read,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WatchLocalLinksResponse) Reset() { *x = WatchLocalLinksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_infra_link_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_infra_link_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WatchLocalLinksResponse) String() string { @@ -104,7 +100,7 @@ func (*WatchLocalLinksResponse) ProtoMessage() {} func (x *WatchLocalLinksResponse) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -169,26 +165,23 @@ func (x *WatchLocalLinksResponse) GetLastRead() *timestamppb.Timestamp { } type SimulateLinkStateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` + RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` + Rtt *int64 `protobuf:"varint,3,opt,name=rtt,proto3,oneof" json:"rtt,omitempty"` + Jitter *int64 `protobuf:"varint,4,opt,name=jitter,proto3,oneof" json:"jitter,omitempty"` + PacketLoss *float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3,oneof" json:"packet_loss,omitempty"` + Disabled *bool `protobuf:"varint,6,opt,name=disabled,proto3,oneof" json:"disabled,omitempty"` + Timeout int64 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` unknownFields protoimpl.UnknownFields - - LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` - RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` - Rtt *int64 `protobuf:"varint,3,opt,name=rtt,proto3,oneof" json:"rtt,omitempty"` - Jitter *int64 `protobuf:"varint,4,opt,name=jitter,proto3,oneof" json:"jitter,omitempty"` - PacketLoss *float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3,oneof" json:"packet_loss,omitempty"` - Disabled *bool `protobuf:"varint,6,opt,name=disabled,proto3,oneof" json:"disabled,omitempty"` - Timeout int64 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SimulateLinkStateRequest) Reset() { *x = SimulateLinkStateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_infra_link_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_infra_link_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulateLinkStateRequest) String() string { @@ -199,7 +192,7 @@ func (*SimulateLinkStateRequest) ProtoMessage() {} func (x *SimulateLinkStateRequest) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -264,18 +257,16 @@ func (x *SimulateLinkStateRequest) GetTimeout() int64 { } type SimulateLinkStateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SimulateLinkStateResponse) Reset() { *x = SimulateLinkStateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_infra_link_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_infra_link_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulateLinkStateResponse) String() string { @@ -286,7 +277,7 @@ func (*SimulateLinkStateResponse) ProtoMessage() {} func (x *SimulateLinkStateResponse) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -303,7 +294,7 @@ func (*SimulateLinkStateResponse) Descriptor() ([]byte, []int) { var File_infra_link_proto protoreflect.FileDescriptor -var file_infra_link_proto_rawDesc = []byte{ +var file_infra_link_proto_rawDesc = string([]byte{ 0x0a, 0x10, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, @@ -360,22 +351,22 @@ var file_infra_link_proto_rawDesc = []byte{ 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_infra_link_proto_rawDescOnce sync.Once - file_infra_link_proto_rawDescData = file_infra_link_proto_rawDesc + file_infra_link_proto_rawDescData []byte ) func file_infra_link_proto_rawDescGZIP() []byte { file_infra_link_proto_rawDescOnce.Do(func() { - file_infra_link_proto_rawDescData = protoimpl.X.CompressGZIP(file_infra_link_proto_rawDescData) + file_infra_link_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_infra_link_proto_rawDesc), len(file_infra_link_proto_rawDesc))) }) return file_infra_link_proto_rawDescData } var file_infra_link_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_infra_link_proto_goTypes = []interface{}{ +var file_infra_link_proto_goTypes = []any{ (*WatchLocalLinksRequest)(nil), // 0: rpc.WatchLocalLinksRequest (*WatchLocalLinksResponse)(nil), // 1: rpc.WatchLocalLinksResponse (*SimulateLinkStateRequest)(nil), // 2: rpc.SimulateLinkStateRequest @@ -400,62 +391,12 @@ func file_infra_link_proto_init() { if File_infra_link_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_infra_link_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WatchLocalLinksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_infra_link_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WatchLocalLinksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_infra_link_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SimulateLinkStateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_infra_link_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SimulateLinkStateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_infra_link_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_infra_link_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_infra_link_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_infra_link_proto_rawDesc), len(file_infra_link_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -466,7 +407,6 @@ func file_infra_link_proto_init() { MessageInfos: file_infra_link_proto_msgTypes, }.Build() File_infra_link_proto = out.File - file_infra_link_proto_rawDesc = nil file_infra_link_proto_goTypes = nil file_infra_link_proto_depIdxs = nil } diff --git a/infra/link_grpc.pb.go b/infra/link_grpc.pb.go index 155837771..281cec953 100644 --- a/infra/link_grpc.pb.go +++ b/infra/link_grpc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.25.3 +// - protoc-gen-go-grpc v1.5.1 +// - protoc v4.23.4 // source: infra/link.proto package infra @@ -29,8 +29,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( Link_WatchLocalLinks_FullMethodName = "/rpc.Link/WatchLocalLinks" @@ -41,7 +41,7 @@ const ( // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type LinkClient interface { - WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (Link_WatchLocalLinksClient, error) + WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchLocalLinksResponse], error) SimulateLinkState(ctx context.Context, in *SimulateLinkStateRequest, opts ...grpc.CallOption) (*SimulateLinkStateResponse, error) } @@ -53,12 +53,13 @@ func NewLinkClient(cc grpc.ClientConnInterface) LinkClient { return &linkClient{cc} } -func (c *linkClient) WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (Link_WatchLocalLinksClient, error) { - stream, err := c.cc.NewStream(ctx, &Link_ServiceDesc.Streams[0], Link_WatchLocalLinks_FullMethodName, opts...) +func (c *linkClient) WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchLocalLinksResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &Link_ServiceDesc.Streams[0], Link_WatchLocalLinks_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &linkWatchLocalLinksClient{stream} + x := &grpc.GenericClientStream[WatchLocalLinksRequest, WatchLocalLinksResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -68,26 +69,13 @@ func (c *linkClient) WatchLocalLinks(ctx context.Context, in *WatchLocalLinksReq return x, nil } -type Link_WatchLocalLinksClient interface { - Recv() (*WatchLocalLinksResponse, error) - grpc.ClientStream -} - -type linkWatchLocalLinksClient struct { - grpc.ClientStream -} - -func (x *linkWatchLocalLinksClient) Recv() (*WatchLocalLinksResponse, error) { - m := new(WatchLocalLinksResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type Link_WatchLocalLinksClient = grpc.ServerStreamingClient[WatchLocalLinksResponse] func (c *linkClient) SimulateLinkState(ctx context.Context, in *SimulateLinkStateRequest, opts ...grpc.CallOption) (*SimulateLinkStateResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SimulateLinkStateResponse) - err := c.cc.Invoke(ctx, Link_SimulateLinkState_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Link_SimulateLinkState_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -96,24 +84,28 @@ func (c *linkClient) SimulateLinkState(ctx context.Context, in *SimulateLinkStat // LinkServer is the server API for Link service. // All implementations must embed UnimplementedLinkServer -// for forward compatibility +// for forward compatibility. type LinkServer interface { - WatchLocalLinks(*WatchLocalLinksRequest, Link_WatchLocalLinksServer) error + WatchLocalLinks(*WatchLocalLinksRequest, grpc.ServerStreamingServer[WatchLocalLinksResponse]) error SimulateLinkState(context.Context, *SimulateLinkStateRequest) (*SimulateLinkStateResponse, error) mustEmbedUnimplementedLinkServer() } -// UnimplementedLinkServer must be embedded to have forward compatible implementations. -type UnimplementedLinkServer struct { -} +// UnimplementedLinkServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedLinkServer struct{} -func (UnimplementedLinkServer) WatchLocalLinks(*WatchLocalLinksRequest, Link_WatchLocalLinksServer) error { +func (UnimplementedLinkServer) WatchLocalLinks(*WatchLocalLinksRequest, grpc.ServerStreamingServer[WatchLocalLinksResponse]) error { return status.Errorf(codes.Unimplemented, "method WatchLocalLinks not implemented") } func (UnimplementedLinkServer) SimulateLinkState(context.Context, *SimulateLinkStateRequest) (*SimulateLinkStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SimulateLinkState not implemented") } func (UnimplementedLinkServer) mustEmbedUnimplementedLinkServer() {} +func (UnimplementedLinkServer) testEmbeddedByValue() {} // UnsafeLinkServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to LinkServer will @@ -123,6 +115,13 @@ type UnsafeLinkServer interface { } func RegisterLinkServer(s grpc.ServiceRegistrar, srv LinkServer) { + // If the following call pancis, it indicates UnimplementedLinkServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&Link_ServiceDesc, srv) } @@ -131,21 +130,11 @@ func _Link_WatchLocalLinks_Handler(srv interface{}, stream grpc.ServerStream) er if err := stream.RecvMsg(m); err != nil { return err } - return srv.(LinkServer).WatchLocalLinks(m, &linkWatchLocalLinksServer{stream}) -} - -type Link_WatchLocalLinksServer interface { - Send(*WatchLocalLinksResponse) error - grpc.ServerStream + return srv.(LinkServer).WatchLocalLinks(m, &grpc.GenericServerStream[WatchLocalLinksRequest, WatchLocalLinksResponse]{ServerStream: stream}) } -type linkWatchLocalLinksServer struct { - grpc.ServerStream -} - -func (x *linkWatchLocalLinksServer) Send(m *WatchLocalLinksResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type Link_WatchLocalLinksServer = grpc.ServerStreamingServer[WatchLocalLinksResponse] func _Link_SimulateLinkState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SimulateLinkStateRequest) diff --git a/livekit/livekit_agent.pb.go b/livekit/livekit_agent.pb.go index b1937d49b..919ee8e7f 100644 --- a/livekit/livekit_agent.pb.go +++ b/livekit/livekit_agent.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_agent.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -179,29 +180,26 @@ func (JobStatus) EnumDescriptor() ([]byte, []int) { } type Job struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - DispatchId string `protobuf:"bytes,9,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` - Type JobType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` - Room *Room `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` - Participant *ParticipantInfo `protobuf:"bytes,4,opt,name=participant,proto3,oneof" json:"participant,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + DispatchId string `protobuf:"bytes,9,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` + Type JobType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` + Room *Room `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` + Participant *ParticipantInfo `protobuf:"bytes,4,opt,name=participant,proto3,oneof" json:"participant,omitempty"` // Deprecated: Marked as deprecated in livekit_agent.proto. - Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` - Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` - AgentName string `protobuf:"bytes,7,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - State *JobState `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"` + Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` + Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` + AgentName string `protobuf:"bytes,7,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + State *JobState `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Job) Reset() { *x = Job{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Job) String() string { @@ -212,7 +210,7 @@ func (*Job) ProtoMessage() {} func (x *Job) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -292,25 +290,22 @@ func (x *Job) GetState() *JobState { } type JobState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Status JobStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.JobStatus" json:"status,omitempty"` - Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - StartedAt int64 `protobuf:"varint,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,4,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - ParticipantIdentity string `protobuf:"bytes,6,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Status JobStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.JobStatus" json:"status,omitempty"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` + StartedAt int64 `protobuf:"varint,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,4,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + ParticipantIdentity string `protobuf:"bytes,6,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JobState) Reset() { *x = JobState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobState) String() string { @@ -321,7 +316,7 @@ func (*JobState) ProtoMessage() {} func (x *JobState) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -380,11 +375,8 @@ func (x *JobState) GetParticipantIdentity() string { // from Worker to Server type WorkerMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Message: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Message: // // *WorkerMessage_Register // *WorkerMessage_Availability @@ -393,16 +385,16 @@ type WorkerMessage struct { // *WorkerMessage_Ping // *WorkerMessage_SimulateJob // *WorkerMessage_MigrateJob - Message isWorkerMessage_Message `protobuf_oneof:"message"` + Message isWorkerMessage_Message `protobuf_oneof:"message"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WorkerMessage) Reset() { *x = WorkerMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorkerMessage) String() string { @@ -413,7 +405,7 @@ func (*WorkerMessage) ProtoMessage() {} func (x *WorkerMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -428,58 +420,72 @@ func (*WorkerMessage) Descriptor() ([]byte, []int) { return file_livekit_agent_proto_rawDescGZIP(), []int{2} } -func (m *WorkerMessage) GetMessage() isWorkerMessage_Message { - if m != nil { - return m.Message +func (x *WorkerMessage) GetMessage() isWorkerMessage_Message { + if x != nil { + return x.Message } return nil } func (x *WorkerMessage) GetRegister() *RegisterWorkerRequest { - if x, ok := x.GetMessage().(*WorkerMessage_Register); ok { - return x.Register + if x != nil { + if x, ok := x.Message.(*WorkerMessage_Register); ok { + return x.Register + } } return nil } func (x *WorkerMessage) GetAvailability() *AvailabilityResponse { - if x, ok := x.GetMessage().(*WorkerMessage_Availability); ok { - return x.Availability + if x != nil { + if x, ok := x.Message.(*WorkerMessage_Availability); ok { + return x.Availability + } } return nil } func (x *WorkerMessage) GetUpdateWorker() *UpdateWorkerStatus { - if x, ok := x.GetMessage().(*WorkerMessage_UpdateWorker); ok { - return x.UpdateWorker + if x != nil { + if x, ok := x.Message.(*WorkerMessage_UpdateWorker); ok { + return x.UpdateWorker + } } return nil } func (x *WorkerMessage) GetUpdateJob() *UpdateJobStatus { - if x, ok := x.GetMessage().(*WorkerMessage_UpdateJob); ok { - return x.UpdateJob + if x != nil { + if x, ok := x.Message.(*WorkerMessage_UpdateJob); ok { + return x.UpdateJob + } } return nil } func (x *WorkerMessage) GetPing() *WorkerPing { - if x, ok := x.GetMessage().(*WorkerMessage_Ping); ok { - return x.Ping + if x != nil { + if x, ok := x.Message.(*WorkerMessage_Ping); ok { + return x.Ping + } } return nil } func (x *WorkerMessage) GetSimulateJob() *SimulateJobRequest { - if x, ok := x.GetMessage().(*WorkerMessage_SimulateJob); ok { - return x.SimulateJob + if x != nil { + if x, ok := x.Message.(*WorkerMessage_SimulateJob); ok { + return x.SimulateJob + } } return nil } func (x *WorkerMessage) GetMigrateJob() *MigrateJobRequest { - if x, ok := x.GetMessage().(*WorkerMessage_MigrateJob); ok { - return x.MigrateJob + if x != nil { + if x, ok := x.Message.(*WorkerMessage_MigrateJob); ok { + return x.MigrateJob + } } return nil } @@ -536,27 +542,24 @@ func (*WorkerMessage_MigrateJob) isWorkerMessage_Message() {} // from Server to Worker type ServerMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Message: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Message: // // *ServerMessage_Register // *ServerMessage_Availability // *ServerMessage_Assignment // *ServerMessage_Termination // *ServerMessage_Pong - Message isServerMessage_Message `protobuf_oneof:"message"` + Message isServerMessage_Message `protobuf_oneof:"message"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerMessage) Reset() { *x = ServerMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServerMessage) String() string { @@ -567,7 +570,7 @@ func (*ServerMessage) ProtoMessage() {} func (x *ServerMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -582,44 +585,54 @@ func (*ServerMessage) Descriptor() ([]byte, []int) { return file_livekit_agent_proto_rawDescGZIP(), []int{3} } -func (m *ServerMessage) GetMessage() isServerMessage_Message { - if m != nil { - return m.Message +func (x *ServerMessage) GetMessage() isServerMessage_Message { + if x != nil { + return x.Message } return nil } func (x *ServerMessage) GetRegister() *RegisterWorkerResponse { - if x, ok := x.GetMessage().(*ServerMessage_Register); ok { - return x.Register + if x != nil { + if x, ok := x.Message.(*ServerMessage_Register); ok { + return x.Register + } } return nil } func (x *ServerMessage) GetAvailability() *AvailabilityRequest { - if x, ok := x.GetMessage().(*ServerMessage_Availability); ok { - return x.Availability + if x != nil { + if x, ok := x.Message.(*ServerMessage_Availability); ok { + return x.Availability + } } return nil } func (x *ServerMessage) GetAssignment() *JobAssignment { - if x, ok := x.GetMessage().(*ServerMessage_Assignment); ok { - return x.Assignment + if x != nil { + if x, ok := x.Message.(*ServerMessage_Assignment); ok { + return x.Assignment + } } return nil } func (x *ServerMessage) GetTermination() *JobTermination { - if x, ok := x.GetMessage().(*ServerMessage_Termination); ok { - return x.Termination + if x != nil { + if x, ok := x.Message.(*ServerMessage_Termination); ok { + return x.Termination + } } return nil } func (x *ServerMessage) GetPong() *WorkerPong { - if x, ok := x.GetMessage().(*ServerMessage_Pong); ok { - return x.Pong + if x != nil { + if x, ok := x.Message.(*ServerMessage_Pong); ok { + return x.Pong + } } return nil } @@ -661,22 +674,19 @@ func (*ServerMessage_Termination) isServerMessage_Message() {} func (*ServerMessage_Pong) isServerMessage_Message() {} type SimulateJobRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` + Room *Room `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` + Participant *ParticipantInfo `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` unknownFields protoimpl.UnknownFields - - Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` - Room *Room `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` - Participant *ParticipantInfo `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SimulateJobRequest) Reset() { *x = SimulateJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulateJobRequest) String() string { @@ -687,7 +697,7 @@ func (*SimulateJobRequest) ProtoMessage() {} func (x *SimulateJobRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -724,20 +734,17 @@ func (x *SimulateJobRequest) GetParticipant() *ParticipantInfo { } type WorkerPing struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorkerPing) Reset() { *x = WorkerPing{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorkerPing) String() string { @@ -748,7 +755,7 @@ func (*WorkerPing) ProtoMessage() {} func (x *WorkerPing) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -771,21 +778,18 @@ func (x *WorkerPing) GetTimestamp() int64 { } type WorkerPong struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + LastTimestamp int64 `protobuf:"varint,1,opt,name=last_timestamp,json=lastTimestamp,proto3" json:"last_timestamp,omitempty"` + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - LastTimestamp int64 `protobuf:"varint,1,opt,name=last_timestamp,json=lastTimestamp,proto3" json:"last_timestamp,omitempty"` - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorkerPong) Reset() { *x = WorkerPong{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorkerPong) String() string { @@ -796,7 +800,7 @@ func (*WorkerPong) ProtoMessage() {} func (x *WorkerPong) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -826,27 +830,24 @@ func (x *WorkerPong) GetTimestamp() int64 { } type RegisterWorkerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` - AgentName string `protobuf:"bytes,8,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` + AgentName string `protobuf:"bytes,8,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` // string worker_id = 2; Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // string name = 4 [deprecated = true]; PingInterval uint32 `protobuf:"varint,5,opt,name=ping_interval,json=pingInterval,proto3" json:"ping_interval,omitempty"` Namespace *string `protobuf:"bytes,6,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` AllowedPermissions *ParticipantPermission `protobuf:"bytes,7,opt,name=allowed_permissions,json=allowedPermissions,proto3" json:"allowed_permissions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RegisterWorkerRequest) Reset() { *x = RegisterWorkerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegisterWorkerRequest) String() string { @@ -857,7 +858,7 @@ func (*RegisterWorkerRequest) ProtoMessage() {} func (x *RegisterWorkerRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -915,21 +916,18 @@ func (x *RegisterWorkerRequest) GetAllowedPermissions() *ParticipantPermission { } type RegisterWorkerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` + ServerInfo *ServerInfo `protobuf:"bytes,3,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"` unknownFields protoimpl.UnknownFields - - WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` - ServerInfo *ServerInfo `protobuf:"bytes,3,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RegisterWorkerResponse) Reset() { *x = RegisterWorkerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegisterWorkerResponse) String() string { @@ -940,7 +938,7 @@ func (*RegisterWorkerResponse) ProtoMessage() {} func (x *RegisterWorkerResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -970,21 +968,18 @@ func (x *RegisterWorkerResponse) GetServerInfo() *ServerInfo { } type MigrateJobRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // string job_id = 1 [deprecated = true]; - JobIds []string `protobuf:"bytes,2,rep,name=job_ids,json=jobIds,proto3" json:"job_ids,omitempty"` + JobIds []string `protobuf:"bytes,2,rep,name=job_ids,json=jobIds,proto3" json:"job_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MigrateJobRequest) Reset() { *x = MigrateJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MigrateJobRequest) String() string { @@ -995,7 +990,7 @@ func (*MigrateJobRequest) ProtoMessage() {} func (x *MigrateJobRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1018,23 +1013,20 @@ func (x *MigrateJobRequest) GetJobIds() []string { } type AvailabilityRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` // True when the job was previously assigned to another worker but has been // migrated due to different reasons (e.g. worker failure, job migration) - Resuming bool `protobuf:"varint,2,opt,name=resuming,proto3" json:"resuming,omitempty"` + Resuming bool `protobuf:"varint,2,opt,name=resuming,proto3" json:"resuming,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AvailabilityRequest) Reset() { *x = AvailabilityRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AvailabilityRequest) String() string { @@ -1045,7 +1037,7 @@ func (*AvailabilityRequest) ProtoMessage() {} func (x *AvailabilityRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1075,26 +1067,23 @@ func (x *AvailabilityRequest) GetResuming() bool { } type AvailabilityResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - Available bool `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` - SupportsResume bool `protobuf:"varint,3,opt,name=supports_resume,json=supportsResume,proto3" json:"supports_resume,omitempty"` - ParticipantName string `protobuf:"bytes,4,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` - ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - ParticipantMetadata string `protobuf:"bytes,6,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` - ParticipantAttributes map[string]string `protobuf:"bytes,7,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + state protoimpl.MessageState `protogen:"open.v1"` + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + Available bool `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` + SupportsResume bool `protobuf:"varint,3,opt,name=supports_resume,json=supportsResume,proto3" json:"supports_resume,omitempty"` + ParticipantName string `protobuf:"bytes,4,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` + ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + ParticipantMetadata string `protobuf:"bytes,6,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` + ParticipantAttributes map[string]string `protobuf:"bytes,7,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AvailabilityResponse) Reset() { *x = AvailabilityResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AvailabilityResponse) String() string { @@ -1105,7 +1094,7 @@ func (*AvailabilityResponse) ProtoMessage() {} func (x *AvailabilityResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1170,24 +1159,21 @@ func (x *AvailabilityResponse) GetParticipantAttributes() map[string]string { } type UpdateJobStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // The worker can indicate the job end by either specifying SUCCESS or FAILED Status JobStatus `protobuf:"varint,2,opt,name=status,proto3,enum=livekit.JobStatus" json:"status,omitempty"` // metadata shown on the dashboard, useful for debugging - Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateJobStatus) Reset() { *x = UpdateJobStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateJobStatus) String() string { @@ -1198,7 +1184,7 @@ func (*UpdateJobStatus) ProtoMessage() {} func (x *UpdateJobStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1235,23 +1221,20 @@ func (x *UpdateJobStatus) GetError() string { } type UpdateWorkerStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Status *WorkerStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.WorkerStatus,oneof" json:"status,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Status *WorkerStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.WorkerStatus,oneof" json:"status,omitempty"` // optional string metadata = 2 [deprecated=true]; - Load float32 `protobuf:"fixed32,3,opt,name=load,proto3" json:"load,omitempty"` - JobCount uint32 `protobuf:"varint,4,opt,name=job_count,json=jobCount,proto3" json:"job_count,omitempty"` + Load float32 `protobuf:"fixed32,3,opt,name=load,proto3" json:"load,omitempty"` + JobCount uint32 `protobuf:"varint,4,opt,name=job_count,json=jobCount,proto3" json:"job_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateWorkerStatus) Reset() { *x = UpdateWorkerStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateWorkerStatus) String() string { @@ -1262,7 +1245,7 @@ func (*UpdateWorkerStatus) ProtoMessage() {} func (x *UpdateWorkerStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1299,22 +1282,19 @@ func (x *UpdateWorkerStatus) GetJobCount() uint32 { } type JobAssignment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` + Url *string `protobuf:"bytes,2,opt,name=url,proto3,oneof" json:"url,omitempty"` + Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` unknownFields protoimpl.UnknownFields - - Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` - Url *string `protobuf:"bytes,2,opt,name=url,proto3,oneof" json:"url,omitempty"` - Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobAssignment) Reset() { *x = JobAssignment{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobAssignment) String() string { @@ -1325,7 +1305,7 @@ func (*JobAssignment) ProtoMessage() {} func (x *JobAssignment) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1362,20 +1342,17 @@ func (x *JobAssignment) GetToken() string { } type JobTermination struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` unknownFields protoimpl.UnknownFields - - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobTermination) Reset() { *x = JobTermination{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobTermination) String() string { @@ -1386,7 +1363,7 @@ func (*JobTermination) ProtoMessage() {} func (x *JobTermination) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1410,7 +1387,7 @@ func (x *JobTermination) GetJobId() string { var File_livekit_agent_proto protoreflect.FileDescriptor -var file_livekit_agent_proto_rawDesc = []byte{ +var file_livekit_agent_proto_rawDesc = string([]byte{ 0x0a, 0x13, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, @@ -1617,23 +1594,23 @@ var file_livekit_agent_proto_rawDesc = []byte{ 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_agent_proto_rawDescOnce sync.Once - file_livekit_agent_proto_rawDescData = file_livekit_agent_proto_rawDesc + file_livekit_agent_proto_rawDescData []byte ) func file_livekit_agent_proto_rawDescGZIP() []byte { file_livekit_agent_proto_rawDescOnce.Do(func() { - file_livekit_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_agent_proto_rawDescData) + file_livekit_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_agent_proto_rawDesc), len(file_livekit_agent_proto_rawDesc))) }) return file_livekit_agent_proto_rawDescData } var file_livekit_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_livekit_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_livekit_agent_proto_goTypes = []interface{}{ +var file_livekit_agent_proto_goTypes = []any{ (JobType)(0), // 0: livekit.JobType (WorkerStatus)(0), // 1: livekit.WorkerStatus (JobStatus)(0), // 2: livekit.JobStatus @@ -1701,202 +1678,8 @@ func file_livekit_agent_proto_init() { return } file_livekit_models_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Job); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkerMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SimulateJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkerPing); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkerPong); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegisterWorkerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegisterWorkerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MigrateJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AvailabilityRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AvailabilityResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateJobStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateWorkerStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobAssignment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobTermination); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_agent_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_livekit_agent_proto_msgTypes[2].OneofWrappers = []interface{}{ + file_livekit_agent_proto_msgTypes[0].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[2].OneofWrappers = []any{ (*WorkerMessage_Register)(nil), (*WorkerMessage_Availability)(nil), (*WorkerMessage_UpdateWorker)(nil), @@ -1905,21 +1688,21 @@ func file_livekit_agent_proto_init() { (*WorkerMessage_SimulateJob)(nil), (*WorkerMessage_MigrateJob)(nil), } - file_livekit_agent_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_livekit_agent_proto_msgTypes[3].OneofWrappers = []any{ (*ServerMessage_Register)(nil), (*ServerMessage_Availability)(nil), (*ServerMessage_Assignment)(nil), (*ServerMessage_Termination)(nil), (*ServerMessage_Pong)(nil), } - file_livekit_agent_proto_msgTypes[7].OneofWrappers = []interface{}{} - file_livekit_agent_proto_msgTypes[13].OneofWrappers = []interface{}{} - file_livekit_agent_proto_msgTypes[14].OneofWrappers = []interface{}{} + file_livekit_agent_proto_msgTypes[7].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[13].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[14].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_agent_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_agent_proto_rawDesc), len(file_livekit_agent_proto_rawDesc)), NumEnums: 3, NumMessages: 17, NumExtensions: 0, @@ -1931,7 +1714,6 @@ func file_livekit_agent_proto_init() { MessageInfos: file_livekit_agent_proto_msgTypes, }.Build() File_livekit_agent_proto = out.File - file_livekit_agent_proto_rawDesc = nil file_livekit_agent_proto_goTypes = nil file_livekit_agent_proto_depIdxs = nil } diff --git a/livekit/livekit_agent_dispatch.pb.go b/livekit/livekit_agent_dispatch.pb.go index 8314df751..e0218f944 100644 --- a/livekit/livekit_agent_dispatch.pb.go +++ b/livekit/livekit_agent_dispatch.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_agent_dispatch.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -35,22 +36,19 @@ const ( ) type CreateAgentDispatchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` + Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` unknownFields protoimpl.UnknownFields - - AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` - Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateAgentDispatchRequest) Reset() { *x = CreateAgentDispatchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAgentDispatchRequest) String() string { @@ -61,7 +59,7 @@ func (*CreateAgentDispatchRequest) ProtoMessage() {} func (x *CreateAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -98,21 +96,18 @@ func (x *CreateAgentDispatchRequest) GetMetadata() string { } type RoomAgentDispatch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` unknownFields protoimpl.UnknownFields - - AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RoomAgentDispatch) Reset() { *x = RoomAgentDispatch{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomAgentDispatch) String() string { @@ -123,7 +118,7 @@ func (*RoomAgentDispatch) ProtoMessage() {} func (x *RoomAgentDispatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -153,21 +148,18 @@ func (x *RoomAgentDispatch) GetMetadata() string { } type DeleteAgentDispatchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` + Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields - - DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` - Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteAgentDispatchRequest) Reset() { *x = DeleteAgentDispatchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteAgentDispatchRequest) String() string { @@ -178,7 +170,7 @@ func (*DeleteAgentDispatchRequest) ProtoMessage() {} func (x *DeleteAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -208,21 +200,18 @@ func (x *DeleteAgentDispatchRequest) GetRoom() string { } type ListAgentDispatchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` // if set, only the dispatch whose id is given will be returned + Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` // name of the room to list agents for. Must be set. unknownFields protoimpl.UnknownFields - - DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` // if set, only the dispatch whose id is given will be returned - Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` // name of the room to list agents for. Must be set. + sizeCache protoimpl.SizeCache } func (x *ListAgentDispatchRequest) Reset() { *x = ListAgentDispatchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListAgentDispatchRequest) String() string { @@ -233,7 +222,7 @@ func (*ListAgentDispatchRequest) ProtoMessage() {} func (x *ListAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -263,20 +252,17 @@ func (x *ListAgentDispatchRequest) GetRoom() string { } type ListAgentDispatchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AgentDispatches []*AgentDispatch `protobuf:"bytes,1,rep,name=agent_dispatches,json=agentDispatches,proto3" json:"agent_dispatches,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + AgentDispatches []*AgentDispatch `protobuf:"bytes,1,rep,name=agent_dispatches,json=agentDispatches,proto3" json:"agent_dispatches,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAgentDispatchResponse) Reset() { *x = ListAgentDispatchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListAgentDispatchResponse) String() string { @@ -287,7 +273,7 @@ func (*ListAgentDispatchResponse) ProtoMessage() {} func (x *ListAgentDispatchResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -310,24 +296,21 @@ func (x *ListAgentDispatchResponse) GetAgentDispatches() []*AgentDispatch { } type AgentDispatch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + Room string `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` + Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` + State *AgentDispatchState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - Room string `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` - Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` - State *AgentDispatchState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AgentDispatch) Reset() { *x = AgentDispatch{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AgentDispatch) String() string { @@ -338,7 +321,7 @@ func (*AgentDispatch) ProtoMessage() {} func (x *AgentDispatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -389,24 +372,21 @@ func (x *AgentDispatch) GetState() *AgentDispatchState { } type AgentDispatchState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // For dispatches of tyoe JT_ROOM, there will be at most 1 job. // For dispatches of type JT_PUBLISHER, there will be 1 per publisher. - Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - DeletedAt int64 `protobuf:"varint,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` + Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + DeletedAt int64 `protobuf:"varint,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AgentDispatchState) Reset() { *x = AgentDispatchState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AgentDispatchState) String() string { @@ -417,7 +397,7 @@ func (*AgentDispatchState) ProtoMessage() {} func (x *AgentDispatchState) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -455,7 +435,7 @@ func (x *AgentDispatchState) GetDeletedAt() int64 { var File_livekit_agent_dispatch_proto protoreflect.FileDescriptor -var file_livekit_agent_dispatch_proto_rawDesc = []byte{ +var file_livekit_agent_dispatch_proto_rawDesc = string([]byte{ 0x0a, 0x1c, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x13, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, @@ -528,22 +508,22 @@ var file_livekit_agent_dispatch_proto_rawDesc = []byte{ 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_agent_dispatch_proto_rawDescOnce sync.Once - file_livekit_agent_dispatch_proto_rawDescData = file_livekit_agent_dispatch_proto_rawDesc + file_livekit_agent_dispatch_proto_rawDescData []byte ) func file_livekit_agent_dispatch_proto_rawDescGZIP() []byte { file_livekit_agent_dispatch_proto_rawDescOnce.Do(func() { - file_livekit_agent_dispatch_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_agent_dispatch_proto_rawDescData) + file_livekit_agent_dispatch_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_agent_dispatch_proto_rawDesc), len(file_livekit_agent_dispatch_proto_rawDesc))) }) return file_livekit_agent_dispatch_proto_rawDescData } var file_livekit_agent_dispatch_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_livekit_agent_dispatch_proto_goTypes = []interface{}{ +var file_livekit_agent_dispatch_proto_goTypes = []any{ (*CreateAgentDispatchRequest)(nil), // 0: livekit.CreateAgentDispatchRequest (*RoomAgentDispatch)(nil), // 1: livekit.RoomAgentDispatch (*DeleteAgentDispatchRequest)(nil), // 2: livekit.DeleteAgentDispatchRequest @@ -576,97 +556,11 @@ func file_livekit_agent_dispatch_proto_init() { return } file_livekit_agent_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_agent_dispatch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateAgentDispatchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_dispatch_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomAgentDispatch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_dispatch_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteAgentDispatchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_dispatch_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAgentDispatchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_dispatch_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAgentDispatchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_dispatch_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AgentDispatch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_dispatch_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AgentDispatchState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_agent_dispatch_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_agent_dispatch_proto_rawDesc), len(file_livekit_agent_dispatch_proto_rawDesc)), NumEnums: 0, NumMessages: 7, NumExtensions: 0, @@ -677,7 +571,6 @@ func file_livekit_agent_dispatch_proto_init() { MessageInfos: file_livekit_agent_dispatch_proto_msgTypes, }.Build() File_livekit_agent_dispatch_proto = out.File - file_livekit_agent_dispatch_proto_rawDesc = nil file_livekit_agent_dispatch_proto_goTypes = nil file_livekit_agent_dispatch_proto_depIdxs = nil } diff --git a/livekit/livekit_analytics.pb.go b/livekit/livekit_analytics.pb.go index 6a56aafb1..ad196bb60 100644 --- a/livekit/livekit_analytics.pb.go +++ b/livekit/livekit_analytics.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_analytics.proto package livekit @@ -26,6 +26,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -288,23 +289,20 @@ func (FeatureUsageInfo_Feature) EnumDescriptor() ([]byte, []int) { } type AnalyticsVideoLayer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Layer int32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` + Packets uint32 `protobuf:"varint,2,opt,name=packets,proto3" json:"packets,omitempty"` + Bytes uint64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"` + Frames uint32 `protobuf:"varint,4,opt,name=frames,proto3" json:"frames,omitempty"` unknownFields protoimpl.UnknownFields - - Layer int32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` - Packets uint32 `protobuf:"varint,2,opt,name=packets,proto3" json:"packets,omitempty"` - Bytes uint64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"` - Frames uint32 `protobuf:"varint,4,opt,name=frames,proto3" json:"frames,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AnalyticsVideoLayer) Reset() { *x = AnalyticsVideoLayer{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsVideoLayer) String() string { @@ -315,7 +313,7 @@ func (*AnalyticsVideoLayer) ProtoMessage() {} func (x *AnalyticsVideoLayer) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -359,10 +357,7 @@ func (x *AnalyticsVideoLayer) GetFrames() uint32 { } type AnalyticsStream struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Ssrc uint32 `protobuf:"varint,1,opt,name=ssrc,proto3" json:"ssrc,omitempty"` PrimaryPackets uint32 `protobuf:"varint,2,opt,name=primary_packets,json=primaryPackets,proto3" json:"primary_packets,omitempty"` PrimaryBytes uint64 `protobuf:"varint,3,opt,name=primary_bytes,json=primaryBytes,proto3" json:"primary_bytes,omitempty"` @@ -381,15 +376,15 @@ type AnalyticsStream struct { StartTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` PacketsOutOfOrder uint32 `protobuf:"varint,19,opt,name=packets_out_of_order,json=packetsOutOfOrder,proto3" json:"packets_out_of_order,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AnalyticsStream) Reset() { *x = AnalyticsStream{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsStream) String() string { @@ -400,7 +395,7 @@ func (*AnalyticsStream) ProtoMessage() {} func (x *AnalyticsStream) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -542,10 +537,7 @@ func (x *AnalyticsStream) GetPacketsOutOfOrder() uint32 { } type AnalyticsStat struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // unique id for this stat Id string `protobuf:"bytes,14,opt,name=id,proto3" json:"id,omitempty"` AnalyticsKey string `protobuf:"bytes,1,opt,name=analytics_key,json=analyticsKey,proto3" json:"analytics_key,omitempty"` @@ -561,15 +553,15 @@ type AnalyticsStat struct { Mime string `protobuf:"bytes,11,opt,name=mime,proto3" json:"mime,omitempty"` MinScore float32 `protobuf:"fixed32,12,opt,name=min_score,json=minScore,proto3" json:"min_score,omitempty"` MedianScore float32 `protobuf:"fixed32,13,opt,name=median_score,json=medianScore,proto3" json:"median_score,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AnalyticsStat) Reset() { *x = AnalyticsStat{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsStat) String() string { @@ -580,7 +572,7 @@ func (*AnalyticsStat) ProtoMessage() {} func (x *AnalyticsStat) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -694,20 +686,17 @@ func (x *AnalyticsStat) GetMedianScore() float32 { } type AnalyticsStats struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Stats []*AnalyticsStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` unknownFields protoimpl.UnknownFields - - Stats []*AnalyticsStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AnalyticsStats) Reset() { *x = AnalyticsStats{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsStats) String() string { @@ -718,7 +707,7 @@ func (*AnalyticsStats) ProtoMessage() {} func (x *AnalyticsStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -741,29 +730,26 @@ func (x *AnalyticsStats) GetStats() []*AnalyticsStat { } type AnalyticsClientMeta struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` - Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` - ClientAddr string `protobuf:"bytes,3,opt,name=client_addr,json=clientAddr,proto3" json:"client_addr,omitempty"` - ClientConnectTime uint32 `protobuf:"varint,4,opt,name=client_connect_time,json=clientConnectTime,proto3" json:"client_connect_time,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` + Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` + ClientAddr string `protobuf:"bytes,3,opt,name=client_addr,json=clientAddr,proto3" json:"client_addr,omitempty"` + ClientConnectTime uint32 `protobuf:"varint,4,opt,name=client_connect_time,json=clientConnectTime,proto3" json:"client_connect_time,omitempty"` // udp, tcp, turn ConnectionType string `protobuf:"bytes,5,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"` ReconnectReason ReconnectReason `protobuf:"varint,6,opt,name=reconnect_reason,json=reconnectReason,proto3,enum=livekit.ReconnectReason" json:"reconnect_reason,omitempty"` GeoHash *string `protobuf:"bytes,7,opt,name=geo_hash,json=geoHash,proto3,oneof" json:"geo_hash,omitempty"` Country *string `protobuf:"bytes,8,opt,name=country,proto3,oneof" json:"country,omitempty"` IspAsn *uint32 `protobuf:"varint,9,opt,name=isp_asn,json=ispAsn,proto3,oneof" json:"isp_asn,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AnalyticsClientMeta) Reset() { *x = AnalyticsClientMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsClientMeta) String() string { @@ -774,7 +760,7 @@ func (*AnalyticsClientMeta) ProtoMessage() {} func (x *AnalyticsClientMeta) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -853,10 +839,7 @@ func (x *AnalyticsClientMeta) GetIspAsn() uint32 { } type AnalyticsEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // unique id for this event Id string `protobuf:"bytes,25,opt,name=id,proto3" json:"id,omitempty"` Type AnalyticsEventType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.AnalyticsEventType" json:"type,omitempty"` @@ -890,15 +873,15 @@ type AnalyticsEvent struct { SipDispatchRule *SIPDispatchRuleInfo `protobuf:"bytes,32,opt,name=sip_dispatch_rule,json=sipDispatchRule,proto3" json:"sip_dispatch_rule,omitempty"` Report *ReportInfo `protobuf:"bytes,33,opt,name=report,proto3" json:"report,omitempty"` ApiCall *APICallInfo `protobuf:"bytes,34,opt,name=api_call,json=apiCall,proto3" json:"api_call,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AnalyticsEvent) Reset() { *x = AnalyticsEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsEvent) String() string { @@ -909,7 +892,7 @@ func (*AnalyticsEvent) ProtoMessage() {} func (x *AnalyticsEvent) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1149,20 +1132,17 @@ func (x *AnalyticsEvent) GetApiCall() *APICallInfo { } type AnalyticsEvents struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Events []*AnalyticsEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` unknownFields protoimpl.UnknownFields - - Events []*AnalyticsEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AnalyticsEvents) Reset() { *x = AnalyticsEvents{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsEvents) String() string { @@ -1173,7 +1153,7 @@ func (*AnalyticsEvents) ProtoMessage() {} func (x *AnalyticsEvents) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1196,24 +1176,21 @@ func (x *AnalyticsEvents) GetEvents() []*AnalyticsEvent { } type AnalyticsRoomParticipant struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + State ParticipantInfo_State `protobuf:"varint,4,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` + JoinedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - State ParticipantInfo_State `protobuf:"varint,4,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` - JoinedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AnalyticsRoomParticipant) Reset() { *x = AnalyticsRoomParticipant{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsRoomParticipant) String() string { @@ -1224,7 +1201,7 @@ func (*AnalyticsRoomParticipant) ProtoMessage() {} func (x *AnalyticsRoomParticipant) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1275,24 +1252,21 @@ func (x *AnalyticsRoomParticipant) GetJoinedAt() *timestamppb.Timestamp { } type AnalyticsRoom struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + Participants []*AnalyticsRoomParticipant `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - Participants []*AnalyticsRoomParticipant `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AnalyticsRoom) Reset() { *x = AnalyticsRoom{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsRoom) String() string { @@ -1303,7 +1277,7 @@ func (*AnalyticsRoom) ProtoMessage() {} func (x *AnalyticsRoom) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1354,23 +1328,20 @@ func (x *AnalyticsRoom) GetParticipants() []*AnalyticsRoomParticipant { } type AnalyticsNodeRooms struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` SequenceNumber uint64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Rooms []*AnalyticsRoom `protobuf:"bytes,4,rep,name=rooms,proto3" json:"rooms,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AnalyticsNodeRooms) Reset() { *x = AnalyticsNodeRooms{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsNodeRooms) String() string { @@ -1381,7 +1352,7 @@ func (*AnalyticsNodeRooms) ProtoMessage() {} func (x *AnalyticsNodeRooms) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1425,23 +1396,20 @@ func (x *AnalyticsNodeRooms) GetRooms() []*AnalyticsRoom { } type ReportInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Message: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Message: // // *ReportInfo_FeatureUsage - Message isReportInfo_Message `protobuf_oneof:"message"` + Message isReportInfo_Message `protobuf_oneof:"message"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReportInfo) Reset() { *x = ReportInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportInfo) String() string { @@ -1452,7 +1420,7 @@ func (*ReportInfo) ProtoMessage() {} func (x *ReportInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1467,16 +1435,18 @@ func (*ReportInfo) Descriptor() ([]byte, []int) { return file_livekit_analytics_proto_rawDescGZIP(), []int{10} } -func (m *ReportInfo) GetMessage() isReportInfo_Message { - if m != nil { - return m.Message +func (x *ReportInfo) GetMessage() isReportInfo_Message { + if x != nil { + return x.Message } return nil } func (x *ReportInfo) GetFeatureUsage() *FeatureUsageInfo { - if x, ok := x.GetMessage().(*ReportInfo_FeatureUsage); ok { - return x.FeatureUsage + if x != nil { + if x, ok := x.Message.(*ReportInfo_FeatureUsage); ok { + return x.FeatureUsage + } } return nil } @@ -1492,21 +1462,18 @@ type ReportInfo_FeatureUsage struct { func (*ReportInfo_FeatureUsage) isReportInfo_Message() {} type TimeRange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StartedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` unknownFields protoimpl.UnknownFields - - StartedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TimeRange) Reset() { *x = TimeRange{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimeRange) String() string { @@ -1517,7 +1484,7 @@ func (*TimeRange) ProtoMessage() {} func (x *TimeRange) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1547,10 +1514,7 @@ func (x *TimeRange) GetEndedAt() *timestamppb.Timestamp { } type FeatureUsageInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Feature FeatureUsageInfo_Feature `protobuf:"varint,1,opt,name=feature,proto3,enum=livekit.FeatureUsageInfo_Feature" json:"feature,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` @@ -1561,16 +1525,16 @@ type FeatureUsageInfo struct { // time ranges during which the feature was enabled. // for e. g., noise cancellation may not be applied when a media track is paused/muted, // this allows reporting only periods during which a feature is avtive. - TimeRanges []*TimeRange `protobuf:"bytes,8,rep,name=time_ranges,json=timeRanges,proto3" json:"time_ranges,omitempty"` + TimeRanges []*TimeRange `protobuf:"bytes,8,rep,name=time_ranges,json=timeRanges,proto3" json:"time_ranges,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FeatureUsageInfo) Reset() { *x = FeatureUsageInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FeatureUsageInfo) String() string { @@ -1581,7 +1545,7 @@ func (*FeatureUsageInfo) ProtoMessage() {} func (x *FeatureUsageInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1653,11 +1617,8 @@ func (x *FeatureUsageInfo) GetTimeRanges() []*TimeRange { } type APICallRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Message: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Message: // // *APICallRequest_CreateRoomRequest // *APICallRequest_ListRoomsRequest @@ -1669,16 +1630,16 @@ type APICallRequest struct { // *APICallRequest_UpdateSubscriptionsRequest // *APICallRequest_SendDataRequest // *APICallRequest_UpdateRoomMetadataRequest - Message isAPICallRequest_Message `protobuf_oneof:"message"` + Message isAPICallRequest_Message `protobuf_oneof:"message"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *APICallRequest) Reset() { *x = APICallRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *APICallRequest) String() string { @@ -1689,7 +1650,7 @@ func (*APICallRequest) ProtoMessage() {} func (x *APICallRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1704,79 +1665,99 @@ func (*APICallRequest) Descriptor() ([]byte, []int) { return file_livekit_analytics_proto_rawDescGZIP(), []int{13} } -func (m *APICallRequest) GetMessage() isAPICallRequest_Message { - if m != nil { - return m.Message +func (x *APICallRequest) GetMessage() isAPICallRequest_Message { + if x != nil { + return x.Message } return nil } func (x *APICallRequest) GetCreateRoomRequest() *CreateRoomRequest { - if x, ok := x.GetMessage().(*APICallRequest_CreateRoomRequest); ok { - return x.CreateRoomRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_CreateRoomRequest); ok { + return x.CreateRoomRequest + } } return nil } func (x *APICallRequest) GetListRoomsRequest() *ListRoomsRequest { - if x, ok := x.GetMessage().(*APICallRequest_ListRoomsRequest); ok { - return x.ListRoomsRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_ListRoomsRequest); ok { + return x.ListRoomsRequest + } } return nil } func (x *APICallRequest) GetDeleteRoomRequest() *DeleteRoomRequest { - if x, ok := x.GetMessage().(*APICallRequest_DeleteRoomRequest); ok { - return x.DeleteRoomRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_DeleteRoomRequest); ok { + return x.DeleteRoomRequest + } } return nil } func (x *APICallRequest) GetListParticipantsRequest() *ListParticipantsRequest { - if x, ok := x.GetMessage().(*APICallRequest_ListParticipantsRequest); ok { - return x.ListParticipantsRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_ListParticipantsRequest); ok { + return x.ListParticipantsRequest + } } return nil } func (x *APICallRequest) GetRoomParticipantIdentity() *RoomParticipantIdentity { - if x, ok := x.GetMessage().(*APICallRequest_RoomParticipantIdentity); ok { - return x.RoomParticipantIdentity + if x != nil { + if x, ok := x.Message.(*APICallRequest_RoomParticipantIdentity); ok { + return x.RoomParticipantIdentity + } } return nil } func (x *APICallRequest) GetMuteRoomTrackRequest() *MuteRoomTrackRequest { - if x, ok := x.GetMessage().(*APICallRequest_MuteRoomTrackRequest); ok { - return x.MuteRoomTrackRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_MuteRoomTrackRequest); ok { + return x.MuteRoomTrackRequest + } } return nil } func (x *APICallRequest) GetUpdateParticipantRequest() *UpdateParticipantRequest { - if x, ok := x.GetMessage().(*APICallRequest_UpdateParticipantRequest); ok { - return x.UpdateParticipantRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_UpdateParticipantRequest); ok { + return x.UpdateParticipantRequest + } } return nil } func (x *APICallRequest) GetUpdateSubscriptionsRequest() *UpdateSubscriptionsRequest { - if x, ok := x.GetMessage().(*APICallRequest_UpdateSubscriptionsRequest); ok { - return x.UpdateSubscriptionsRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_UpdateSubscriptionsRequest); ok { + return x.UpdateSubscriptionsRequest + } } return nil } func (x *APICallRequest) GetSendDataRequest() *SendDataRequest { - if x, ok := x.GetMessage().(*APICallRequest_SendDataRequest); ok { - return x.SendDataRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_SendDataRequest); ok { + return x.SendDataRequest + } } return nil } func (x *APICallRequest) GetUpdateRoomMetadataRequest() *UpdateRoomMetadataRequest { - if x, ok := x.GetMessage().(*APICallRequest_UpdateRoomMetadataRequest); ok { - return x.UpdateRoomMetadataRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_UpdateRoomMetadataRequest); ok { + return x.UpdateRoomMetadataRequest + } } return nil } @@ -1846,10 +1827,7 @@ func (*APICallRequest_SendDataRequest) isAPICallRequest_Message() {} func (*APICallRequest_UpdateRoomMetadataRequest) isAPICallRequest_Message() {} type APICallInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Request *APICallRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` @@ -1865,15 +1843,15 @@ type APICallInfo struct { TrackId string `protobuf:"bytes,13,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` StartedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` DurationNs int64 `protobuf:"varint,15,opt,name=duration_ns,json=durationNs,proto3" json:"duration_ns,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *APICallInfo) Reset() { *x = APICallInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *APICallInfo) String() string { @@ -1884,7 +1862,7 @@ func (*APICallInfo) ProtoMessage() {} func (x *APICallInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2006,7 +1984,7 @@ func (x *APICallInfo) GetDurationNs() int64 { var File_livekit_analytics_proto protoreflect.FileDescriptor -var file_livekit_analytics_proto_rawDesc = []byte{ +var file_livekit_analytics_proto_rawDesc = string([]byte{ 0x0a, 0x17, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -2459,23 +2437,23 @@ var file_livekit_analytics_proto_rawDesc = []byte{ 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_analytics_proto_rawDescOnce sync.Once - file_livekit_analytics_proto_rawDescData = file_livekit_analytics_proto_rawDesc + file_livekit_analytics_proto_rawDescData []byte ) func file_livekit_analytics_proto_rawDescGZIP() []byte { file_livekit_analytics_proto_rawDescOnce.Do(func() { - file_livekit_analytics_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_analytics_proto_rawDescData) + file_livekit_analytics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_analytics_proto_rawDesc), len(file_livekit_analytics_proto_rawDesc))) }) return file_livekit_analytics_proto_rawDescData } var file_livekit_analytics_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_livekit_analytics_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_livekit_analytics_proto_goTypes = []interface{}{ +var file_livekit_analytics_proto_goTypes = []any{ (StreamType)(0), // 0: livekit.StreamType (AnalyticsEventType)(0), // 1: livekit.AnalyticsEventType (FeatureUsageInfo_Feature)(0), // 2: livekit.FeatureUsageInfo.Feature @@ -2588,193 +2566,11 @@ func file_livekit_analytics_proto_init() { file_livekit_ingress_proto_init() file_livekit_sip_proto_init() file_livekit_room_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_analytics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsVideoLayer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsStream); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsStat); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsStats); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsClientMeta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsEvents); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsRoomParticipant); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsRoom); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsNodeRooms); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeRange); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FeatureUsageInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*APICallRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*APICallInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_analytics_proto_msgTypes[4].OneofWrappers = []interface{}{} - file_livekit_analytics_proto_msgTypes[10].OneofWrappers = []interface{}{ + file_livekit_analytics_proto_msgTypes[4].OneofWrappers = []any{} + file_livekit_analytics_proto_msgTypes[10].OneofWrappers = []any{ (*ReportInfo_FeatureUsage)(nil), } - file_livekit_analytics_proto_msgTypes[13].OneofWrappers = []interface{}{ + file_livekit_analytics_proto_msgTypes[13].OneofWrappers = []any{ (*APICallRequest_CreateRoomRequest)(nil), (*APICallRequest_ListRoomsRequest)(nil), (*APICallRequest_DeleteRoomRequest)(nil), @@ -2790,7 +2586,7 @@ func file_livekit_analytics_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_analytics_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_analytics_proto_rawDesc), len(file_livekit_analytics_proto_rawDesc)), NumEnums: 3, NumMessages: 15, NumExtensions: 0, @@ -2802,7 +2598,6 @@ func file_livekit_analytics_proto_init() { MessageInfos: file_livekit_analytics_proto_msgTypes, }.Build() File_livekit_analytics_proto = out.File - file_livekit_analytics_proto_rawDesc = nil file_livekit_analytics_proto_goTypes = nil file_livekit_analytics_proto_depIdxs = nil } diff --git a/livekit/livekit_egress.pb.go b/livekit/livekit_egress.pb.go index d3942cf0f..e8700a799 100644 --- a/livekit/livekit_egress.pb.go +++ b/livekit/livekit_egress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_egress.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -544,22 +545,19 @@ func (StreamInfo_Status) EnumDescriptor() ([]byte, []int) { // composite using a web browser type RoomCompositeEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` // (optional) - AudioOnly bool `protobuf:"varint,3,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` // (default false) - VideoOnly bool `protobuf:"varint,4,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` // (default false) - CustomBaseUrl string `protobuf:"bytes,5,opt,name=custom_base_url,json=customBaseUrl,proto3" json:"custom_base_url,omitempty"` // template base url (default https://recorder.livekit.io) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` // (optional) + AudioOnly bool `protobuf:"varint,3,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` // (default false) + VideoOnly bool `protobuf:"varint,4,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` // (default false) + CustomBaseUrl string `protobuf:"bytes,5,opt,name=custom_base_url,json=customBaseUrl,proto3" json:"custom_base_url,omitempty"` // template base url (default https://recorder.livekit.io) + // Types that are valid to be assigned to Output: // // *RoomCompositeEgressRequest_File // *RoomCompositeEgressRequest_Stream // *RoomCompositeEgressRequest_Segments Output isRoomCompositeEgressRequest_Output `protobuf_oneof:"output"` - // Types that are assignable to Options: + // Types that are valid to be assigned to Options: // // *RoomCompositeEgressRequest_Preset // *RoomCompositeEgressRequest_Advanced @@ -568,15 +566,15 @@ type RoomCompositeEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,12,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,13,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,14,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RoomCompositeEgressRequest) Reset() { *x = RoomCompositeEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomCompositeEgressRequest) String() string { @@ -587,7 +585,7 @@ func (*RoomCompositeEgressRequest) ProtoMessage() {} func (x *RoomCompositeEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -637,54 +635,64 @@ func (x *RoomCompositeEgressRequest) GetCustomBaseUrl() string { return "" } -func (m *RoomCompositeEgressRequest) GetOutput() isRoomCompositeEgressRequest_Output { - if m != nil { - return m.Output +func (x *RoomCompositeEgressRequest) GetOutput() isRoomCompositeEgressRequest_Output { + if x != nil { + return x.Output } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *RoomCompositeEgressRequest) GetFile() *EncodedFileOutput { - if x, ok := x.GetOutput().(*RoomCompositeEgressRequest_File); ok { - return x.File + if x != nil { + if x, ok := x.Output.(*RoomCompositeEgressRequest_File); ok { + return x.File + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *RoomCompositeEgressRequest) GetStream() *StreamOutput { - if x, ok := x.GetOutput().(*RoomCompositeEgressRequest_Stream); ok { - return x.Stream + if x != nil { + if x, ok := x.Output.(*RoomCompositeEgressRequest_Stream); ok { + return x.Stream + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *RoomCompositeEgressRequest) GetSegments() *SegmentedFileOutput { - if x, ok := x.GetOutput().(*RoomCompositeEgressRequest_Segments); ok { - return x.Segments + if x != nil { + if x, ok := x.Output.(*RoomCompositeEgressRequest_Segments); ok { + return x.Segments + } } return nil } -func (m *RoomCompositeEgressRequest) GetOptions() isRoomCompositeEgressRequest_Options { - if m != nil { - return m.Options +func (x *RoomCompositeEgressRequest) GetOptions() isRoomCompositeEgressRequest_Options { + if x != nil { + return x.Options } return nil } func (x *RoomCompositeEgressRequest) GetPreset() EncodingOptionsPreset { - if x, ok := x.GetOptions().(*RoomCompositeEgressRequest_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.Options.(*RoomCompositeEgressRequest_Preset); ok { + return x.Preset + } } return EncodingOptionsPreset_H264_720P_30 } func (x *RoomCompositeEgressRequest) GetAdvanced() *EncodingOptions { - if x, ok := x.GetOptions().(*RoomCompositeEgressRequest_Advanced); ok { - return x.Advanced + if x != nil { + if x, ok := x.Options.(*RoomCompositeEgressRequest_Advanced); ok { + return x.Advanced + } } return nil } @@ -760,21 +768,18 @@ func (*RoomCompositeEgressRequest_Advanced) isRoomCompositeEgressRequest_Options // record any website type WebEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - AudioOnly bool `protobuf:"varint,2,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` - VideoOnly bool `protobuf:"varint,3,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` - AwaitStartSignal bool `protobuf:"varint,12,opt,name=await_start_signal,json=awaitStartSignal,proto3" json:"await_start_signal,omitempty"` - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + AudioOnly bool `protobuf:"varint,2,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` + VideoOnly bool `protobuf:"varint,3,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` + AwaitStartSignal bool `protobuf:"varint,12,opt,name=await_start_signal,json=awaitStartSignal,proto3" json:"await_start_signal,omitempty"` + // Types that are valid to be assigned to Output: // // *WebEgressRequest_File // *WebEgressRequest_Stream // *WebEgressRequest_Segments Output isWebEgressRequest_Output `protobuf_oneof:"output"` - // Types that are assignable to Options: + // Types that are valid to be assigned to Options: // // *WebEgressRequest_Preset // *WebEgressRequest_Advanced @@ -783,15 +788,15 @@ type WebEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,10,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,11,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,13,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WebEgressRequest) Reset() { *x = WebEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WebEgressRequest) String() string { @@ -802,7 +807,7 @@ func (*WebEgressRequest) ProtoMessage() {} func (x *WebEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -845,54 +850,64 @@ func (x *WebEgressRequest) GetAwaitStartSignal() bool { return false } -func (m *WebEgressRequest) GetOutput() isWebEgressRequest_Output { - if m != nil { - return m.Output +func (x *WebEgressRequest) GetOutput() isWebEgressRequest_Output { + if x != nil { + return x.Output } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *WebEgressRequest) GetFile() *EncodedFileOutput { - if x, ok := x.GetOutput().(*WebEgressRequest_File); ok { - return x.File + if x != nil { + if x, ok := x.Output.(*WebEgressRequest_File); ok { + return x.File + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *WebEgressRequest) GetStream() *StreamOutput { - if x, ok := x.GetOutput().(*WebEgressRequest_Stream); ok { - return x.Stream + if x != nil { + if x, ok := x.Output.(*WebEgressRequest_Stream); ok { + return x.Stream + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *WebEgressRequest) GetSegments() *SegmentedFileOutput { - if x, ok := x.GetOutput().(*WebEgressRequest_Segments); ok { - return x.Segments + if x != nil { + if x, ok := x.Output.(*WebEgressRequest_Segments); ok { + return x.Segments + } } return nil } -func (m *WebEgressRequest) GetOptions() isWebEgressRequest_Options { - if m != nil { - return m.Options +func (x *WebEgressRequest) GetOptions() isWebEgressRequest_Options { + if x != nil { + return x.Options } return nil } func (x *WebEgressRequest) GetPreset() EncodingOptionsPreset { - if x, ok := x.GetOptions().(*WebEgressRequest_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.Options.(*WebEgressRequest_Preset); ok { + return x.Preset + } } return EncodingOptionsPreset_H264_720P_30 } func (x *WebEgressRequest) GetAdvanced() *EncodingOptions { - if x, ok := x.GetOptions().(*WebEgressRequest_Advanced); ok { - return x.Advanced + if x != nil { + if x, ok := x.Options.(*WebEgressRequest_Advanced); ok { + return x.Advanced + } } return nil } @@ -968,14 +983,11 @@ func (*WebEgressRequest_Advanced) isWebEgressRequest_Options() {} // record audio and video from a single participant type ParticipantEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // required - ScreenShare bool `protobuf:"varint,3,opt,name=screen_share,json=screenShare,proto3" json:"screen_share,omitempty"` // (default false) - // Types that are assignable to Options: + state protoimpl.MessageState `protogen:"open.v1"` + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // required + ScreenShare bool `protobuf:"varint,3,opt,name=screen_share,json=screenShare,proto3" json:"screen_share,omitempty"` // (default false) + // Types that are valid to be assigned to Options: // // *ParticipantEgressRequest_Preset // *ParticipantEgressRequest_Advanced @@ -984,15 +996,15 @@ type ParticipantEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,7,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,8,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,9,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ParticipantEgressRequest) Reset() { *x = ParticipantEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantEgressRequest) String() string { @@ -1003,7 +1015,7 @@ func (*ParticipantEgressRequest) ProtoMessage() {} func (x *ParticipantEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1039,23 +1051,27 @@ func (x *ParticipantEgressRequest) GetScreenShare() bool { return false } -func (m *ParticipantEgressRequest) GetOptions() isParticipantEgressRequest_Options { - if m != nil { - return m.Options +func (x *ParticipantEgressRequest) GetOptions() isParticipantEgressRequest_Options { + if x != nil { + return x.Options } return nil } func (x *ParticipantEgressRequest) GetPreset() EncodingOptionsPreset { - if x, ok := x.GetOptions().(*ParticipantEgressRequest_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.Options.(*ParticipantEgressRequest_Preset); ok { + return x.Preset + } } return EncodingOptionsPreset_H264_720P_30 } func (x *ParticipantEgressRequest) GetAdvanced() *EncodingOptions { - if x, ok := x.GetOptions().(*ParticipantEgressRequest_Advanced); ok { - return x.Advanced + if x != nil { + if x, ok := x.Options.(*ParticipantEgressRequest_Advanced); ok { + return x.Advanced + } } return nil } @@ -1106,20 +1122,17 @@ func (*ParticipantEgressRequest_Advanced) isParticipantEgressRequest_Options() { // containerize up to one audio and one video track type TrackCompositeEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - AudioTrackId string `protobuf:"bytes,2,opt,name=audio_track_id,json=audioTrackId,proto3" json:"audio_track_id,omitempty"` // (optional) - VideoTrackId string `protobuf:"bytes,3,opt,name=video_track_id,json=videoTrackId,proto3" json:"video_track_id,omitempty"` // (optional) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + AudioTrackId string `protobuf:"bytes,2,opt,name=audio_track_id,json=audioTrackId,proto3" json:"audio_track_id,omitempty"` // (optional) + VideoTrackId string `protobuf:"bytes,3,opt,name=video_track_id,json=videoTrackId,proto3" json:"video_track_id,omitempty"` // (optional) + // Types that are valid to be assigned to Output: // // *TrackCompositeEgressRequest_File // *TrackCompositeEgressRequest_Stream // *TrackCompositeEgressRequest_Segments Output isTrackCompositeEgressRequest_Output `protobuf_oneof:"output"` - // Types that are assignable to Options: + // Types that are valid to be assigned to Options: // // *TrackCompositeEgressRequest_Preset // *TrackCompositeEgressRequest_Advanced @@ -1128,15 +1141,15 @@ type TrackCompositeEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,12,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,13,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,14,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TrackCompositeEgressRequest) Reset() { *x = TrackCompositeEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackCompositeEgressRequest) String() string { @@ -1147,7 +1160,7 @@ func (*TrackCompositeEgressRequest) ProtoMessage() {} func (x *TrackCompositeEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1183,54 +1196,64 @@ func (x *TrackCompositeEgressRequest) GetVideoTrackId() string { return "" } -func (m *TrackCompositeEgressRequest) GetOutput() isTrackCompositeEgressRequest_Output { - if m != nil { - return m.Output +func (x *TrackCompositeEgressRequest) GetOutput() isTrackCompositeEgressRequest_Output { + if x != nil { + return x.Output } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *TrackCompositeEgressRequest) GetFile() *EncodedFileOutput { - if x, ok := x.GetOutput().(*TrackCompositeEgressRequest_File); ok { - return x.File + if x != nil { + if x, ok := x.Output.(*TrackCompositeEgressRequest_File); ok { + return x.File + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *TrackCompositeEgressRequest) GetStream() *StreamOutput { - if x, ok := x.GetOutput().(*TrackCompositeEgressRequest_Stream); ok { - return x.Stream + if x != nil { + if x, ok := x.Output.(*TrackCompositeEgressRequest_Stream); ok { + return x.Stream + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *TrackCompositeEgressRequest) GetSegments() *SegmentedFileOutput { - if x, ok := x.GetOutput().(*TrackCompositeEgressRequest_Segments); ok { - return x.Segments + if x != nil { + if x, ok := x.Output.(*TrackCompositeEgressRequest_Segments); ok { + return x.Segments + } } return nil } -func (m *TrackCompositeEgressRequest) GetOptions() isTrackCompositeEgressRequest_Options { - if m != nil { - return m.Options +func (x *TrackCompositeEgressRequest) GetOptions() isTrackCompositeEgressRequest_Options { + if x != nil { + return x.Options } return nil } func (x *TrackCompositeEgressRequest) GetPreset() EncodingOptionsPreset { - if x, ok := x.GetOptions().(*TrackCompositeEgressRequest_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.Options.(*TrackCompositeEgressRequest_Preset); ok { + return x.Preset + } } return EncodingOptionsPreset_H264_720P_30 } func (x *TrackCompositeEgressRequest) GetAdvanced() *EncodingOptions { - if x, ok := x.GetOptions().(*TrackCompositeEgressRequest_Advanced); ok { - return x.Advanced + if x != nil { + if x, ok := x.Options.(*TrackCompositeEgressRequest_Advanced); ok { + return x.Advanced + } } return nil } @@ -1306,26 +1329,23 @@ func (*TrackCompositeEgressRequest_Advanced) isTrackCompositeEgressRequest_Optio // record tracks individually, without transcoding type TrackEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - TrackId string `protobuf:"bytes,2,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` // required - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + TrackId string `protobuf:"bytes,2,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` // required + // Types that are valid to be assigned to Output: // // *TrackEgressRequest_File // *TrackEgressRequest_WebsocketUrl - Output isTrackEgressRequest_Output `protobuf_oneof:"output"` + Output isTrackEgressRequest_Output `protobuf_oneof:"output"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TrackEgressRequest) Reset() { *x = TrackEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackEgressRequest) String() string { @@ -1336,7 +1356,7 @@ func (*TrackEgressRequest) ProtoMessage() {} func (x *TrackEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1365,23 +1385,27 @@ func (x *TrackEgressRequest) GetTrackId() string { return "" } -func (m *TrackEgressRequest) GetOutput() isTrackEgressRequest_Output { - if m != nil { - return m.Output +func (x *TrackEgressRequest) GetOutput() isTrackEgressRequest_Output { + if x != nil { + return x.Output } return nil } func (x *TrackEgressRequest) GetFile() *DirectFileOutput { - if x, ok := x.GetOutput().(*TrackEgressRequest_File); ok { - return x.File + if x != nil { + if x, ok := x.Output.(*TrackEgressRequest_File); ok { + return x.File + } } return nil } func (x *TrackEgressRequest) GetWebsocketUrl() string { - if x, ok := x.GetOutput().(*TrackEgressRequest_WebsocketUrl); ok { - return x.WebsocketUrl + if x != nil { + if x, ok := x.Output.(*TrackEgressRequest_WebsocketUrl); ok { + return x.WebsocketUrl + } } return "" } @@ -1403,29 +1427,26 @@ func (*TrackEgressRequest_File) isTrackEgressRequest_Output() {} func (*TrackEgressRequest_WebsocketUrl) isTrackEgressRequest_Output() {} type EncodedFileOutput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FileType EncodedFileType `protobuf:"varint,1,opt,name=file_type,json=fileType,proto3,enum=livekit.EncodedFileType" json:"file_type,omitempty"` // (optional) - Filepath string `protobuf:"bytes,2,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {room_name}-{time}) - DisableManifest bool `protobuf:"varint,6,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + FileType EncodedFileType `protobuf:"varint,1,opt,name=file_type,json=fileType,proto3,enum=livekit.EncodedFileType" json:"file_type,omitempty"` // (optional) + Filepath string `protobuf:"bytes,2,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {room_name}-{time}) + DisableManifest bool `protobuf:"varint,6,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are valid to be assigned to Output: // // *EncodedFileOutput_S3 // *EncodedFileOutput_Gcp // *EncodedFileOutput_Azure // *EncodedFileOutput_AliOSS - Output isEncodedFileOutput_Output `protobuf_oneof:"output"` + Output isEncodedFileOutput_Output `protobuf_oneof:"output"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EncodedFileOutput) Reset() { *x = EncodedFileOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EncodedFileOutput) String() string { @@ -1436,7 +1457,7 @@ func (*EncodedFileOutput) ProtoMessage() {} func (x *EncodedFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1472,37 +1493,45 @@ func (x *EncodedFileOutput) GetDisableManifest() bool { return false } -func (m *EncodedFileOutput) GetOutput() isEncodedFileOutput_Output { - if m != nil { - return m.Output +func (x *EncodedFileOutput) GetOutput() isEncodedFileOutput_Output { + if x != nil { + return x.Output } return nil } func (x *EncodedFileOutput) GetS3() *S3Upload { - if x, ok := x.GetOutput().(*EncodedFileOutput_S3); ok { - return x.S3 + if x != nil { + if x, ok := x.Output.(*EncodedFileOutput_S3); ok { + return x.S3 + } } return nil } func (x *EncodedFileOutput) GetGcp() *GCPUpload { - if x, ok := x.GetOutput().(*EncodedFileOutput_Gcp); ok { - return x.Gcp + if x != nil { + if x, ok := x.Output.(*EncodedFileOutput_Gcp); ok { + return x.Gcp + } } return nil } func (x *EncodedFileOutput) GetAzure() *AzureBlobUpload { - if x, ok := x.GetOutput().(*EncodedFileOutput_Azure); ok { - return x.Azure + if x != nil { + if x, ok := x.Output.(*EncodedFileOutput_Azure); ok { + return x.Azure + } } return nil } func (x *EncodedFileOutput) GetAliOSS() *AliOSSUpload { - if x, ok := x.GetOutput().(*EncodedFileOutput_AliOSS); ok { - return x.AliOSS + if x != nil { + if x, ok := x.Output.(*EncodedFileOutput_AliOSS); ok { + return x.AliOSS + } } return nil } @@ -1537,33 +1566,30 @@ func (*EncodedFileOutput_AliOSS) isEncodedFileOutput_Output() {} // Used to generate HLS segments or other kind of segmented output type SegmentedFileOutput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Protocol SegmentedFileProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.SegmentedFileProtocol" json:"protocol,omitempty"` // (optional) - FilenamePrefix string `protobuf:"bytes,2,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) - PlaylistName string `protobuf:"bytes,3,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` // (optional) - LivePlaylistName string `protobuf:"bytes,11,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` // (optional, disabled if not provided). Path of a live playlist - SegmentDuration uint32 `protobuf:"varint,4,opt,name=segment_duration,json=segmentDuration,proto3" json:"segment_duration,omitempty"` // in seconds (optional) - FilenameSuffix SegmentedFileSuffix `protobuf:"varint,10,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.SegmentedFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) - DisableManifest bool `protobuf:"varint,8,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + Protocol SegmentedFileProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.SegmentedFileProtocol" json:"protocol,omitempty"` // (optional) + FilenamePrefix string `protobuf:"bytes,2,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) + PlaylistName string `protobuf:"bytes,3,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` // (optional) + LivePlaylistName string `protobuf:"bytes,11,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` // (optional, disabled if not provided). Path of a live playlist + SegmentDuration uint32 `protobuf:"varint,4,opt,name=segment_duration,json=segmentDuration,proto3" json:"segment_duration,omitempty"` // in seconds (optional) + FilenameSuffix SegmentedFileSuffix `protobuf:"varint,10,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.SegmentedFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) + DisableManifest bool `protobuf:"varint,8,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are valid to be assigned to Output: // // *SegmentedFileOutput_S3 // *SegmentedFileOutput_Gcp // *SegmentedFileOutput_Azure // *SegmentedFileOutput_AliOSS - Output isSegmentedFileOutput_Output `protobuf_oneof:"output"` + Output isSegmentedFileOutput_Output `protobuf_oneof:"output"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SegmentedFileOutput) Reset() { *x = SegmentedFileOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SegmentedFileOutput) String() string { @@ -1574,7 +1600,7 @@ func (*SegmentedFileOutput) ProtoMessage() {} func (x *SegmentedFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1638,37 +1664,45 @@ func (x *SegmentedFileOutput) GetDisableManifest() bool { return false } -func (m *SegmentedFileOutput) GetOutput() isSegmentedFileOutput_Output { - if m != nil { - return m.Output +func (x *SegmentedFileOutput) GetOutput() isSegmentedFileOutput_Output { + if x != nil { + return x.Output } return nil } func (x *SegmentedFileOutput) GetS3() *S3Upload { - if x, ok := x.GetOutput().(*SegmentedFileOutput_S3); ok { - return x.S3 + if x != nil { + if x, ok := x.Output.(*SegmentedFileOutput_S3); ok { + return x.S3 + } } return nil } func (x *SegmentedFileOutput) GetGcp() *GCPUpload { - if x, ok := x.GetOutput().(*SegmentedFileOutput_Gcp); ok { - return x.Gcp + if x != nil { + if x, ok := x.Output.(*SegmentedFileOutput_Gcp); ok { + return x.Gcp + } } return nil } func (x *SegmentedFileOutput) GetAzure() *AzureBlobUpload { - if x, ok := x.GetOutput().(*SegmentedFileOutput_Azure); ok { - return x.Azure + if x != nil { + if x, ok := x.Output.(*SegmentedFileOutput_Azure); ok { + return x.Azure + } } return nil } func (x *SegmentedFileOutput) GetAliOSS() *AliOSSUpload { - if x, ok := x.GetOutput().(*SegmentedFileOutput_AliOSS); ok { - return x.AliOSS + if x != nil { + if x, ok := x.Output.(*SegmentedFileOutput_AliOSS); ok { + return x.AliOSS + } } return nil } @@ -1702,28 +1736,25 @@ func (*SegmentedFileOutput_Azure) isSegmentedFileOutput_Output() {} func (*SegmentedFileOutput_AliOSS) isSegmentedFileOutput_Output() {} type DirectFileOutput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {track_id}-{time}) - DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {track_id}-{time}) + DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are valid to be assigned to Output: // // *DirectFileOutput_S3 // *DirectFileOutput_Gcp // *DirectFileOutput_Azure // *DirectFileOutput_AliOSS - Output isDirectFileOutput_Output `protobuf_oneof:"output"` + Output isDirectFileOutput_Output `protobuf_oneof:"output"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DirectFileOutput) Reset() { *x = DirectFileOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DirectFileOutput) String() string { @@ -1734,7 +1765,7 @@ func (*DirectFileOutput) ProtoMessage() {} func (x *DirectFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1763,37 +1794,45 @@ func (x *DirectFileOutput) GetDisableManifest() bool { return false } -func (m *DirectFileOutput) GetOutput() isDirectFileOutput_Output { - if m != nil { - return m.Output +func (x *DirectFileOutput) GetOutput() isDirectFileOutput_Output { + if x != nil { + return x.Output } return nil } func (x *DirectFileOutput) GetS3() *S3Upload { - if x, ok := x.GetOutput().(*DirectFileOutput_S3); ok { - return x.S3 + if x != nil { + if x, ok := x.Output.(*DirectFileOutput_S3); ok { + return x.S3 + } } return nil } func (x *DirectFileOutput) GetGcp() *GCPUpload { - if x, ok := x.GetOutput().(*DirectFileOutput_Gcp); ok { - return x.Gcp + if x != nil { + if x, ok := x.Output.(*DirectFileOutput_Gcp); ok { + return x.Gcp + } } return nil } func (x *DirectFileOutput) GetAzure() *AzureBlobUpload { - if x, ok := x.GetOutput().(*DirectFileOutput_Azure); ok { - return x.Azure + if x != nil { + if x, ok := x.Output.(*DirectFileOutput_Azure); ok { + return x.Azure + } } return nil } func (x *DirectFileOutput) GetAliOSS() *AliOSSUpload { - if x, ok := x.GetOutput().(*DirectFileOutput_AliOSS); ok { - return x.AliOSS + if x != nil { + if x, ok := x.Output.(*DirectFileOutput_AliOSS); ok { + return x.AliOSS + } } return nil } @@ -1827,33 +1866,30 @@ func (*DirectFileOutput_Azure) isDirectFileOutput_Output() {} func (*DirectFileOutput_AliOSS) isDirectFileOutput_Output() {} type ImageOutput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CaptureInterval uint32 `protobuf:"varint,1,opt,name=capture_interval,json=captureInterval,proto3" json:"capture_interval,omitempty"` // in seconds (required) - Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` // (optional, defaults to track width) - Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // (optional, defaults to track height) - FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) - FilenameSuffix ImageFileSuffix `protobuf:"varint,5,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.ImageFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) - ImageCodec ImageCodec `protobuf:"varint,6,opt,name=image_codec,json=imageCodec,proto3,enum=livekit.ImageCodec" json:"image_codec,omitempty"` // (optional) - DisableManifest bool `protobuf:"varint,7,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + CaptureInterval uint32 `protobuf:"varint,1,opt,name=capture_interval,json=captureInterval,proto3" json:"capture_interval,omitempty"` // in seconds (required) + Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` // (optional, defaults to track width) + Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // (optional, defaults to track height) + FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) + FilenameSuffix ImageFileSuffix `protobuf:"varint,5,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.ImageFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) + ImageCodec ImageCodec `protobuf:"varint,6,opt,name=image_codec,json=imageCodec,proto3,enum=livekit.ImageCodec" json:"image_codec,omitempty"` // (optional) + DisableManifest bool `protobuf:"varint,7,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are valid to be assigned to Output: // // *ImageOutput_S3 // *ImageOutput_Gcp // *ImageOutput_Azure // *ImageOutput_AliOSS - Output isImageOutput_Output `protobuf_oneof:"output"` + Output isImageOutput_Output `protobuf_oneof:"output"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ImageOutput) Reset() { *x = ImageOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImageOutput) String() string { @@ -1864,7 +1900,7 @@ func (*ImageOutput) ProtoMessage() {} func (x *ImageOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1928,37 +1964,45 @@ func (x *ImageOutput) GetDisableManifest() bool { return false } -func (m *ImageOutput) GetOutput() isImageOutput_Output { - if m != nil { - return m.Output +func (x *ImageOutput) GetOutput() isImageOutput_Output { + if x != nil { + return x.Output } return nil } func (x *ImageOutput) GetS3() *S3Upload { - if x, ok := x.GetOutput().(*ImageOutput_S3); ok { - return x.S3 + if x != nil { + if x, ok := x.Output.(*ImageOutput_S3); ok { + return x.S3 + } } return nil } func (x *ImageOutput) GetGcp() *GCPUpload { - if x, ok := x.GetOutput().(*ImageOutput_Gcp); ok { - return x.Gcp + if x != nil { + if x, ok := x.Output.(*ImageOutput_Gcp); ok { + return x.Gcp + } } return nil } func (x *ImageOutput) GetAzure() *AzureBlobUpload { - if x, ok := x.GetOutput().(*ImageOutput_Azure); ok { - return x.Azure + if x != nil { + if x, ok := x.Output.(*ImageOutput_Azure); ok { + return x.Azure + } } return nil } func (x *ImageOutput) GetAliOSS() *AliOSSUpload { - if x, ok := x.GetOutput().(*ImageOutput_AliOSS); ok { - return x.AliOSS + if x != nil { + if x, ok := x.Output.(*ImageOutput_AliOSS); ok { + return x.AliOSS + } } return nil } @@ -1992,30 +2036,27 @@ func (*ImageOutput_Azure) isImageOutput_Output() {} func (*ImageOutput_AliOSS) isImageOutput_Output() {} type S3Upload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` - Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` - SessionToken string `protobuf:"bytes,11,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` - Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` - Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` - ForcePathStyle bool `protobuf:"varint,6,opt,name=force_path_style,json=forcePathStyle,proto3" json:"force_path_style,omitempty"` - Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Tagging string `protobuf:"bytes,8,opt,name=tagging,proto3" json:"tagging,omitempty"` - ContentDisposition string `protobuf:"bytes,9,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"` // Content-Disposition header - Proxy *ProxyConfig `protobuf:"bytes,10,opt,name=proxy,proto3" json:"proxy,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` + Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + SessionToken string `protobuf:"bytes,11,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` + Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` + Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` + ForcePathStyle bool `protobuf:"varint,6,opt,name=force_path_style,json=forcePathStyle,proto3" json:"force_path_style,omitempty"` + Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Tagging string `protobuf:"bytes,8,opt,name=tagging,proto3" json:"tagging,omitempty"` + ContentDisposition string `protobuf:"bytes,9,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"` // Content-Disposition header + Proxy *ProxyConfig `protobuf:"bytes,10,opt,name=proxy,proto3" json:"proxy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *S3Upload) Reset() { *x = S3Upload{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *S3Upload) String() string { @@ -2026,7 +2067,7 @@ func (*S3Upload) ProtoMessage() {} func (x *S3Upload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2119,23 +2160,20 @@ func (x *S3Upload) GetProxy() *ProxyConfig { } type GCPUpload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // service account credentials serialized in JSON "credentials.json" - Credentials string `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"` - Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` - Proxy *ProxyConfig `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty"` + Credentials string `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"` + Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` + Proxy *ProxyConfig `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GCPUpload) Reset() { *x = GCPUpload{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GCPUpload) String() string { @@ -2146,7 +2184,7 @@ func (*GCPUpload) ProtoMessage() {} func (x *GCPUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2183,22 +2221,19 @@ func (x *GCPUpload) GetProxy() *ProxyConfig { } type AzureBlobUpload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` + AccountKey string `protobuf:"bytes,2,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"` + ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` unknownFields protoimpl.UnknownFields - - AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` - AccountKey string `protobuf:"bytes,2,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"` - ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AzureBlobUpload) Reset() { *x = AzureBlobUpload{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AzureBlobUpload) String() string { @@ -2209,7 +2244,7 @@ func (*AzureBlobUpload) ProtoMessage() {} func (x *AzureBlobUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2246,24 +2281,21 @@ func (x *AzureBlobUpload) GetContainerName() string { } type AliOSSUpload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` + Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` + Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` unknownFields protoimpl.UnknownFields - - AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` - Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` - Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` - Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AliOSSUpload) Reset() { *x = AliOSSUpload{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AliOSSUpload) String() string { @@ -2274,7 +2306,7 @@ func (*AliOSSUpload) ProtoMessage() {} func (x *AliOSSUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2325,22 +2357,19 @@ func (x *AliOSSUpload) GetBucket() string { } type ProxyConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProxyConfig) Reset() { *x = ProxyConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProxyConfig) String() string { @@ -2351,7 +2380,7 @@ func (*ProxyConfig) ProtoMessage() {} func (x *ProxyConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2388,21 +2417,18 @@ func (x *ProxyConfig) GetPassword() string { } type StreamOutput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Protocol StreamProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.StreamProtocol" json:"protocol,omitempty"` // required + Urls []string `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"` // required unknownFields protoimpl.UnknownFields - - Protocol StreamProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.StreamProtocol" json:"protocol,omitempty"` // required - Urls []string `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"` // required + sizeCache protoimpl.SizeCache } func (x *StreamOutput) Reset() { *x = StreamOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamOutput) String() string { @@ -2413,7 +2439,7 @@ func (*StreamOutput) ProtoMessage() {} func (x *StreamOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2443,32 +2469,29 @@ func (x *StreamOutput) GetUrls() []string { } type EncodingOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` // (default 1920) - Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // (default 1080) - Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // (default 24) - Framerate int32 `protobuf:"varint,4,opt,name=framerate,proto3" json:"framerate,omitempty"` // (default 30) - AudioCodec AudioCodec `protobuf:"varint,5,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` // (default OPUS) - AudioBitrate int32 `protobuf:"varint,6,opt,name=audio_bitrate,json=audioBitrate,proto3" json:"audio_bitrate,omitempty"` // (default 128) - AudioQuality int32 `protobuf:"varint,11,opt,name=audio_quality,json=audioQuality,proto3" json:"audio_quality,omitempty"` // quality setting on audio encoder - AudioFrequency int32 `protobuf:"varint,7,opt,name=audio_frequency,json=audioFrequency,proto3" json:"audio_frequency,omitempty"` // (default 44100) - AudioMixing AudioMixing `protobuf:"varint,13,opt,name=audio_mixing,json=audioMixing,proto3,enum=livekit.AudioMixing" json:"audio_mixing,omitempty"` // (default DEFAULT_MIXING) - VideoCodec VideoCodec `protobuf:"varint,8,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` // (default H264_MAIN) - VideoBitrate int32 `protobuf:"varint,9,opt,name=video_bitrate,json=videoBitrate,proto3" json:"video_bitrate,omitempty"` // (default 4500) - VideoQuality int32 `protobuf:"varint,12,opt,name=video_quality,json=videoQuality,proto3" json:"video_quality,omitempty"` // quality setting on video encoder - KeyFrameInterval float64 `protobuf:"fixed64,10,opt,name=key_frame_interval,json=keyFrameInterval,proto3" json:"key_frame_interval,omitempty"` // in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) + state protoimpl.MessageState `protogen:"open.v1"` + Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` // (default 1920) + Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // (default 1080) + Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // (default 24) + Framerate int32 `protobuf:"varint,4,opt,name=framerate,proto3" json:"framerate,omitempty"` // (default 30) + AudioCodec AudioCodec `protobuf:"varint,5,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` // (default OPUS) + AudioBitrate int32 `protobuf:"varint,6,opt,name=audio_bitrate,json=audioBitrate,proto3" json:"audio_bitrate,omitempty"` // (default 128) + AudioQuality int32 `protobuf:"varint,11,opt,name=audio_quality,json=audioQuality,proto3" json:"audio_quality,omitempty"` // quality setting on audio encoder + AudioFrequency int32 `protobuf:"varint,7,opt,name=audio_frequency,json=audioFrequency,proto3" json:"audio_frequency,omitempty"` // (default 44100) + AudioMixing AudioMixing `protobuf:"varint,13,opt,name=audio_mixing,json=audioMixing,proto3,enum=livekit.AudioMixing" json:"audio_mixing,omitempty"` // (default DEFAULT_MIXING) + VideoCodec VideoCodec `protobuf:"varint,8,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` // (default H264_MAIN) + VideoBitrate int32 `protobuf:"varint,9,opt,name=video_bitrate,json=videoBitrate,proto3" json:"video_bitrate,omitempty"` // (default 4500) + VideoQuality int32 `protobuf:"varint,12,opt,name=video_quality,json=videoQuality,proto3" json:"video_quality,omitempty"` // quality setting on video encoder + KeyFrameInterval float64 `protobuf:"fixed64,10,opt,name=key_frame_interval,json=keyFrameInterval,proto3" json:"key_frame_interval,omitempty"` // in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EncodingOptions) Reset() { *x = EncodingOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EncodingOptions) String() string { @@ -2479,7 +2502,7 @@ func (*EncodingOptions) ProtoMessage() {} func (x *EncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2586,21 +2609,18 @@ func (x *EncodingOptions) GetKeyFrameInterval() float64 { } type UpdateLayoutRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` unknownFields protoimpl.UnknownFields - - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateLayoutRequest) Reset() { *x = UpdateLayoutRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateLayoutRequest) String() string { @@ -2611,7 +2631,7 @@ func (*UpdateLayoutRequest) ProtoMessage() {} func (x *UpdateLayoutRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2641,22 +2661,19 @@ func (x *UpdateLayoutRequest) GetLayout() string { } type UpdateStreamRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - AddOutputUrls []string `protobuf:"bytes,2,rep,name=add_output_urls,json=addOutputUrls,proto3" json:"add_output_urls,omitempty"` - RemoveOutputUrls []string `protobuf:"bytes,3,rep,name=remove_output_urls,json=removeOutputUrls,proto3" json:"remove_output_urls,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + AddOutputUrls []string `protobuf:"bytes,2,rep,name=add_output_urls,json=addOutputUrls,proto3" json:"add_output_urls,omitempty"` + RemoveOutputUrls []string `protobuf:"bytes,3,rep,name=remove_output_urls,json=removeOutputUrls,proto3" json:"remove_output_urls,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateStreamRequest) Reset() { *x = UpdateStreamRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateStreamRequest) String() string { @@ -2667,7 +2684,7 @@ func (*UpdateStreamRequest) ProtoMessage() {} func (x *UpdateStreamRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2704,22 +2721,19 @@ func (x *UpdateStreamRequest) GetRemoveOutputUrls() []string { } type ListEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) + EgressId string `protobuf:"bytes,2,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // (optional, filter by egress ID) + Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` // (optional, list active egress only) unknownFields protoimpl.UnknownFields - - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) - EgressId string `protobuf:"bytes,2,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // (optional, filter by egress ID) - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` // (optional, list active egress only) + sizeCache protoimpl.SizeCache } func (x *ListEgressRequest) Reset() { *x = ListEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListEgressRequest) String() string { @@ -2730,7 +2744,7 @@ func (*ListEgressRequest) ProtoMessage() {} func (x *ListEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2767,20 +2781,17 @@ func (x *ListEgressRequest) GetActive() bool { } type ListEgressResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*EgressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*EgressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListEgressResponse) Reset() { *x = ListEgressResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListEgressResponse) String() string { @@ -2791,7 +2802,7 @@ func (*ListEgressResponse) ProtoMessage() {} func (x *ListEgressResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2814,20 +2825,17 @@ func (x *ListEgressResponse) GetItems() []*EgressInfo { } type StopEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` unknownFields protoimpl.UnknownFields - - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StopEgressRequest) Reset() { *x = StopEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopEgressRequest) String() string { @@ -2838,7 +2846,7 @@ func (*StopEgressRequest) ProtoMessage() {} func (x *StopEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2861,22 +2869,19 @@ func (x *StopEgressRequest) GetEgressId() string { } type EgressInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` - RoomName string `protobuf:"bytes,13,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - SourceType EgressSourceType `protobuf:"varint,26,opt,name=source_type,json=sourceType,proto3,enum=livekit.EgressSourceType" json:"source_type,omitempty"` - Status EgressStatus `protobuf:"varint,3,opt,name=status,proto3,enum=livekit.EgressStatus" json:"status,omitempty"` - StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,18,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Details string `protobuf:"bytes,21,opt,name=details,proto3" json:"details,omitempty"` - Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` - ErrorCode int32 `protobuf:"varint,22,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` - // Types that are assignable to Request: + state protoimpl.MessageState `protogen:"open.v1"` + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` + RoomName string `protobuf:"bytes,13,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + SourceType EgressSourceType `protobuf:"varint,26,opt,name=source_type,json=sourceType,proto3,enum=livekit.EgressSourceType" json:"source_type,omitempty"` + Status EgressStatus `protobuf:"varint,3,opt,name=status,proto3,enum=livekit.EgressStatus" json:"status,omitempty"` + StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,18,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Details string `protobuf:"bytes,21,opt,name=details,proto3" json:"details,omitempty"` + Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` + ErrorCode int32 `protobuf:"varint,22,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` + // Types that are valid to be assigned to Request: // // *EgressInfo_RoomComposite // *EgressInfo_Web @@ -2884,7 +2889,7 @@ type EgressInfo struct { // *EgressInfo_TrackComposite // *EgressInfo_Track Request isEgressInfo_Request `protobuf_oneof:"request"` - // Types that are assignable to Result: + // Types that are valid to be assigned to Result: // // *EgressInfo_Stream // *EgressInfo_File @@ -2896,15 +2901,15 @@ type EgressInfo struct { ImageResults []*ImagesInfo `protobuf:"bytes,20,rep,name=image_results,json=imageResults,proto3" json:"image_results,omitempty"` ManifestLocation string `protobuf:"bytes,23,opt,name=manifest_location,json=manifestLocation,proto3" json:"manifest_location,omitempty"` BackupStorageUsed bool `protobuf:"varint,25,opt,name=backup_storage_used,json=backupStorageUsed,proto3" json:"backup_storage_used,omitempty"` // next ID: 27 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EgressInfo) Reset() { *x = EgressInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EgressInfo) String() string { @@ -2915,7 +2920,7 @@ func (*EgressInfo) ProtoMessage() {} func (x *EgressInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3007,75 +3012,91 @@ func (x *EgressInfo) GetErrorCode() int32 { return 0 } -func (m *EgressInfo) GetRequest() isEgressInfo_Request { - if m != nil { - return m.Request +func (x *EgressInfo) GetRequest() isEgressInfo_Request { + if x != nil { + return x.Request } return nil } func (x *EgressInfo) GetRoomComposite() *RoomCompositeEgressRequest { - if x, ok := x.GetRequest().(*EgressInfo_RoomComposite); ok { - return x.RoomComposite + if x != nil { + if x, ok := x.Request.(*EgressInfo_RoomComposite); ok { + return x.RoomComposite + } } return nil } func (x *EgressInfo) GetWeb() *WebEgressRequest { - if x, ok := x.GetRequest().(*EgressInfo_Web); ok { - return x.Web + if x != nil { + if x, ok := x.Request.(*EgressInfo_Web); ok { + return x.Web + } } return nil } func (x *EgressInfo) GetParticipant() *ParticipantEgressRequest { - if x, ok := x.GetRequest().(*EgressInfo_Participant); ok { - return x.Participant + if x != nil { + if x, ok := x.Request.(*EgressInfo_Participant); ok { + return x.Participant + } } return nil } func (x *EgressInfo) GetTrackComposite() *TrackCompositeEgressRequest { - if x, ok := x.GetRequest().(*EgressInfo_TrackComposite); ok { - return x.TrackComposite + if x != nil { + if x, ok := x.Request.(*EgressInfo_TrackComposite); ok { + return x.TrackComposite + } } return nil } func (x *EgressInfo) GetTrack() *TrackEgressRequest { - if x, ok := x.GetRequest().(*EgressInfo_Track); ok { - return x.Track + if x != nil { + if x, ok := x.Request.(*EgressInfo_Track); ok { + return x.Track + } } return nil } -func (m *EgressInfo) GetResult() isEgressInfo_Result { - if m != nil { - return m.Result +func (x *EgressInfo) GetResult() isEgressInfo_Result { + if x != nil { + return x.Result } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *EgressInfo) GetStream() *StreamInfoList { - if x, ok := x.GetResult().(*EgressInfo_Stream); ok { - return x.Stream + if x != nil { + if x, ok := x.Result.(*EgressInfo_Stream); ok { + return x.Stream + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *EgressInfo) GetFile() *FileInfo { - if x, ok := x.GetResult().(*EgressInfo_File); ok { - return x.File + if x != nil { + if x, ok := x.Result.(*EgressInfo_File); ok { + return x.File + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *EgressInfo) GetSegments() *SegmentsInfo { - if x, ok := x.GetResult().(*EgressInfo_Segments); ok { - return x.Segments + if x != nil { + if x, ok := x.Result.(*EgressInfo_Segments); ok { + return x.Segments + } } return nil } @@ -3183,20 +3204,17 @@ func (*EgressInfo_Segments) isEgressInfo_Result() {} // Deprecated: Marked as deprecated in livekit_egress.proto. type StreamInfoList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Info []*StreamInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"` unknownFields protoimpl.UnknownFields - - Info []*StreamInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StreamInfoList) Reset() { *x = StreamInfoList{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamInfoList) String() string { @@ -3207,7 +3225,7 @@ func (*StreamInfoList) ProtoMessage() {} func (x *StreamInfoList) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3230,25 +3248,22 @@ func (x *StreamInfoList) GetInfo() []*StreamInfo { } type StreamInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` + Status StreamInfo_Status `protobuf:"varint,5,opt,name=status,proto3,enum=livekit.StreamInfo_Status" json:"status,omitempty"` + Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` - Status StreamInfo_Status `protobuf:"varint,5,opt,name=status,proto3,enum=livekit.StreamInfo_Status" json:"status,omitempty"` - Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StreamInfo) Reset() { *x = StreamInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamInfo) String() string { @@ -3259,7 +3274,7 @@ func (*StreamInfo) ProtoMessage() {} func (x *StreamInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3317,25 +3332,22 @@ func (x *StreamInfo) GetError() string { } type FileInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` + StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + Duration int64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` + Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` + Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` unknownFields protoimpl.UnknownFields - - Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` - StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - Duration int64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` - Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` - Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FileInfo) Reset() { *x = FileInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FileInfo) String() string { @@ -3346,7 +3358,7 @@ func (*FileInfo) ProtoMessage() {} func (x *FileInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3404,28 +3416,25 @@ func (x *FileInfo) GetLocation() string { } type SegmentsInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlaylistName string `protobuf:"bytes,1,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` - LivePlaylistName string `protobuf:"bytes,8,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` - Duration int64 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` - Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` - PlaylistLocation string `protobuf:"bytes,4,opt,name=playlist_location,json=playlistLocation,proto3" json:"playlist_location,omitempty"` - LivePlaylistLocation string `protobuf:"bytes,9,opt,name=live_playlist_location,json=livePlaylistLocation,proto3" json:"live_playlist_location,omitempty"` - SegmentCount int64 `protobuf:"varint,5,opt,name=segment_count,json=segmentCount,proto3" json:"segment_count,omitempty"` - StartedAt int64 `protobuf:"varint,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,7,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PlaylistName string `protobuf:"bytes,1,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` + LivePlaylistName string `protobuf:"bytes,8,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` + Duration int64 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` + Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` + PlaylistLocation string `protobuf:"bytes,4,opt,name=playlist_location,json=playlistLocation,proto3" json:"playlist_location,omitempty"` + LivePlaylistLocation string `protobuf:"bytes,9,opt,name=live_playlist_location,json=livePlaylistLocation,proto3" json:"live_playlist_location,omitempty"` + SegmentCount int64 `protobuf:"varint,5,opt,name=segment_count,json=segmentCount,proto3" json:"segment_count,omitempty"` + StartedAt int64 `protobuf:"varint,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,7,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SegmentsInfo) Reset() { *x = SegmentsInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SegmentsInfo) String() string { @@ -3436,7 +3445,7 @@ func (*SegmentsInfo) ProtoMessage() {} func (x *SegmentsInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3515,23 +3524,20 @@ func (x *SegmentsInfo) GetEndedAt() int64 { } type ImagesInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` - ImageCount int64 `protobuf:"varint,1,opt,name=image_count,json=imageCount,proto3" json:"image_count,omitempty"` - StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` + ImageCount int64 `protobuf:"varint,1,opt,name=image_count,json=imageCount,proto3" json:"image_count,omitempty"` + StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ImagesInfo) Reset() { *x = ImagesInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImagesInfo) String() string { @@ -3542,7 +3548,7 @@ func (*ImagesInfo) ProtoMessage() {} func (x *ImagesInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3586,26 +3592,23 @@ func (x *ImagesInfo) GetEndedAt() int64 { } type AutoParticipantEgress struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Options: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Options: // // *AutoParticipantEgress_Preset // *AutoParticipantEgress_Advanced Options isAutoParticipantEgress_Options `protobuf_oneof:"options"` FileOutputs []*EncodedFileOutput `protobuf:"bytes,3,rep,name=file_outputs,json=fileOutputs,proto3" json:"file_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,4,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AutoParticipantEgress) Reset() { *x = AutoParticipantEgress{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AutoParticipantEgress) String() string { @@ -3616,7 +3619,7 @@ func (*AutoParticipantEgress) ProtoMessage() {} func (x *AutoParticipantEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3631,23 +3634,27 @@ func (*AutoParticipantEgress) Descriptor() ([]byte, []int) { return file_livekit_egress_proto_rawDescGZIP(), []int{27} } -func (m *AutoParticipantEgress) GetOptions() isAutoParticipantEgress_Options { - if m != nil { - return m.Options +func (x *AutoParticipantEgress) GetOptions() isAutoParticipantEgress_Options { + if x != nil { + return x.Options } return nil } func (x *AutoParticipantEgress) GetPreset() EncodingOptionsPreset { - if x, ok := x.GetOptions().(*AutoParticipantEgress_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.Options.(*AutoParticipantEgress_Preset); ok { + return x.Preset + } } return EncodingOptionsPreset_H264_720P_30 } func (x *AutoParticipantEgress) GetAdvanced() *EncodingOptions { - if x, ok := x.GetOptions().(*AutoParticipantEgress_Advanced); ok { - return x.Advanced + if x != nil { + if x, ok := x.Options.(*AutoParticipantEgress_Advanced); ok { + return x.Advanced + } } return nil } @@ -3683,28 +3690,25 @@ func (*AutoParticipantEgress_Preset) isAutoParticipantEgress_Options() {} func (*AutoParticipantEgress_Advanced) isAutoParticipantEgress_Options() {} type AutoTrackEgress struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see docs for templating (default {track_id}-{time}) - DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disables upload of json manifest file (default false) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see docs for templating (default {track_id}-{time}) + DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disables upload of json manifest file (default false) + // Types that are valid to be assigned to Output: // // *AutoTrackEgress_S3 // *AutoTrackEgress_Gcp // *AutoTrackEgress_Azure // *AutoTrackEgress_AliOSS - Output isAutoTrackEgress_Output `protobuf_oneof:"output"` + Output isAutoTrackEgress_Output `protobuf_oneof:"output"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AutoTrackEgress) Reset() { *x = AutoTrackEgress{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AutoTrackEgress) String() string { @@ -3715,7 +3719,7 @@ func (*AutoTrackEgress) ProtoMessage() {} func (x *AutoTrackEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3744,37 +3748,45 @@ func (x *AutoTrackEgress) GetDisableManifest() bool { return false } -func (m *AutoTrackEgress) GetOutput() isAutoTrackEgress_Output { - if m != nil { - return m.Output +func (x *AutoTrackEgress) GetOutput() isAutoTrackEgress_Output { + if x != nil { + return x.Output } return nil } func (x *AutoTrackEgress) GetS3() *S3Upload { - if x, ok := x.GetOutput().(*AutoTrackEgress_S3); ok { - return x.S3 + if x != nil { + if x, ok := x.Output.(*AutoTrackEgress_S3); ok { + return x.S3 + } } return nil } func (x *AutoTrackEgress) GetGcp() *GCPUpload { - if x, ok := x.GetOutput().(*AutoTrackEgress_Gcp); ok { - return x.Gcp + if x != nil { + if x, ok := x.Output.(*AutoTrackEgress_Gcp); ok { + return x.Gcp + } } return nil } func (x *AutoTrackEgress) GetAzure() *AzureBlobUpload { - if x, ok := x.GetOutput().(*AutoTrackEgress_Azure); ok { - return x.Azure + if x != nil { + if x, ok := x.Output.(*AutoTrackEgress_Azure); ok { + return x.Azure + } } return nil } func (x *AutoTrackEgress) GetAliOSS() *AliOSSUpload { - if x, ok := x.GetOutput().(*AutoTrackEgress_AliOSS); ok { - return x.AliOSS + if x != nil { + if x, ok := x.Output.(*AutoTrackEgress_AliOSS); ok { + return x.AliOSS + } } return nil } @@ -3809,7 +3821,7 @@ func (*AutoTrackEgress_AliOSS) isAutoTrackEgress_Output() {} var File_livekit_egress_proto protoreflect.FileDescriptor -var file_livekit_egress_proto_rawDesc = []byte{ +var file_livekit_egress_proto_rawDesc = string([]byte{ 0x0a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, @@ -4491,23 +4503,23 @@ var file_livekit_egress_proto_rawDesc = []byte{ 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_egress_proto_rawDescOnce sync.Once - file_livekit_egress_proto_rawDescData = file_livekit_egress_proto_rawDesc + file_livekit_egress_proto_rawDescData []byte ) func file_livekit_egress_proto_rawDescGZIP() []byte { file_livekit_egress_proto_rawDescOnce.Do(func() { - file_livekit_egress_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_egress_proto_rawDescData) + file_livekit_egress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_egress_proto_rawDesc), len(file_livekit_egress_proto_rawDesc))) }) return file_livekit_egress_proto_rawDescData } var file_livekit_egress_proto_enumTypes = make([]protoimpl.EnumInfo, 10) var file_livekit_egress_proto_msgTypes = make([]protoimpl.MessageInfo, 30) -var file_livekit_egress_proto_goTypes = []interface{}{ +var file_livekit_egress_proto_goTypes = []any{ (EncodedFileType)(0), // 0: livekit.EncodedFileType (SegmentedFileProtocol)(0), // 1: livekit.SegmentedFileProtocol (SegmentedFileSuffix)(0), // 2: livekit.SegmentedFileSuffix @@ -4671,410 +4683,60 @@ func file_livekit_egress_proto_init() { return } file_livekit_models_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_egress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomCompositeEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParticipantEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackCompositeEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EncodedFileOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SegmentedFileOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DirectFileOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*S3Upload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GCPUpload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AzureBlobUpload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AliOSSUpload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProxyConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EncodingOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateLayoutRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateStreamRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListEgressResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EgressInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamInfoList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FileInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SegmentsInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImagesInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AutoParticipantEgress); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AutoTrackEgress); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_egress_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[0].OneofWrappers = []any{ (*RoomCompositeEgressRequest_File)(nil), (*RoomCompositeEgressRequest_Stream)(nil), (*RoomCompositeEgressRequest_Segments)(nil), (*RoomCompositeEgressRequest_Preset)(nil), (*RoomCompositeEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[1].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[1].OneofWrappers = []any{ (*WebEgressRequest_File)(nil), (*WebEgressRequest_Stream)(nil), (*WebEgressRequest_Segments)(nil), (*WebEgressRequest_Preset)(nil), (*WebEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[2].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[2].OneofWrappers = []any{ (*ParticipantEgressRequest_Preset)(nil), (*ParticipantEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[3].OneofWrappers = []any{ (*TrackCompositeEgressRequest_File)(nil), (*TrackCompositeEgressRequest_Stream)(nil), (*TrackCompositeEgressRequest_Segments)(nil), (*TrackCompositeEgressRequest_Preset)(nil), (*TrackCompositeEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[4].OneofWrappers = []any{ (*TrackEgressRequest_File)(nil), (*TrackEgressRequest_WebsocketUrl)(nil), } - file_livekit_egress_proto_msgTypes[5].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[5].OneofWrappers = []any{ (*EncodedFileOutput_S3)(nil), (*EncodedFileOutput_Gcp)(nil), (*EncodedFileOutput_Azure)(nil), (*EncodedFileOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[6].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[6].OneofWrappers = []any{ (*SegmentedFileOutput_S3)(nil), (*SegmentedFileOutput_Gcp)(nil), (*SegmentedFileOutput_Azure)(nil), (*SegmentedFileOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[7].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[7].OneofWrappers = []any{ (*DirectFileOutput_S3)(nil), (*DirectFileOutput_Gcp)(nil), (*DirectFileOutput_Azure)(nil), (*DirectFileOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[8].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[8].OneofWrappers = []any{ (*ImageOutput_S3)(nil), (*ImageOutput_Gcp)(nil), (*ImageOutput_Azure)(nil), (*ImageOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[21].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[21].OneofWrappers = []any{ (*EgressInfo_RoomComposite)(nil), (*EgressInfo_Web)(nil), (*EgressInfo_Participant)(nil), @@ -5084,11 +4746,11 @@ func file_livekit_egress_proto_init() { (*EgressInfo_File)(nil), (*EgressInfo_Segments)(nil), } - file_livekit_egress_proto_msgTypes[27].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[27].OneofWrappers = []any{ (*AutoParticipantEgress_Preset)(nil), (*AutoParticipantEgress_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[28].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[28].OneofWrappers = []any{ (*AutoTrackEgress_S3)(nil), (*AutoTrackEgress_Gcp)(nil), (*AutoTrackEgress_Azure)(nil), @@ -5098,7 +4760,7 @@ func file_livekit_egress_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_egress_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_egress_proto_rawDesc), len(file_livekit_egress_proto_rawDesc)), NumEnums: 10, NumMessages: 30, NumExtensions: 0, @@ -5110,7 +4772,6 @@ func file_livekit_egress_proto_init() { MessageInfos: file_livekit_egress_proto_msgTypes, }.Build() File_livekit_egress_proto = out.File - file_livekit_egress_proto_rawDesc = nil file_livekit_egress_proto_goTypes = nil file_livekit_egress_proto_depIdxs = nil } diff --git a/livekit/livekit_ingress.pb.go b/livekit/livekit_ingress.pb.go index f61247366..b823cdded 100644 --- a/livekit/livekit_ingress.pb.go +++ b/livekit/livekit_ingress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_ingress.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -255,11 +256,8 @@ func (IngressState_Status) EnumDescriptor() ([]byte, []int) { } type CreateIngressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - InputType IngressInput `protobuf:"varint,1,opt,name=input_type,json=inputType,proto3,enum=livekit.IngressInput" json:"input_type,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + InputType IngressInput `protobuf:"varint,1,opt,name=input_type,json=inputType,proto3,enum=livekit.IngressInput" json:"input_type,omitempty"` // Where to pull media from, only for URL input type Url string `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"` // User provided identifier for the ingress @@ -281,15 +279,15 @@ type CreateIngressRequest struct { Audio *IngressAudioOptions `protobuf:"bytes,6,opt,name=audio,proto3" json:"audio,omitempty"` Video *IngressVideoOptions `protobuf:"bytes,7,opt,name=video,proto3" json:"video,omitempty"` Enabled *bool `protobuf:"varint,12,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // The default value is true and when set to false, the new connection attempts will be rejected + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateIngressRequest) Reset() { *x = CreateIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateIngressRequest) String() string { @@ -300,7 +298,7 @@ func (*CreateIngressRequest) ProtoMessage() {} func (x *CreateIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -401,26 +399,23 @@ func (x *CreateIngressRequest) GetEnabled() bool { } type IngressAudioOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` - // Types that are assignable to EncodingOptions: + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` + // Types that are valid to be assigned to EncodingOptions: // // *IngressAudioOptions_Preset // *IngressAudioOptions_Options EncodingOptions isIngressAudioOptions_EncodingOptions `protobuf_oneof:"encoding_options"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IngressAudioOptions) Reset() { *x = IngressAudioOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressAudioOptions) String() string { @@ -431,7 +426,7 @@ func (*IngressAudioOptions) ProtoMessage() {} func (x *IngressAudioOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -460,23 +455,27 @@ func (x *IngressAudioOptions) GetSource() TrackSource { return TrackSource_UNKNOWN } -func (m *IngressAudioOptions) GetEncodingOptions() isIngressAudioOptions_EncodingOptions { - if m != nil { - return m.EncodingOptions +func (x *IngressAudioOptions) GetEncodingOptions() isIngressAudioOptions_EncodingOptions { + if x != nil { + return x.EncodingOptions } return nil } func (x *IngressAudioOptions) GetPreset() IngressAudioEncodingPreset { - if x, ok := x.GetEncodingOptions().(*IngressAudioOptions_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.EncodingOptions.(*IngressAudioOptions_Preset); ok { + return x.Preset + } } return IngressAudioEncodingPreset_OPUS_STEREO_96KBPS } func (x *IngressAudioOptions) GetOptions() *IngressAudioEncodingOptions { - if x, ok := x.GetEncodingOptions().(*IngressAudioOptions_Options); ok { - return x.Options + if x != nil { + if x, ok := x.EncodingOptions.(*IngressAudioOptions_Options); ok { + return x.Options + } } return nil } @@ -498,26 +497,23 @@ func (*IngressAudioOptions_Preset) isIngressAudioOptions_EncodingOptions() {} func (*IngressAudioOptions_Options) isIngressAudioOptions_EncodingOptions() {} type IngressVideoOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` - // Types that are assignable to EncodingOptions: + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` + // Types that are valid to be assigned to EncodingOptions: // // *IngressVideoOptions_Preset // *IngressVideoOptions_Options EncodingOptions isIngressVideoOptions_EncodingOptions `protobuf_oneof:"encoding_options"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IngressVideoOptions) Reset() { *x = IngressVideoOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressVideoOptions) String() string { @@ -528,7 +524,7 @@ func (*IngressVideoOptions) ProtoMessage() {} func (x *IngressVideoOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -557,23 +553,27 @@ func (x *IngressVideoOptions) GetSource() TrackSource { return TrackSource_UNKNOWN } -func (m *IngressVideoOptions) GetEncodingOptions() isIngressVideoOptions_EncodingOptions { - if m != nil { - return m.EncodingOptions +func (x *IngressVideoOptions) GetEncodingOptions() isIngressVideoOptions_EncodingOptions { + if x != nil { + return x.EncodingOptions } return nil } func (x *IngressVideoOptions) GetPreset() IngressVideoEncodingPreset { - if x, ok := x.GetEncodingOptions().(*IngressVideoOptions_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.EncodingOptions.(*IngressVideoOptions_Preset); ok { + return x.Preset + } } return IngressVideoEncodingPreset_H264_720P_30FPS_3_LAYERS } func (x *IngressVideoOptions) GetOptions() *IngressVideoEncodingOptions { - if x, ok := x.GetEncodingOptions().(*IngressVideoOptions_Options); ok { - return x.Options + if x != nil { + if x, ok := x.EncodingOptions.(*IngressVideoOptions_Options); ok { + return x.Options + } } return nil } @@ -595,24 +595,21 @@ func (*IngressVideoOptions_Preset) isIngressVideoOptions_EncodingOptions() {} func (*IngressVideoOptions_Options) isIngressVideoOptions_EncodingOptions() {} type IngressAudioEncodingOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // desired audio codec to publish to room - AudioCodec AudioCodec `protobuf:"varint,1,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` - Bitrate uint32 `protobuf:"varint,2,opt,name=bitrate,proto3" json:"bitrate,omitempty"` - DisableDtx bool `protobuf:"varint,3,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"` - Channels uint32 `protobuf:"varint,4,opt,name=channels,proto3" json:"channels,omitempty"` + AudioCodec AudioCodec `protobuf:"varint,1,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` + Bitrate uint32 `protobuf:"varint,2,opt,name=bitrate,proto3" json:"bitrate,omitempty"` + DisableDtx bool `protobuf:"varint,3,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"` + Channels uint32 `protobuf:"varint,4,opt,name=channels,proto3" json:"channels,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IngressAudioEncodingOptions) Reset() { *x = IngressAudioEncodingOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressAudioEncodingOptions) String() string { @@ -623,7 +620,7 @@ func (*IngressAudioEncodingOptions) ProtoMessage() {} func (x *IngressAudioEncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -667,24 +664,21 @@ func (x *IngressAudioEncodingOptions) GetChannels() uint32 { } type IngressVideoEncodingOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // desired codec to publish to room VideoCodec VideoCodec `protobuf:"varint,1,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` FrameRate float64 `protobuf:"fixed64,2,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"` // simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions - Layers []*VideoLayer `protobuf:"bytes,3,rep,name=layers,proto3" json:"layers,omitempty"` + Layers []*VideoLayer `protobuf:"bytes,3,rep,name=layers,proto3" json:"layers,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IngressVideoEncodingOptions) Reset() { *x = IngressVideoEncodingOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressVideoEncodingOptions) String() string { @@ -695,7 +689,7 @@ func (*IngressVideoEncodingOptions) ProtoMessage() {} func (x *IngressVideoEncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -732,14 +726,11 @@ func (x *IngressVideoEncodingOptions) GetLayers() []*VideoLayer { } type IngressInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - StreamKey string `protobuf:"bytes,3,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` - Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) + state protoimpl.MessageState `protogen:"open.v1"` + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + StreamKey string `protobuf:"bytes,3,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` + Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) // for RTMP input, it'll be a rtmp:// URL // for FILE input, it'll be a http:// URL // for SRT input, it'll be a srt:// URL @@ -756,15 +747,15 @@ type IngressInfo struct { Reusable bool `protobuf:"varint,11,opt,name=reusable,proto3" json:"reusable,omitempty"` State *IngressState `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"` // Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth) Enabled *bool `protobuf:"varint,16,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // The default value is true and when set to false, the new connection attempts will be rejected + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IngressInfo) Reset() { *x = IngressInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressInfo) String() string { @@ -775,7 +766,7 @@ func (*IngressInfo) ProtoMessage() {} func (x *IngressInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -904,29 +895,26 @@ func (x *IngressInfo) GetEnabled() bool { } type IngressState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status IngressState_Status `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.IngressState_Status" json:"status,omitempty"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Error/non compliance description if any + Video *InputVideoState `protobuf:"bytes,3,opt,name=video,proto3" json:"video,omitempty"` + Audio *InputAudioState `protobuf:"bytes,4,opt,name=audio,proto3" json:"audio,omitempty"` + RoomId string `protobuf:"bytes,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to + StartedAt int64 `protobuf:"varint,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,8,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + ResourceId string `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + Tracks []*TrackInfo `protobuf:"bytes,6,rep,name=tracks,proto3" json:"tracks,omitempty"` unknownFields protoimpl.UnknownFields - - Status IngressState_Status `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.IngressState_Status" json:"status,omitempty"` - Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Error/non compliance description if any - Video *InputVideoState `protobuf:"bytes,3,opt,name=video,proto3" json:"video,omitempty"` - Audio *InputAudioState `protobuf:"bytes,4,opt,name=audio,proto3" json:"audio,omitempty"` - RoomId string `protobuf:"bytes,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to - StartedAt int64 `protobuf:"varint,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,8,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - ResourceId string `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - Tracks []*TrackInfo `protobuf:"bytes,6,rep,name=tracks,proto3" json:"tracks,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IngressState) Reset() { *x = IngressState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressState) String() string { @@ -937,7 +925,7 @@ func (*IngressState) ProtoMessage() {} func (x *IngressState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1023,24 +1011,21 @@ func (x *IngressState) GetTracks() []*TrackInfo { } type InputVideoState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` - Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` - Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` - Framerate float64 `protobuf:"fixed64,5,opt,name=framerate,proto3" json:"framerate,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` + Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` + Framerate float64 `protobuf:"fixed64,5,opt,name=framerate,proto3" json:"framerate,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InputVideoState) Reset() { *x = InputVideoState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InputVideoState) String() string { @@ -1051,7 +1036,7 @@ func (*InputVideoState) ProtoMessage() {} func (x *InputVideoState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1102,23 +1087,20 @@ func (x *InputVideoState) GetFramerate() float64 { } type InputAudioState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` - Channels uint32 `protobuf:"varint,3,opt,name=channels,proto3" json:"channels,omitempty"` - SampleRate uint32 `protobuf:"varint,4,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` + Channels uint32 `protobuf:"varint,3,opt,name=channels,proto3" json:"channels,omitempty"` + SampleRate uint32 `protobuf:"varint,4,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InputAudioState) Reset() { *x = InputAudioState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InputAudioState) String() string { @@ -1129,7 +1111,7 @@ func (*InputAudioState) ProtoMessage() {} func (x *InputAudioState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1173,31 +1155,28 @@ func (x *InputAudioState) GetSampleRate() uint32 { } type UpdateIngressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - ParticipantName string `protobuf:"bytes,5,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` - ParticipantMetadata string `protobuf:"bytes,9,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + ParticipantName string `protobuf:"bytes,5,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` + ParticipantMetadata string `protobuf:"bytes,9,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` // Deprecated: Marked as deprecated in livekit_ingress.proto. BypassTranscoding *bool `protobuf:"varint,8,opt,name=bypass_transcoding,json=bypassTranscoding,proto3,oneof" json:"bypass_transcoding,omitempty"` EnableTranscoding *bool `protobuf:"varint,10,opt,name=enable_transcoding,json=enableTranscoding,proto3,oneof" json:"enable_transcoding,omitempty"` Audio *IngressAudioOptions `protobuf:"bytes,6,opt,name=audio,proto3" json:"audio,omitempty"` Video *IngressVideoOptions `protobuf:"bytes,7,opt,name=video,proto3" json:"video,omitempty"` Enabled *bool `protobuf:"varint,11,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // The default value is true and when set to false, the new connection attempts will be rejected + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateIngressRequest) Reset() { *x = UpdateIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateIngressRequest) String() string { @@ -1208,7 +1187,7 @@ func (*UpdateIngressRequest) ProtoMessage() {} func (x *UpdateIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1302,22 +1281,19 @@ func (x *UpdateIngressRequest) GetEnabled() bool { } type ListIngressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // when blank, lists all ingress endpoints - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) - IngressId string `protobuf:"bytes,2,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` // (optional, filter by ingress ID) + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) + IngressId string `protobuf:"bytes,2,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` // (optional, filter by ingress ID) + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListIngressRequest) Reset() { *x = ListIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListIngressRequest) String() string { @@ -1328,7 +1304,7 @@ func (*ListIngressRequest) ProtoMessage() {} func (x *ListIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1358,20 +1334,17 @@ func (x *ListIngressRequest) GetIngressId() string { } type ListIngressResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*IngressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*IngressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListIngressResponse) Reset() { *x = ListIngressResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListIngressResponse) String() string { @@ -1382,7 +1355,7 @@ func (*ListIngressResponse) ProtoMessage() {} func (x *ListIngressResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1405,20 +1378,17 @@ func (x *ListIngressResponse) GetItems() []*IngressInfo { } type DeleteIngressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` unknownFields protoimpl.UnknownFields - - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteIngressRequest) Reset() { *x = DeleteIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteIngressRequest) String() string { @@ -1429,7 +1399,7 @@ func (*DeleteIngressRequest) ProtoMessage() {} func (x *DeleteIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1453,7 +1423,7 @@ func (x *DeleteIngressRequest) GetIngressId() string { var File_livekit_ingress_proto protoreflect.FileDescriptor -var file_livekit_ingress_proto_rawDesc = []byte{ +var file_livekit_ingress_proto_rawDesc = string([]byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, @@ -1742,23 +1712,23 @@ var file_livekit_ingress_proto_rawDesc = []byte{ 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_ingress_proto_rawDescOnce sync.Once - file_livekit_ingress_proto_rawDescData = file_livekit_ingress_proto_rawDesc + file_livekit_ingress_proto_rawDescData []byte ) func file_livekit_ingress_proto_rawDescGZIP() []byte { file_livekit_ingress_proto_rawDescOnce.Do(func() { - file_livekit_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_ingress_proto_rawDescData) + file_livekit_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_ingress_proto_rawDesc), len(file_livekit_ingress_proto_rawDesc))) }) return file_livekit_ingress_proto_rawDescData } var file_livekit_ingress_proto_enumTypes = make([]protoimpl.EnumInfo, 4) var file_livekit_ingress_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_livekit_ingress_proto_goTypes = []interface{}{ +var file_livekit_ingress_proto_goTypes = []any{ (IngressInput)(0), // 0: livekit.IngressInput (IngressAudioEncodingPreset)(0), // 1: livekit.IngressAudioEncodingPreset (IngressVideoEncodingPreset)(0), // 2: livekit.IngressVideoEncodingPreset @@ -1827,180 +1797,22 @@ func file_livekit_ingress_proto_init() { return } file_livekit_models_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_ingress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateIngressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressAudioOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressVideoOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressAudioEncodingOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressVideoEncodingOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InputVideoState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InputAudioState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateIngressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListIngressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListIngressResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteIngressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_ingress_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_livekit_ingress_proto_msgTypes[1].OneofWrappers = []interface{}{ + file_livekit_ingress_proto_msgTypes[0].OneofWrappers = []any{} + file_livekit_ingress_proto_msgTypes[1].OneofWrappers = []any{ (*IngressAudioOptions_Preset)(nil), (*IngressAudioOptions_Options)(nil), } - file_livekit_ingress_proto_msgTypes[2].OneofWrappers = []interface{}{ + file_livekit_ingress_proto_msgTypes[2].OneofWrappers = []any{ (*IngressVideoOptions_Preset)(nil), (*IngressVideoOptions_Options)(nil), } - file_livekit_ingress_proto_msgTypes[5].OneofWrappers = []interface{}{} - file_livekit_ingress_proto_msgTypes[9].OneofWrappers = []interface{}{} + file_livekit_ingress_proto_msgTypes[5].OneofWrappers = []any{} + file_livekit_ingress_proto_msgTypes[9].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_ingress_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_ingress_proto_rawDesc), len(file_livekit_ingress_proto_rawDesc)), NumEnums: 4, NumMessages: 13, NumExtensions: 0, @@ -2012,7 +1824,6 @@ func file_livekit_ingress_proto_init() { MessageInfos: file_livekit_ingress_proto_msgTypes, }.Build() File_livekit_ingress_proto = out.File - file_livekit_ingress_proto_rawDesc = nil file_livekit_ingress_proto_goTypes = nil file_livekit_ingress_proto_depIdxs = nil } diff --git a/livekit/livekit_internal.pb.go b/livekit/livekit_internal.pb.go index 03592e363..6ca6ac0a2 100644 --- a/livekit/livekit_internal.pb.go +++ b/livekit/livekit_internal.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_internal.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -191,26 +192,23 @@ func (ICECandidateType) EnumDescriptor() ([]byte, []int) { } type Node struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` + NumCpus uint32 `protobuf:"varint,3,opt,name=num_cpus,json=numCpus,proto3" json:"num_cpus,omitempty"` + Stats *NodeStats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"` + Type NodeType `protobuf:"varint,5,opt,name=type,proto3,enum=livekit.NodeType" json:"type,omitempty"` + State NodeState `protobuf:"varint,6,opt,name=state,proto3,enum=livekit.NodeState" json:"state,omitempty"` + Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` - NumCpus uint32 `protobuf:"varint,3,opt,name=num_cpus,json=numCpus,proto3" json:"num_cpus,omitempty"` - Stats *NodeStats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"` - Type NodeType `protobuf:"varint,5,opt,name=type,proto3,enum=livekit.NodeType" json:"type,omitempty"` - State NodeState `protobuf:"varint,6,opt,name=state,proto3,enum=livekit.NodeState" json:"state,omitempty"` - Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Node) Reset() { *x = Node{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Node) String() string { @@ -221,7 +219,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -286,10 +284,7 @@ func (x *Node) GetRegion() string { } type NodeStats struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // when server was started StartedAt int64 `protobuf:"varint,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // when server last reported its status @@ -347,15 +342,15 @@ type NodeStats struct { // forward metrics ForwardLatency uint32 `protobuf:"varint,48,opt,name=forward_latency,json=forwardLatency,proto3" json:"forward_latency,omitempty"` ForwardJitter uint32 `protobuf:"varint,49,opt,name=forward_jitter,json=forwardJitter,proto3" json:"forward_jitter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeStats) Reset() { *x = NodeStats{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeStats) String() string { @@ -366,7 +361,7 @@ func (*NodeStats) ProtoMessage() {} func (x *NodeStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -725,13 +720,10 @@ func (x *NodeStats) GetForwardJitter() uint32 { } type StartSession struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // if a client is reconnecting (i.e. resume instead of restart) Reconnect bool `protobuf:"varint,4,opt,name=reconnect,proto3" json:"reconnect,omitempty"` AutoSubscribe bool `protobuf:"varint,9,opt,name=auto_subscribe,json=autoSubscribe,proto3" json:"auto_subscribe,omitempty"` @@ -748,15 +740,15 @@ type StartSession struct { SubscriberAllowPause *bool `protobuf:"varint,18,opt,name=subscriber_allow_pause,json=subscriberAllowPause,proto3,oneof" json:"subscriber_allow_pause,omitempty"` DisableIceLite bool `protobuf:"varint,19,opt,name=disable_ice_lite,json=disableIceLite,proto3" json:"disable_ice_lite,omitempty"` CreateRoom *CreateRoomRequest `protobuf:"bytes,20,opt,name=create_room,json=createRoom,proto3" json:"create_room,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartSession) Reset() { *x = StartSession{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartSession) String() string { @@ -767,7 +759,7 @@ func (*StartSession) ProtoMessage() {} func (x *StartSession) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -896,25 +888,22 @@ func (x *StartSession) GetCreateRoom() *CreateRoomRequest { // room info that should not be returned to clients type RoomInternal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` TrackEgress *AutoTrackEgress `protobuf:"bytes,1,opt,name=track_egress,json=trackEgress,proto3" json:"track_egress,omitempty"` ParticipantEgress *AutoParticipantEgress `protobuf:"bytes,2,opt,name=participant_egress,json=participantEgress,proto3" json:"participant_egress,omitempty"` PlayoutDelay *PlayoutDelay `protobuf:"bytes,3,opt,name=playout_delay,json=playoutDelay,proto3" json:"playout_delay,omitempty"` AgentDispatches []*RoomAgentDispatch `protobuf:"bytes,5,rep,name=agent_dispatches,json=agentDispatches,proto3" json:"agent_dispatches,omitempty"` SyncStreams bool `protobuf:"varint,4,opt,name=sync_streams,json=syncStreams,proto3" json:"sync_streams,omitempty"` ReplayEnabled bool `protobuf:"varint,6,opt,name=replay_enabled,json=replayEnabled,proto3" json:"replay_enabled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RoomInternal) Reset() { *x = RoomInternal{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomInternal) String() string { @@ -925,7 +914,7 @@ func (*RoomInternal) ProtoMessage() {} func (x *RoomInternal) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -983,21 +972,18 @@ func (x *RoomInternal) GetReplayEnabled() bool { } type ICEConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PreferenceSubscriber ICECandidateType `protobuf:"varint,1,opt,name=preference_subscriber,json=preferenceSubscriber,proto3,enum=livekit.ICECandidateType" json:"preference_subscriber,omitempty"` - PreferencePublisher ICECandidateType `protobuf:"varint,2,opt,name=preference_publisher,json=preferencePublisher,proto3,enum=livekit.ICECandidateType" json:"preference_publisher,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PreferenceSubscriber ICECandidateType `protobuf:"varint,1,opt,name=preference_subscriber,json=preferenceSubscriber,proto3,enum=livekit.ICECandidateType" json:"preference_subscriber,omitempty"` + PreferencePublisher ICECandidateType `protobuf:"varint,2,opt,name=preference_publisher,json=preferencePublisher,proto3,enum=livekit.ICECandidateType" json:"preference_publisher,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ICEConfig) Reset() { *x = ICEConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ICEConfig) String() string { @@ -1008,7 +994,7 @@ func (*ICEConfig) ProtoMessage() {} func (x *ICEConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1039,7 +1025,7 @@ func (x *ICEConfig) GetPreferencePublisher() ICECandidateType { var File_livekit_internal_proto protoreflect.FileDescriptor -var file_livekit_internal_proto_rawDesc = []byte{ +var file_livekit_internal_proto_rawDesc = string([]byte{ 0x0a, 0x16, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, @@ -1303,23 +1289,23 @@ var file_livekit_internal_proto_rawDesc = []byte{ 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_internal_proto_rawDescOnce sync.Once - file_livekit_internal_proto_rawDescData = file_livekit_internal_proto_rawDesc + file_livekit_internal_proto_rawDescData []byte ) func file_livekit_internal_proto_rawDescGZIP() []byte { file_livekit_internal_proto_rawDescOnce.Do(func() { - file_livekit_internal_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_internal_proto_rawDescData) + file_livekit_internal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_internal_proto_rawDesc), len(file_livekit_internal_proto_rawDesc))) }) return file_livekit_internal_proto_rawDescData } var file_livekit_internal_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_livekit_internal_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_livekit_internal_proto_goTypes = []interface{}{ +var file_livekit_internal_proto_goTypes = []any{ (NodeType)(0), // 0: livekit.NodeType (NodeState)(0), // 1: livekit.NodeState (ICECandidateType)(0), // 2: livekit.ICECandidateType @@ -1365,74 +1351,12 @@ func file_livekit_internal_proto_init() { file_livekit_egress_proto_init() file_livekit_agent_dispatch_proto_init() file_livekit_room_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_internal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Node); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_internal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeStats); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_internal_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartSession); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_internal_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomInternal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_internal_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ICEConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_internal_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_livekit_internal_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_internal_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_internal_proto_rawDesc), len(file_livekit_internal_proto_rawDesc)), NumEnums: 3, NumMessages: 5, NumExtensions: 0, @@ -1444,7 +1368,6 @@ func file_livekit_internal_proto_init() { MessageInfos: file_livekit_internal_proto_msgTypes, }.Build() File_livekit_internal_proto = out.File - file_livekit_internal_proto_rawDesc = nil file_livekit_internal_proto_goTypes = nil file_livekit_internal_proto_depIdxs = nil } diff --git a/livekit/livekit_metrics.pb.go b/livekit/livekit_metrics.pb.go index 49dfe7d76..d138e2405 100644 --- a/livekit/livekit_metrics.pb.go +++ b/livekit/livekit_metrics.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_metrics.proto package livekit @@ -12,6 +12,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -126,10 +127,7 @@ func (MetricLabel) EnumDescriptor() ([]byte, []int) { } type MetricsBatch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` TimestampMs int64 `protobuf:"varint,1,opt,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"` // time at which this batch is sent based on a monotonic clock (millisecond resolution) NormalizedTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=normalized_timestamp,json=normalizedTimestamp,proto3" json:"normalized_timestamp,omitempty"` // To avoid repeating string values, we store them in a separate list and reference them by index @@ -138,18 +136,18 @@ type MetricsBatch struct { // They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). // Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, // such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. - StrData []string `protobuf:"bytes,3,rep,name=str_data,json=strData,proto3" json:"str_data,omitempty"` - TimeSeries []*TimeSeriesMetric `protobuf:"bytes,4,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` - Events []*EventMetric `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` + StrData []string `protobuf:"bytes,3,rep,name=str_data,json=strData,proto3" json:"str_data,omitempty"` + TimeSeries []*TimeSeriesMetric `protobuf:"bytes,4,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` + Events []*EventMetric `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsBatch) Reset() { *x = MetricsBatch{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_metrics_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_metrics_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsBatch) String() string { @@ -160,7 +158,7 @@ func (*MetricsBatch) ProtoMessage() {} func (x *MetricsBatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -211,10 +209,7 @@ func (x *MetricsBatch) GetEvents() []*EventMetric { } type TimeSeriesMetric struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index // in the `str_data` field of `MetricsBatch` Label uint32 `protobuf:"varint,1,opt,name=label,proto3" json:"label,omitempty"` @@ -222,15 +217,15 @@ type TimeSeriesMetric struct { TrackSid uint32 `protobuf:"varint,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` // index into `str_data` Samples []*MetricSample `protobuf:"bytes,4,rep,name=samples,proto3" json:"samples,omitempty"` Rid uint32 `protobuf:"varint,5,opt,name=rid,proto3" json:"rid,omitempty"` // index into 'str_data' + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TimeSeriesMetric) Reset() { *x = TimeSeriesMetric{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_metrics_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_metrics_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimeSeriesMetric) String() string { @@ -241,7 +236,7 @@ func (*TimeSeriesMetric) ProtoMessage() {} func (x *TimeSeriesMetric) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -292,22 +287,19 @@ func (x *TimeSeriesMetric) GetRid() uint32 { } type MetricSample struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` TimestampMs int64 `protobuf:"varint,1,opt,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"` // time of metric based on a monotonic clock (in milliseconds) NormalizedTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=normalized_timestamp,json=normalizedTimestamp,proto3" json:"normalized_timestamp,omitempty"` Value float32 `protobuf:"fixed32,3,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricSample) Reset() { *x = MetricSample{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_metrics_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_metrics_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricSample) String() string { @@ -318,7 +310,7 @@ func (*MetricSample) ProtoMessage() {} func (x *MetricSample) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -355,10 +347,7 @@ func (x *MetricSample) GetValue() float32 { } type EventMetric struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Label uint32 `protobuf:"varint,1,opt,name=label,proto3" json:"label,omitempty"` ParticipantIdentity uint32 `protobuf:"varint,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` // index into `str_data` TrackSid uint32 `protobuf:"varint,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` // index into `str_data` @@ -368,15 +357,15 @@ type EventMetric struct { NormalizedEndTimestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=normalized_end_timestamp,json=normalizedEndTimestamp,proto3,oneof" json:"normalized_end_timestamp,omitempty"` Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` Rid uint32 `protobuf:"varint,9,opt,name=rid,proto3" json:"rid,omitempty"` // index into 'str_data' + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventMetric) Reset() { *x = EventMetric{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_metrics_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_metrics_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EventMetric) String() string { @@ -387,7 +376,7 @@ func (*EventMetric) ProtoMessage() {} func (x *EventMetric) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -467,7 +456,7 @@ func (x *EventMetric) GetRid() uint32 { var File_livekit_metrics_proto protoreflect.FileDescriptor -var file_livekit_metrics_proto_rawDesc = []byte{ +var file_livekit_metrics_proto_rawDesc = string([]byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, @@ -602,23 +591,23 @@ var file_livekit_metrics_proto_rawDesc = []byte{ 0x6b, 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_metrics_proto_rawDescOnce sync.Once - file_livekit_metrics_proto_rawDescData = file_livekit_metrics_proto_rawDesc + file_livekit_metrics_proto_rawDescData []byte ) func file_livekit_metrics_proto_rawDescGZIP() []byte { file_livekit_metrics_proto_rawDescOnce.Do(func() { - file_livekit_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_metrics_proto_rawDescData) + file_livekit_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_metrics_proto_rawDesc), len(file_livekit_metrics_proto_rawDesc))) }) return file_livekit_metrics_proto_rawDescData } var file_livekit_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_livekit_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_livekit_metrics_proto_goTypes = []interface{}{ +var file_livekit_metrics_proto_goTypes = []any{ (MetricLabel)(0), // 0: livekit.MetricLabel (*MetricsBatch)(nil), // 1: livekit.MetricsBatch (*TimeSeriesMetric)(nil), // 2: livekit.TimeSeriesMetric @@ -646,62 +635,12 @@ func file_livekit_metrics_proto_init() { if File_livekit_metrics_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_livekit_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsBatch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeSeriesMetric); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricSample); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventMetric); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_metrics_proto_msgTypes[3].OneofWrappers = []interface{}{} + file_livekit_metrics_proto_msgTypes[3].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_metrics_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_metrics_proto_rawDesc), len(file_livekit_metrics_proto_rawDesc)), NumEnums: 1, NumMessages: 4, NumExtensions: 0, @@ -713,7 +652,6 @@ func file_livekit_metrics_proto_init() { MessageInfos: file_livekit_metrics_proto_msgTypes, }.Build() File_livekit_metrics_proto = out.File - file_livekit_metrics_proto_rawDesc = nil file_livekit_metrics_proto_goTypes = nil file_livekit_metrics_proto_depIdxs = nil } diff --git a/livekit/livekit_models.pb.go b/livekit/livekit_models.pb.go index 298c6f144..1f225df9e 100644 --- a/livekit/livekit_models.pb.go +++ b/livekit/livekit_models.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_models.proto package livekit @@ -26,6 +26,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -1138,21 +1139,18 @@ func (DataStream_OperationType) EnumDescriptor() ([]byte, []int) { } type Pagination struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AfterId string `protobuf:"bytes,1,opt,name=after_id,json=afterId,proto3" json:"after_id,omitempty"` // list entities which IDs are greater + Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` unknownFields protoimpl.UnknownFields - - AfterId string `protobuf:"bytes,1,opt,name=after_id,json=afterId,proto3" json:"after_id,omitempty"` // list entities which IDs are greater - Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Pagination) Reset() { *x = Pagination{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Pagination) String() string { @@ -1163,7 +1161,7 @@ func (*Pagination) ProtoMessage() {} func (x *Pagination) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1193,33 +1191,30 @@ func (x *Pagination) GetLimit() int32 { } type Room struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - EmptyTimeout uint32 `protobuf:"varint,3,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` - DepartureTimeout uint32 `protobuf:"varint,14,opt,name=departure_timeout,json=departureTimeout,proto3" json:"departure_timeout,omitempty"` - MaxParticipants uint32 `protobuf:"varint,4,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"` - CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` - CreationTimeMs int64 `protobuf:"varint,15,opt,name=creation_time_ms,json=creationTimeMs,proto3" json:"creation_time_ms,omitempty"` - TurnPassword string `protobuf:"bytes,6,opt,name=turn_password,json=turnPassword,proto3" json:"turn_password,omitempty"` - EnabledCodecs []*Codec `protobuf:"bytes,7,rep,name=enabled_codecs,json=enabledCodecs,proto3" json:"enabled_codecs,omitempty"` - Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` - NumParticipants uint32 `protobuf:"varint,9,opt,name=num_participants,json=numParticipants,proto3" json:"num_participants,omitempty"` - NumPublishers uint32 `protobuf:"varint,11,opt,name=num_publishers,json=numPublishers,proto3" json:"num_publishers,omitempty"` - ActiveRecording bool `protobuf:"varint,10,opt,name=active_recording,json=activeRecording,proto3" json:"active_recording,omitempty"` - Version *TimedVersion `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + EmptyTimeout uint32 `protobuf:"varint,3,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` + DepartureTimeout uint32 `protobuf:"varint,14,opt,name=departure_timeout,json=departureTimeout,proto3" json:"departure_timeout,omitempty"` + MaxParticipants uint32 `protobuf:"varint,4,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"` + CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` + CreationTimeMs int64 `protobuf:"varint,15,opt,name=creation_time_ms,json=creationTimeMs,proto3" json:"creation_time_ms,omitempty"` + TurnPassword string `protobuf:"bytes,6,opt,name=turn_password,json=turnPassword,proto3" json:"turn_password,omitempty"` + EnabledCodecs []*Codec `protobuf:"bytes,7,rep,name=enabled_codecs,json=enabledCodecs,proto3" json:"enabled_codecs,omitempty"` + Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` + NumParticipants uint32 `protobuf:"varint,9,opt,name=num_participants,json=numParticipants,proto3" json:"num_participants,omitempty"` + NumPublishers uint32 `protobuf:"varint,11,opt,name=num_publishers,json=numPublishers,proto3" json:"num_publishers,omitempty"` + ActiveRecording bool `protobuf:"varint,10,opt,name=active_recording,json=activeRecording,proto3" json:"active_recording,omitempty"` + Version *TimedVersion `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Room) Reset() { *x = Room{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Room) String() string { @@ -1230,7 +1225,7 @@ func (*Room) ProtoMessage() {} func (x *Room) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1344,21 +1339,18 @@ func (x *Room) GetVersion() *TimedVersion { } type Codec struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Mime string `protobuf:"bytes,1,opt,name=mime,proto3" json:"mime,omitempty"` + FmtpLine string `protobuf:"bytes,2,opt,name=fmtp_line,json=fmtpLine,proto3" json:"fmtp_line,omitempty"` unknownFields protoimpl.UnknownFields - - Mime string `protobuf:"bytes,1,opt,name=mime,proto3" json:"mime,omitempty"` - FmtpLine string `protobuf:"bytes,2,opt,name=fmtp_line,json=fmtpLine,proto3" json:"fmtp_line,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Codec) Reset() { *x = Codec{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Codec) String() string { @@ -1369,7 +1361,7 @@ func (*Codec) ProtoMessage() {} func (x *Codec) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1399,22 +1391,19 @@ func (x *Codec) GetFmtpLine() string { } type PlayoutDelay struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + Min uint32 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` + Max uint32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` unknownFields protoimpl.UnknownFields - - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - Min uint32 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` - Max uint32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayoutDelay) Reset() { *x = PlayoutDelay{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayoutDelay) String() string { @@ -1425,7 +1414,7 @@ func (*PlayoutDelay) ProtoMessage() {} func (x *PlayoutDelay) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1462,10 +1451,7 @@ func (x *PlayoutDelay) GetMax() uint32 { } type ParticipantPermission struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // allow participant to subscribe to other tracks in the room CanSubscribe bool `protobuf:"varint,1,opt,name=can_subscribe,json=canSubscribe,proto3" json:"can_subscribe,omitempty"` // allow participant to publish new tracks to room @@ -1490,15 +1476,15 @@ type ParticipantPermission struct { Agent bool `protobuf:"varint,11,opt,name=agent,proto3" json:"agent,omitempty"` // if a participant can subscribe to metrics CanSubscribeMetrics bool `protobuf:"varint,12,opt,name=can_subscribe_metrics,json=canSubscribeMetrics,proto3" json:"can_subscribe_metrics,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ParticipantPermission) Reset() { *x = ParticipantPermission{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantPermission) String() string { @@ -1509,7 +1495,7 @@ func (*ParticipantPermission) ProtoMessage() {} func (x *ParticipantPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1590,15 +1576,12 @@ func (x *ParticipantPermission) GetCanSubscribeMetrics() bool { } type ParticipantInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - State ParticipantInfo_State `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` - Tracks []*TrackInfo `protobuf:"bytes,4,rep,name=tracks,proto3" json:"tracks,omitempty"` - Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + State ParticipantInfo_State `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` + Tracks []*TrackInfo `protobuf:"bytes,4,rep,name=tracks,proto3" json:"tracks,omitempty"` + Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // timestamp when participant joined room, in seconds JoinedAt int64 `protobuf:"varint,6,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` // timestamp when participant joined room, in milliseconds @@ -1611,17 +1594,17 @@ type ParticipantInfo struct { // and can publish to the server IsPublisher bool `protobuf:"varint,13,opt,name=is_publisher,json=isPublisher,proto3" json:"is_publisher,omitempty"` Kind ParticipantInfo_Kind `protobuf:"varint,14,opt,name=kind,proto3,enum=livekit.ParticipantInfo_Kind" json:"kind,omitempty"` - Attributes map[string]string `protobuf:"bytes,15,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Attributes map[string]string `protobuf:"bytes,15,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` DisconnectReason DisconnectReason `protobuf:"varint,16,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ParticipantInfo) Reset() { *x = ParticipantInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantInfo) String() string { @@ -1632,7 +1615,7 @@ func (*ParticipantInfo) ProtoMessage() {} func (x *ParticipantInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1753,18 +1736,16 @@ func (x *ParticipantInfo) GetDisconnectReason() DisconnectReason { } type Encryption struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Encryption) Reset() { *x = Encryption{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Encryption) String() string { @@ -1775,7 +1756,7 @@ func (*Encryption) ProtoMessage() {} func (x *Encryption) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1791,23 +1772,20 @@ func (*Encryption) Descriptor() ([]byte, []int) { } type SimulcastCodecInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + Mid string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"` + Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` + Layers []*VideoLayer `protobuf:"bytes,4,rep,name=layers,proto3" json:"layers,omitempty"` unknownFields protoimpl.UnknownFields - - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - Mid string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"` - Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` - Layers []*VideoLayer `protobuf:"bytes,4,rep,name=layers,proto3" json:"layers,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SimulcastCodecInfo) Reset() { *x = SimulcastCodecInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulcastCodecInfo) String() string { @@ -1818,7 +1796,7 @@ func (*SimulcastCodecInfo) ProtoMessage() {} func (x *SimulcastCodecInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1862,14 +1840,11 @@ func (x *SimulcastCodecInfo) GetLayers() []*VideoLayer { } type TrackInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Type TrackType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.TrackType" json:"type,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Type TrackType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.TrackType" json:"type,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` // original width of video (unset for audio) // clients may receive a lower resolution version with simulcast Width uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"` @@ -1894,15 +1869,15 @@ type TrackInfo struct { Version *TimedVersion `protobuf:"bytes,18,opt,name=version,proto3" json:"version,omitempty"` AudioFeatures []AudioTrackFeature `protobuf:"varint,19,rep,packed,name=audio_features,json=audioFeatures,proto3,enum=livekit.AudioTrackFeature" json:"audio_features,omitempty"` BackupCodecPolicy BackupCodecPolicy `protobuf:"varint,20,opt,name=backup_codec_policy,json=backupCodecPolicy,proto3,enum=livekit.BackupCodecPolicy" json:"backup_codec_policy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TrackInfo) Reset() { *x = TrackInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackInfo) String() string { @@ -1913,7 +1888,7 @@ func (*TrackInfo) ProtoMessage() {} func (x *TrackInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2070,26 +2045,23 @@ func (x *TrackInfo) GetBackupCodecPolicy() BackupCodecPolicy { // provide information about available spatial layers type VideoLayer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // for tracks with a single layer, this should be HIGH Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"` Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // target bitrate in bit per second (bps), server will measure actual - Bitrate uint32 `protobuf:"varint,4,opt,name=bitrate,proto3" json:"bitrate,omitempty"` - Ssrc uint32 `protobuf:"varint,5,opt,name=ssrc,proto3" json:"ssrc,omitempty"` + Bitrate uint32 `protobuf:"varint,4,opt,name=bitrate,proto3" json:"bitrate,omitempty"` + Ssrc uint32 `protobuf:"varint,5,opt,name=ssrc,proto3" json:"ssrc,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VideoLayer) Reset() { *x = VideoLayer{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VideoLayer) String() string { @@ -2100,7 +2072,7 @@ func (*VideoLayer) ProtoMessage() {} func (x *VideoLayer) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2152,17 +2124,14 @@ func (x *VideoLayer) GetSsrc() uint32 { // new DataPacket API type DataPacket struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Deprecated: Marked as deprecated in livekit_models.proto. Kind DataPacket_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"` // participant identity of user that sent the message ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` // identities of participants who will receive the message (sent to all by default) DestinationIdentities []string `protobuf:"bytes,5,rep,name=destination_identities,json=destinationIdentities,proto3" json:"destination_identities,omitempty"` - // Types that are assignable to Value: + // Types that are valid to be assigned to Value: // // *DataPacket_User // *DataPacket_Speaker @@ -2176,16 +2145,16 @@ type DataPacket struct { // *DataPacket_StreamHeader // *DataPacket_StreamChunk // *DataPacket_StreamTrailer - Value isDataPacket_Value `protobuf_oneof:"value"` + Value isDataPacket_Value `protobuf_oneof:"value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataPacket) Reset() { *x = DataPacket{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataPacket) String() string { @@ -2196,7 +2165,7 @@ func (*DataPacket) ProtoMessage() {} func (x *DataPacket) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2233,94 +2202,118 @@ func (x *DataPacket) GetDestinationIdentities() []string { return nil } -func (m *DataPacket) GetValue() isDataPacket_Value { - if m != nil { - return m.Value +func (x *DataPacket) GetValue() isDataPacket_Value { + if x != nil { + return x.Value } return nil } func (x *DataPacket) GetUser() *UserPacket { - if x, ok := x.GetValue().(*DataPacket_User); ok { - return x.User + if x != nil { + if x, ok := x.Value.(*DataPacket_User); ok { + return x.User + } } return nil } // Deprecated: Marked as deprecated in livekit_models.proto. func (x *DataPacket) GetSpeaker() *ActiveSpeakerUpdate { - if x, ok := x.GetValue().(*DataPacket_Speaker); ok { - return x.Speaker + if x != nil { + if x, ok := x.Value.(*DataPacket_Speaker); ok { + return x.Speaker + } } return nil } func (x *DataPacket) GetSipDtmf() *SipDTMF { - if x, ok := x.GetValue().(*DataPacket_SipDtmf); ok { - return x.SipDtmf + if x != nil { + if x, ok := x.Value.(*DataPacket_SipDtmf); ok { + return x.SipDtmf + } } return nil } func (x *DataPacket) GetTranscription() *Transcription { - if x, ok := x.GetValue().(*DataPacket_Transcription); ok { - return x.Transcription + if x != nil { + if x, ok := x.Value.(*DataPacket_Transcription); ok { + return x.Transcription + } } return nil } func (x *DataPacket) GetMetrics() *MetricsBatch { - if x, ok := x.GetValue().(*DataPacket_Metrics); ok { - return x.Metrics + if x != nil { + if x, ok := x.Value.(*DataPacket_Metrics); ok { + return x.Metrics + } } return nil } func (x *DataPacket) GetChatMessage() *ChatMessage { - if x, ok := x.GetValue().(*DataPacket_ChatMessage); ok { - return x.ChatMessage + if x != nil { + if x, ok := x.Value.(*DataPacket_ChatMessage); ok { + return x.ChatMessage + } } return nil } func (x *DataPacket) GetRpcRequest() *RpcRequest { - if x, ok := x.GetValue().(*DataPacket_RpcRequest); ok { - return x.RpcRequest + if x != nil { + if x, ok := x.Value.(*DataPacket_RpcRequest); ok { + return x.RpcRequest + } } return nil } func (x *DataPacket) GetRpcAck() *RpcAck { - if x, ok := x.GetValue().(*DataPacket_RpcAck); ok { - return x.RpcAck + if x != nil { + if x, ok := x.Value.(*DataPacket_RpcAck); ok { + return x.RpcAck + } } return nil } func (x *DataPacket) GetRpcResponse() *RpcResponse { - if x, ok := x.GetValue().(*DataPacket_RpcResponse); ok { - return x.RpcResponse + if x != nil { + if x, ok := x.Value.(*DataPacket_RpcResponse); ok { + return x.RpcResponse + } } return nil } func (x *DataPacket) GetStreamHeader() *DataStream_Header { - if x, ok := x.GetValue().(*DataPacket_StreamHeader); ok { - return x.StreamHeader + if x != nil { + if x, ok := x.Value.(*DataPacket_StreamHeader); ok { + return x.StreamHeader + } } return nil } func (x *DataPacket) GetStreamChunk() *DataStream_Chunk { - if x, ok := x.GetValue().(*DataPacket_StreamChunk); ok { - return x.StreamChunk + if x != nil { + if x, ok := x.Value.(*DataPacket_StreamChunk); ok { + return x.StreamChunk + } } return nil } func (x *DataPacket) GetStreamTrailer() *DataStream_Trailer { - if x, ok := x.GetValue().(*DataPacket_StreamTrailer); ok { - return x.StreamTrailer + if x != nil { + if x, ok := x.Value.(*DataPacket_StreamTrailer); ok { + return x.StreamTrailer + } } return nil } @@ -2403,20 +2396,17 @@ func (*DataPacket_StreamChunk) isDataPacket_Value() {} func (*DataPacket_StreamTrailer) isDataPacket_Value() {} type ActiveSpeakerUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` unknownFields protoimpl.UnknownFields - - Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ActiveSpeakerUpdate) Reset() { *x = ActiveSpeakerUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ActiveSpeakerUpdate) String() string { @@ -2427,7 +2417,7 @@ func (*ActiveSpeakerUpdate) ProtoMessage() {} func (x *ActiveSpeakerUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2450,24 +2440,21 @@ func (x *ActiveSpeakerUpdate) GetSpeakers() []*SpeakerInfo { } type SpeakerInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` // audio level, 0-1.0, 1 is loudest Level float32 `protobuf:"fixed32,2,opt,name=level,proto3" json:"level,omitempty"` // true if speaker is currently active - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` + Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SpeakerInfo) Reset() { *x = SpeakerInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SpeakerInfo) String() string { @@ -2478,7 +2465,7 @@ func (*SpeakerInfo) ProtoMessage() {} func (x *SpeakerInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2515,10 +2502,7 @@ func (x *SpeakerInfo) GetActive() bool { } type UserPacket struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // participant ID of user that sent the message // // Deprecated: Marked as deprecated in livekit_models.proto. @@ -2543,16 +2527,16 @@ type UserPacket struct { StartTime *uint64 `protobuf:"varint,9,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"` EndTime *uint64 `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"` // added by SDK to enable de-duping of messages, for INTERNAL USE ONLY - Nonce []byte `protobuf:"bytes,11,opt,name=nonce,proto3" json:"nonce,omitempty"` + Nonce []byte `protobuf:"bytes,11,opt,name=nonce,proto3" json:"nonce,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserPacket) Reset() { *x = UserPacket{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UserPacket) String() string { @@ -2563,7 +2547,7 @@ func (*UserPacket) ProtoMessage() {} func (x *UserPacket) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2653,21 +2637,18 @@ func (x *UserPacket) GetNonce() []byte { } type SipDTMF struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` + Digit string `protobuf:"bytes,4,opt,name=digit,proto3" json:"digit,omitempty"` unknownFields protoimpl.UnknownFields - - Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` - Digit string `protobuf:"bytes,4,opt,name=digit,proto3" json:"digit,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SipDTMF) Reset() { *x = SipDTMF{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SipDTMF) String() string { @@ -2678,7 +2659,7 @@ func (*SipDTMF) ProtoMessage() {} func (x *SipDTMF) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2708,23 +2689,20 @@ func (x *SipDTMF) GetDigit() string { } type Transcription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Participant that got its speech transcribed TranscribedParticipantIdentity string `protobuf:"bytes,2,opt,name=transcribed_participant_identity,json=transcribedParticipantIdentity,proto3" json:"transcribed_participant_identity,omitempty"` TrackId string `protobuf:"bytes,3,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` Segments []*TranscriptionSegment `protobuf:"bytes,4,rep,name=segments,proto3" json:"segments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Transcription) Reset() { *x = Transcription{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Transcription) String() string { @@ -2735,7 +2713,7 @@ func (*Transcription) ProtoMessage() {} func (x *Transcription) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2772,25 +2750,22 @@ func (x *Transcription) GetSegments() []*TranscriptionSegment { } type TranscriptionSegment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` + StartTime uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime uint64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + Final bool `protobuf:"varint,5,opt,name=final,proto3" json:"final,omitempty"` + Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` - StartTime uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime uint64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - Final bool `protobuf:"varint,5,opt,name=final,proto3" json:"final,omitempty"` - Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TranscriptionSegment) Reset() { *x = TranscriptionSegment{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TranscriptionSegment) String() string { @@ -2801,7 +2776,7 @@ func (*TranscriptionSegment) ProtoMessage() {} func (x *TranscriptionSegment) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2859,25 +2834,22 @@ func (x *TranscriptionSegment) GetLanguage() string { } type ChatMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // uuid + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + EditTimestamp *int64 `protobuf:"varint,3,opt,name=edit_timestamp,json=editTimestamp,proto3,oneof" json:"edit_timestamp,omitempty"` // populated only if the intent is to edit/update an existing message + Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` + Deleted bool `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"` // true to remove message + Generated bool `protobuf:"varint,6,opt,name=generated,proto3" json:"generated,omitempty"` // true if the chat message has been generated by an agent from a participant's audio transcription unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // uuid - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - EditTimestamp *int64 `protobuf:"varint,3,opt,name=edit_timestamp,json=editTimestamp,proto3,oneof" json:"edit_timestamp,omitempty"` // populated only if the intent is to edit/update an existing message - Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` - Deleted bool `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"` // true to remove message - Generated bool `protobuf:"varint,6,opt,name=generated,proto3" json:"generated,omitempty"` // true if the chat message has been generated by an agent from a participant's audio transcription + sizeCache protoimpl.SizeCache } func (x *ChatMessage) Reset() { *x = ChatMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChatMessage) String() string { @@ -2888,7 +2860,7 @@ func (*ChatMessage) ProtoMessage() {} func (x *ChatMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2946,24 +2918,21 @@ func (x *ChatMessage) GetGenerated() bool { } type RpcRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` - Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - ResponseTimeoutMs uint32 `protobuf:"varint,4,opt,name=response_timeout_ms,json=responseTimeoutMs,proto3" json:"response_timeout_ms,omitempty"` - Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` + Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` + ResponseTimeoutMs uint32 `protobuf:"varint,4,opt,name=response_timeout_ms,json=responseTimeoutMs,proto3" json:"response_timeout_ms,omitempty"` + Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RpcRequest) Reset() { *x = RpcRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RpcRequest) String() string { @@ -2974,7 +2943,7 @@ func (*RpcRequest) ProtoMessage() {} func (x *RpcRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3025,20 +2994,17 @@ func (x *RpcRequest) GetVersion() uint32 { } type RpcAck struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` unknownFields protoimpl.UnknownFields - - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RpcAck) Reset() { *x = RpcAck{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RpcAck) String() string { @@ -3049,7 +3015,7 @@ func (*RpcAck) ProtoMessage() {} func (x *RpcAck) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3072,25 +3038,22 @@ func (x *RpcAck) GetRequestId() string { } type RpcResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Types that are assignable to Value: + state protoimpl.MessageState `protogen:"open.v1"` + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // Types that are valid to be assigned to Value: // // *RpcResponse_Payload // *RpcResponse_Error - Value isRpcResponse_Value `protobuf_oneof:"value"` + Value isRpcResponse_Value `protobuf_oneof:"value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RpcResponse) Reset() { *x = RpcResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RpcResponse) String() string { @@ -3101,7 +3064,7 @@ func (*RpcResponse) ProtoMessage() {} func (x *RpcResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3123,23 +3086,27 @@ func (x *RpcResponse) GetRequestId() string { return "" } -func (m *RpcResponse) GetValue() isRpcResponse_Value { - if m != nil { - return m.Value +func (x *RpcResponse) GetValue() isRpcResponse_Value { + if x != nil { + return x.Value } return nil } func (x *RpcResponse) GetPayload() string { - if x, ok := x.GetValue().(*RpcResponse_Payload); ok { - return x.Payload + if x != nil { + if x, ok := x.Value.(*RpcResponse_Payload); ok { + return x.Payload + } } return "" } func (x *RpcResponse) GetError() *RpcError { - if x, ok := x.GetValue().(*RpcResponse_Error); ok { - return x.Error + if x != nil { + if x, ok := x.Value.(*RpcResponse_Error); ok { + return x.Error + } } return nil } @@ -3161,22 +3128,19 @@ func (*RpcResponse_Payload) isRpcResponse_Value() {} func (*RpcResponse_Error) isRpcResponse_Value() {} type RpcError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields - - Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RpcError) Reset() { *x = RpcError{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RpcError) String() string { @@ -3187,7 +3151,7 @@ func (*RpcError) ProtoMessage() {} func (x *RpcError) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3224,22 +3188,19 @@ func (x *RpcError) GetData() string { } type ParticipantTracks struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // participant ID of participant to whom the tracks belong ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` TrackSids []string `protobuf:"bytes,2,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ParticipantTracks) Reset() { *x = ParticipantTracks{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantTracks) String() string { @@ -3250,7 +3211,7 @@ func (*ParticipantTracks) ProtoMessage() {} func (x *ParticipantTracks) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3281,27 +3242,24 @@ func (x *ParticipantTracks) GetTrackSids() []string { // details about the server type ServerInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Edition ServerInfo_Edition `protobuf:"varint,1,opt,name=edition,proto3,enum=livekit.ServerInfo_Edition" json:"edition,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` - NodeId string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Edition ServerInfo_Edition `protobuf:"varint,1,opt,name=edition,proto3,enum=livekit.ServerInfo_Edition" json:"edition,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` + Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` + NodeId string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // additional debugging information. sent only if server is in development mode DebugInfo string `protobuf:"bytes,6,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"` AgentProtocol int32 `protobuf:"varint,7,opt,name=agent_protocol,json=agentProtocol,proto3" json:"agent_protocol,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerInfo) Reset() { *x = ServerInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServerInfo) String() string { @@ -3312,7 +3270,7 @@ func (*ServerInfo) ProtoMessage() {} func (x *ServerInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3378,33 +3336,30 @@ func (x *ServerInfo) GetAgentProtocol() int32 { // details about the client type ClientInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sdk ClientInfo_SDK `protobuf:"varint,1,opt,name=sdk,proto3,enum=livekit.ClientInfo_SDK" json:"sdk,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"` - OsVersion string `protobuf:"bytes,5,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` - DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"` - Browser string `protobuf:"bytes,7,opt,name=browser,proto3" json:"browser,omitempty"` - BrowserVersion string `protobuf:"bytes,8,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"` - Address string `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Sdk ClientInfo_SDK `protobuf:"varint,1,opt,name=sdk,proto3,enum=livekit.ClientInfo_SDK" json:"sdk,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` + Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"` + OsVersion string `protobuf:"bytes,5,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` + DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"` + Browser string `protobuf:"bytes,7,opt,name=browser,proto3" json:"browser,omitempty"` + BrowserVersion string `protobuf:"bytes,8,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"` + Address string `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"` // wifi, wired, cellular, vpn, empty if not known Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"` // comma separated list of additional LiveKit SDKs in use of this client, with versions // e.g. "components-js:1.2.3,track-processors-js:1.2.3" - OtherSdks string `protobuf:"bytes,11,opt,name=other_sdks,json=otherSdks,proto3" json:"other_sdks,omitempty"` + OtherSdks string `protobuf:"bytes,11,opt,name=other_sdks,json=otherSdks,proto3" json:"other_sdks,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClientInfo) Reset() { *x = ClientInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientInfo) String() string { @@ -3415,7 +3370,7 @@ func (*ClientInfo) ProtoMessage() {} func (x *ClientInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3509,24 +3464,21 @@ func (x *ClientInfo) GetOtherSdks() string { // server provided client configuration type ClientConfiguration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Video *VideoConfiguration `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"` - Screen *VideoConfiguration `protobuf:"bytes,2,opt,name=screen,proto3" json:"screen,omitempty"` - ResumeConnection ClientConfigSetting `protobuf:"varint,3,opt,name=resume_connection,json=resumeConnection,proto3,enum=livekit.ClientConfigSetting" json:"resume_connection,omitempty"` - DisabledCodecs *DisabledCodecs `protobuf:"bytes,4,opt,name=disabled_codecs,json=disabledCodecs,proto3" json:"disabled_codecs,omitempty"` - ForceRelay ClientConfigSetting `protobuf:"varint,5,opt,name=force_relay,json=forceRelay,proto3,enum=livekit.ClientConfigSetting" json:"force_relay,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Video *VideoConfiguration `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"` + Screen *VideoConfiguration `protobuf:"bytes,2,opt,name=screen,proto3" json:"screen,omitempty"` + ResumeConnection ClientConfigSetting `protobuf:"varint,3,opt,name=resume_connection,json=resumeConnection,proto3,enum=livekit.ClientConfigSetting" json:"resume_connection,omitempty"` + DisabledCodecs *DisabledCodecs `protobuf:"bytes,4,opt,name=disabled_codecs,json=disabledCodecs,proto3" json:"disabled_codecs,omitempty"` + ForceRelay ClientConfigSetting `protobuf:"varint,5,opt,name=force_relay,json=forceRelay,proto3,enum=livekit.ClientConfigSetting" json:"force_relay,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClientConfiguration) Reset() { *x = ClientConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientConfiguration) String() string { @@ -3537,7 +3489,7 @@ func (*ClientConfiguration) ProtoMessage() {} func (x *ClientConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3588,20 +3540,17 @@ func (x *ClientConfiguration) GetForceRelay() ClientConfigSetting { } type VideoConfiguration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - HardwareEncoder ClientConfigSetting `protobuf:"varint,1,opt,name=hardware_encoder,json=hardwareEncoder,proto3,enum=livekit.ClientConfigSetting" json:"hardware_encoder,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + HardwareEncoder ClientConfigSetting `protobuf:"varint,1,opt,name=hardware_encoder,json=hardwareEncoder,proto3,enum=livekit.ClientConfigSetting" json:"hardware_encoder,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VideoConfiguration) Reset() { *x = VideoConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VideoConfiguration) String() string { @@ -3612,7 +3561,7 @@ func (*VideoConfiguration) ProtoMessage() {} func (x *VideoConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3635,23 +3584,20 @@ func (x *VideoConfiguration) GetHardwareEncoder() ClientConfigSetting { } type DisabledCodecs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // disabled for both publish and subscribe Codecs []*Codec `protobuf:"bytes,1,rep,name=codecs,proto3" json:"codecs,omitempty"` // only disable for publish - Publish []*Codec `protobuf:"bytes,2,rep,name=publish,proto3" json:"publish,omitempty"` + Publish []*Codec `protobuf:"bytes,2,rep,name=publish,proto3" json:"publish,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisabledCodecs) Reset() { *x = DisabledCodecs{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DisabledCodecs) String() string { @@ -3662,7 +3608,7 @@ func (*DisabledCodecs) ProtoMessage() {} func (x *DisabledCodecs) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3692,10 +3638,7 @@ func (x *DisabledCodecs) GetPublish() []*Codec { } type RTPDrift struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Duration float64 `protobuf:"fixed64,3,opt,name=duration,proto3" json:"duration,omitempty"` @@ -3705,15 +3648,15 @@ type RTPDrift struct { DriftSamples int64 `protobuf:"varint,7,opt,name=drift_samples,json=driftSamples,proto3" json:"drift_samples,omitempty"` DriftMs float64 `protobuf:"fixed64,8,opt,name=drift_ms,json=driftMs,proto3" json:"drift_ms,omitempty"` ClockRate float64 `protobuf:"fixed64,9,opt,name=clock_rate,json=clockRate,proto3" json:"clock_rate,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RTPDrift) Reset() { *x = RTPDrift{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTPDrift) String() string { @@ -3724,7 +3667,7 @@ func (*RTPDrift) ProtoMessage() {} func (x *RTPDrift) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3803,10 +3746,7 @@ func (x *RTPDrift) GetClockRate() float64 { } type RTPStats struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Duration float64 `protobuf:"fixed64,3,opt,name=duration,proto3" json:"duration,omitempty"` @@ -3833,7 +3773,7 @@ type RTPStats struct { FrameRate float64 `protobuf:"fixed64,21,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"` JitterCurrent float64 `protobuf:"fixed64,22,opt,name=jitter_current,json=jitterCurrent,proto3" json:"jitter_current,omitempty"` JitterMax float64 `protobuf:"fixed64,23,opt,name=jitter_max,json=jitterMax,proto3" json:"jitter_max,omitempty"` - GapHistogram map[int32]uint32 `protobuf:"bytes,24,rep,name=gap_histogram,json=gapHistogram,proto3" json:"gap_histogram,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + GapHistogram map[int32]uint32 `protobuf:"bytes,24,rep,name=gap_histogram,json=gapHistogram,proto3" json:"gap_histogram,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` Nacks uint32 `protobuf:"varint,25,opt,name=nacks,proto3" json:"nacks,omitempty"` NackAcks uint32 `protobuf:"varint,37,opt,name=nack_acks,json=nackAcks,proto3" json:"nack_acks,omitempty"` NackMisses uint32 `protobuf:"varint,26,opt,name=nack_misses,json=nackMisses,proto3" json:"nack_misses,omitempty"` @@ -3852,15 +3792,15 @@ type RTPStats struct { NtpReportDrift *RTPDrift `protobuf:"bytes,45,opt,name=ntp_report_drift,json=ntpReportDrift,proto3" json:"ntp_report_drift,omitempty"` RebasedReportDrift *RTPDrift `protobuf:"bytes,46,opt,name=rebased_report_drift,json=rebasedReportDrift,proto3" json:"rebased_report_drift,omitempty"` ReceivedReportDrift *RTPDrift `protobuf:"bytes,47,opt,name=received_report_drift,json=receivedReportDrift,proto3" json:"received_report_drift,omitempty"` // NEXT_ID: 48 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RTPStats) Reset() { *x = RTPStats{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTPStats) String() string { @@ -3871,7 +3811,7 @@ func (*RTPStats) ProtoMessage() {} func (x *RTPStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4202,26 +4142,23 @@ func (x *RTPStats) GetReceivedReportDrift() *RTPDrift { } type RTCPSenderReportState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RtpTimestamp uint32 `protobuf:"varint,1,opt,name=rtp_timestamp,json=rtpTimestamp,proto3" json:"rtp_timestamp,omitempty"` - RtpTimestampExt uint64 `protobuf:"varint,2,opt,name=rtp_timestamp_ext,json=rtpTimestampExt,proto3" json:"rtp_timestamp_ext,omitempty"` - NtpTimestamp uint64 `protobuf:"varint,3,opt,name=ntp_timestamp,json=ntpTimestamp,proto3" json:"ntp_timestamp,omitempty"` - At int64 `protobuf:"varint,4,opt,name=at,proto3" json:"at,omitempty"` // time at which this happened - AtAdjusted int64 `protobuf:"varint,5,opt,name=at_adjusted,json=atAdjusted,proto3" json:"at_adjusted,omitempty"` - Packets uint32 `protobuf:"varint,6,opt,name=packets,proto3" json:"packets,omitempty"` - Octets uint64 `protobuf:"varint,7,opt,name=octets,proto3" json:"octets,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RtpTimestamp uint32 `protobuf:"varint,1,opt,name=rtp_timestamp,json=rtpTimestamp,proto3" json:"rtp_timestamp,omitempty"` + RtpTimestampExt uint64 `protobuf:"varint,2,opt,name=rtp_timestamp_ext,json=rtpTimestampExt,proto3" json:"rtp_timestamp_ext,omitempty"` + NtpTimestamp uint64 `protobuf:"varint,3,opt,name=ntp_timestamp,json=ntpTimestamp,proto3" json:"ntp_timestamp,omitempty"` + At int64 `protobuf:"varint,4,opt,name=at,proto3" json:"at,omitempty"` // time at which this happened + AtAdjusted int64 `protobuf:"varint,5,opt,name=at_adjusted,json=atAdjusted,proto3" json:"at_adjusted,omitempty"` + Packets uint32 `protobuf:"varint,6,opt,name=packets,proto3" json:"packets,omitempty"` + Octets uint64 `protobuf:"varint,7,opt,name=octets,proto3" json:"octets,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RTCPSenderReportState) Reset() { *x = RTCPSenderReportState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTCPSenderReportState) String() string { @@ -4232,7 +4169,7 @@ func (*RTCPSenderReportState) ProtoMessage() {} func (x *RTCPSenderReportState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4297,30 +4234,27 @@ func (x *RTCPSenderReportState) GetOctets() uint64 { } type RTPForwarderState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"` - ReferenceLayerSpatial int32 `protobuf:"varint,2,opt,name=reference_layer_spatial,json=referenceLayerSpatial,proto3" json:"reference_layer_spatial,omitempty"` - PreStartTime int64 `protobuf:"varint,3,opt,name=pre_start_time,json=preStartTime,proto3" json:"pre_start_time,omitempty"` - ExtFirstTimestamp uint64 `protobuf:"varint,4,opt,name=ext_first_timestamp,json=extFirstTimestamp,proto3" json:"ext_first_timestamp,omitempty"` - DummyStartTimestampOffset uint64 `protobuf:"varint,5,opt,name=dummy_start_timestamp_offset,json=dummyStartTimestampOffset,proto3" json:"dummy_start_timestamp_offset,omitempty"` - RtpMunger *RTPMungerState `protobuf:"bytes,6,opt,name=rtp_munger,json=rtpMunger,proto3" json:"rtp_munger,omitempty"` - // Types that are assignable to CodecMunger: + state protoimpl.MessageState `protogen:"open.v1"` + Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"` + ReferenceLayerSpatial int32 `protobuf:"varint,2,opt,name=reference_layer_spatial,json=referenceLayerSpatial,proto3" json:"reference_layer_spatial,omitempty"` + PreStartTime int64 `protobuf:"varint,3,opt,name=pre_start_time,json=preStartTime,proto3" json:"pre_start_time,omitempty"` + ExtFirstTimestamp uint64 `protobuf:"varint,4,opt,name=ext_first_timestamp,json=extFirstTimestamp,proto3" json:"ext_first_timestamp,omitempty"` + DummyStartTimestampOffset uint64 `protobuf:"varint,5,opt,name=dummy_start_timestamp_offset,json=dummyStartTimestampOffset,proto3" json:"dummy_start_timestamp_offset,omitempty"` + RtpMunger *RTPMungerState `protobuf:"bytes,6,opt,name=rtp_munger,json=rtpMunger,proto3" json:"rtp_munger,omitempty"` + // Types that are valid to be assigned to CodecMunger: // // *RTPForwarderState_Vp8Munger CodecMunger isRTPForwarderState_CodecMunger `protobuf_oneof:"codec_munger"` SenderReportState []*RTCPSenderReportState `protobuf:"bytes,8,rep,name=sender_report_state,json=senderReportState,proto3" json:"sender_report_state,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RTPForwarderState) Reset() { *x = RTPForwarderState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTPForwarderState) String() string { @@ -4331,7 +4265,7 @@ func (*RTPForwarderState) ProtoMessage() {} func (x *RTPForwarderState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4388,16 +4322,18 @@ func (x *RTPForwarderState) GetRtpMunger() *RTPMungerState { return nil } -func (m *RTPForwarderState) GetCodecMunger() isRTPForwarderState_CodecMunger { - if m != nil { - return m.CodecMunger +func (x *RTPForwarderState) GetCodecMunger() isRTPForwarderState_CodecMunger { + if x != nil { + return x.CodecMunger } return nil } func (x *RTPForwarderState) GetVp8Munger() *VP8MungerState { - if x, ok := x.GetCodecMunger().(*RTPForwarderState_Vp8Munger); ok { - return x.Vp8Munger + if x != nil { + if x, ok := x.CodecMunger.(*RTPForwarderState_Vp8Munger); ok { + return x.Vp8Munger + } } return nil } @@ -4420,25 +4356,22 @@ type RTPForwarderState_Vp8Munger struct { func (*RTPForwarderState_Vp8Munger) isRTPForwarderState_CodecMunger() {} type RTPMungerState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ExtLastSequenceNumber uint64 `protobuf:"varint,1,opt,name=ext_last_sequence_number,json=extLastSequenceNumber,proto3" json:"ext_last_sequence_number,omitempty"` - ExtSecondLastSequenceNumber uint64 `protobuf:"varint,2,opt,name=ext_second_last_sequence_number,json=extSecondLastSequenceNumber,proto3" json:"ext_second_last_sequence_number,omitempty"` - ExtLastTimestamp uint64 `protobuf:"varint,3,opt,name=ext_last_timestamp,json=extLastTimestamp,proto3" json:"ext_last_timestamp,omitempty"` - ExtSecondLastTimestamp uint64 `protobuf:"varint,4,opt,name=ext_second_last_timestamp,json=extSecondLastTimestamp,proto3" json:"ext_second_last_timestamp,omitempty"` - LastMarker bool `protobuf:"varint,5,opt,name=last_marker,json=lastMarker,proto3" json:"last_marker,omitempty"` - SecondLastMarker bool `protobuf:"varint,6,opt,name=second_last_marker,json=secondLastMarker,proto3" json:"second_last_marker,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ExtLastSequenceNumber uint64 `protobuf:"varint,1,opt,name=ext_last_sequence_number,json=extLastSequenceNumber,proto3" json:"ext_last_sequence_number,omitempty"` + ExtSecondLastSequenceNumber uint64 `protobuf:"varint,2,opt,name=ext_second_last_sequence_number,json=extSecondLastSequenceNumber,proto3" json:"ext_second_last_sequence_number,omitempty"` + ExtLastTimestamp uint64 `protobuf:"varint,3,opt,name=ext_last_timestamp,json=extLastTimestamp,proto3" json:"ext_last_timestamp,omitempty"` + ExtSecondLastTimestamp uint64 `protobuf:"varint,4,opt,name=ext_second_last_timestamp,json=extSecondLastTimestamp,proto3" json:"ext_second_last_timestamp,omitempty"` + LastMarker bool `protobuf:"varint,5,opt,name=last_marker,json=lastMarker,proto3" json:"last_marker,omitempty"` + SecondLastMarker bool `protobuf:"varint,6,opt,name=second_last_marker,json=secondLastMarker,proto3" json:"second_last_marker,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RTPMungerState) Reset() { *x = RTPMungerState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTPMungerState) String() string { @@ -4449,7 +4382,7 @@ func (*RTPMungerState) ProtoMessage() {} func (x *RTPMungerState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4507,26 +4440,23 @@ func (x *RTPMungerState) GetSecondLastMarker() bool { } type VP8MungerState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ExtLastPictureId int32 `protobuf:"varint,1,opt,name=ext_last_picture_id,json=extLastPictureId,proto3" json:"ext_last_picture_id,omitempty"` - PictureIdUsed bool `protobuf:"varint,2,opt,name=picture_id_used,json=pictureIdUsed,proto3" json:"picture_id_used,omitempty"` - LastTl0PicIdx uint32 `protobuf:"varint,3,opt,name=last_tl0_pic_idx,json=lastTl0PicIdx,proto3" json:"last_tl0_pic_idx,omitempty"` - Tl0PicIdxUsed bool `protobuf:"varint,4,opt,name=tl0_pic_idx_used,json=tl0PicIdxUsed,proto3" json:"tl0_pic_idx_used,omitempty"` - TidUsed bool `protobuf:"varint,5,opt,name=tid_used,json=tidUsed,proto3" json:"tid_used,omitempty"` - LastKeyIdx uint32 `protobuf:"varint,6,opt,name=last_key_idx,json=lastKeyIdx,proto3" json:"last_key_idx,omitempty"` - KeyIdxUsed bool `protobuf:"varint,7,opt,name=key_idx_used,json=keyIdxUsed,proto3" json:"key_idx_used,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ExtLastPictureId int32 `protobuf:"varint,1,opt,name=ext_last_picture_id,json=extLastPictureId,proto3" json:"ext_last_picture_id,omitempty"` + PictureIdUsed bool `protobuf:"varint,2,opt,name=picture_id_used,json=pictureIdUsed,proto3" json:"picture_id_used,omitempty"` + LastTl0PicIdx uint32 `protobuf:"varint,3,opt,name=last_tl0_pic_idx,json=lastTl0PicIdx,proto3" json:"last_tl0_pic_idx,omitempty"` + Tl0PicIdxUsed bool `protobuf:"varint,4,opt,name=tl0_pic_idx_used,json=tl0PicIdxUsed,proto3" json:"tl0_pic_idx_used,omitempty"` + TidUsed bool `protobuf:"varint,5,opt,name=tid_used,json=tidUsed,proto3" json:"tid_used,omitempty"` + LastKeyIdx uint32 `protobuf:"varint,6,opt,name=last_key_idx,json=lastKeyIdx,proto3" json:"last_key_idx,omitempty"` + KeyIdxUsed bool `protobuf:"varint,7,opt,name=key_idx_used,json=keyIdxUsed,proto3" json:"key_idx_used,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VP8MungerState) Reset() { *x = VP8MungerState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VP8MungerState) String() string { @@ -4537,7 +4467,7 @@ func (*VP8MungerState) ProtoMessage() {} func (x *VP8MungerState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4602,21 +4532,18 @@ func (x *VP8MungerState) GetKeyIdxUsed() bool { } type TimedVersion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + UnixMicro int64 `protobuf:"varint,1,opt,name=unix_micro,json=unixMicro,proto3" json:"unix_micro,omitempty"` + Ticks int32 `protobuf:"varint,2,opt,name=ticks,proto3" json:"ticks,omitempty"` unknownFields protoimpl.UnknownFields - - UnixMicro int64 `protobuf:"varint,1,opt,name=unix_micro,json=unixMicro,proto3" json:"unix_micro,omitempty"` - Ticks int32 `protobuf:"varint,2,opt,name=ticks,proto3" json:"ticks,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TimedVersion) Reset() { *x = TimedVersion{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimedVersion) String() string { @@ -4627,7 +4554,7 @@ func (*TimedVersion) ProtoMessage() {} func (x *TimedVersion) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4657,18 +4584,16 @@ func (x *TimedVersion) GetTicks() int32 { } type DataStream struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataStream) Reset() { *x = DataStream{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataStream) String() string { @@ -4679,7 +4604,7 @@ func (*DataStream) ProtoMessage() {} func (x *DataStream) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4696,24 +4621,21 @@ func (*DataStream) Descriptor() ([]byte, []int) { // header properties specific to text streams type DataStream_TextHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` OperationType DataStream_OperationType `protobuf:"varint,1,opt,name=operation_type,json=operationType,proto3,enum=livekit.DataStream_OperationType" json:"operation_type,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // Optional: Version for updates/edits ReplyToStreamId string `protobuf:"bytes,3,opt,name=reply_to_stream_id,json=replyToStreamId,proto3" json:"reply_to_stream_id,omitempty"` // Optional: Reply to specific message AttachedStreamIds []string `protobuf:"bytes,4,rep,name=attached_stream_ids,json=attachedStreamIds,proto3" json:"attached_stream_ids,omitempty"` // file attachments for text streams Generated bool `protobuf:"varint,5,opt,name=generated,proto3" json:"generated,omitempty"` // true if the text has been generated by an agent from a participant's audio transcription + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataStream_TextHeader) Reset() { *x = DataStream_TextHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataStream_TextHeader) String() string { @@ -4724,7 +4646,7 @@ func (*DataStream_TextHeader) ProtoMessage() {} func (x *DataStream_TextHeader) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4776,20 +4698,17 @@ func (x *DataStream_TextHeader) GetGenerated() bool { // header properties specific to byte or file streams type DataStream_ByteHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DataStream_ByteHeader) Reset() { *x = DataStream_ByteHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataStream_ByteHeader) String() string { @@ -4800,7 +4719,7 @@ func (*DataStream_ByteHeader) ProtoMessage() {} func (x *DataStream_ByteHeader) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4824,33 +4743,30 @@ func (x *DataStream_ByteHeader) GetName() string { // main DataStream.Header that contains a oneof for specific headers type DataStream_Header struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // using int64 for Unix timestamp - Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` - MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - TotalLength *uint64 `protobuf:"varint,5,opt,name=total_length,json=totalLength,proto3,oneof" json:"total_length,omitempty"` // only populated for finite streams, if it's a stream of unknown size this stays empty - EncryptionType Encryption_Type `protobuf:"varint,7,opt,name=encryption_type,json=encryptionType,proto3,enum=livekit.Encryption_Type" json:"encryption_type,omitempty"` // defaults to NONE - Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // user defined attributes map that can carry additional info + state protoimpl.MessageState `protogen:"open.v1"` + StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // using int64 for Unix timestamp + Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` + MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + TotalLength *uint64 `protobuf:"varint,5,opt,name=total_length,json=totalLength,proto3,oneof" json:"total_length,omitempty"` // only populated for finite streams, if it's a stream of unknown size this stays empty + EncryptionType Encryption_Type `protobuf:"varint,7,opt,name=encryption_type,json=encryptionType,proto3,enum=livekit.Encryption_Type" json:"encryption_type,omitempty"` // defaults to NONE + Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // user defined attributes map that can carry additional info // oneof to choose between specific header types // - // Types that are assignable to ContentHeader: + // Types that are valid to be assigned to ContentHeader: // // *DataStream_Header_TextHeader // *DataStream_Header_ByteHeader ContentHeader isDataStream_Header_ContentHeader `protobuf_oneof:"content_header"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataStream_Header) Reset() { *x = DataStream_Header{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataStream_Header) String() string { @@ -4861,7 +4777,7 @@ func (*DataStream_Header) ProtoMessage() {} func (x *DataStream_Header) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4925,23 +4841,27 @@ func (x *DataStream_Header) GetAttributes() map[string]string { return nil } -func (m *DataStream_Header) GetContentHeader() isDataStream_Header_ContentHeader { - if m != nil { - return m.ContentHeader +func (x *DataStream_Header) GetContentHeader() isDataStream_Header_ContentHeader { + if x != nil { + return x.ContentHeader } return nil } func (x *DataStream_Header) GetTextHeader() *DataStream_TextHeader { - if x, ok := x.GetContentHeader().(*DataStream_Header_TextHeader); ok { - return x.TextHeader + if x != nil { + if x, ok := x.ContentHeader.(*DataStream_Header_TextHeader); ok { + return x.TextHeader + } } return nil } func (x *DataStream_Header) GetByteHeader() *DataStream_ByteHeader { - if x, ok := x.GetContentHeader().(*DataStream_Header_ByteHeader); ok { - return x.ByteHeader + if x != nil { + if x, ok := x.ContentHeader.(*DataStream_Header_ByteHeader); ok { + return x.ByteHeader + } } return nil } @@ -4963,24 +4883,21 @@ func (*DataStream_Header_TextHeader) isDataStream_Header_ContentHeader() {} func (*DataStream_Header_ByteHeader) isDataStream_Header_ContentHeader() {} type DataStream_Chunk struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream to map it to the correct header + ChunkIndex uint64 `protobuf:"varint,2,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"` + Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // content as binary (bytes) + Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` // a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced + Iv []byte `protobuf:"bytes,5,opt,name=iv,proto3,oneof" json:"iv,omitempty"` // optional, initialization vector for AES-GCM encryption unknownFields protoimpl.UnknownFields - - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream to map it to the correct header - ChunkIndex uint64 `protobuf:"varint,2,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"` - Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // content as binary (bytes) - Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` // a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced - Iv []byte `protobuf:"bytes,5,opt,name=iv,proto3,oneof" json:"iv,omitempty"` // optional, initialization vector for AES-GCM encryption + sizeCache protoimpl.SizeCache } func (x *DataStream_Chunk) Reset() { *x = DataStream_Chunk{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataStream_Chunk) String() string { @@ -4991,7 +4908,7 @@ func (*DataStream_Chunk) ProtoMessage() {} func (x *DataStream_Chunk) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5042,22 +4959,19 @@ func (x *DataStream_Chunk) GetIv() []byte { } type DataStream_Trailer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream + Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end) + Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // finalizing updates for the stream, can also include additional insights for errors or endTime for transcription unknownFields protoimpl.UnknownFields - - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream - Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end) - Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // finalizing updates for the stream, can also include additional insights for errors or endTime for transcription + sizeCache protoimpl.SizeCache } func (x *DataStream_Trailer) Reset() { *x = DataStream_Trailer{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataStream_Trailer) String() string { @@ -5068,7 +4982,7 @@ func (*DataStream_Trailer) ProtoMessage() {} func (x *DataStream_Trailer) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5106,7 +5020,7 @@ func (x *DataStream_Trailer) GetAttributes() map[string]string { var File_livekit_models_proto protoreflect.FileDescriptor -var file_livekit_models_proto_rawDesc = []byte{ +var file_livekit_models_proto_rawDesc = string([]byte{ 0x0a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, @@ -5941,23 +5855,23 @@ var file_livekit_models_proto_rawDesc = []byte{ 0x76, 0x65, 0x6b, 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_models_proto_rawDescOnce sync.Once - file_livekit_models_proto_rawDescData = file_livekit_models_proto_rawDesc + file_livekit_models_proto_rawDescData []byte ) func file_livekit_models_proto_rawDescGZIP() []byte { file_livekit_models_proto_rawDescOnce.Do(func() { - file_livekit_models_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_models_proto_rawDescData) + file_livekit_models_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_models_proto_rawDesc), len(file_livekit_models_proto_rawDesc))) }) return file_livekit_models_proto_rawDescData } var file_livekit_models_proto_enumTypes = make([]protoimpl.EnumInfo, 20) var file_livekit_models_proto_msgTypes = make([]protoimpl.MessageInfo, 45) -var file_livekit_models_proto_goTypes = []interface{}{ +var file_livekit_models_proto_goTypes = []any{ (AudioCodec)(0), // 0: livekit.AudioCodec (VideoCodec)(0), // 1: livekit.VideoCodec (ImageCodec)(0), // 2: livekit.ImageCodec @@ -6107,501 +6021,7 @@ func file_livekit_models_proto_init() { return } file_livekit_metrics_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_models_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Pagination); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Room); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Codec); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayoutDelay); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParticipantPermission); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParticipantInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Encryption); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SimulcastCodecInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VideoLayer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataPacket); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActiveSpeakerUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpeakerInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserPacket); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SipDTMF); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Transcription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TranscriptionSegment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChatMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RpcRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RpcAck); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RpcResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RpcError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParticipantTracks); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientConfiguration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VideoConfiguration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisabledCodecs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RTPDrift); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RTPStats); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RTCPSenderReportState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RTPForwarderState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RTPMungerState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VP8MungerState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimedVersion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataStream); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataStream_TextHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataStream_ByteHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataStream_Header); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataStream_Chunk); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataStream_Trailer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_models_proto_msgTypes[10].OneofWrappers = []interface{}{ + file_livekit_models_proto_msgTypes[10].OneofWrappers = []any{ (*DataPacket_User)(nil), (*DataPacket_Speaker)(nil), (*DataPacket_SipDtmf)(nil), @@ -6615,25 +6035,25 @@ func file_livekit_models_proto_init() { (*DataPacket_StreamChunk)(nil), (*DataPacket_StreamTrailer)(nil), } - file_livekit_models_proto_msgTypes[13].OneofWrappers = []interface{}{} - file_livekit_models_proto_msgTypes[17].OneofWrappers = []interface{}{} - file_livekit_models_proto_msgTypes[20].OneofWrappers = []interface{}{ + file_livekit_models_proto_msgTypes[13].OneofWrappers = []any{} + file_livekit_models_proto_msgTypes[17].OneofWrappers = []any{} + file_livekit_models_proto_msgTypes[20].OneofWrappers = []any{ (*RpcResponse_Payload)(nil), (*RpcResponse_Error)(nil), } - file_livekit_models_proto_msgTypes[31].OneofWrappers = []interface{}{ + file_livekit_models_proto_msgTypes[31].OneofWrappers = []any{ (*RTPForwarderState_Vp8Munger)(nil), } - file_livekit_models_proto_msgTypes[40].OneofWrappers = []interface{}{ + file_livekit_models_proto_msgTypes[40].OneofWrappers = []any{ (*DataStream_Header_TextHeader)(nil), (*DataStream_Header_ByteHeader)(nil), } - file_livekit_models_proto_msgTypes[41].OneofWrappers = []interface{}{} + file_livekit_models_proto_msgTypes[41].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_models_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_models_proto_rawDesc), len(file_livekit_models_proto_rawDesc)), NumEnums: 20, NumMessages: 45, NumExtensions: 0, @@ -6645,7 +6065,6 @@ func file_livekit_models_proto_init() { MessageInfos: file_livekit_models_proto_msgTypes, }.Build() File_livekit_models_proto = out.File - file_livekit_models_proto_rawDesc = nil file_livekit_models_proto_goTypes = nil file_livekit_models_proto_depIdxs = nil } diff --git a/livekit/livekit_room.pb.go b/livekit/livekit_room.pb.go index 4e5bb0a0d..ce291ccd1 100644 --- a/livekit/livekit_room.pb.go +++ b/livekit/livekit_room.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_room.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -35,10 +36,7 @@ const ( ) type CreateRoomRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name of the room Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // configuration to use for this room parameters. Setting parameters below override the config defaults. @@ -64,16 +62,16 @@ type CreateRoomRequest struct { // replay ReplayEnabled bool `protobuf:"varint,13,opt,name=replay_enabled,json=replayEnabled,proto3" json:"replay_enabled,omitempty"` // Define agents that should be dispatched to this room - Agents []*RoomAgentDispatch `protobuf:"bytes,14,rep,name=agents,proto3" json:"agents,omitempty"` // NEXT-ID: 15 + Agents []*RoomAgentDispatch `protobuf:"bytes,14,rep,name=agents,proto3" json:"agents,omitempty"` // NEXT-ID: 15 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateRoomRequest) Reset() { *x = CreateRoomRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRoomRequest) String() string { @@ -84,7 +82,7 @@ func (*CreateRoomRequest) ProtoMessage() {} func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -191,22 +189,19 @@ func (x *CreateRoomRequest) GetAgents() []*RoomAgentDispatch { } type RoomEgress struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Room *RoomCompositeEgressRequest `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Participant *AutoParticipantEgress `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` + Tracks *AutoTrackEgress `protobuf:"bytes,2,opt,name=tracks,proto3" json:"tracks,omitempty"` unknownFields protoimpl.UnknownFields - - Room *RoomCompositeEgressRequest `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Participant *AutoParticipantEgress `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` - Tracks *AutoTrackEgress `protobuf:"bytes,2,opt,name=tracks,proto3" json:"tracks,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RoomEgress) Reset() { *x = RoomEgress{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomEgress) String() string { @@ -217,7 +212,7 @@ func (*RoomEgress) ProtoMessage() {} func (x *RoomEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -254,20 +249,17 @@ func (x *RoomEgress) GetTracks() *AutoTrackEgress { } type RoomAgent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Dispatches []*RoomAgentDispatch `protobuf:"bytes,1,rep,name=dispatches,proto3" json:"dispatches,omitempty"` unknownFields protoimpl.UnknownFields - - Dispatches []*RoomAgentDispatch `protobuf:"bytes,1,rep,name=dispatches,proto3" json:"dispatches,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RoomAgent) Reset() { *x = RoomAgent{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomAgent) String() string { @@ -278,7 +270,7 @@ func (*RoomAgent) ProtoMessage() {} func (x *RoomAgent) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -301,21 +293,18 @@ func (x *RoomAgent) GetDispatches() []*RoomAgentDispatch { } type ListRoomsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // when set, will only return rooms with name match - Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRoomsRequest) Reset() { *x = ListRoomsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRoomsRequest) String() string { @@ -326,7 +315,7 @@ func (*ListRoomsRequest) ProtoMessage() {} func (x *ListRoomsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -349,20 +338,17 @@ func (x *ListRoomsRequest) GetNames() []string { } type ListRoomsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` unknownFields protoimpl.UnknownFields - - Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRoomsResponse) Reset() { *x = ListRoomsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRoomsResponse) String() string { @@ -373,7 +359,7 @@ func (*ListRoomsResponse) ProtoMessage() {} func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -396,21 +382,18 @@ func (x *ListRoomsResponse) GetRooms() []*Room { } type DeleteRoomRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name of the room - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRoomRequest) Reset() { *x = DeleteRoomRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRoomRequest) String() string { @@ -421,7 +404,7 @@ func (*DeleteRoomRequest) ProtoMessage() {} func (x *DeleteRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -444,18 +427,16 @@ func (x *DeleteRoomRequest) GetRoom() string { } type DeleteRoomResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRoomResponse) Reset() { *x = DeleteRoomResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRoomResponse) String() string { @@ -466,7 +447,7 @@ func (*DeleteRoomResponse) ProtoMessage() {} func (x *DeleteRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -482,21 +463,18 @@ func (*DeleteRoomResponse) Descriptor() ([]byte, []int) { } type ListParticipantsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name of the room - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListParticipantsRequest) Reset() { *x = ListParticipantsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListParticipantsRequest) String() string { @@ -507,7 +485,7 @@ func (*ListParticipantsRequest) ProtoMessage() {} func (x *ListParticipantsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -530,20 +508,17 @@ func (x *ListParticipantsRequest) GetRoom() string { } type ListParticipantsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` unknownFields protoimpl.UnknownFields - - Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListParticipantsResponse) Reset() { *x = ListParticipantsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListParticipantsResponse) String() string { @@ -554,7 +529,7 @@ func (*ListParticipantsResponse) ProtoMessage() {} func (x *ListParticipantsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -577,23 +552,20 @@ func (x *ListParticipantsResponse) GetParticipants() []*ParticipantInfo { } type RoomParticipantIdentity struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name of the room Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // identity of the participant - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RoomParticipantIdentity) Reset() { *x = RoomParticipantIdentity{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomParticipantIdentity) String() string { @@ -604,7 +576,7 @@ func (*RoomParticipantIdentity) ProtoMessage() {} func (x *RoomParticipantIdentity) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -634,18 +606,16 @@ func (x *RoomParticipantIdentity) GetIdentity() string { } type RemoveParticipantResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveParticipantResponse) Reset() { *x = RemoveParticipantResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveParticipantResponse) String() string { @@ -656,7 +626,7 @@ func (*RemoveParticipantResponse) ProtoMessage() {} func (x *RemoveParticipantResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -672,26 +642,23 @@ func (*RemoveParticipantResponse) Descriptor() ([]byte, []int) { } type MuteRoomTrackRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name of the room Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // sid of the track to mute TrackSid string `protobuf:"bytes,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` // set to true to mute, false to unmute - Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` + Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MuteRoomTrackRequest) Reset() { *x = MuteRoomTrackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MuteRoomTrackRequest) String() string { @@ -702,7 +669,7 @@ func (*MuteRoomTrackRequest) ProtoMessage() {} func (x *MuteRoomTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -746,20 +713,17 @@ func (x *MuteRoomTrackRequest) GetMuted() bool { } type MuteRoomTrackResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Track *TrackInfo `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"` unknownFields protoimpl.UnknownFields - - Track *TrackInfo `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MuteRoomTrackResponse) Reset() { *x = MuteRoomTrackResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MuteRoomTrackResponse) String() string { @@ -770,7 +734,7 @@ func (*MuteRoomTrackResponse) ProtoMessage() {} func (x *MuteRoomTrackResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -793,12 +757,9 @@ func (x *MuteRoomTrackResponse) GetTrack() *TrackInfo { } type UpdateParticipantRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // metadata to update. skipping updates if left empty Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // set to update the participant's permissions @@ -807,16 +768,16 @@ type UpdateParticipantRequest struct { Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // attributes to update. it only updates attributes that have been set // to delete attributes, set the value to an empty string - Attributes map[string]string `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Attributes map[string]string `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateParticipantRequest) Reset() { *x = UpdateParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateParticipantRequest) String() string { @@ -827,7 +788,7 @@ func (*UpdateParticipantRequest) ProtoMessage() {} func (x *UpdateParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -885,27 +846,24 @@ func (x *UpdateParticipantRequest) GetAttributes() map[string]string { } type UpdateSubscriptionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // list of sids of tracks TrackSids []string `protobuf:"bytes,3,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` // set to true to subscribe, false to unsubscribe from tracks Subscribe bool `protobuf:"varint,4,opt,name=subscribe,proto3" json:"subscribe,omitempty"` // list of participants and their tracks ParticipantTracks []*ParticipantTracks `protobuf:"bytes,5,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateSubscriptionsRequest) Reset() { *x = UpdateSubscriptionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSubscriptionsRequest) String() string { @@ -916,7 +874,7 @@ func (*UpdateSubscriptionsRequest) ProtoMessage() {} func (x *UpdateSubscriptionsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -967,18 +925,16 @@ func (x *UpdateSubscriptionsRequest) GetParticipantTracks() []*ParticipantTracks } type UpdateSubscriptionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateSubscriptionsResponse) Reset() { *x = UpdateSubscriptionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSubscriptionsResponse) String() string { @@ -989,7 +945,7 @@ func (*UpdateSubscriptionsResponse) ProtoMessage() {} func (x *UpdateSubscriptionsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1005,13 +961,10 @@ func (*UpdateSubscriptionsResponse) Descriptor() ([]byte, []int) { } type SendDataRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Kind DataPacket_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + Kind DataPacket_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"` // mark deprecated // // Deprecated: Marked as deprecated in livekit_room.proto. @@ -1020,16 +973,16 @@ type SendDataRequest struct { DestinationIdentities []string `protobuf:"bytes,6,rep,name=destination_identities,json=destinationIdentities,proto3" json:"destination_identities,omitempty"` Topic *string `protobuf:"bytes,5,opt,name=topic,proto3,oneof" json:"topic,omitempty"` // added by SDK to enable de-duping of messages, for INTERNAL USE ONLY - Nonce []byte `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"` + Nonce []byte `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SendDataRequest) Reset() { *x = SendDataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendDataRequest) String() string { @@ -1040,7 +993,7 @@ func (*SendDataRequest) ProtoMessage() {} func (x *SendDataRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1106,18 +1059,16 @@ func (x *SendDataRequest) GetNonce() []byte { } type SendDataResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SendDataResponse) Reset() { *x = SendDataResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendDataResponse) String() string { @@ -1128,7 +1079,7 @@ func (*SendDataResponse) ProtoMessage() {} func (x *SendDataResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1144,22 +1095,19 @@ func (*SendDataResponse) Descriptor() ([]byte, []int) { } type UpdateRoomMetadataRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // metadata to update. skipping updates if left empty - Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateRoomMetadataRequest) Reset() { *x = UpdateRoomMetadataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRoomMetadataRequest) String() string { @@ -1170,7 +1118,7 @@ func (*UpdateRoomMetadataRequest) ProtoMessage() {} func (x *UpdateRoomMetadataRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1200,11 +1148,8 @@ func (x *UpdateRoomMetadataRequest) GetMetadata() string { } type RoomConfiguration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Used as ID, must be unique + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Used as ID, must be unique // number of seconds to keep the room open if no one joins EmptyTimeout uint32 `protobuf:"varint,2,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` // number of seconds to keep the room open after everyone leaves @@ -1220,16 +1165,16 @@ type RoomConfiguration struct { // so not recommended for rooms with frequent subscription changes SyncStreams bool `protobuf:"varint,9,opt,name=sync_streams,json=syncStreams,proto3" json:"sync_streams,omitempty"` // Define agents that should be dispatched to this room - Agents []*RoomAgentDispatch `protobuf:"bytes,10,rep,name=agents,proto3" json:"agents,omitempty"` + Agents []*RoomAgentDispatch `protobuf:"bytes,10,rep,name=agents,proto3" json:"agents,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RoomConfiguration) Reset() { *x = RoomConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomConfiguration) String() string { @@ -1240,7 +1185,7 @@ func (*RoomConfiguration) ProtoMessage() {} func (x *RoomConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1320,7 +1265,7 @@ func (x *RoomConfiguration) GetAgents() []*RoomAgentDispatch { var File_livekit_room_proto protoreflect.FileDescriptor -var file_livekit_room_proto_rawDesc = []byte{ +var file_livekit_room_proto_rawDesc = string([]byte{ 0x0a, 0x12, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, @@ -1556,22 +1501,22 @@ var file_livekit_room_proto_rawDesc = []byte{ 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_room_proto_rawDescOnce sync.Once - file_livekit_room_proto_rawDescData = file_livekit_room_proto_rawDesc + file_livekit_room_proto_rawDescData []byte ) func file_livekit_room_proto_rawDescGZIP() []byte { file_livekit_room_proto_rawDescOnce.Do(func() { - file_livekit_room_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_room_proto_rawDescData) + file_livekit_room_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_room_proto_rawDesc), len(file_livekit_room_proto_rawDesc))) }) return file_livekit_room_proto_rawDescData } var file_livekit_room_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_livekit_room_proto_goTypes = []interface{}{ +var file_livekit_room_proto_goTypes = []any{ (*CreateRoomRequest)(nil), // 0: livekit.CreateRoomRequest (*RoomEgress)(nil), // 1: livekit.RoomEgress (*RoomAgent)(nil), // 2: livekit.RoomAgent @@ -1657,254 +1602,12 @@ func file_livekit_room_proto_init() { file_livekit_models_proto_init() file_livekit_egress_proto_init() file_livekit_agent_dispatch_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_room_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRoomRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomEgress); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomAgent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRoomsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRoomsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRoomRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRoomResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListParticipantsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListParticipantsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomParticipantIdentity); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveParticipantResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MuteRoomTrackRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MuteRoomTrackResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateParticipantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSubscriptionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSubscriptionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendDataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendDataResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRoomMetadataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomConfiguration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_room_proto_msgTypes[16].OneofWrappers = []interface{}{} + file_livekit_room_proto_msgTypes[16].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_room_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_room_proto_rawDesc), len(file_livekit_room_proto_rawDesc)), NumEnums: 0, NumMessages: 21, NumExtensions: 0, @@ -1915,7 +1618,6 @@ func file_livekit_room_proto_init() { MessageInfos: file_livekit_room_proto_msgTypes, }.Build() File_livekit_room_proto = out.File - file_livekit_room_proto_rawDesc = nil file_livekit_room_proto_goTypes = nil file_livekit_room_proto_depIdxs = nil } diff --git a/livekit/livekit_rtc.pb.go b/livekit/livekit_rtc.pb.go index aceabb553..1593fc88b 100644 --- a/livekit/livekit_rtc.pb.go +++ b/livekit/livekit_rtc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_rtc.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -278,11 +279,8 @@ func (RequestResponse_Reason) EnumDescriptor() ([]byte, []int) { } type SignalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Message: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Message: // // *SignalRequest_Offer // *SignalRequest_Answer @@ -301,16 +299,16 @@ type SignalRequest struct { // *SignalRequest_PingReq // *SignalRequest_UpdateAudioTrack // *SignalRequest_UpdateVideoTrack - Message isSignalRequest_Message `protobuf_oneof:"message"` + Message isSignalRequest_Message `protobuf_oneof:"message"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SignalRequest) Reset() { *x = SignalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SignalRequest) String() string { @@ -321,7 +319,7 @@ func (*SignalRequest) ProtoMessage() {} func (x *SignalRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -336,129 +334,163 @@ func (*SignalRequest) Descriptor() ([]byte, []int) { return file_livekit_rtc_proto_rawDescGZIP(), []int{0} } -func (m *SignalRequest) GetMessage() isSignalRequest_Message { - if m != nil { - return m.Message +func (x *SignalRequest) GetMessage() isSignalRequest_Message { + if x != nil { + return x.Message } return nil } func (x *SignalRequest) GetOffer() *SessionDescription { - if x, ok := x.GetMessage().(*SignalRequest_Offer); ok { - return x.Offer + if x != nil { + if x, ok := x.Message.(*SignalRequest_Offer); ok { + return x.Offer + } } return nil } func (x *SignalRequest) GetAnswer() *SessionDescription { - if x, ok := x.GetMessage().(*SignalRequest_Answer); ok { - return x.Answer + if x != nil { + if x, ok := x.Message.(*SignalRequest_Answer); ok { + return x.Answer + } } return nil } func (x *SignalRequest) GetTrickle() *TrickleRequest { - if x, ok := x.GetMessage().(*SignalRequest_Trickle); ok { - return x.Trickle + if x != nil { + if x, ok := x.Message.(*SignalRequest_Trickle); ok { + return x.Trickle + } } return nil } func (x *SignalRequest) GetAddTrack() *AddTrackRequest { - if x, ok := x.GetMessage().(*SignalRequest_AddTrack); ok { - return x.AddTrack + if x != nil { + if x, ok := x.Message.(*SignalRequest_AddTrack); ok { + return x.AddTrack + } } return nil } func (x *SignalRequest) GetMute() *MuteTrackRequest { - if x, ok := x.GetMessage().(*SignalRequest_Mute); ok { - return x.Mute + if x != nil { + if x, ok := x.Message.(*SignalRequest_Mute); ok { + return x.Mute + } } return nil } func (x *SignalRequest) GetSubscription() *UpdateSubscription { - if x, ok := x.GetMessage().(*SignalRequest_Subscription); ok { - return x.Subscription + if x != nil { + if x, ok := x.Message.(*SignalRequest_Subscription); ok { + return x.Subscription + } } return nil } func (x *SignalRequest) GetTrackSetting() *UpdateTrackSettings { - if x, ok := x.GetMessage().(*SignalRequest_TrackSetting); ok { - return x.TrackSetting + if x != nil { + if x, ok := x.Message.(*SignalRequest_TrackSetting); ok { + return x.TrackSetting + } } return nil } func (x *SignalRequest) GetLeave() *LeaveRequest { - if x, ok := x.GetMessage().(*SignalRequest_Leave); ok { - return x.Leave + if x != nil { + if x, ok := x.Message.(*SignalRequest_Leave); ok { + return x.Leave + } } return nil } // Deprecated: Marked as deprecated in livekit_rtc.proto. func (x *SignalRequest) GetUpdateLayers() *UpdateVideoLayers { - if x, ok := x.GetMessage().(*SignalRequest_UpdateLayers); ok { - return x.UpdateLayers + if x != nil { + if x, ok := x.Message.(*SignalRequest_UpdateLayers); ok { + return x.UpdateLayers + } } return nil } func (x *SignalRequest) GetSubscriptionPermission() *SubscriptionPermission { - if x, ok := x.GetMessage().(*SignalRequest_SubscriptionPermission); ok { - return x.SubscriptionPermission + if x != nil { + if x, ok := x.Message.(*SignalRequest_SubscriptionPermission); ok { + return x.SubscriptionPermission + } } return nil } func (x *SignalRequest) GetSyncState() *SyncState { - if x, ok := x.GetMessage().(*SignalRequest_SyncState); ok { - return x.SyncState + if x != nil { + if x, ok := x.Message.(*SignalRequest_SyncState); ok { + return x.SyncState + } } return nil } func (x *SignalRequest) GetSimulate() *SimulateScenario { - if x, ok := x.GetMessage().(*SignalRequest_Simulate); ok { - return x.Simulate + if x != nil { + if x, ok := x.Message.(*SignalRequest_Simulate); ok { + return x.Simulate + } } return nil } func (x *SignalRequest) GetPing() int64 { - if x, ok := x.GetMessage().(*SignalRequest_Ping); ok { - return x.Ping + if x != nil { + if x, ok := x.Message.(*SignalRequest_Ping); ok { + return x.Ping + } } return 0 } func (x *SignalRequest) GetUpdateMetadata() *UpdateParticipantMetadata { - if x, ok := x.GetMessage().(*SignalRequest_UpdateMetadata); ok { - return x.UpdateMetadata + if x != nil { + if x, ok := x.Message.(*SignalRequest_UpdateMetadata); ok { + return x.UpdateMetadata + } } return nil } func (x *SignalRequest) GetPingReq() *Ping { - if x, ok := x.GetMessage().(*SignalRequest_PingReq); ok { - return x.PingReq + if x != nil { + if x, ok := x.Message.(*SignalRequest_PingReq); ok { + return x.PingReq + } } return nil } func (x *SignalRequest) GetUpdateAudioTrack() *UpdateLocalAudioTrack { - if x, ok := x.GetMessage().(*SignalRequest_UpdateAudioTrack); ok { - return x.UpdateAudioTrack + if x != nil { + if x, ok := x.Message.(*SignalRequest_UpdateAudioTrack); ok { + return x.UpdateAudioTrack + } } return nil } func (x *SignalRequest) GetUpdateVideoTrack() *UpdateLocalVideoTrack { - if x, ok := x.GetMessage().(*SignalRequest_UpdateVideoTrack); ok { - return x.UpdateVideoTrack + if x != nil { + if x, ok := x.Message.(*SignalRequest_UpdateVideoTrack); ok { + return x.UpdateVideoTrack + } } return nil } @@ -587,11 +619,8 @@ func (*SignalRequest_UpdateAudioTrack) isSignalRequest_Message() {} func (*SignalRequest_UpdateVideoTrack) isSignalRequest_Message() {} type SignalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Message: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Message: // // *SignalResponse_Join // *SignalResponse_Answer @@ -615,16 +644,16 @@ type SignalResponse struct { // *SignalResponse_SubscriptionResponse // *SignalResponse_RequestResponse // *SignalResponse_TrackSubscribed - Message isSignalResponse_Message `protobuf_oneof:"message"` + Message isSignalResponse_Message `protobuf_oneof:"message"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SignalResponse) Reset() { *x = SignalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SignalResponse) String() string { @@ -635,7 +664,7 @@ func (*SignalResponse) ProtoMessage() {} func (x *SignalResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -650,163 +679,207 @@ func (*SignalResponse) Descriptor() ([]byte, []int) { return file_livekit_rtc_proto_rawDescGZIP(), []int{1} } -func (m *SignalResponse) GetMessage() isSignalResponse_Message { - if m != nil { - return m.Message +func (x *SignalResponse) GetMessage() isSignalResponse_Message { + if x != nil { + return x.Message } return nil } func (x *SignalResponse) GetJoin() *JoinResponse { - if x, ok := x.GetMessage().(*SignalResponse_Join); ok { - return x.Join + if x != nil { + if x, ok := x.Message.(*SignalResponse_Join); ok { + return x.Join + } } return nil } func (x *SignalResponse) GetAnswer() *SessionDescription { - if x, ok := x.GetMessage().(*SignalResponse_Answer); ok { - return x.Answer + if x != nil { + if x, ok := x.Message.(*SignalResponse_Answer); ok { + return x.Answer + } } return nil } func (x *SignalResponse) GetOffer() *SessionDescription { - if x, ok := x.GetMessage().(*SignalResponse_Offer); ok { - return x.Offer + if x != nil { + if x, ok := x.Message.(*SignalResponse_Offer); ok { + return x.Offer + } } return nil } func (x *SignalResponse) GetTrickle() *TrickleRequest { - if x, ok := x.GetMessage().(*SignalResponse_Trickle); ok { - return x.Trickle + if x != nil { + if x, ok := x.Message.(*SignalResponse_Trickle); ok { + return x.Trickle + } } return nil } func (x *SignalResponse) GetUpdate() *ParticipantUpdate { - if x, ok := x.GetMessage().(*SignalResponse_Update); ok { - return x.Update + if x != nil { + if x, ok := x.Message.(*SignalResponse_Update); ok { + return x.Update + } } return nil } func (x *SignalResponse) GetTrackPublished() *TrackPublishedResponse { - if x, ok := x.GetMessage().(*SignalResponse_TrackPublished); ok { - return x.TrackPublished + if x != nil { + if x, ok := x.Message.(*SignalResponse_TrackPublished); ok { + return x.TrackPublished + } } return nil } func (x *SignalResponse) GetLeave() *LeaveRequest { - if x, ok := x.GetMessage().(*SignalResponse_Leave); ok { - return x.Leave + if x != nil { + if x, ok := x.Message.(*SignalResponse_Leave); ok { + return x.Leave + } } return nil } func (x *SignalResponse) GetMute() *MuteTrackRequest { - if x, ok := x.GetMessage().(*SignalResponse_Mute); ok { - return x.Mute + if x != nil { + if x, ok := x.Message.(*SignalResponse_Mute); ok { + return x.Mute + } } return nil } func (x *SignalResponse) GetSpeakersChanged() *SpeakersChanged { - if x, ok := x.GetMessage().(*SignalResponse_SpeakersChanged); ok { - return x.SpeakersChanged + if x != nil { + if x, ok := x.Message.(*SignalResponse_SpeakersChanged); ok { + return x.SpeakersChanged + } } return nil } func (x *SignalResponse) GetRoomUpdate() *RoomUpdate { - if x, ok := x.GetMessage().(*SignalResponse_RoomUpdate); ok { - return x.RoomUpdate + if x != nil { + if x, ok := x.Message.(*SignalResponse_RoomUpdate); ok { + return x.RoomUpdate + } } return nil } func (x *SignalResponse) GetConnectionQuality() *ConnectionQualityUpdate { - if x, ok := x.GetMessage().(*SignalResponse_ConnectionQuality); ok { - return x.ConnectionQuality + if x != nil { + if x, ok := x.Message.(*SignalResponse_ConnectionQuality); ok { + return x.ConnectionQuality + } } return nil } func (x *SignalResponse) GetStreamStateUpdate() *StreamStateUpdate { - if x, ok := x.GetMessage().(*SignalResponse_StreamStateUpdate); ok { - return x.StreamStateUpdate + if x != nil { + if x, ok := x.Message.(*SignalResponse_StreamStateUpdate); ok { + return x.StreamStateUpdate + } } return nil } func (x *SignalResponse) GetSubscribedQualityUpdate() *SubscribedQualityUpdate { - if x, ok := x.GetMessage().(*SignalResponse_SubscribedQualityUpdate); ok { - return x.SubscribedQualityUpdate + if x != nil { + if x, ok := x.Message.(*SignalResponse_SubscribedQualityUpdate); ok { + return x.SubscribedQualityUpdate + } } return nil } func (x *SignalResponse) GetSubscriptionPermissionUpdate() *SubscriptionPermissionUpdate { - if x, ok := x.GetMessage().(*SignalResponse_SubscriptionPermissionUpdate); ok { - return x.SubscriptionPermissionUpdate + if x != nil { + if x, ok := x.Message.(*SignalResponse_SubscriptionPermissionUpdate); ok { + return x.SubscriptionPermissionUpdate + } } return nil } func (x *SignalResponse) GetRefreshToken() string { - if x, ok := x.GetMessage().(*SignalResponse_RefreshToken); ok { - return x.RefreshToken + if x != nil { + if x, ok := x.Message.(*SignalResponse_RefreshToken); ok { + return x.RefreshToken + } } return "" } func (x *SignalResponse) GetTrackUnpublished() *TrackUnpublishedResponse { - if x, ok := x.GetMessage().(*SignalResponse_TrackUnpublished); ok { - return x.TrackUnpublished + if x != nil { + if x, ok := x.Message.(*SignalResponse_TrackUnpublished); ok { + return x.TrackUnpublished + } } return nil } func (x *SignalResponse) GetPong() int64 { - if x, ok := x.GetMessage().(*SignalResponse_Pong); ok { - return x.Pong + if x != nil { + if x, ok := x.Message.(*SignalResponse_Pong); ok { + return x.Pong + } } return 0 } func (x *SignalResponse) GetReconnect() *ReconnectResponse { - if x, ok := x.GetMessage().(*SignalResponse_Reconnect); ok { - return x.Reconnect + if x != nil { + if x, ok := x.Message.(*SignalResponse_Reconnect); ok { + return x.Reconnect + } } return nil } func (x *SignalResponse) GetPongResp() *Pong { - if x, ok := x.GetMessage().(*SignalResponse_PongResp); ok { - return x.PongResp + if x != nil { + if x, ok := x.Message.(*SignalResponse_PongResp); ok { + return x.PongResp + } } return nil } func (x *SignalResponse) GetSubscriptionResponse() *SubscriptionResponse { - if x, ok := x.GetMessage().(*SignalResponse_SubscriptionResponse); ok { - return x.SubscriptionResponse + if x != nil { + if x, ok := x.Message.(*SignalResponse_SubscriptionResponse); ok { + return x.SubscriptionResponse + } } return nil } func (x *SignalResponse) GetRequestResponse() *RequestResponse { - if x, ok := x.GetMessage().(*SignalResponse_RequestResponse); ok { - return x.RequestResponse + if x != nil { + if x, ok := x.Message.(*SignalResponse_RequestResponse); ok { + return x.RequestResponse + } } return nil } func (x *SignalResponse) GetTrackSubscribed() *TrackSubscribed { - if x, ok := x.GetMessage().(*SignalResponse_TrackSubscribed); ok { - return x.TrackSubscribed + if x != nil { + if x, ok := x.Message.(*SignalResponse_TrackSubscribed); ok { + return x.TrackSubscribed + } } return nil } @@ -971,21 +1044,18 @@ func (*SignalResponse_RequestResponse) isSignalResponse_Message() {} func (*SignalResponse_TrackSubscribed) isSignalResponse_Message() {} type SimulcastCodec struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` + Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` unknownFields protoimpl.UnknownFields - - Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` - Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SimulcastCodec) Reset() { *x = SimulcastCodec{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulcastCodec) String() string { @@ -996,7 +1066,7 @@ func (*SimulcastCodec) ProtoMessage() {} func (x *SimulcastCodec) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1026,10 +1096,7 @@ func (x *SimulcastCodec) GetCid() string { } type AddTrackRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // client ID of track, to match it when RTC track is received Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -1054,15 +1121,15 @@ type AddTrackRequest struct { // if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together Stream string `protobuf:"bytes,15,opt,name=stream,proto3" json:"stream,omitempty"` BackupCodecPolicy BackupCodecPolicy `protobuf:"varint,16,opt,name=backup_codec_policy,json=backupCodecPolicy,proto3,enum=livekit.BackupCodecPolicy" json:"backup_codec_policy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddTrackRequest) Reset() { *x = AddTrackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddTrackRequest) String() string { @@ -1073,7 +1140,7 @@ func (*AddTrackRequest) ProtoMessage() {} func (x *AddTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1201,22 +1268,19 @@ func (x *AddTrackRequest) GetBackupCodecPolicy() BackupCodecPolicy { } type TrickleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + CandidateInit string `protobuf:"bytes,1,opt,name=candidateInit,proto3" json:"candidateInit,omitempty"` + Target SignalTarget `protobuf:"varint,2,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` + Final bool `protobuf:"varint,3,opt,name=final,proto3" json:"final,omitempty"` unknownFields protoimpl.UnknownFields - - CandidateInit string `protobuf:"bytes,1,opt,name=candidateInit,proto3" json:"candidateInit,omitempty"` - Target SignalTarget `protobuf:"varint,2,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` - Final bool `protobuf:"varint,3,opt,name=final,proto3" json:"final,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TrickleRequest) Reset() { *x = TrickleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrickleRequest) String() string { @@ -1227,7 +1291,7 @@ func (*TrickleRequest) ProtoMessage() {} func (x *TrickleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1264,21 +1328,18 @@ func (x *TrickleRequest) GetFinal() bool { } type MuteTrackRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Muted bool `protobuf:"varint,2,opt,name=muted,proto3" json:"muted,omitempty"` unknownFields protoimpl.UnknownFields - - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Muted bool `protobuf:"varint,2,opt,name=muted,proto3" json:"muted,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MuteTrackRequest) Reset() { *x = MuteTrackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MuteTrackRequest) String() string { @@ -1289,7 +1350,7 @@ func (*MuteTrackRequest) ProtoMessage() {} func (x *MuteTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1319,13 +1380,10 @@ func (x *MuteTrackRequest) GetMuted() bool { } type JoinResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Participant *ParticipantInfo `protobuf:"bytes,2,opt,name=participant,proto3" json:"participant,omitempty"` - OtherParticipants []*ParticipantInfo `protobuf:"bytes,3,rep,name=other_participants,json=otherParticipants,proto3" json:"other_participants,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Participant *ParticipantInfo `protobuf:"bytes,2,opt,name=participant,proto3" json:"participant,omitempty"` + OtherParticipants []*ParticipantInfo `protobuf:"bytes,3,rep,name=other_participants,json=otherParticipants,proto3" json:"other_participants,omitempty"` // deprecated. use server_info.version instead. ServerVersion string `protobuf:"bytes,4,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` IceServers []*ICEServer `protobuf:"bytes,5,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` @@ -1344,16 +1402,16 @@ type JoinResponse struct { SifTrailer []byte `protobuf:"bytes,13,opt,name=sif_trailer,json=sifTrailer,proto3" json:"sif_trailer,omitempty"` EnabledPublishCodecs []*Codec `protobuf:"bytes,14,rep,name=enabled_publish_codecs,json=enabledPublishCodecs,proto3" json:"enabled_publish_codecs,omitempty"` // when set, client should attempt to establish publish peer connection when joining room to speed up publishing - FastPublish bool `protobuf:"varint,15,opt,name=fast_publish,json=fastPublish,proto3" json:"fast_publish,omitempty"` + FastPublish bool `protobuf:"varint,15,opt,name=fast_publish,json=fastPublish,proto3" json:"fast_publish,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JoinResponse) Reset() { *x = JoinResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JoinResponse) String() string { @@ -1364,7 +1422,7 @@ func (*JoinResponse) ProtoMessage() {} func (x *JoinResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1485,21 +1543,18 @@ func (x *JoinResponse) GetFastPublish() bool { } type ReconnectResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IceServers []*ICEServer `protobuf:"bytes,1,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` - ClientConfiguration *ClientConfiguration `protobuf:"bytes,2,opt,name=client_configuration,json=clientConfiguration,proto3" json:"client_configuration,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + IceServers []*ICEServer `protobuf:"bytes,1,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` + ClientConfiguration *ClientConfiguration `protobuf:"bytes,2,opt,name=client_configuration,json=clientConfiguration,proto3" json:"client_configuration,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReconnectResponse) Reset() { *x = ReconnectResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReconnectResponse) String() string { @@ -1510,7 +1565,7 @@ func (*ReconnectResponse) ProtoMessage() {} func (x *ReconnectResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1540,21 +1595,18 @@ func (x *ReconnectResponse) GetClientConfiguration() *ClientConfiguration { } type TrackPublishedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` + Track *TrackInfo `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"` unknownFields protoimpl.UnknownFields - - Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` - Track *TrackInfo `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TrackPublishedResponse) Reset() { *x = TrackPublishedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackPublishedResponse) String() string { @@ -1565,7 +1617,7 @@ func (*TrackPublishedResponse) ProtoMessage() {} func (x *TrackPublishedResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1595,20 +1647,17 @@ func (x *TrackPublishedResponse) GetTrack() *TrackInfo { } type TrackUnpublishedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TrackUnpublishedResponse) Reset() { *x = TrackUnpublishedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackUnpublishedResponse) String() string { @@ -1619,7 +1668,7 @@ func (*TrackUnpublishedResponse) ProtoMessage() {} func (x *TrackUnpublishedResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1642,21 +1691,18 @@ func (x *TrackUnpublishedResponse) GetTrackSid() string { } type SessionDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "answer" | "offer" | "pranswer" | "rollback" + Sdp string `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` unknownFields protoimpl.UnknownFields - - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "answer" | "offer" | "pranswer" | "rollback" - Sdp string `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SessionDescription) Reset() { *x = SessionDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SessionDescription) String() string { @@ -1667,7 +1713,7 @@ func (*SessionDescription) ProtoMessage() {} func (x *SessionDescription) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1697,20 +1743,17 @@ func (x *SessionDescription) GetSdp() string { } type ParticipantUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` unknownFields protoimpl.UnknownFields - - Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ParticipantUpdate) Reset() { *x = ParticipantUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantUpdate) String() string { @@ -1721,7 +1764,7 @@ func (*ParticipantUpdate) ProtoMessage() {} func (x *ParticipantUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1744,22 +1787,19 @@ func (x *ParticipantUpdate) GetParticipants() []*ParticipantInfo { } type UpdateSubscription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` - Subscribe bool `protobuf:"varint,2,opt,name=subscribe,proto3" json:"subscribe,omitempty"` - ParticipantTracks []*ParticipantTracks `protobuf:"bytes,3,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` + Subscribe bool `protobuf:"varint,2,opt,name=subscribe,proto3" json:"subscribe,omitempty"` + ParticipantTracks []*ParticipantTracks `protobuf:"bytes,3,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateSubscription) Reset() { *x = UpdateSubscription{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSubscription) String() string { @@ -1770,7 +1810,7 @@ func (*UpdateSubscription) ProtoMessage() {} func (x *UpdateSubscription) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1807,11 +1847,8 @@ func (x *UpdateSubscription) GetParticipantTracks() []*ParticipantTracks { } type UpdateTrackSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` // when true, the track is placed in a paused state, with no new data returned Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"` // deprecated in favor of width & height @@ -1828,16 +1865,16 @@ type UpdateTrackSettings struct { // pause the lowest priority tracks // 2. when the network is congested, server will assign available bandwidth to // higher priority tracks first. lowest priority tracks can be paused - Priority uint32 `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"` + Priority uint32 `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateTrackSettings) Reset() { *x = UpdateTrackSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTrackSettings) String() string { @@ -1848,7 +1885,7 @@ func (*UpdateTrackSettings) ProtoMessage() {} func (x *UpdateTrackSettings) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1913,21 +1950,18 @@ func (x *UpdateTrackSettings) GetPriority() uint32 { } type UpdateLocalAudioTrack struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Features []AudioTrackFeature `protobuf:"varint,2,rep,packed,name=features,proto3,enum=livekit.AudioTrackFeature" json:"features,omitempty"` unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Features []AudioTrackFeature `protobuf:"varint,2,rep,packed,name=features,proto3,enum=livekit.AudioTrackFeature" json:"features,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateLocalAudioTrack) Reset() { *x = UpdateLocalAudioTrack{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateLocalAudioTrack) String() string { @@ -1938,7 +1972,7 @@ func (*UpdateLocalAudioTrack) ProtoMessage() {} func (x *UpdateLocalAudioTrack) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1968,22 +2002,19 @@ func (x *UpdateLocalAudioTrack) GetFeatures() []AudioTrackFeature { } type UpdateLocalVideoTrack struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` - Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateLocalVideoTrack) Reset() { *x = UpdateLocalVideoTrack{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateLocalVideoTrack) String() string { @@ -1994,7 +2025,7 @@ func (*UpdateLocalVideoTrack) ProtoMessage() {} func (x *UpdateLocalVideoTrack) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2031,26 +2062,23 @@ func (x *UpdateLocalVideoTrack) GetHeight() uint32 { } type LeaveRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // sent when server initiates the disconnect due to server-restart // indicates clients should attempt full-reconnect sequence // NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13 - CanReconnect bool `protobuf:"varint,1,opt,name=can_reconnect,json=canReconnect,proto3" json:"can_reconnect,omitempty"` - Reason DisconnectReason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.DisconnectReason" json:"reason,omitempty"` - Action LeaveRequest_Action `protobuf:"varint,3,opt,name=action,proto3,enum=livekit.LeaveRequest_Action" json:"action,omitempty"` - Regions *RegionSettings `protobuf:"bytes,4,opt,name=regions,proto3" json:"regions,omitempty"` + CanReconnect bool `protobuf:"varint,1,opt,name=can_reconnect,json=canReconnect,proto3" json:"can_reconnect,omitempty"` + Reason DisconnectReason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.DisconnectReason" json:"reason,omitempty"` + Action LeaveRequest_Action `protobuf:"varint,3,opt,name=action,proto3,enum=livekit.LeaveRequest_Action" json:"action,omitempty"` + Regions *RegionSettings `protobuf:"bytes,4,opt,name=regions,proto3" json:"regions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LeaveRequest) Reset() { *x = LeaveRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LeaveRequest) String() string { @@ -2061,7 +2089,7 @@ func (*LeaveRequest) ProtoMessage() {} func (x *LeaveRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2108,21 +2136,18 @@ func (x *LeaveRequest) GetRegions() *RegionSettings { // // Deprecated: Marked as deprecated in livekit_rtc.proto. type UpdateVideoLayers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Layers []*VideoLayer `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Layers []*VideoLayer `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateVideoLayers) Reset() { *x = UpdateVideoLayers{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateVideoLayers) String() string { @@ -2133,7 +2158,7 @@ func (*UpdateVideoLayers) ProtoMessage() {} func (x *UpdateVideoLayers) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2163,25 +2188,22 @@ func (x *UpdateVideoLayers) GetLayers() []*VideoLayer { } type UpdateParticipantMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // attributes to update. it only updates attributes that have been set // to delete attributes, set the value to an empty string - Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - RequestId uint32 `protobuf:"varint,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + RequestId uint32 `protobuf:"varint,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateParticipantMetadata) Reset() { *x = UpdateParticipantMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateParticipantMetadata) String() string { @@ -2192,7 +2214,7 @@ func (*UpdateParticipantMetadata) ProtoMessage() {} func (x *UpdateParticipantMetadata) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2236,22 +2258,19 @@ func (x *UpdateParticipantMetadata) GetRequestId() uint32 { } type ICEServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + Credential string `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"` unknownFields protoimpl.UnknownFields - - Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - Credential string `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ICEServer) Reset() { *x = ICEServer{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ICEServer) String() string { @@ -2262,7 +2281,7 @@ func (*ICEServer) ProtoMessage() {} func (x *ICEServer) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2299,20 +2318,17 @@ func (x *ICEServer) GetCredential() string { } type SpeakersChanged struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` unknownFields protoimpl.UnknownFields - - Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SpeakersChanged) Reset() { *x = SpeakersChanged{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SpeakersChanged) String() string { @@ -2323,7 +2339,7 @@ func (*SpeakersChanged) ProtoMessage() {} func (x *SpeakersChanged) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2346,20 +2362,17 @@ func (x *SpeakersChanged) GetSpeakers() []*SpeakerInfo { } type RoomUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields - - Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RoomUpdate) Reset() { *x = RoomUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomUpdate) String() string { @@ -2370,7 +2383,7 @@ func (*RoomUpdate) ProtoMessage() {} func (x *RoomUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2393,22 +2406,19 @@ func (x *RoomUpdate) GetRoom() *Room { } type ConnectionQualityInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` - Quality ConnectionQuality `protobuf:"varint,2,opt,name=quality,proto3,enum=livekit.ConnectionQuality" json:"quality,omitempty"` - Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` + Quality ConnectionQuality `protobuf:"varint,2,opt,name=quality,proto3,enum=livekit.ConnectionQuality" json:"quality,omitempty"` + Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConnectionQualityInfo) Reset() { *x = ConnectionQualityInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConnectionQualityInfo) String() string { @@ -2419,7 +2429,7 @@ func (*ConnectionQualityInfo) ProtoMessage() {} func (x *ConnectionQualityInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2456,20 +2466,17 @@ func (x *ConnectionQualityInfo) GetScore() float32 { } type ConnectionQualityUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Updates []*ConnectionQualityInfo `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` unknownFields protoimpl.UnknownFields - - Updates []*ConnectionQualityInfo `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ConnectionQualityUpdate) Reset() { *x = ConnectionQualityUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConnectionQualityUpdate) String() string { @@ -2480,7 +2487,7 @@ func (*ConnectionQualityUpdate) ProtoMessage() {} func (x *ConnectionQualityUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2503,22 +2510,19 @@ func (x *ConnectionQualityUpdate) GetUpdates() []*ConnectionQualityInfo { } type StreamStateInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` - TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - State StreamState `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.StreamState" json:"state,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` + TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + State StreamState `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.StreamState" json:"state,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StreamStateInfo) Reset() { *x = StreamStateInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamStateInfo) String() string { @@ -2529,7 +2533,7 @@ func (*StreamStateInfo) ProtoMessage() {} func (x *StreamStateInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2566,20 +2570,17 @@ func (x *StreamStateInfo) GetState() StreamState { } type StreamStateUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StreamStates []*StreamStateInfo `protobuf:"bytes,1,rep,name=stream_states,json=streamStates,proto3" json:"stream_states,omitempty"` unknownFields protoimpl.UnknownFields - - StreamStates []*StreamStateInfo `protobuf:"bytes,1,rep,name=stream_states,json=streamStates,proto3" json:"stream_states,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StreamStateUpdate) Reset() { *x = StreamStateUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamStateUpdate) String() string { @@ -2590,7 +2591,7 @@ func (*StreamStateUpdate) ProtoMessage() {} func (x *StreamStateUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2613,21 +2614,18 @@ func (x *StreamStateUpdate) GetStreamStates() []*StreamStateInfo { } type SubscribedQuality struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"` + Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` unknownFields protoimpl.UnknownFields - - Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"` - Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SubscribedQuality) Reset() { *x = SubscribedQuality{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscribedQuality) String() string { @@ -2638,7 +2636,7 @@ func (*SubscribedQuality) ProtoMessage() {} func (x *SubscribedQuality) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2668,21 +2666,18 @@ func (x *SubscribedQuality) GetEnabled() bool { } type SubscribedCodec struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` + Qualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=qualities,proto3" json:"qualities,omitempty"` unknownFields protoimpl.UnknownFields - - Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` - Qualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=qualities,proto3" json:"qualities,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SubscribedCodec) Reset() { *x = SubscribedCodec{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscribedCodec) String() string { @@ -2693,7 +2688,7 @@ func (*SubscribedCodec) ProtoMessage() {} func (x *SubscribedCodec) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2723,22 +2718,19 @@ func (x *SubscribedCodec) GetQualities() []*SubscribedQuality { } type SubscribedQualityUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - SubscribedQualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=subscribed_qualities,json=subscribedQualities,proto3" json:"subscribed_qualities,omitempty"` - SubscribedCodecs []*SubscribedCodec `protobuf:"bytes,3,rep,name=subscribed_codecs,json=subscribedCodecs,proto3" json:"subscribed_codecs,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + SubscribedQualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=subscribed_qualities,json=subscribedQualities,proto3" json:"subscribed_qualities,omitempty"` + SubscribedCodecs []*SubscribedCodec `protobuf:"bytes,3,rep,name=subscribed_codecs,json=subscribedCodecs,proto3" json:"subscribed_codecs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SubscribedQualityUpdate) Reset() { *x = SubscribedQualityUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscribedQualityUpdate) String() string { @@ -2749,7 +2741,7 @@ func (*SubscribedQualityUpdate) ProtoMessage() {} func (x *SubscribedQualityUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2786,24 +2778,21 @@ func (x *SubscribedQualityUpdate) GetSubscribedCodecs() []*SubscribedCodec { } type TrackPermission struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // permission could be granted either by participant sid or identity ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` AllTracks bool `protobuf:"varint,2,opt,name=all_tracks,json=allTracks,proto3" json:"all_tracks,omitempty"` TrackSids []string `protobuf:"bytes,3,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TrackPermission) Reset() { *x = TrackPermission{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackPermission) String() string { @@ -2814,7 +2803,7 @@ func (*TrackPermission) ProtoMessage() {} func (x *TrackPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2858,21 +2847,18 @@ func (x *TrackPermission) GetParticipantIdentity() string { } type SubscriptionPermission struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AllParticipants bool `protobuf:"varint,1,opt,name=all_participants,json=allParticipants,proto3" json:"all_participants,omitempty"` - TrackPermissions []*TrackPermission `protobuf:"bytes,2,rep,name=track_permissions,json=trackPermissions,proto3" json:"track_permissions,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + AllParticipants bool `protobuf:"varint,1,opt,name=all_participants,json=allParticipants,proto3" json:"all_participants,omitempty"` + TrackPermissions []*TrackPermission `protobuf:"bytes,2,rep,name=track_permissions,json=trackPermissions,proto3" json:"track_permissions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SubscriptionPermission) Reset() { *x = SubscriptionPermission{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscriptionPermission) String() string { @@ -2883,7 +2869,7 @@ func (*SubscriptionPermission) ProtoMessage() {} func (x *SubscriptionPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2913,22 +2899,19 @@ func (x *SubscriptionPermission) GetTrackPermissions() []*TrackPermission { } type SubscriptionPermissionUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` - TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Allowed bool `protobuf:"varint,3,opt,name=allowed,proto3" json:"allowed,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` + TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Allowed bool `protobuf:"varint,3,opt,name=allowed,proto3" json:"allowed,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SubscriptionPermissionUpdate) Reset() { *x = SubscriptionPermissionUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscriptionPermissionUpdate) String() string { @@ -2939,7 +2922,7 @@ func (*SubscriptionPermissionUpdate) ProtoMessage() {} func (x *SubscriptionPermissionUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2976,10 +2959,7 @@ func (x *SubscriptionPermissionUpdate) GetAllowed() bool { } type SyncState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // last subscribe answer before reconnecting Answer *SessionDescription `protobuf:"bytes,1,opt,name=answer,proto3" json:"answer,omitempty"` Subscription *UpdateSubscription `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"` @@ -2988,15 +2968,15 @@ type SyncState struct { // last received server side offer before reconnecting Offer *SessionDescription `protobuf:"bytes,5,opt,name=offer,proto3" json:"offer,omitempty"` TrackSidsDisabled []string `protobuf:"bytes,6,rep,name=track_sids_disabled,json=trackSidsDisabled,proto3" json:"track_sids_disabled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SyncState) Reset() { *x = SyncState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SyncState) String() string { @@ -3007,7 +2987,7 @@ func (*SyncState) ProtoMessage() {} func (x *SyncState) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3065,22 +3045,19 @@ func (x *SyncState) GetTrackSidsDisabled() []string { } type DataChannelInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` + Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` + Target SignalTarget `protobuf:"varint,3,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` unknownFields protoimpl.UnknownFields - - Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` - Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` - Target SignalTarget `protobuf:"varint,3,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DataChannelInfo) Reset() { *x = DataChannelInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataChannelInfo) String() string { @@ -3091,7 +3068,7 @@ func (*DataChannelInfo) ProtoMessage() {} func (x *DataChannelInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3128,11 +3105,8 @@ func (x *DataChannelInfo) GetTarget() SignalTarget { } type SimulateScenario struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Scenario: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Scenario: // // *SimulateScenario_SpeakerUpdate // *SimulateScenario_NodeFailure @@ -3143,16 +3117,16 @@ type SimulateScenario struct { // *SimulateScenario_DisconnectSignalOnResume // *SimulateScenario_DisconnectSignalOnResumeNoMessages // *SimulateScenario_LeaveRequestFullReconnect - Scenario isSimulateScenario_Scenario `protobuf_oneof:"scenario"` + Scenario isSimulateScenario_Scenario `protobuf_oneof:"scenario"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SimulateScenario) Reset() { *x = SimulateScenario{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulateScenario) String() string { @@ -3163,7 +3137,7 @@ func (*SimulateScenario) ProtoMessage() {} func (x *SimulateScenario) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3178,72 +3152,90 @@ func (*SimulateScenario) Descriptor() ([]byte, []int) { return file_livekit_rtc_proto_rawDescGZIP(), []int{34} } -func (m *SimulateScenario) GetScenario() isSimulateScenario_Scenario { - if m != nil { - return m.Scenario +func (x *SimulateScenario) GetScenario() isSimulateScenario_Scenario { + if x != nil { + return x.Scenario } return nil } func (x *SimulateScenario) GetSpeakerUpdate() int32 { - if x, ok := x.GetScenario().(*SimulateScenario_SpeakerUpdate); ok { - return x.SpeakerUpdate + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_SpeakerUpdate); ok { + return x.SpeakerUpdate + } } return 0 } func (x *SimulateScenario) GetNodeFailure() bool { - if x, ok := x.GetScenario().(*SimulateScenario_NodeFailure); ok { - return x.NodeFailure + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_NodeFailure); ok { + return x.NodeFailure + } } return false } func (x *SimulateScenario) GetMigration() bool { - if x, ok := x.GetScenario().(*SimulateScenario_Migration); ok { - return x.Migration + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_Migration); ok { + return x.Migration + } } return false } func (x *SimulateScenario) GetServerLeave() bool { - if x, ok := x.GetScenario().(*SimulateScenario_ServerLeave); ok { - return x.ServerLeave + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_ServerLeave); ok { + return x.ServerLeave + } } return false } func (x *SimulateScenario) GetSwitchCandidateProtocol() CandidateProtocol { - if x, ok := x.GetScenario().(*SimulateScenario_SwitchCandidateProtocol); ok { - return x.SwitchCandidateProtocol + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_SwitchCandidateProtocol); ok { + return x.SwitchCandidateProtocol + } } return CandidateProtocol_UDP } func (x *SimulateScenario) GetSubscriberBandwidth() int64 { - if x, ok := x.GetScenario().(*SimulateScenario_SubscriberBandwidth); ok { - return x.SubscriberBandwidth + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_SubscriberBandwidth); ok { + return x.SubscriberBandwidth + } } return 0 } func (x *SimulateScenario) GetDisconnectSignalOnResume() bool { - if x, ok := x.GetScenario().(*SimulateScenario_DisconnectSignalOnResume); ok { - return x.DisconnectSignalOnResume + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_DisconnectSignalOnResume); ok { + return x.DisconnectSignalOnResume + } } return false } func (x *SimulateScenario) GetDisconnectSignalOnResumeNoMessages() bool { - if x, ok := x.GetScenario().(*SimulateScenario_DisconnectSignalOnResumeNoMessages); ok { - return x.DisconnectSignalOnResumeNoMessages + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_DisconnectSignalOnResumeNoMessages); ok { + return x.DisconnectSignalOnResumeNoMessages + } } return false } func (x *SimulateScenario) GetLeaveRequestFullReconnect() bool { - if x, ok := x.GetScenario().(*SimulateScenario_LeaveRequestFullReconnect); ok { - return x.LeaveRequestFullReconnect + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_LeaveRequestFullReconnect); ok { + return x.LeaveRequestFullReconnect + } } return false } @@ -3317,22 +3309,19 @@ func (*SimulateScenario_DisconnectSignalOnResumeNoMessages) isSimulateScenario_S func (*SimulateScenario_LeaveRequestFullReconnect) isSimulateScenario_Scenario() {} type Ping struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // rtt in milliseconds calculated by client - Rtt int64 `protobuf:"varint,2,opt,name=rtt,proto3" json:"rtt,omitempty"` + Rtt int64 `protobuf:"varint,2,opt,name=rtt,proto3" json:"rtt,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Ping) Reset() { *x = Ping{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Ping) String() string { @@ -3343,7 +3332,7 @@ func (*Ping) ProtoMessage() {} func (x *Ping) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3373,22 +3362,19 @@ func (x *Ping) GetRtt() int64 { } type Pong struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // timestamp field of last received ping request LastPingTimestamp int64 `protobuf:"varint,1,opt,name=last_ping_timestamp,json=lastPingTimestamp,proto3" json:"last_ping_timestamp,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Pong) Reset() { *x = Pong{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Pong) String() string { @@ -3399,7 +3385,7 @@ func (*Pong) ProtoMessage() {} func (x *Pong) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3429,20 +3415,17 @@ func (x *Pong) GetTimestamp() int64 { } type RegionSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Regions []*RegionInfo `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` unknownFields protoimpl.UnknownFields - - Regions []*RegionInfo `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RegionSettings) Reset() { *x = RegionSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegionSettings) String() string { @@ -3453,7 +3436,7 @@ func (*RegionSettings) ProtoMessage() {} func (x *RegionSettings) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3476,22 +3459,19 @@ func (x *RegionSettings) GetRegions() []*RegionInfo { } type RegionInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Distance int64 `protobuf:"varint,3,opt,name=distance,proto3" json:"distance,omitempty"` unknownFields protoimpl.UnknownFields - - Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - Distance int64 `protobuf:"varint,3,opt,name=distance,proto3" json:"distance,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RegionInfo) Reset() { *x = RegionInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegionInfo) String() string { @@ -3502,7 +3482,7 @@ func (*RegionInfo) ProtoMessage() {} func (x *RegionInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3539,21 +3519,18 @@ func (x *RegionInfo) GetDistance() int64 { } type SubscriptionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Err SubscriptionError `protobuf:"varint,2,opt,name=err,proto3,enum=livekit.SubscriptionError" json:"err,omitempty"` unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Err SubscriptionError `protobuf:"varint,2,opt,name=err,proto3,enum=livekit.SubscriptionError" json:"err,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SubscriptionResponse) Reset() { *x = SubscriptionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscriptionResponse) String() string { @@ -3564,7 +3541,7 @@ func (*SubscriptionResponse) ProtoMessage() {} func (x *SubscriptionResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3594,22 +3571,19 @@ func (x *SubscriptionResponse) GetErr() SubscriptionError { } type RequestResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RequestId uint32 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + Reason RequestResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.RequestResponse_Reason" json:"reason,omitempty"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - RequestId uint32 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - Reason RequestResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.RequestResponse_Reason" json:"reason,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RequestResponse) Reset() { *x = RequestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequestResponse) String() string { @@ -3620,7 +3594,7 @@ func (*RequestResponse) ProtoMessage() {} func (x *RequestResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3657,20 +3631,17 @@ func (x *RequestResponse) GetMessage() string { } type TrackSubscribed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TrackSubscribed) Reset() { *x = TrackSubscribed{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackSubscribed) String() string { @@ -3681,7 +3652,7 @@ func (*TrackSubscribed) ProtoMessage() {} func (x *TrackSubscribed) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3705,7 +3676,7 @@ func (x *TrackSubscribed) GetTrackSid() string { var File_livekit_rtc_proto protoreflect.FileDescriptor -var file_livekit_rtc_proto_rawDesc = []byte{ +var file_livekit_rtc_proto_rawDesc = string([]byte{ 0x0a, 0x11, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x72, 0x74, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, @@ -4278,23 +4249,23 @@ var file_livekit_rtc_proto_rawDesc = []byte{ 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_rtc_proto_rawDescOnce sync.Once - file_livekit_rtc_proto_rawDescData = file_livekit_rtc_proto_rawDesc + file_livekit_rtc_proto_rawDescData []byte ) func file_livekit_rtc_proto_rawDescGZIP() []byte { file_livekit_rtc_proto_rawDescOnce.Do(func() { - file_livekit_rtc_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_rtc_proto_rawDescData) + file_livekit_rtc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_rtc_proto_rawDesc), len(file_livekit_rtc_proto_rawDesc))) }) return file_livekit_rtc_proto_rawDescData } var file_livekit_rtc_proto_enumTypes = make([]protoimpl.EnumInfo, 5) var file_livekit_rtc_proto_msgTypes = make([]protoimpl.MessageInfo, 43) -var file_livekit_rtc_proto_goTypes = []interface{}{ +var file_livekit_rtc_proto_goTypes = []any{ (SignalTarget)(0), // 0: livekit.SignalTarget (StreamState)(0), // 1: livekit.StreamState (CandidateProtocol)(0), // 2: livekit.CandidateProtocol @@ -4459,513 +4430,7 @@ func file_livekit_rtc_proto_init() { return } file_livekit_models_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_rtc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SignalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SignalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SimulcastCodec); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTrackRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrickleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MuteTrackRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JoinResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReconnectResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackPublishedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackUnpublishedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SessionDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParticipantUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSubscription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTrackSettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateLocalAudioTrack); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateLocalVideoTrack); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LeaveRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateVideoLayers); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateParticipantMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ICEServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpeakersChanged); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectionQualityInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectionQualityUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamStateInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamStateUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscribedQuality); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscribedCodec); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscribedQualityUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackPermission); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscriptionPermission); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscriptionPermissionUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataChannelInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SimulateScenario); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Ping); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Pong); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegionSettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegionInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscriptionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackSubscribed); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_rtc_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_livekit_rtc_proto_msgTypes[0].OneofWrappers = []any{ (*SignalRequest_Offer)(nil), (*SignalRequest_Answer)(nil), (*SignalRequest_Trickle)(nil), @@ -4984,7 +4449,7 @@ func file_livekit_rtc_proto_init() { (*SignalRequest_UpdateAudioTrack)(nil), (*SignalRequest_UpdateVideoTrack)(nil), } - file_livekit_rtc_proto_msgTypes[1].OneofWrappers = []interface{}{ + file_livekit_rtc_proto_msgTypes[1].OneofWrappers = []any{ (*SignalResponse_Join)(nil), (*SignalResponse_Answer)(nil), (*SignalResponse_Offer)(nil), @@ -5008,7 +4473,7 @@ func file_livekit_rtc_proto_init() { (*SignalResponse_RequestResponse)(nil), (*SignalResponse_TrackSubscribed)(nil), } - file_livekit_rtc_proto_msgTypes[34].OneofWrappers = []interface{}{ + file_livekit_rtc_proto_msgTypes[34].OneofWrappers = []any{ (*SimulateScenario_SpeakerUpdate)(nil), (*SimulateScenario_NodeFailure)(nil), (*SimulateScenario_Migration)(nil), @@ -5023,7 +4488,7 @@ func file_livekit_rtc_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_rtc_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_rtc_proto_rawDesc), len(file_livekit_rtc_proto_rawDesc)), NumEnums: 5, NumMessages: 43, NumExtensions: 0, @@ -5035,7 +4500,6 @@ func file_livekit_rtc_proto_init() { MessageInfos: file_livekit_rtc_proto_msgTypes, }.Build() File_livekit_rtc_proto = out.File - file_livekit_rtc_proto_rawDesc = nil file_livekit_rtc_proto_goTypes = nil file_livekit_rtc_proto_depIdxs = nil } diff --git a/livekit/livekit_sip.pb.go b/livekit/livekit_sip.pb.go index 954bf0ba5..651f65e63 100644 --- a/livekit/livekit_sip.pb.go +++ b/livekit/livekit_sip.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_sip.proto package livekit @@ -27,6 +27,7 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -574,21 +575,18 @@ func (SIPTrunkInfo_TrunkKind) EnumDescriptor() ([]byte, []int) { // SIPStatus is returned as an error detail in CreateSIPParticipant. type SIPStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code SIPStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=livekit.SIPStatusCode" json:"code,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Code SIPStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=livekit.SIPStatusCode" json:"code,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SIPStatus) Reset() { *x = SIPStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPStatus) String() string { @@ -599,7 +597,7 @@ func (*SIPStatus) ProtoMessage() {} func (x *SIPStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -630,10 +628,7 @@ func (x *SIPStatus) GetStatus() string { // Deprecated: Marked as deprecated in livekit_sip.proto. type CreateSIPTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // CIDR or IPs that traffic is accepted from // An empty list means all inbound traffic is accepted. InboundAddresses []string `protobuf:"bytes,1,rep,name=inbound_addresses,json=inboundAddresses,proto3" json:"inbound_addresses,omitempty"` @@ -656,16 +651,16 @@ type CreateSIPTrunkRequest struct { // Optional human-readable name for the Trunk. Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` // Optional user-defined metadata for the Trunk. - Metadata string `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata string `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateSIPTrunkRequest) Reset() { *x = CreateSIPTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPTrunkRequest) String() string { @@ -676,7 +671,7 @@ func (*CreateSIPTrunkRequest) ProtoMessage() {} func (x *CreateSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -771,10 +766,7 @@ func (x *CreateSIPTrunkRequest) GetMetadata() string { // Deprecated: Marked as deprecated in livekit_sip.proto. type SIPTrunkInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` Kind SIPTrunkInfo_TrunkKind `protobuf:"varint,14,opt,name=kind,proto3,enum=livekit.SIPTrunkInfo_TrunkKind" json:"kind,omitempty"` // CIDR or IPs that traffic is accepted from @@ -801,16 +793,16 @@ type SIPTrunkInfo struct { // Human-readable name for the Trunk. Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"` // User-defined metadata for the Trunk. - Metadata string `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata string `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPTrunkInfo) Reset() { *x = SIPTrunkInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPTrunkInfo) String() string { @@ -821,7 +813,7 @@ func (*SIPTrunkInfo) ProtoMessage() {} func (x *SIPTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -936,20 +928,17 @@ func (x *SIPTrunkInfo) GetMetadata() string { } type CreateSIPInboundTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored unknownFields protoimpl.UnknownFields - - Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored + sizeCache protoimpl.SizeCache } func (x *CreateSIPInboundTrunkRequest) Reset() { *x = CreateSIPInboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPInboundTrunkRequest) String() string { @@ -960,7 +949,7 @@ func (*CreateSIPInboundTrunkRequest) ProtoMessage() {} func (x *CreateSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -983,11 +972,8 @@ func (x *CreateSIPInboundTrunkRequest) GetTrunk() *SIPInboundTrunkInfo { } type SIPInboundTrunkInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` // Human-readable name for the Trunk. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // User-defined metadata for the Trunk. @@ -1006,12 +992,12 @@ type SIPInboundTrunkInfo struct { AuthUsername string `protobuf:"bytes,7,opt,name=auth_username,json=authUsername,proto3" json:"auth_username,omitempty"` AuthPassword string `protobuf:"bytes,8,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` // Include these SIP X-* headers in 200 OK responses. - Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP X-* headers from INVITE to SIP participant attributes. - HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,14,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AttributesToHeaders map[string]string `protobuf:"bytes,14,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP headers from INVITE to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -1025,15 +1011,15 @@ type SIPInboundTrunkInfo struct { MaxCallDuration *durationpb.Duration `protobuf:"bytes,12,opt,name=max_call_duration,json=maxCallDuration,proto3" json:"max_call_duration,omitempty"` KrispEnabled bool `protobuf:"varint,13,opt,name=krisp_enabled,json=krispEnabled,proto3" json:"krisp_enabled,omitempty"` MediaEncryption SIPMediaEncryption `protobuf:"varint,16,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPInboundTrunkInfo) Reset() { *x = SIPInboundTrunkInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPInboundTrunkInfo) String() string { @@ -1044,7 +1030,7 @@ func (*SIPInboundTrunkInfo) ProtoMessage() {} func (x *SIPInboundTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1172,20 +1158,17 @@ func (x *SIPInboundTrunkInfo) GetMediaEncryption() SIPMediaEncryption { } type CreateSIPOutboundTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored unknownFields protoimpl.UnknownFields - - Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored + sizeCache protoimpl.SizeCache } func (x *CreateSIPOutboundTrunkRequest) Reset() { *x = CreateSIPOutboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPOutboundTrunkRequest) String() string { @@ -1196,7 +1179,7 @@ func (*CreateSIPOutboundTrunkRequest) ProtoMessage() {} func (x *CreateSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1219,11 +1202,8 @@ func (x *CreateSIPOutboundTrunkRequest) GetTrunk() *SIPOutboundTrunkInfo { } type SIPOutboundTrunkInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` // Human-readable name for the Trunk. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // User-defined metadata for the Trunk. @@ -1241,13 +1221,13 @@ type SIPOutboundTrunkInfo struct { AuthPassword string `protobuf:"bytes,8,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` // Include these SIP X-* headers in INVITE request. // These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. - Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP X-* headers from 200 OK to SIP participant attributes. // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,11,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AttributesToHeaders map[string]string `protobuf:"bytes,11,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP headers from 200 OK to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -1256,15 +1236,15 @@ type SIPOutboundTrunkInfo struct { // lowercase header names should be used, for example: sip.h.x-custom-header. IncludeHeaders SIPHeaderOptions `protobuf:"varint,12,opt,name=include_headers,json=includeHeaders,proto3,enum=livekit.SIPHeaderOptions" json:"include_headers,omitempty"` MediaEncryption SIPMediaEncryption `protobuf:"varint,13,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPOutboundTrunkInfo) Reset() { *x = SIPOutboundTrunkInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPOutboundTrunkInfo) String() string { @@ -1275,7 +1255,7 @@ func (*SIPOutboundTrunkInfo) ProtoMessage() {} func (x *SIPOutboundTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1382,20 +1362,17 @@ func (x *SIPOutboundTrunkInfo) GetMediaEncryption() SIPMediaEncryption { } type GetSIPInboundTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` unknownFields protoimpl.UnknownFields - - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetSIPInboundTrunkRequest) Reset() { *x = GetSIPInboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPInboundTrunkRequest) String() string { @@ -1406,7 +1383,7 @@ func (*GetSIPInboundTrunkRequest) ProtoMessage() {} func (x *GetSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1429,20 +1406,17 @@ func (x *GetSIPInboundTrunkRequest) GetSipTrunkId() string { } type GetSIPInboundTrunkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` unknownFields protoimpl.UnknownFields - - Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetSIPInboundTrunkResponse) Reset() { *x = GetSIPInboundTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPInboundTrunkResponse) String() string { @@ -1453,7 +1427,7 @@ func (*GetSIPInboundTrunkResponse) ProtoMessage() {} func (x *GetSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1476,20 +1450,17 @@ func (x *GetSIPInboundTrunkResponse) GetTrunk() *SIPInboundTrunkInfo { } type GetSIPOutboundTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` unknownFields protoimpl.UnknownFields - - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetSIPOutboundTrunkRequest) Reset() { *x = GetSIPOutboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPOutboundTrunkRequest) String() string { @@ -1500,7 +1471,7 @@ func (*GetSIPOutboundTrunkRequest) ProtoMessage() {} func (x *GetSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1523,20 +1494,17 @@ func (x *GetSIPOutboundTrunkRequest) GetSipTrunkId() string { } type GetSIPOutboundTrunkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` unknownFields protoimpl.UnknownFields - - Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetSIPOutboundTrunkResponse) Reset() { *x = GetSIPOutboundTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPOutboundTrunkResponse) String() string { @@ -1547,7 +1515,7 @@ func (*GetSIPOutboundTrunkResponse) ProtoMessage() {} func (x *GetSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1571,20 +1539,17 @@ func (x *GetSIPOutboundTrunkResponse) GetTrunk() *SIPOutboundTrunkInfo { // Deprecated: Marked as deprecated in livekit_sip.proto. type ListSIPTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Page *Pagination `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` unknownFields protoimpl.UnknownFields - - Page *Pagination `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListSIPTrunkRequest) Reset() { *x = ListSIPTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPTrunkRequest) String() string { @@ -1595,7 +1560,7 @@ func (*ListSIPTrunkRequest) ProtoMessage() {} func (x *ListSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1619,20 +1584,17 @@ func (x *ListSIPTrunkRequest) GetPage() *Pagination { // Deprecated: Marked as deprecated in livekit_sip.proto. type ListSIPTrunkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*SIPTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*SIPTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListSIPTrunkResponse) Reset() { *x = ListSIPTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPTrunkResponse) String() string { @@ -1643,7 +1605,7 @@ func (*ListSIPTrunkResponse) ProtoMessage() {} func (x *ListSIPTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1667,25 +1629,22 @@ func (x *ListSIPTrunkResponse) GetItems() []*SIPTrunkInfo { // ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed. type ListSIPInboundTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // Trunk IDs to list. If this option is set, the response will contains trunks in the same order. // If any of the trunks is missing, a nil item in that position will be sent in the response. TrunkIds []string `protobuf:"bytes,1,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` // Only list trunks that contain one of the numbers, including wildcard trunks. - Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` + Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListSIPInboundTrunkRequest) Reset() { *x = ListSIPInboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPInboundTrunkRequest) String() string { @@ -1696,7 +1655,7 @@ func (*ListSIPInboundTrunkRequest) ProtoMessage() {} func (x *ListSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1733,20 +1692,17 @@ func (x *ListSIPInboundTrunkRequest) GetNumbers() []string { } type ListSIPInboundTrunkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*SIPInboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*SIPInboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListSIPInboundTrunkResponse) Reset() { *x = ListSIPInboundTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPInboundTrunkResponse) String() string { @@ -1757,7 +1713,7 @@ func (*ListSIPInboundTrunkResponse) ProtoMessage() {} func (x *ListSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1781,25 +1737,22 @@ func (x *ListSIPInboundTrunkResponse) GetItems() []*SIPInboundTrunkInfo { // ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed. type ListSIPOutboundTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // Trunk IDs to list. If this option is set, the response will contains trunks in the same order. // If any of the trunks is missing, a nil item in that position will be sent in the response. TrunkIds []string `protobuf:"bytes,1,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` // Only list trunks that contain one of the numbers, including wildcard trunks. - Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` + Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListSIPOutboundTrunkRequest) Reset() { *x = ListSIPOutboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPOutboundTrunkRequest) String() string { @@ -1810,7 +1763,7 @@ func (*ListSIPOutboundTrunkRequest) ProtoMessage() {} func (x *ListSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1847,20 +1800,17 @@ func (x *ListSIPOutboundTrunkRequest) GetNumbers() []string { } type ListSIPOutboundTrunkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*SIPOutboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*SIPOutboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListSIPOutboundTrunkResponse) Reset() { *x = ListSIPOutboundTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPOutboundTrunkResponse) String() string { @@ -1871,7 +1821,7 @@ func (*ListSIPOutboundTrunkResponse) ProtoMessage() {} func (x *ListSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1894,20 +1844,17 @@ func (x *ListSIPOutboundTrunkResponse) GetItems() []*SIPOutboundTrunkInfo { } type DeleteSIPTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` unknownFields protoimpl.UnknownFields - - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteSIPTrunkRequest) Reset() { *x = DeleteSIPTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSIPTrunkRequest) String() string { @@ -1918,7 +1865,7 @@ func (*DeleteSIPTrunkRequest) ProtoMessage() {} func (x *DeleteSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1941,23 +1888,20 @@ func (x *DeleteSIPTrunkRequest) GetSipTrunkId() string { } type SIPDispatchRuleDirect struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // What room should call be directed into RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // Optional pin required to enter room - Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` + Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPDispatchRuleDirect) Reset() { *x = SIPDispatchRuleDirect{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRuleDirect) String() string { @@ -1968,7 +1912,7 @@ func (*SIPDispatchRuleDirect) ProtoMessage() {} func (x *SIPDispatchRuleDirect) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1998,23 +1942,20 @@ func (x *SIPDispatchRuleDirect) GetPin() string { } type SIPDispatchRuleIndividual struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Prefix used on new room name RoomPrefix string `protobuf:"bytes,1,opt,name=room_prefix,json=roomPrefix,proto3" json:"room_prefix,omitempty"` // Optional pin required to enter room - Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` + Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPDispatchRuleIndividual) Reset() { *x = SIPDispatchRuleIndividual{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRuleIndividual) String() string { @@ -2025,7 +1966,7 @@ func (*SIPDispatchRuleIndividual) ProtoMessage() {} func (x *SIPDispatchRuleIndividual) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2055,25 +1996,22 @@ func (x *SIPDispatchRuleIndividual) GetPin() string { } type SIPDispatchRuleCallee struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Prefix used on new room name RoomPrefix string `protobuf:"bytes,1,opt,name=room_prefix,json=roomPrefix,proto3" json:"room_prefix,omitempty"` // Optional pin required to enter room Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` // Optionally append random suffix - Randomize bool `protobuf:"varint,3,opt,name=randomize,proto3" json:"randomize,omitempty"` + Randomize bool `protobuf:"varint,3,opt,name=randomize,proto3" json:"randomize,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPDispatchRuleCallee) Reset() { *x = SIPDispatchRuleCallee{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRuleCallee) String() string { @@ -2084,7 +2022,7 @@ func (*SIPDispatchRuleCallee) ProtoMessage() {} func (x *SIPDispatchRuleCallee) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2121,25 +2059,22 @@ func (x *SIPDispatchRuleCallee) GetRandomize() bool { } type SIPDispatchRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Rule: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Rule: // // *SIPDispatchRule_DispatchRuleDirect // *SIPDispatchRule_DispatchRuleIndividual // *SIPDispatchRule_DispatchRuleCallee - Rule isSIPDispatchRule_Rule `protobuf_oneof:"rule"` + Rule isSIPDispatchRule_Rule `protobuf_oneof:"rule"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPDispatchRule) Reset() { *x = SIPDispatchRule{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRule) String() string { @@ -2150,7 +2085,7 @@ func (*SIPDispatchRule) ProtoMessage() {} func (x *SIPDispatchRule) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2165,30 +2100,36 @@ func (*SIPDispatchRule) Descriptor() ([]byte, []int) { return file_livekit_sip_proto_rawDescGZIP(), []int{21} } -func (m *SIPDispatchRule) GetRule() isSIPDispatchRule_Rule { - if m != nil { - return m.Rule +func (x *SIPDispatchRule) GetRule() isSIPDispatchRule_Rule { + if x != nil { + return x.Rule } return nil } func (x *SIPDispatchRule) GetDispatchRuleDirect() *SIPDispatchRuleDirect { - if x, ok := x.GetRule().(*SIPDispatchRule_DispatchRuleDirect); ok { - return x.DispatchRuleDirect + if x != nil { + if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleDirect); ok { + return x.DispatchRuleDirect + } } return nil } func (x *SIPDispatchRule) GetDispatchRuleIndividual() *SIPDispatchRuleIndividual { - if x, ok := x.GetRule().(*SIPDispatchRule_DispatchRuleIndividual); ok { - return x.DispatchRuleIndividual + if x != nil { + if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleIndividual); ok { + return x.DispatchRuleIndividual + } } return nil } func (x *SIPDispatchRule) GetDispatchRuleCallee() *SIPDispatchRuleCallee { - if x, ok := x.GetRule().(*SIPDispatchRule_DispatchRuleCallee); ok { - return x.DispatchRuleCallee + if x != nil { + if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleCallee); ok { + return x.DispatchRuleCallee + } } return nil } @@ -2221,11 +2162,8 @@ func (*SIPDispatchRule_DispatchRuleIndividual) isSIPDispatchRule_Rule() {} func (*SIPDispatchRule_DispatchRuleCallee) isSIPDispatchRule_Rule() {} type CreateSIPDispatchRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Rule *SIPDispatchRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Rule *SIPDispatchRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` // What trunks are accepted for this dispatch rule // If empty all trunks will match this dispatch rule TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` @@ -2241,20 +2179,20 @@ type CreateSIPDispatchRuleRequest struct { Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // User-defined attributes for the Dispatch Rule. // Participants created by this rule will inherit these attributes. - Attributes map[string]string `protobuf:"bytes,7,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Attributes map[string]string `protobuf:"bytes,7,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Cloud-only, config preset to use RoomPreset string `protobuf:"bytes,8,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"` // RoomConfiguration to use if the participant initiates the room - RoomConfig *RoomConfiguration `protobuf:"bytes,9,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` + RoomConfig *RoomConfiguration `protobuf:"bytes,9,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateSIPDispatchRuleRequest) Reset() { *x = CreateSIPDispatchRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPDispatchRuleRequest) String() string { @@ -2265,7 +2203,7 @@ func (*CreateSIPDispatchRuleRequest) ProtoMessage() {} func (x *CreateSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2344,14 +2282,11 @@ func (x *CreateSIPDispatchRuleRequest) GetRoomConfig() *RoomConfiguration { } type SIPDispatchRuleInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` - Rule *SIPDispatchRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` - TrunkIds []string `protobuf:"bytes,3,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` - HidePhoneNumber bool `protobuf:"varint,4,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` + Rule *SIPDispatchRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` + TrunkIds []string `protobuf:"bytes,3,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` + HidePhoneNumber bool `protobuf:"varint,4,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"` // Dispatch Rule will only accept a call made to these numbers (if set). InboundNumbers []string `protobuf:"bytes,7,rep,name=inbound_numbers,json=inboundNumbers,proto3" json:"inbound_numbers,omitempty"` // Human-readable name for the Dispatch Rule. @@ -2361,22 +2296,22 @@ type SIPDispatchRuleInfo struct { Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // User-defined attributes for the Dispatch Rule. // Participants created by this rule will inherit these attributes. - Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Cloud-only, config preset to use RoomPreset string `protobuf:"bytes,9,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"` // RoomConfiguration to use if the participant initiates the room RoomConfig *RoomConfiguration `protobuf:"bytes,10,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` KrispEnabled bool `protobuf:"varint,11,opt,name=krisp_enabled,json=krispEnabled,proto3" json:"krisp_enabled,omitempty"` MediaEncryption SIPMediaEncryption `protobuf:"varint,12,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` // NEXT ID: 13 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPDispatchRuleInfo) Reset() { *x = SIPDispatchRuleInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRuleInfo) String() string { @@ -2387,7 +2322,7 @@ func (*SIPDispatchRuleInfo) ProtoMessage() {} func (x *SIPDispatchRuleInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2488,25 +2423,22 @@ func (x *SIPDispatchRuleInfo) GetMediaEncryption() SIPMediaEncryption { // ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed. type ListSIPDispatchRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // Rule IDs to list. If this option is set, the response will contains rules in the same order. // If any of the rules is missing, a nil item in that position will be sent in the response. DispatchRuleIds []string `protobuf:"bytes,1,rep,name=dispatch_rule_ids,json=dispatchRuleIds,proto3" json:"dispatch_rule_ids,omitempty"` // Only list rules that contain one of the Trunk IDs, including wildcard rules. - TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` + TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListSIPDispatchRuleRequest) Reset() { *x = ListSIPDispatchRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPDispatchRuleRequest) String() string { @@ -2517,7 +2449,7 @@ func (*ListSIPDispatchRuleRequest) ProtoMessage() {} func (x *ListSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2554,20 +2486,17 @@ func (x *ListSIPDispatchRuleRequest) GetTrunkIds() []string { } type ListSIPDispatchRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*SIPDispatchRuleInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*SIPDispatchRuleInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListSIPDispatchRuleResponse) Reset() { *x = ListSIPDispatchRuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPDispatchRuleResponse) String() string { @@ -2578,7 +2507,7 @@ func (*ListSIPDispatchRuleResponse) ProtoMessage() {} func (x *ListSIPDispatchRuleResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2601,20 +2530,17 @@ func (x *ListSIPDispatchRuleResponse) GetItems() []*SIPDispatchRuleInfo { } type DeleteSIPDispatchRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteSIPDispatchRuleRequest) Reset() { *x = DeleteSIPDispatchRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSIPDispatchRuleRequest) String() string { @@ -2625,7 +2551,7 @@ func (*DeleteSIPDispatchRuleRequest) ProtoMessage() {} func (x *DeleteSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2648,10 +2574,7 @@ func (x *DeleteSIPDispatchRuleRequest) GetSipDispatchRuleId() string { } type SIPOutboundConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // SIP server address Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // SIP Transport used for outbound call. @@ -2662,19 +2585,19 @@ type SIPOutboundConfig struct { AuthPassword string `protobuf:"bytes,4,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` // Map SIP X-* headers from 200 OK to SIP participant attributes. // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - HeadersToAttributes map[string]string `protobuf:"bytes,5,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + HeadersToAttributes map[string]string `protobuf:"bytes,5,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,6,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AttributesToHeaders map[string]string `protobuf:"bytes,6,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPOutboundConfig) Reset() { *x = SIPOutboundConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPOutboundConfig) String() string { @@ -2685,7 +2608,7 @@ func (*SIPOutboundConfig) ProtoMessage() {} func (x *SIPOutboundConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2745,10 +2668,7 @@ func (x *SIPOutboundConfig) GetAttributesToHeaders() map[string]string { // A SIP Participant is a singular SIP session connected to a LiveKit room via // a SIP Trunk into a SIP DispatchRule type CreateSIPParticipantRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // What SIP Trunk should be used to dial the user SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` Trunk *SIPOutboundConfig `protobuf:"bytes,20,opt,name=trunk,proto3" json:"trunk,omitempty"` @@ -2765,7 +2685,7 @@ type CreateSIPParticipantRequest struct { // Optional user-defined metadata. Will be attached to a created Participant in the room. ParticipantMetadata string `protobuf:"bytes,8,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` // Optional user-defined attributes. Will be attached to a created Participant in the room. - ParticipantAttributes map[string]string `protobuf:"bytes,9,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ParticipantAttributes map[string]string `protobuf:"bytes,9,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Optionally send following DTMF digits (extension codes) when making a call. // Character 'w' can be used to add a 0.5 sec delay. Dtmf string `protobuf:"bytes,5,opt,name=dtmf,proto3" json:"dtmf,omitempty"` @@ -2778,7 +2698,7 @@ type CreateSIPParticipantRequest struct { // If true, a random value for identity will be used and numbers will be omitted from attributes. HidePhoneNumber bool `protobuf:"varint,10,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"` // These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. - Headers map[string]string `protobuf:"bytes,16,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,16,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP headers from 200 OK to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -2795,15 +2715,15 @@ type CreateSIPParticipantRequest struct { MediaEncryption SIPMediaEncryption `protobuf:"varint,18,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` // Wait for the answer for the call before returning. WaitUntilAnswered bool `protobuf:"varint,19,opt,name=wait_until_answered,json=waitUntilAnswered,proto3" json:"wait_until_answered,omitempty"` // NEXT ID: 21 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateSIPParticipantRequest) Reset() { *x = CreateSIPParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPParticipantRequest) String() string { @@ -2814,7 +2734,7 @@ func (*CreateSIPParticipantRequest) ProtoMessage() {} func (x *CreateSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2971,23 +2891,20 @@ func (x *CreateSIPParticipantRequest) GetWaitUntilAnswered() bool { } type SIPParticipantInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` - ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - SipCallId string `protobuf:"bytes,4,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` + ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + SipCallId string `protobuf:"bytes,4,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPParticipantInfo) Reset() { *x = SIPParticipantInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPParticipantInfo) String() string { @@ -2998,7 +2915,7 @@ func (*SIPParticipantInfo) ProtoMessage() {} func (x *SIPParticipantInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3042,26 +2959,23 @@ func (x *SIPParticipantInfo) GetSipCallId() string { } type TransferSIPParticipantRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ParticipantIdentity string `protobuf:"bytes,1,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - TransferTo string `protobuf:"bytes,3,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ParticipantIdentity string `protobuf:"bytes,1,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + TransferTo string `protobuf:"bytes,3,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` // Optionally play dialtone to the SIP participant as an audible indicator of being transferred PlayDialtone bool `protobuf:"varint,4,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` // Add the following headers to the REFER SIP request. - Headers map[string]string `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TransferSIPParticipantRequest) Reset() { *x = TransferSIPParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransferSIPParticipantRequest) String() string { @@ -3072,7 +2986,7 @@ func (*TransferSIPParticipantRequest) ProtoMessage() {} func (x *TransferSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3123,34 +3037,31 @@ func (x *TransferSIPParticipantRequest) GetHeaders() map[string]string { } type SIPCallInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CallId string `protobuf:"bytes,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` - TrunkId string `protobuf:"bytes,2,opt,name=trunk_id,json=trunkId,proto3" json:"trunk_id,omitempty"` - RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to - ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - FromUri *SIPUri `protobuf:"bytes,6,opt,name=from_uri,json=fromUri,proto3" json:"from_uri,omitempty"` - ToUri *SIPUri `protobuf:"bytes,7,opt,name=to_uri,json=toUri,proto3" json:"to_uri,omitempty"` - EnabledFeatures []SIPFeature `protobuf:"varint,14,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=livekit.SIPFeature" json:"enabled_features,omitempty"` - CallDirection SIPCallDirection `protobuf:"varint,15,opt,name=call_direction,json=callDirection,proto3,enum=livekit.SIPCallDirection" json:"call_direction,omitempty"` - CallStatus SIPCallStatus `protobuf:"varint,8,opt,name=call_status,json=callStatus,proto3,enum=livekit.SIPCallStatus" json:"call_status,omitempty"` - CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - DisconnectReason DisconnectReason `protobuf:"varint,12,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"` - Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + CallId string `protobuf:"bytes,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` + TrunkId string `protobuf:"bytes,2,opt,name=trunk_id,json=trunkId,proto3" json:"trunk_id,omitempty"` + RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to + ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + FromUri *SIPUri `protobuf:"bytes,6,opt,name=from_uri,json=fromUri,proto3" json:"from_uri,omitempty"` + ToUri *SIPUri `protobuf:"bytes,7,opt,name=to_uri,json=toUri,proto3" json:"to_uri,omitempty"` + EnabledFeatures []SIPFeature `protobuf:"varint,14,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=livekit.SIPFeature" json:"enabled_features,omitempty"` + CallDirection SIPCallDirection `protobuf:"varint,15,opt,name=call_direction,json=callDirection,proto3,enum=livekit.SIPCallDirection" json:"call_direction,omitempty"` + CallStatus SIPCallStatus `protobuf:"varint,8,opt,name=call_status,json=callStatus,proto3,enum=livekit.SIPCallStatus" json:"call_status,omitempty"` + CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + DisconnectReason DisconnectReason `protobuf:"varint,12,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"` + Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPCallInfo) Reset() { *x = SIPCallInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPCallInfo) String() string { @@ -3161,7 +3072,7 @@ func (*SIPCallInfo) ProtoMessage() {} func (x *SIPCallInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3282,24 +3193,21 @@ func (x *SIPCallInfo) GetError() string { } type SIPUri struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` + Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` + Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` + Transport SIPTransport `protobuf:"varint,5,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"` unknownFields protoimpl.UnknownFields - - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` - Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` - Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` - Transport SIPTransport `protobuf:"varint,5,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SIPUri) Reset() { *x = SIPUri{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPUri) String() string { @@ -3310,7 +3218,7 @@ func (*SIPUri) ProtoMessage() {} func (x *SIPUri) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3362,7 +3270,7 @@ func (x *SIPUri) GetTransport() SIPTransport { var File_livekit_sip_proto protoreflect.FileDescriptor -var file_livekit_sip_proto_rawDesc = []byte{ +var file_livekit_sip_proto_rawDesc = string([]byte{ 0x0a, 0x11, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x73, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, @@ -4170,23 +4078,23 @@ var file_livekit_sip_proto_rawDesc = []byte{ 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_sip_proto_rawDescOnce sync.Once - file_livekit_sip_proto_rawDescData = file_livekit_sip_proto_rawDesc + file_livekit_sip_proto_rawDescData []byte ) func file_livekit_sip_proto_rawDescGZIP() []byte { file_livekit_sip_proto_rawDescOnce.Do(func() { - file_livekit_sip_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_sip_proto_rawDescData) + file_livekit_sip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_sip_proto_rawDesc), len(file_livekit_sip_proto_rawDesc))) }) return file_livekit_sip_proto_rawDescData } var file_livekit_sip_proto_enumTypes = make([]protoimpl.EnumInfo, 8) var file_livekit_sip_proto_msgTypes = make([]protoimpl.MessageInfo, 46) -var file_livekit_sip_proto_goTypes = []interface{}{ +var file_livekit_sip_proto_goTypes = []any{ (SIPStatusCode)(0), // 0: livekit.SIPStatusCode (SIPTransport)(0), // 1: livekit.SIPTransport (SIPHeaderOptions)(0), // 2: livekit.SIPHeaderOptions @@ -4344,405 +4252,7 @@ func file_livekit_sip_proto_init() { } file_livekit_models_proto_init() file_livekit_room_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_sip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSIPTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPTrunkInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSIPInboundTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPInboundTrunkInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSIPOutboundTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPOutboundTrunkInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSIPInboundTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSIPInboundTrunkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSIPOutboundTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSIPOutboundTrunkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPTrunkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPInboundTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPInboundTrunkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPOutboundTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPOutboundTrunkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSIPTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPDispatchRuleDirect); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPDispatchRuleIndividual); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPDispatchRuleCallee); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPDispatchRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSIPDispatchRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPDispatchRuleInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPDispatchRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPDispatchRuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSIPDispatchRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPOutboundConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSIPParticipantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPParticipantInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransferSIPParticipantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPCallInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPUri); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_sip_proto_msgTypes[21].OneofWrappers = []interface{}{ + file_livekit_sip_proto_msgTypes[21].OneofWrappers = []any{ (*SIPDispatchRule_DispatchRuleDirect)(nil), (*SIPDispatchRule_DispatchRuleIndividual)(nil), (*SIPDispatchRule_DispatchRuleCallee)(nil), @@ -4751,7 +4261,7 @@ func file_livekit_sip_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_sip_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_sip_proto_rawDesc), len(file_livekit_sip_proto_rawDesc)), NumEnums: 8, NumMessages: 46, NumExtensions: 0, @@ -4763,7 +4273,6 @@ func file_livekit_sip_proto_init() { MessageInfos: file_livekit_sip_proto_msgTypes, }.Build() File_livekit_sip_proto = out.File - file_livekit_sip_proto_rawDesc = nil file_livekit_sip_proto_goTypes = nil file_livekit_sip_proto_depIdxs = nil } diff --git a/livekit/livekit_webhook.pb.go b/livekit/livekit_webhook.pb.go index f39c8b9c0..1f56d9981 100644 --- a/livekit/livekit_webhook.pb.go +++ b/livekit/livekit_webhook.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_webhook.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -35,10 +36,7 @@ const ( ) type WebhookEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // one of room_started, room_finished, participant_joined, participant_left, // track_published, track_unpublished, egress_started, egress_updated, egress_ended, // ingress_started, ingress_ended @@ -55,17 +53,17 @@ type WebhookEvent struct { // unique event uuid Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` // timestamp in seconds - CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - NumDropped int32 `protobuf:"varint,11,opt,name=num_dropped,json=numDropped,proto3" json:"num_dropped,omitempty"` + CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + NumDropped int32 `protobuf:"varint,11,opt,name=num_dropped,json=numDropped,proto3" json:"num_dropped,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WebhookEvent) Reset() { *x = WebhookEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_webhook_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_webhook_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WebhookEvent) String() string { @@ -76,7 +74,7 @@ func (*WebhookEvent) ProtoMessage() {} func (x *WebhookEvent) ProtoReflect() protoreflect.Message { mi := &file_livekit_webhook_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -156,7 +154,7 @@ func (x *WebhookEvent) GetNumDropped() int32 { var File_livekit_webhook_proto protoreflect.FileDescriptor -var file_livekit_webhook_proto_rawDesc = []byte{ +var file_livekit_webhook_proto_rawDesc = string([]byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, @@ -192,22 +190,22 @@ var file_livekit_webhook_proto_rawDesc = []byte{ 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_webhook_proto_rawDescOnce sync.Once - file_livekit_webhook_proto_rawDescData = file_livekit_webhook_proto_rawDesc + file_livekit_webhook_proto_rawDescData []byte ) func file_livekit_webhook_proto_rawDescGZIP() []byte { file_livekit_webhook_proto_rawDescOnce.Do(func() { - file_livekit_webhook_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_webhook_proto_rawDescData) + file_livekit_webhook_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_webhook_proto_rawDesc), len(file_livekit_webhook_proto_rawDesc))) }) return file_livekit_webhook_proto_rawDescData } var file_livekit_webhook_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_livekit_webhook_proto_goTypes = []interface{}{ +var file_livekit_webhook_proto_goTypes = []any{ (*WebhookEvent)(nil), // 0: livekit.WebhookEvent (*Room)(nil), // 1: livekit.Room (*ParticipantInfo)(nil), // 2: livekit.ParticipantInfo @@ -236,25 +234,11 @@ func file_livekit_webhook_proto_init() { file_livekit_models_proto_init() file_livekit_egress_proto_init() file_livekit_ingress_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_webhook_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebhookEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_webhook_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_webhook_proto_rawDesc), len(file_livekit_webhook_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -265,7 +249,6 @@ func file_livekit_webhook_proto_init() { MessageInfos: file_livekit_webhook_proto_msgTypes, }.Build() File_livekit_webhook_proto = out.File - file_livekit_webhook_proto_rawDesc = nil file_livekit_webhook_proto_goTypes = nil file_livekit_webhook_proto_depIdxs = nil } diff --git a/rpc/agent.pb.go b/rpc/agent.pb.go index 846f8abd0..39162d2fb 100644 --- a/rpc/agent.pb.go +++ b/rpc/agent.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/agent.proto package rpc @@ -28,6 +28,7 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -84,18 +85,16 @@ func (JobTerminateReason) EnumDescriptor() ([]byte, []int) { } type CheckEnabledRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckEnabledRequest) Reset() { *x = CheckEnabledRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CheckEnabledRequest) String() string { @@ -106,7 +105,7 @@ func (*CheckEnabledRequest) ProtoMessage() {} func (x *CheckEnabledRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -122,24 +121,21 @@ func (*CheckEnabledRequest) Descriptor() ([]byte, []int) { } type CheckEnabledResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomEnabled bool `protobuf:"varint,1,opt,name=room_enabled,json=roomEnabled,proto3" json:"room_enabled,omitempty"` - PublisherEnabled bool `protobuf:"varint,2,opt,name=publisher_enabled,json=publisherEnabled,proto3" json:"publisher_enabled,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RoomEnabled bool `protobuf:"varint,1,opt,name=room_enabled,json=roomEnabled,proto3" json:"room_enabled,omitempty"` + PublisherEnabled bool `protobuf:"varint,2,opt,name=publisher_enabled,json=publisherEnabled,proto3" json:"publisher_enabled,omitempty"` // Deprecated: Marked as deprecated in rpc/agent.proto. - Namespaces []string `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"` - AgentNames []string `protobuf:"bytes,4,rep,name=agent_names,json=agentNames,proto3" json:"agent_names,omitempty"` + Namespaces []string `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"` + AgentNames []string `protobuf:"bytes,4,rep,name=agent_names,json=agentNames,proto3" json:"agent_names,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckEnabledResponse) Reset() { *x = CheckEnabledResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CheckEnabledResponse) String() string { @@ -150,7 +146,7 @@ func (*CheckEnabledResponse) ProtoMessage() {} func (x *CheckEnabledResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -195,20 +191,17 @@ func (x *CheckEnabledResponse) GetAgentNames() []string { } type JobRequestResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` unknownFields protoimpl.UnknownFields - - State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobRequestResponse) Reset() { *x = JobRequestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobRequestResponse) String() string { @@ -219,7 +212,7 @@ func (*JobRequestResponse) ProtoMessage() {} func (x *JobRequestResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -242,21 +235,18 @@ func (x *JobRequestResponse) GetState() *livekit.JobState { } type JobTerminateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + Reason JobTerminateReason `protobuf:"varint,2,opt,name=reason,proto3,enum=rpc.JobTerminateReason" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields - - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - Reason JobTerminateReason `protobuf:"varint,2,opt,name=reason,proto3,enum=rpc.JobTerminateReason" json:"reason,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobTerminateRequest) Reset() { *x = JobTerminateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobTerminateRequest) String() string { @@ -267,7 +257,7 @@ func (*JobTerminateRequest) ProtoMessage() {} func (x *JobTerminateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -297,20 +287,17 @@ func (x *JobTerminateRequest) GetReason() JobTerminateReason { } type JobTerminateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` unknownFields protoimpl.UnknownFields - - State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobTerminateResponse) Reset() { *x = JobTerminateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobTerminateResponse) String() string { @@ -321,7 +308,7 @@ func (*JobTerminateResponse) ProtoMessage() {} func (x *JobTerminateResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -345,7 +332,7 @@ func (x *JobTerminateResponse) GetState() *livekit.JobState { var File_rpc_agent_proto protoreflect.FileDescriptor -var file_rpc_agent_proto_rawDesc = []byte{ +var file_rpc_agent_proto_rawDesc = string([]byte{ 0x0a, 0x0f, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, @@ -408,23 +395,23 @@ var file_rpc_agent_proto_rawDesc = []byte{ 0x28, 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_agent_proto_rawDescOnce sync.Once - file_rpc_agent_proto_rawDescData = file_rpc_agent_proto_rawDesc + file_rpc_agent_proto_rawDescData []byte ) func file_rpc_agent_proto_rawDescGZIP() []byte { file_rpc_agent_proto_rawDescOnce.Do(func() { - file_rpc_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_agent_proto_rawDescData) + file_rpc_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_agent_proto_rawDesc), len(file_rpc_agent_proto_rawDesc))) }) return file_rpc_agent_proto_rawDescData } var file_rpc_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_rpc_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_rpc_agent_proto_goTypes = []interface{}{ +var file_rpc_agent_proto_goTypes = []any{ (JobTerminateReason)(0), // 0: rpc.JobTerminateReason (*CheckEnabledRequest)(nil), // 1: rpc.CheckEnabledRequest (*CheckEnabledResponse)(nil), // 2: rpc.CheckEnabledResponse @@ -459,73 +446,11 @@ func file_rpc_agent_proto_init() { if File_rpc_agent_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckEnabledRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckEnabledResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobRequestResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobTerminateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobTerminateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_agent_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_agent_proto_rawDesc), len(file_rpc_agent_proto_rawDesc)), NumEnums: 1, NumMessages: 5, NumExtensions: 0, @@ -537,7 +462,6 @@ func file_rpc_agent_proto_init() { MessageInfos: file_rpc_agent_proto_msgTypes, }.Build() File_rpc_agent_proto = out.File - file_rpc_agent_proto_rawDesc = nil file_rpc_agent_proto_goTypes = nil file_rpc_agent_proto_depIdxs = nil } diff --git a/rpc/agent_dispatch.pb.go b/rpc/agent_dispatch.pb.go index f55c77a3a..385e169f1 100644 --- a/rpc/agent_dispatch.pb.go +++ b/rpc/agent_dispatch.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/agent_dispatch.proto package rpc @@ -26,6 +26,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -37,7 +38,7 @@ const ( var File_rpc_agent_dispatch_proto protoreflect.FileDescriptor -var file_rpc_agent_dispatch_proto_rawDesc = []byte{ +var file_rpc_agent_dispatch_proto_rawDesc = string([]byte{ 0x0a, 0x18, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, @@ -67,9 +68,9 @@ var file_rpc_agent_dispatch_proto_rawDesc = []byte{ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) -var file_rpc_agent_dispatch_proto_goTypes = []interface{}{ +var file_rpc_agent_dispatch_proto_goTypes = []any{ (*livekit.AgentDispatch)(nil), // 0: livekit.AgentDispatch (*livekit.DeleteAgentDispatchRequest)(nil), // 1: livekit.DeleteAgentDispatchRequest (*livekit.ListAgentDispatchRequest)(nil), // 2: livekit.ListAgentDispatchRequest @@ -98,7 +99,7 @@ func file_rpc_agent_dispatch_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_agent_dispatch_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_agent_dispatch_proto_rawDesc), len(file_rpc_agent_dispatch_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -108,7 +109,6 @@ func file_rpc_agent_dispatch_proto_init() { DependencyIndexes: file_rpc_agent_dispatch_proto_depIdxs, }.Build() File_rpc_agent_dispatch_proto = out.File - file_rpc_agent_dispatch_proto_rawDesc = nil file_rpc_agent_dispatch_proto_goTypes = nil file_rpc_agent_dispatch_proto_depIdxs = nil } diff --git a/rpc/analytics.pb.go b/rpc/analytics.pb.go index 3062d26e7..adddb3bc1 100644 --- a/rpc/analytics.pb.go +++ b/rpc/analytics.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/analytics.proto package rpc @@ -26,6 +26,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -37,7 +38,7 @@ const ( var File_rpc_analytics_proto protoreflect.FileDescriptor -var file_rpc_analytics_proto_rawDesc = []byte{ +var file_rpc_analytics_proto_rawDesc = string([]byte{ 0x0a, 0x13, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, @@ -62,9 +63,9 @@ var file_rpc_analytics_proto_rawDesc = []byte{ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) -var file_rpc_analytics_proto_goTypes = []interface{}{ +var file_rpc_analytics_proto_goTypes = []any{ (*livekit.AnalyticsStats)(nil), // 0: livekit.AnalyticsStats (*livekit.AnalyticsEvents)(nil), // 1: livekit.AnalyticsEvents (*livekit.AnalyticsNodeRooms)(nil), // 2: livekit.AnalyticsNodeRooms @@ -93,7 +94,7 @@ func file_rpc_analytics_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_analytics_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_analytics_proto_rawDesc), len(file_rpc_analytics_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -103,7 +104,6 @@ func file_rpc_analytics_proto_init() { DependencyIndexes: file_rpc_analytics_proto_depIdxs, }.Build() File_rpc_analytics_proto = out.File - file_rpc_analytics_proto_rawDesc = nil file_rpc_analytics_proto_goTypes = nil file_rpc_analytics_proto_depIdxs = nil } diff --git a/rpc/analytics_grpc.pb.go b/rpc/analytics_grpc.pb.go index a1b53c1a5..6217bb431 100644 --- a/rpc/analytics_grpc.pb.go +++ b/rpc/analytics_grpc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.25.3 +// - protoc-gen-go-grpc v1.5.1 +// - protoc v4.23.4 // source: rpc/analytics.proto package rpc @@ -31,8 +31,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( AnalyticsRecorderService_IngestStats_FullMethodName = "/livekit.AnalyticsRecorderService/IngestStats" @@ -44,9 +44,9 @@ const ( // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type AnalyticsRecorderServiceClient interface { - IngestStats(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestStatsClient, error) - IngestEvents(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestEventsClient, error) - IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestNodeRoomStatesClient, error) + IngestStats(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsStats, emptypb.Empty], error) + IngestEvents(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsEvents, emptypb.Empty], error) + IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsNodeRooms, emptypb.Empty], error) } type analyticsRecorderServiceClient struct { @@ -57,133 +57,74 @@ func NewAnalyticsRecorderServiceClient(cc grpc.ClientConnInterface) AnalyticsRec return &analyticsRecorderServiceClient{cc} } -func (c *analyticsRecorderServiceClient) IngestStats(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestStatsClient, error) { - stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[0], AnalyticsRecorderService_IngestStats_FullMethodName, opts...) +func (c *analyticsRecorderServiceClient) IngestStats(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsStats, emptypb.Empty], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[0], AnalyticsRecorderService_IngestStats_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &analyticsRecorderServiceIngestStatsClient{stream} + x := &grpc.GenericClientStream[livekit.AnalyticsStats, emptypb.Empty]{ClientStream: stream} return x, nil } -type AnalyticsRecorderService_IngestStatsClient interface { - Send(*livekit.AnalyticsStats) error - CloseAndRecv() (*emptypb.Empty, error) - grpc.ClientStream -} - -type analyticsRecorderServiceIngestStatsClient struct { - grpc.ClientStream -} - -func (x *analyticsRecorderServiceIngestStatsClient) Send(m *livekit.AnalyticsStats) error { - return x.ClientStream.SendMsg(m) -} - -func (x *analyticsRecorderServiceIngestStatsClient) CloseAndRecv() (*emptypb.Empty, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(emptypb.Empty) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AnalyticsRecorderService_IngestStatsClient = grpc.ClientStreamingClient[livekit.AnalyticsStats, emptypb.Empty] -func (c *analyticsRecorderServiceClient) IngestEvents(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestEventsClient, error) { - stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[1], AnalyticsRecorderService_IngestEvents_FullMethodName, opts...) +func (c *analyticsRecorderServiceClient) IngestEvents(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsEvents, emptypb.Empty], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[1], AnalyticsRecorderService_IngestEvents_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &analyticsRecorderServiceIngestEventsClient{stream} + x := &grpc.GenericClientStream[livekit.AnalyticsEvents, emptypb.Empty]{ClientStream: stream} return x, nil } -type AnalyticsRecorderService_IngestEventsClient interface { - Send(*livekit.AnalyticsEvents) error - CloseAndRecv() (*emptypb.Empty, error) - grpc.ClientStream -} - -type analyticsRecorderServiceIngestEventsClient struct { - grpc.ClientStream -} - -func (x *analyticsRecorderServiceIngestEventsClient) Send(m *livekit.AnalyticsEvents) error { - return x.ClientStream.SendMsg(m) -} - -func (x *analyticsRecorderServiceIngestEventsClient) CloseAndRecv() (*emptypb.Empty, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(emptypb.Empty) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AnalyticsRecorderService_IngestEventsClient = grpc.ClientStreamingClient[livekit.AnalyticsEvents, emptypb.Empty] -func (c *analyticsRecorderServiceClient) IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestNodeRoomStatesClient, error) { - stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[2], AnalyticsRecorderService_IngestNodeRoomStates_FullMethodName, opts...) +func (c *analyticsRecorderServiceClient) IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsNodeRooms, emptypb.Empty], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[2], AnalyticsRecorderService_IngestNodeRoomStates_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &analyticsRecorderServiceIngestNodeRoomStatesClient{stream} + x := &grpc.GenericClientStream[livekit.AnalyticsNodeRooms, emptypb.Empty]{ClientStream: stream} return x, nil } -type AnalyticsRecorderService_IngestNodeRoomStatesClient interface { - Send(*livekit.AnalyticsNodeRooms) error - CloseAndRecv() (*emptypb.Empty, error) - grpc.ClientStream -} - -type analyticsRecorderServiceIngestNodeRoomStatesClient struct { - grpc.ClientStream -} - -func (x *analyticsRecorderServiceIngestNodeRoomStatesClient) Send(m *livekit.AnalyticsNodeRooms) error { - return x.ClientStream.SendMsg(m) -} - -func (x *analyticsRecorderServiceIngestNodeRoomStatesClient) CloseAndRecv() (*emptypb.Empty, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(emptypb.Empty) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AnalyticsRecorderService_IngestNodeRoomStatesClient = grpc.ClientStreamingClient[livekit.AnalyticsNodeRooms, emptypb.Empty] // AnalyticsRecorderServiceServer is the server API for AnalyticsRecorderService service. // All implementations must embed UnimplementedAnalyticsRecorderServiceServer -// for forward compatibility +// for forward compatibility. type AnalyticsRecorderServiceServer interface { - IngestStats(AnalyticsRecorderService_IngestStatsServer) error - IngestEvents(AnalyticsRecorderService_IngestEventsServer) error - IngestNodeRoomStates(AnalyticsRecorderService_IngestNodeRoomStatesServer) error + IngestStats(grpc.ClientStreamingServer[livekit.AnalyticsStats, emptypb.Empty]) error + IngestEvents(grpc.ClientStreamingServer[livekit.AnalyticsEvents, emptypb.Empty]) error + IngestNodeRoomStates(grpc.ClientStreamingServer[livekit.AnalyticsNodeRooms, emptypb.Empty]) error mustEmbedUnimplementedAnalyticsRecorderServiceServer() } -// UnimplementedAnalyticsRecorderServiceServer must be embedded to have forward compatible implementations. -type UnimplementedAnalyticsRecorderServiceServer struct { -} +// UnimplementedAnalyticsRecorderServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedAnalyticsRecorderServiceServer struct{} -func (UnimplementedAnalyticsRecorderServiceServer) IngestStats(AnalyticsRecorderService_IngestStatsServer) error { +func (UnimplementedAnalyticsRecorderServiceServer) IngestStats(grpc.ClientStreamingServer[livekit.AnalyticsStats, emptypb.Empty]) error { return status.Errorf(codes.Unimplemented, "method IngestStats not implemented") } -func (UnimplementedAnalyticsRecorderServiceServer) IngestEvents(AnalyticsRecorderService_IngestEventsServer) error { +func (UnimplementedAnalyticsRecorderServiceServer) IngestEvents(grpc.ClientStreamingServer[livekit.AnalyticsEvents, emptypb.Empty]) error { return status.Errorf(codes.Unimplemented, "method IngestEvents not implemented") } -func (UnimplementedAnalyticsRecorderServiceServer) IngestNodeRoomStates(AnalyticsRecorderService_IngestNodeRoomStatesServer) error { +func (UnimplementedAnalyticsRecorderServiceServer) IngestNodeRoomStates(grpc.ClientStreamingServer[livekit.AnalyticsNodeRooms, emptypb.Empty]) error { return status.Errorf(codes.Unimplemented, "method IngestNodeRoomStates not implemented") } func (UnimplementedAnalyticsRecorderServiceServer) mustEmbedUnimplementedAnalyticsRecorderServiceServer() { } +func (UnimplementedAnalyticsRecorderServiceServer) testEmbeddedByValue() {} // UnsafeAnalyticsRecorderServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to AnalyticsRecorderServiceServer will @@ -193,86 +134,36 @@ type UnsafeAnalyticsRecorderServiceServer interface { } func RegisterAnalyticsRecorderServiceServer(s grpc.ServiceRegistrar, srv AnalyticsRecorderServiceServer) { + // If the following call pancis, it indicates UnimplementedAnalyticsRecorderServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&AnalyticsRecorderService_ServiceDesc, srv) } func _AnalyticsRecorderService_IngestStats_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestStats(&analyticsRecorderServiceIngestStatsServer{stream}) -} - -type AnalyticsRecorderService_IngestStatsServer interface { - SendAndClose(*emptypb.Empty) error - Recv() (*livekit.AnalyticsStats, error) - grpc.ServerStream -} - -type analyticsRecorderServiceIngestStatsServer struct { - grpc.ServerStream + return srv.(AnalyticsRecorderServiceServer).IngestStats(&grpc.GenericServerStream[livekit.AnalyticsStats, emptypb.Empty]{ServerStream: stream}) } -func (x *analyticsRecorderServiceIngestStatsServer) SendAndClose(m *emptypb.Empty) error { - return x.ServerStream.SendMsg(m) -} - -func (x *analyticsRecorderServiceIngestStatsServer) Recv() (*livekit.AnalyticsStats, error) { - m := new(livekit.AnalyticsStats) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AnalyticsRecorderService_IngestStatsServer = grpc.ClientStreamingServer[livekit.AnalyticsStats, emptypb.Empty] func _AnalyticsRecorderService_IngestEvents_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestEvents(&analyticsRecorderServiceIngestEventsServer{stream}) -} - -type AnalyticsRecorderService_IngestEventsServer interface { - SendAndClose(*emptypb.Empty) error - Recv() (*livekit.AnalyticsEvents, error) - grpc.ServerStream + return srv.(AnalyticsRecorderServiceServer).IngestEvents(&grpc.GenericServerStream[livekit.AnalyticsEvents, emptypb.Empty]{ServerStream: stream}) } -type analyticsRecorderServiceIngestEventsServer struct { - grpc.ServerStream -} - -func (x *analyticsRecorderServiceIngestEventsServer) SendAndClose(m *emptypb.Empty) error { - return x.ServerStream.SendMsg(m) -} - -func (x *analyticsRecorderServiceIngestEventsServer) Recv() (*livekit.AnalyticsEvents, error) { - m := new(livekit.AnalyticsEvents) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AnalyticsRecorderService_IngestEventsServer = grpc.ClientStreamingServer[livekit.AnalyticsEvents, emptypb.Empty] func _AnalyticsRecorderService_IngestNodeRoomStates_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestNodeRoomStates(&analyticsRecorderServiceIngestNodeRoomStatesServer{stream}) -} - -type AnalyticsRecorderService_IngestNodeRoomStatesServer interface { - SendAndClose(*emptypb.Empty) error - Recv() (*livekit.AnalyticsNodeRooms, error) - grpc.ServerStream + return srv.(AnalyticsRecorderServiceServer).IngestNodeRoomStates(&grpc.GenericServerStream[livekit.AnalyticsNodeRooms, emptypb.Empty]{ServerStream: stream}) } -type analyticsRecorderServiceIngestNodeRoomStatesServer struct { - grpc.ServerStream -} - -func (x *analyticsRecorderServiceIngestNodeRoomStatesServer) SendAndClose(m *emptypb.Empty) error { - return x.ServerStream.SendMsg(m) -} - -func (x *analyticsRecorderServiceIngestNodeRoomStatesServer) Recv() (*livekit.AnalyticsNodeRooms, error) { - m := new(livekit.AnalyticsNodeRooms) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AnalyticsRecorderService_IngestNodeRoomStatesServer = grpc.ClientStreamingServer[livekit.AnalyticsNodeRooms, emptypb.Empty] // AnalyticsRecorderService_ServiceDesc is the grpc.ServiceDesc for AnalyticsRecorderService service. // It's only intended for direct use with grpc.RegisterService, diff --git a/rpc/egress.pb.go b/rpc/egress.pb.go index 72affa4cf..a17b4b0cb 100644 --- a/rpc/egress.pb.go +++ b/rpc/egress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/egress.proto package rpc @@ -27,6 +27,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -37,15 +38,12 @@ const ( ) type StartEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // request metadata EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // request // - // Types that are assignable to Request: + // Types that are valid to be assigned to Request: // // *StartEgressRequest_RoomComposite // *StartEgressRequest_Web @@ -60,15 +58,15 @@ type StartEgressRequest struct { // cloud only CloudBackupEnabled bool `protobuf:"varint,10,opt,name=cloud_backup_enabled,json=cloudBackupEnabled,proto3" json:"cloud_backup_enabled,omitempty"` EstimatedCpu float64 `protobuf:"fixed64,14,opt,name=estimated_cpu,json=estimatedCpu,proto3" json:"estimated_cpu,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartEgressRequest) Reset() { *x = StartEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_egress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_egress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartEgressRequest) String() string { @@ -79,7 +77,7 @@ func (*StartEgressRequest) ProtoMessage() {} func (x *StartEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -101,44 +99,54 @@ func (x *StartEgressRequest) GetEgressId() string { return "" } -func (m *StartEgressRequest) GetRequest() isStartEgressRequest_Request { - if m != nil { - return m.Request +func (x *StartEgressRequest) GetRequest() isStartEgressRequest_Request { + if x != nil { + return x.Request } return nil } func (x *StartEgressRequest) GetRoomComposite() *livekit.RoomCompositeEgressRequest { - if x, ok := x.GetRequest().(*StartEgressRequest_RoomComposite); ok { - return x.RoomComposite + if x != nil { + if x, ok := x.Request.(*StartEgressRequest_RoomComposite); ok { + return x.RoomComposite + } } return nil } func (x *StartEgressRequest) GetWeb() *livekit.WebEgressRequest { - if x, ok := x.GetRequest().(*StartEgressRequest_Web); ok { - return x.Web + if x != nil { + if x, ok := x.Request.(*StartEgressRequest_Web); ok { + return x.Web + } } return nil } func (x *StartEgressRequest) GetParticipant() *livekit.ParticipantEgressRequest { - if x, ok := x.GetRequest().(*StartEgressRequest_Participant); ok { - return x.Participant + if x != nil { + if x, ok := x.Request.(*StartEgressRequest_Participant); ok { + return x.Participant + } } return nil } func (x *StartEgressRequest) GetTrackComposite() *livekit.TrackCompositeEgressRequest { - if x, ok := x.GetRequest().(*StartEgressRequest_TrackComposite); ok { - return x.TrackComposite + if x != nil { + if x, ok := x.Request.(*StartEgressRequest_TrackComposite); ok { + return x.TrackComposite + } } return nil } func (x *StartEgressRequest) GetTrack() *livekit.TrackEgressRequest { - if x, ok := x.GetRequest().(*StartEgressRequest_Track); ok { - return x.Track + if x != nil { + if x, ok := x.Request.(*StartEgressRequest_Track); ok { + return x.Track + } } return nil } @@ -213,18 +221,16 @@ func (*StartEgressRequest_TrackComposite) isStartEgressRequest_Request() {} func (*StartEgressRequest_Track) isStartEgressRequest_Request() {} type ListActiveEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListActiveEgressRequest) Reset() { *x = ListActiveEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_egress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_egress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListActiveEgressRequest) String() string { @@ -235,7 +241,7 @@ func (*ListActiveEgressRequest) ProtoMessage() {} func (x *ListActiveEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -251,20 +257,17 @@ func (*ListActiveEgressRequest) Descriptor() ([]byte, []int) { } type ListActiveEgressResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EgressIds []string `protobuf:"bytes,1,rep,name=egress_ids,json=egressIds,proto3" json:"egress_ids,omitempty"` unknownFields protoimpl.UnknownFields - - EgressIds []string `protobuf:"bytes,1,rep,name=egress_ids,json=egressIds,proto3" json:"egress_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListActiveEgressResponse) Reset() { *x = ListActiveEgressResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_egress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_egress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListActiveEgressResponse) String() string { @@ -275,7 +278,7 @@ func (*ListActiveEgressResponse) ProtoMessage() {} func (x *ListActiveEgressResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -299,7 +302,7 @@ func (x *ListActiveEgressResponse) GetEgressIds() []string { var File_rpc_egress_proto protoreflect.FileDescriptor -var file_rpc_egress_proto_rawDesc = []byte{ +var file_rpc_egress_proto_rawDesc = string([]byte{ 0x0a, 0x10, 0x72, 0x70, 0x63, 0x2f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, @@ -368,22 +371,22 @@ var file_rpc_egress_proto_rawDesc = []byte{ 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_egress_proto_rawDescOnce sync.Once - file_rpc_egress_proto_rawDescData = file_rpc_egress_proto_rawDesc + file_rpc_egress_proto_rawDescData []byte ) func file_rpc_egress_proto_rawDescGZIP() []byte { file_rpc_egress_proto_rawDescOnce.Do(func() { - file_rpc_egress_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_egress_proto_rawDescData) + file_rpc_egress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_egress_proto_rawDesc), len(file_rpc_egress_proto_rawDesc))) }) return file_rpc_egress_proto_rawDescData } var file_rpc_egress_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_rpc_egress_proto_goTypes = []interface{}{ +var file_rpc_egress_proto_goTypes = []any{ (*StartEgressRequest)(nil), // 0: rpc.StartEgressRequest (*ListActiveEgressRequest)(nil), // 1: rpc.ListActiveEgressRequest (*ListActiveEgressResponse)(nil), // 2: rpc.ListActiveEgressResponse @@ -422,45 +425,7 @@ func file_rpc_egress_proto_init() { if File_rpc_egress_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_egress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_egress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListActiveEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_egress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListActiveEgressResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_rpc_egress_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_rpc_egress_proto_msgTypes[0].OneofWrappers = []any{ (*StartEgressRequest_RoomComposite)(nil), (*StartEgressRequest_Web)(nil), (*StartEgressRequest_Participant)(nil), @@ -471,7 +436,7 @@ func file_rpc_egress_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_egress_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_egress_proto_rawDesc), len(file_rpc_egress_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -482,7 +447,6 @@ func file_rpc_egress_proto_init() { MessageInfos: file_rpc_egress_proto_msgTypes, }.Build() File_rpc_egress_proto = out.File - file_rpc_egress_proto_rawDesc = nil file_rpc_egress_proto_goTypes = nil file_rpc_egress_proto_depIdxs = nil } diff --git a/rpc/ingress.pb.go b/rpc/ingress.pb.go index eae4a13bf..e1fb4ec94 100644 --- a/rpc/ingress.pb.go +++ b/rpc/ingress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/ingress.proto package rpc @@ -28,6 +28,7 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -38,18 +39,16 @@ const ( ) type ListActiveIngressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListActiveIngressRequest) Reset() { *x = ListActiveIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListActiveIngressRequest) String() string { @@ -60,7 +59,7 @@ func (*ListActiveIngressRequest) ProtoMessage() {} func (x *ListActiveIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -76,22 +75,19 @@ func (*ListActiveIngressRequest) Descriptor() ([]byte, []int) { } type ListActiveIngressResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Deprecated: Marked as deprecated in rpc/ingress.proto. IngressIds []string `protobuf:"bytes,1,rep,name=ingress_ids,json=ingressIds,proto3" json:"ingress_ids,omitempty"` IngressSessions []*IngressSession `protobuf:"bytes,2,rep,name=ingress_sessions,json=ingressSessions,proto3" json:"ingress_sessions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListActiveIngressResponse) Reset() { *x = ListActiveIngressResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListActiveIngressResponse) String() string { @@ -102,7 +98,7 @@ func (*ListActiveIngressResponse) ProtoMessage() {} func (x *ListActiveIngressResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -133,21 +129,18 @@ func (x *ListActiveIngressResponse) GetIngressSessions() []*IngressSession { } type DeleteWHIPResourceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` unknownFields protoimpl.UnknownFields - - ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteWHIPResourceRequest) Reset() { *x = DeleteWHIPResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteWHIPResourceRequest) String() string { @@ -158,7 +151,7 @@ func (*DeleteWHIPResourceRequest) ProtoMessage() {} func (x *DeleteWHIPResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -188,24 +181,21 @@ func (x *DeleteWHIPResourceRequest) GetStreamKey() string { } type ICERestartWHIPResourceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` + UserFragment string `protobuf:"bytes,3,opt,name=user_fragment,json=userFragment,proto3" json:"user_fragment,omitempty"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + Candidates []string `protobuf:"bytes,5,rep,name=candidates,proto3" json:"candidates,omitempty"` unknownFields protoimpl.UnknownFields - - ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` - UserFragment string `protobuf:"bytes,3,opt,name=user_fragment,json=userFragment,proto3" json:"user_fragment,omitempty"` - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` - Candidates []string `protobuf:"bytes,5,rep,name=candidates,proto3" json:"candidates,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ICERestartWHIPResourceRequest) Reset() { *x = ICERestartWHIPResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ICERestartWHIPResourceRequest) String() string { @@ -216,7 +206,7 @@ func (*ICERestartWHIPResourceRequest) ProtoMessage() {} func (x *ICERestartWHIPResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -267,20 +257,17 @@ func (x *ICERestartWHIPResourceRequest) GetCandidates() []string { } type ICERestartWHIPResourceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TrickleIceSdpfrag string `protobuf:"bytes,1,opt,name=trickle_ice_sdpfrag,json=trickleIceSdpfrag,proto3" json:"trickle_ice_sdpfrag,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + TrickleIceSdpfrag string `protobuf:"bytes,1,opt,name=trickle_ice_sdpfrag,json=trickleIceSdpfrag,proto3" json:"trickle_ice_sdpfrag,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ICERestartWHIPResourceResponse) Reset() { *x = ICERestartWHIPResourceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ICERestartWHIPResourceResponse) String() string { @@ -291,7 +278,7 @@ func (*ICERestartWHIPResourceResponse) ProtoMessage() {} func (x *ICERestartWHIPResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -314,23 +301,20 @@ func (x *ICERestartWHIPResourceResponse) GetTrickleIceSdpfrag() string { } type StartIngressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` + WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` + LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` - LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *StartIngressRequest) Reset() { *x = StartIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartIngressRequest) String() string { @@ -341,7 +325,7 @@ func (*StartIngressRequest) ProtoMessage() {} func (x *StartIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -385,21 +369,18 @@ func (x *StartIngressRequest) GetLoggingFields() map[string]string { } type IngressSession struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` unknownFields protoimpl.UnknownFields - - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IngressSession) Reset() { *x = IngressSession{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressSession) String() string { @@ -410,7 +391,7 @@ func (*IngressSession) ProtoMessage() {} func (x *IngressSession) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -440,20 +421,17 @@ func (x *IngressSession) GetResourceId() string { } type KillIngressSessionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Session *IngressSession `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` unknownFields protoimpl.UnknownFields - - Session *IngressSession `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` + sizeCache protoimpl.SizeCache } func (x *KillIngressSessionRequest) Reset() { *x = KillIngressSessionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KillIngressSessionRequest) String() string { @@ -464,7 +442,7 @@ func (*KillIngressSessionRequest) ProtoMessage() {} func (x *KillIngressSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -488,7 +466,7 @@ func (x *KillIngressSessionRequest) GetSession() *IngressSession { var File_rpc_ingress_proto protoreflect.FileDescriptor -var file_rpc_ingress_proto_rawDesc = []byte{ +var file_rpc_ingress_proto_rawDesc = string([]byte{ 0x0a, 0x11, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, @@ -599,22 +577,22 @@ var file_rpc_ingress_proto_rawDesc = []byte{ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_ingress_proto_rawDescOnce sync.Once - file_rpc_ingress_proto_rawDescData = file_rpc_ingress_proto_rawDesc + file_rpc_ingress_proto_rawDescData []byte ) func file_rpc_ingress_proto_rawDescGZIP() []byte { file_rpc_ingress_proto_rawDescOnce.Do(func() { - file_rpc_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_ingress_proto_rawDescData) + file_rpc_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_ingress_proto_rawDesc), len(file_rpc_ingress_proto_rawDesc))) }) return file_rpc_ingress_proto_rawDescData } var file_rpc_ingress_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_rpc_ingress_proto_goTypes = []interface{}{ +var file_rpc_ingress_proto_goTypes = []any{ (*ListActiveIngressRequest)(nil), // 0: rpc.ListActiveIngressRequest (*ListActiveIngressResponse)(nil), // 1: rpc.ListActiveIngressResponse (*DeleteWHIPResourceRequest)(nil), // 2: rpc.DeleteWHIPResourceRequest @@ -661,109 +639,11 @@ func file_rpc_ingress_proto_init() { if File_rpc_ingress_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_ingress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListActiveIngressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListActiveIngressResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteWHIPResourceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ICERestartWHIPResourceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ICERestartWHIPResourceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartIngressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressSession); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KillIngressSessionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_ingress_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_ingress_proto_rawDesc), len(file_rpc_ingress_proto_rawDesc)), NumEnums: 0, NumMessages: 9, NumExtensions: 0, @@ -774,7 +654,6 @@ func file_rpc_ingress_proto_init() { MessageInfos: file_rpc_ingress_proto_msgTypes, }.Build() File_rpc_ingress_proto = out.File - file_rpc_ingress_proto_rawDesc = nil file_rpc_ingress_proto_goTypes = nil file_rpc_ingress_proto_depIdxs = nil } diff --git a/rpc/io.pb.go b/rpc/io.pb.go index fb33a943f..b47b4b5f4 100644 --- a/rpc/io.pb.go +++ b/rpc/io.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/io.proto package rpc @@ -28,6 +28,7 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -93,20 +94,17 @@ func (SIPDispatchResult) EnumDescriptor() ([]byte, []int) { } type GetEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` unknownFields protoimpl.UnknownFields - - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetEgressRequest) Reset() { *x = GetEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetEgressRequest) String() string { @@ -117,7 +115,7 @@ func (*GetEgressRequest) ProtoMessage() {} func (x *GetEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -140,22 +138,19 @@ func (x *GetEgressRequest) GetEgressId() string { } type UpdateMetricsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Info *livekit.EgressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` + AvgCpuUsage float32 `protobuf:"fixed32,3,opt,name=avg_cpu_usage,json=avgCpuUsage,proto3" json:"avg_cpu_usage,omitempty"` + MaxCpuUsage float32 `protobuf:"fixed32,4,opt,name=max_cpu_usage,json=maxCpuUsage,proto3" json:"max_cpu_usage,omitempty"` unknownFields protoimpl.UnknownFields - - Info *livekit.EgressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - AvgCpuUsage float32 `protobuf:"fixed32,3,opt,name=avg_cpu_usage,json=avgCpuUsage,proto3" json:"avg_cpu_usage,omitempty"` - MaxCpuUsage float32 `protobuf:"fixed32,4,opt,name=max_cpu_usage,json=maxCpuUsage,proto3" json:"max_cpu_usage,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateMetricsRequest) Reset() { *x = UpdateMetricsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateMetricsRequest) String() string { @@ -166,7 +161,7 @@ func (*UpdateMetricsRequest) ProtoMessage() {} func (x *UpdateMetricsRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -204,21 +199,18 @@ func (x *UpdateMetricsRequest) GetMaxCpuUsage() float32 { // Query an ingress info from an ingress ID or stream key type GetIngressInfoRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` unknownFields protoimpl.UnknownFields - - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetIngressInfoRequest) Reset() { *x = GetIngressInfoRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetIngressInfoRequest) String() string { @@ -229,7 +221,7 @@ func (*GetIngressInfoRequest) ProtoMessage() {} func (x *GetIngressInfoRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -259,23 +251,20 @@ func (x *GetIngressInfoRequest) GetStreamKey() string { } type GetIngressInfoResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` + WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` + LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` - LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *GetIngressInfoResponse) Reset() { *x = GetIngressInfoResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetIngressInfoResponse) String() string { @@ -286,7 +275,7 @@ func (*GetIngressInfoResponse) ProtoMessage() {} func (x *GetIngressInfoResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -331,21 +320,18 @@ func (x *GetIngressInfoResponse) GetLoggingFields() map[string]string { // Request to store an update to the ingress state ingress -> service type UpdateIngressStateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + State *livekit.IngressState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` unknownFields protoimpl.UnknownFields - - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - State *livekit.IngressState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateIngressStateRequest) Reset() { *x = UpdateIngressStateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateIngressStateRequest) String() string { @@ -356,7 +342,7 @@ func (*UpdateIngressStateRequest) ProtoMessage() {} func (x *UpdateIngressStateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -386,11 +372,8 @@ func (x *UpdateIngressStateRequest) GetState() *livekit.IngressState { } type GetSIPTrunkAuthenticationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipCallId string `protobuf:"bytes,6,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipCallId string `protobuf:"bytes,6,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` // What Number is calling From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // What Number was called @@ -398,16 +381,16 @@ type GetSIPTrunkAuthenticationRequest struct { // What is the IP address of the called number SrcAddress string `protobuf:"bytes,4,opt,name=src_address,json=srcAddress,proto3" json:"src_address,omitempty"` // What Host was called - ToHost string `protobuf:"bytes,5,opt,name=to_host,json=toHost,proto3" json:"to_host,omitempty"` + ToHost string `protobuf:"bytes,5,opt,name=to_host,json=toHost,proto3" json:"to_host,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSIPTrunkAuthenticationRequest) Reset() { *x = GetSIPTrunkAuthenticationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPTrunkAuthenticationRequest) String() string { @@ -418,7 +401,7 @@ func (*GetSIPTrunkAuthenticationRequest) ProtoMessage() {} func (x *GetSIPTrunkAuthenticationRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -469,10 +452,7 @@ func (x *GetSIPTrunkAuthenticationRequest) GetToHost() string { } type GetSIPTrunkAuthenticationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Expected username and password Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` @@ -480,16 +460,16 @@ type GetSIPTrunkAuthenticationResponse struct { // Trunk used to fulfill this request SipTrunkId string `protobuf:"bytes,4,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` // Used in Cloud only - ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSIPTrunkAuthenticationResponse) Reset() { *x = GetSIPTrunkAuthenticationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPTrunkAuthenticationResponse) String() string { @@ -500,7 +480,7 @@ func (*GetSIPTrunkAuthenticationResponse) ProtoMessage() {} func (x *GetSIPTrunkAuthenticationResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -551,11 +531,8 @@ func (x *GetSIPTrunkAuthenticationResponse) GetProjectId() string { } type EvaluateSIPDispatchRulesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipCallId string `protobuf:"bytes,8,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipCallId string `protobuf:"bytes,8,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` // Deprecated: Marked as deprecated in rpc/io.proto. SipParticipantId string `protobuf:"bytes,1,opt,name=sip_participant_id,json=sipParticipantId,proto3" json:"sip_participant_id,omitempty"` // Trunk from the auth response, if any @@ -574,16 +551,16 @@ type EvaluateSIPDispatchRulesRequest struct { CalledHost string `protobuf:"bytes,7,opt,name=called_host,json=calledHost,proto3" json:"called_host,omitempty"` // Extra participant attributes added for this call. // Usually include provider-specific metadata. - ExtraAttributes map[string]string `protobuf:"bytes,9,rep,name=extra_attributes,json=extraAttributes,proto3" json:"extra_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ExtraAttributes map[string]string `protobuf:"bytes,9,rep,name=extra_attributes,json=extraAttributes,proto3" json:"extra_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EvaluateSIPDispatchRulesRequest) Reset() { *x = EvaluateSIPDispatchRulesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EvaluateSIPDispatchRulesRequest) String() string { @@ -594,7 +571,7 @@ func (*EvaluateSIPDispatchRulesRequest) ProtoMessage() {} func (x *EvaluateSIPDispatchRulesRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -681,10 +658,7 @@ func (x *EvaluateSIPDispatchRulesRequest) GetExtraAttributes() map[string]string } type EvaluateSIPDispatchRulesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // non-empty string if SIPParticipant should be placed a room RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // What should be used for the LiveKit participant identity @@ -694,7 +668,7 @@ type EvaluateSIPDispatchRulesResponse struct { // What should be used for the LiveKit participant metadata ParticipantMetadata string `protobuf:"bytes,8,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` // What should be used for the LiveKit participant attributes - ParticipantAttributes map[string]string `protobuf:"bytes,11,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ParticipantAttributes map[string]string `protobuf:"bytes,11,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Deprecated: Marked as deprecated in rpc/io.proto. RequestPin bool `protobuf:"varint,3,opt,name=request_pin,json=requestPin,proto3" json:"request_pin,omitempty"` // see result // optional token that should be used when creating LiveKit participant @@ -710,13 +684,13 @@ type EvaluateSIPDispatchRulesResponse struct { ProjectId string `protobuf:"bytes,12,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Include these SIP X-* headers in 200 OK response to INVITE. // These headers are included as-is and may help identify triggered LiveKit Dispatch Rule for the other SIP endpoint. - Headers map[string]string `protobuf:"bytes,13,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,13,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP X-* headers from INVITE to SIP participant attributes. // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - HeadersToAttributes map[string]string `protobuf:"bytes,14,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + HeadersToAttributes map[string]string `protobuf:"bytes,14,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,18,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AttributesToHeaders map[string]string `protobuf:"bytes,18,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP headers from INVITE to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -735,15 +709,15 @@ type EvaluateSIPDispatchRulesResponse struct { RoomPreset string `protobuf:"bytes,20,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"` RoomConfig *livekit.RoomConfiguration `protobuf:"bytes,21,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` MediaEncryption livekit.SIPMediaEncryption `protobuf:"varint,22,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EvaluateSIPDispatchRulesResponse) Reset() { *x = EvaluateSIPDispatchRulesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EvaluateSIPDispatchRulesResponse) String() string { @@ -754,7 +728,7 @@ func (*EvaluateSIPDispatchRulesResponse) ProtoMessage() {} func (x *EvaluateSIPDispatchRulesResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -925,20 +899,17 @@ func (x *EvaluateSIPDispatchRulesResponse) GetMediaEncryption() livekit.SIPMedia } type UpdateSIPCallStateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + CallInfo *livekit.SIPCallInfo `protobuf:"bytes,1,opt,name=call_info,json=callInfo,proto3" json:"call_info,omitempty"` unknownFields protoimpl.UnknownFields - - CallInfo *livekit.SIPCallInfo `protobuf:"bytes,1,opt,name=call_info,json=callInfo,proto3" json:"call_info,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateSIPCallStateRequest) Reset() { *x = UpdateSIPCallStateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSIPCallStateRequest) String() string { @@ -949,7 +920,7 @@ func (*UpdateSIPCallStateRequest) ProtoMessage() {} func (x *UpdateSIPCallStateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -973,7 +944,7 @@ func (x *UpdateSIPCallStateRequest) GetCallInfo() *livekit.SIPCallInfo { var File_rpc_io_proto protoreflect.FileDescriptor -var file_rpc_io_proto_rawDesc = []byte{ +var file_rpc_io_proto_rawDesc = string([]byte{ 0x0a, 0x0c, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, @@ -1244,23 +1215,23 @@ var file_rpc_io_proto_rawDesc = []byte{ 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_io_proto_rawDescOnce sync.Once - file_rpc_io_proto_rawDescData = file_rpc_io_proto_rawDesc + file_rpc_io_proto_rawDescData []byte ) func file_rpc_io_proto_rawDescGZIP() []byte { file_rpc_io_proto_rawDescOnce.Do(func() { - file_rpc_io_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_io_proto_rawDescData) + file_rpc_io_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_io_proto_rawDesc), len(file_rpc_io_proto_rawDesc))) }) return file_rpc_io_proto_rawDescData } var file_rpc_io_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_rpc_io_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_rpc_io_proto_goTypes = []interface{}{ +var file_rpc_io_proto_goTypes = []any{ (SIPDispatchResult)(0), // 0: rpc.SIPDispatchResult (*GetEgressRequest)(nil), // 1: rpc.GetEgressRequest (*UpdateMetricsRequest)(nil), // 2: rpc.UpdateMetricsRequest @@ -1343,133 +1314,11 @@ func file_rpc_io_proto_init() { if File_rpc_io_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_io_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMetricsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetIngressInfoRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetIngressInfoResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateIngressStateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSIPTrunkAuthenticationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSIPTrunkAuthenticationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EvaluateSIPDispatchRulesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EvaluateSIPDispatchRulesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSIPCallStateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_io_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_io_proto_rawDesc), len(file_rpc_io_proto_rawDesc)), NumEnums: 1, NumMessages: 16, NumExtensions: 0, @@ -1481,7 +1330,6 @@ func file_rpc_io_proto_init() { MessageInfos: file_rpc_io_proto_msgTypes, }.Build() File_rpc_io_proto = out.File - file_rpc_io_proto_rawDesc = nil file_rpc_io_proto_goTypes = nil file_rpc_io_proto_depIdxs = nil } diff --git a/rpc/keepalive.pb.go b/rpc/keepalive.pb.go index 2f7426eff..29b8de691 100644 --- a/rpc/keepalive.pb.go +++ b/rpc/keepalive.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/keepalive.proto package rpc @@ -26,6 +26,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -36,20 +37,17 @@ const ( ) type KeepalivePing struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *KeepalivePing) Reset() { *x = KeepalivePing{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_keepalive_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_keepalive_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KeepalivePing) String() string { @@ -60,7 +58,7 @@ func (*KeepalivePing) ProtoMessage() {} func (x *KeepalivePing) ProtoReflect() protoreflect.Message { mi := &file_rpc_keepalive_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -84,7 +82,7 @@ func (x *KeepalivePing) GetTimestamp() int64 { var File_rpc_keepalive_proto protoreflect.FileDescriptor -var file_rpc_keepalive_proto_rawDesc = []byte{ +var file_rpc_keepalive_proto_rawDesc = string([]byte{ 0x0a, 0x13, 0x72, 0x70, 0x63, 0x2f, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x0d, 0x4b, 0x65, 0x65, @@ -99,22 +97,22 @@ var file_rpc_keepalive_proto_rawDesc = []byte{ 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_keepalive_proto_rawDescOnce sync.Once - file_rpc_keepalive_proto_rawDescData = file_rpc_keepalive_proto_rawDesc + file_rpc_keepalive_proto_rawDescData []byte ) func file_rpc_keepalive_proto_rawDescGZIP() []byte { file_rpc_keepalive_proto_rawDescOnce.Do(func() { - file_rpc_keepalive_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_keepalive_proto_rawDescData) + file_rpc_keepalive_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_keepalive_proto_rawDesc), len(file_rpc_keepalive_proto_rawDesc))) }) return file_rpc_keepalive_proto_rawDescData } var file_rpc_keepalive_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_rpc_keepalive_proto_goTypes = []interface{}{ +var file_rpc_keepalive_proto_goTypes = []any{ (*KeepalivePing)(nil), // 0: rpc.KeepalivePing } var file_rpc_keepalive_proto_depIdxs = []int32{ @@ -132,25 +130,11 @@ func file_rpc_keepalive_proto_init() { if File_rpc_keepalive_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_keepalive_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeepalivePing); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_keepalive_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_keepalive_proto_rawDesc), len(file_rpc_keepalive_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -161,7 +145,6 @@ func file_rpc_keepalive_proto_init() { MessageInfos: file_rpc_keepalive_proto_msgTypes, }.Build() File_rpc_keepalive_proto = out.File - file_rpc_keepalive_proto_rawDesc = nil file_rpc_keepalive_proto_goTypes = nil file_rpc_keepalive_proto_depIdxs = nil } diff --git a/rpc/participant.pb.go b/rpc/participant.pb.go index 9e9b31ed3..c6ea4931d 100644 --- a/rpc/participant.pb.go +++ b/rpc/participant.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/participant.proto package rpc @@ -26,6 +26,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -37,7 +38,7 @@ const ( var File_rpc_participant_proto protoreflect.FileDescriptor -var file_rpc_participant_proto_rawDesc = []byte{ +var file_rpc_participant_proto_rawDesc = string([]byte{ 0x0a, 0x15, 0x72, 0x70, 0x63, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, @@ -79,9 +80,9 @@ var file_rpc_participant_proto_rawDesc = []byte{ 0x18, 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) -var file_rpc_participant_proto_goTypes = []interface{}{ +var file_rpc_participant_proto_goTypes = []any{ (*livekit.RoomParticipantIdentity)(nil), // 0: livekit.RoomParticipantIdentity (*livekit.MuteRoomTrackRequest)(nil), // 1: livekit.MuteRoomTrackRequest (*livekit.UpdateParticipantRequest)(nil), // 2: livekit.UpdateParticipantRequest @@ -116,7 +117,7 @@ func file_rpc_participant_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_participant_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_participant_proto_rawDesc), len(file_rpc_participant_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -126,7 +127,6 @@ func file_rpc_participant_proto_init() { DependencyIndexes: file_rpc_participant_proto_depIdxs, }.Build() File_rpc_participant_proto = out.File - file_rpc_participant_proto_rawDesc = nil file_rpc_participant_proto_goTypes = nil file_rpc_participant_proto_depIdxs = nil } diff --git a/rpc/room.pb.go b/rpc/room.pb.go index 970650d63..2ab094e9a 100644 --- a/rpc/room.pb.go +++ b/rpc/room.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/room.proto package rpc @@ -26,6 +26,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -37,7 +38,7 @@ const ( var File_rpc_room_proto protoreflect.FileDescriptor -var file_rpc_room_proto_rawDesc = []byte{ +var file_rpc_room_proto_rawDesc = string([]byte{ 0x0a, 0x0e, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, @@ -64,9 +65,9 @@ var file_rpc_room_proto_rawDesc = []byte{ 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) -var file_rpc_room_proto_goTypes = []interface{}{ +var file_rpc_room_proto_goTypes = []any{ (*livekit.DeleteRoomRequest)(nil), // 0: livekit.DeleteRoomRequest (*livekit.SendDataRequest)(nil), // 1: livekit.SendDataRequest (*livekit.UpdateRoomMetadataRequest)(nil), // 2: livekit.UpdateRoomMetadataRequest @@ -97,7 +98,7 @@ func file_rpc_room_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_room_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_room_proto_rawDesc), len(file_rpc_room_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -107,7 +108,6 @@ func file_rpc_room_proto_init() { DependencyIndexes: file_rpc_room_proto_depIdxs, }.Build() File_rpc_room_proto = out.File - file_rpc_room_proto_rawDesc = nil file_rpc_room_proto_goTypes = nil file_rpc_room_proto_depIdxs = nil } diff --git a/rpc/roommanager.pb.go b/rpc/roommanager.pb.go index 39bfec550..00f5ad4b2 100644 --- a/rpc/roommanager.pb.go +++ b/rpc/roommanager.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/roommanager.proto package rpc @@ -26,6 +26,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -37,7 +38,7 @@ const ( var File_rpc_roommanager_proto protoreflect.FileDescriptor -var file_rpc_roommanager_proto_rawDesc = []byte{ +var file_rpc_roommanager_proto_rawDesc = string([]byte{ 0x0a, 0x15, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, @@ -53,9 +54,9 @@ var file_rpc_roommanager_proto_rawDesc = []byte{ 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) -var file_rpc_roommanager_proto_goTypes = []interface{}{ +var file_rpc_roommanager_proto_goTypes = []any{ (*livekit.CreateRoomRequest)(nil), // 0: livekit.CreateRoomRequest (*livekit.Room)(nil), // 1: livekit.Room } @@ -78,7 +79,7 @@ func file_rpc_roommanager_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_roommanager_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_roommanager_proto_rawDesc), len(file_rpc_roommanager_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -88,7 +89,6 @@ func file_rpc_roommanager_proto_init() { DependencyIndexes: file_rpc_roommanager_proto_depIdxs, }.Build() File_rpc_roommanager_proto = out.File - file_rpc_roommanager_proto_rawDesc = nil file_rpc_roommanager_proto_goTypes = nil file_rpc_roommanager_proto_depIdxs = nil } diff --git a/rpc/signal.pb.go b/rpc/signal.pb.go index 2a4361367..c053c38d0 100644 --- a/rpc/signal.pb.go +++ b/rpc/signal.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/signal.proto package rpc @@ -27,6 +27,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -37,23 +38,20 @@ const ( ) type RelaySignalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StartSession *livekit.StartSession `protobuf:"bytes,1,opt,name=start_session,json=startSession,proto3" json:"start_session,omitempty"` + Requests []*livekit.SignalRequest `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"` + Seq uint64 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"` + Close bool `protobuf:"varint,5,opt,name=close,proto3" json:"close,omitempty"` unknownFields protoimpl.UnknownFields - - StartSession *livekit.StartSession `protobuf:"bytes,1,opt,name=start_session,json=startSession,proto3" json:"start_session,omitempty"` - Requests []*livekit.SignalRequest `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"` - Seq uint64 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"` - Close bool `protobuf:"varint,5,opt,name=close,proto3" json:"close,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RelaySignalRequest) Reset() { *x = RelaySignalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_signal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_signal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RelaySignalRequest) String() string { @@ -64,7 +62,7 @@ func (*RelaySignalRequest) ProtoMessage() {} func (x *RelaySignalRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_signal_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -108,22 +106,19 @@ func (x *RelaySignalRequest) GetClose() bool { } type RelaySignalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Responses []*livekit.SignalResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"` + Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` + Close bool `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"` unknownFields protoimpl.UnknownFields - - Responses []*livekit.SignalResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"` - Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` - Close bool `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RelaySignalResponse) Reset() { *x = RelaySignalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_signal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_signal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RelaySignalResponse) String() string { @@ -134,7 +129,7 @@ func (*RelaySignalResponse) ProtoMessage() {} func (x *RelaySignalResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_signal_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -172,7 +167,7 @@ func (x *RelaySignalResponse) GetClose() bool { var File_rpc_signal_proto protoreflect.FileDescriptor -var file_rpc_signal_proto_rawDesc = []byte{ +var file_rpc_signal_proto_rawDesc = string([]byte{ 0x0a, 0x10, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, @@ -206,22 +201,22 @@ var file_rpc_signal_proto_rawDesc = []byte{ 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_signal_proto_rawDescOnce sync.Once - file_rpc_signal_proto_rawDescData = file_rpc_signal_proto_rawDesc + file_rpc_signal_proto_rawDescData []byte ) func file_rpc_signal_proto_rawDescGZIP() []byte { file_rpc_signal_proto_rawDescOnce.Do(func() { - file_rpc_signal_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_signal_proto_rawDescData) + file_rpc_signal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_signal_proto_rawDesc), len(file_rpc_signal_proto_rawDesc))) }) return file_rpc_signal_proto_rawDescData } var file_rpc_signal_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_rpc_signal_proto_goTypes = []interface{}{ +var file_rpc_signal_proto_goTypes = []any{ (*RelaySignalRequest)(nil), // 0: rpc.RelaySignalRequest (*RelaySignalResponse)(nil), // 1: rpc.RelaySignalResponse (*livekit.StartSession)(nil), // 2: livekit.StartSession @@ -246,37 +241,11 @@ func file_rpc_signal_proto_init() { if File_rpc_signal_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_signal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RelaySignalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_signal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RelaySignalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_signal_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_signal_proto_rawDesc), len(file_rpc_signal_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -287,7 +256,6 @@ func file_rpc_signal_proto_init() { MessageInfos: file_rpc_signal_proto_msgTypes, }.Build() File_rpc_signal_proto = out.File - file_rpc_signal_proto_rawDesc = nil file_rpc_signal_proto_goTypes = nil file_rpc_signal_proto_depIdxs = nil } diff --git a/rpc/sip.pb.go b/rpc/sip.pb.go index f86ece570..b681bd7af 100644 --- a/rpc/sip.pb.go +++ b/rpc/sip.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/sip.proto package rpc @@ -29,6 +29,7 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -39,10 +40,7 @@ const ( ) type InternalCreateSIPParticipantRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Used in Cloud only ProjectId string `protobuf:"bytes,18,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` SipCallId string `protobuf:"bytes,13,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` @@ -62,7 +60,7 @@ type InternalCreateSIPParticipantRequest struct { ParticipantIdentity string `protobuf:"bytes,8,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` ParticipantName string `protobuf:"bytes,14,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` ParticipantMetadata string `protobuf:"bytes,15,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` - ParticipantAttributes map[string]string `protobuf:"bytes,17,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ParticipantAttributes map[string]string `protobuf:"bytes,17,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // optional token that should be used when creating LiveKit participant Token string `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"` // optional websocket url that should be used when creating LiveKit participant @@ -72,11 +70,11 @@ type InternalCreateSIPParticipantRequest struct { Dtmf string `protobuf:"bytes,11,opt,name=dtmf,proto3" json:"dtmf,omitempty"` // Optionally play dialtone in the room as an audible indicator for existing participants PlayDialtone bool `protobuf:"varint,12,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` - Headers map[string]string `protobuf:"bytes,21,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - HeadersToAttributes map[string]string `protobuf:"bytes,22,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,21,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + HeadersToAttributes map[string]string `protobuf:"bytes,22,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,26,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AttributesToHeaders map[string]string `protobuf:"bytes,26,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP headers from 200 OK to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -92,15 +90,15 @@ type InternalCreateSIPParticipantRequest struct { MediaEncryption livekit.SIPMediaEncryption `protobuf:"varint,28,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` // Wait for the answer for the call before returning. WaitUntilAnswered bool `protobuf:"varint,29,opt,name=wait_until_answered,json=waitUntilAnswered,proto3" json:"wait_until_answered,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InternalCreateSIPParticipantRequest) Reset() { *x = InternalCreateSIPParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_sip_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_sip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InternalCreateSIPParticipantRequest) String() string { @@ -111,7 +109,7 @@ func (*InternalCreateSIPParticipantRequest) ProtoMessage() {} func (x *InternalCreateSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -323,22 +321,19 @@ func (x *InternalCreateSIPParticipantRequest) GetWaitUntilAnswered() bool { } type InternalCreateSIPParticipantResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` - ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - SipCallId string `protobuf:"bytes,3,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` + ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + SipCallId string `protobuf:"bytes,3,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InternalCreateSIPParticipantResponse) Reset() { *x = InternalCreateSIPParticipantResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_sip_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_sip_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InternalCreateSIPParticipantResponse) String() string { @@ -349,7 +344,7 @@ func (*InternalCreateSIPParticipantResponse) ProtoMessage() {} func (x *InternalCreateSIPParticipantResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -386,25 +381,22 @@ func (x *InternalCreateSIPParticipantResponse) GetSipCallId() string { } type InternalTransferSIPParticipantRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipCallId string `protobuf:"bytes,1,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` - TransferTo string `protobuf:"bytes,2,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipCallId string `protobuf:"bytes,1,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + TransferTo string `protobuf:"bytes,2,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` // Optionally play dialtone to the SIP participant as an audible indicator of being transferred PlayDialtone bool `protobuf:"varint,3,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` // Add the following headers to the REFER SIP request. - Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InternalTransferSIPParticipantRequest) Reset() { *x = InternalTransferSIPParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_sip_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_sip_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InternalTransferSIPParticipantRequest) String() string { @@ -415,7 +407,7 @@ func (*InternalTransferSIPParticipantRequest) ProtoMessage() {} func (x *InternalTransferSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -460,7 +452,7 @@ func (x *InternalTransferSIPParticipantRequest) GetHeaders() map[string]string { var File_rpc_sip_proto protoreflect.FileDescriptor -var file_rpc_sip_proto_rawDesc = []byte{ +var file_rpc_sip_proto_rawDesc = string([]byte{ 0x0a, 0x0d, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, @@ -624,22 +616,22 @@ var file_rpc_sip_proto_rawDesc = []byte{ 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_sip_proto_rawDescOnce sync.Once - file_rpc_sip_proto_rawDescData = file_rpc_sip_proto_rawDesc + file_rpc_sip_proto_rawDescData []byte ) func file_rpc_sip_proto_rawDescGZIP() []byte { file_rpc_sip_proto_rawDescOnce.Do(func() { - file_rpc_sip_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_sip_proto_rawDescData) + file_rpc_sip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc))) }) return file_rpc_sip_proto_rawDescData } var file_rpc_sip_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_rpc_sip_proto_goTypes = []interface{}{ +var file_rpc_sip_proto_goTypes = []any{ (*InternalCreateSIPParticipantRequest)(nil), // 0: rpc.InternalCreateSIPParticipantRequest (*InternalCreateSIPParticipantResponse)(nil), // 1: rpc.InternalCreateSIPParticipantResponse (*InternalTransferSIPParticipantRequest)(nil), // 2: rpc.InternalTransferSIPParticipantRequest @@ -683,49 +675,11 @@ func file_rpc_sip_proto_init() { if File_rpc_sip_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_sip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InternalCreateSIPParticipantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_sip_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InternalCreateSIPParticipantResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_sip_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InternalTransferSIPParticipantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_sip_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc)), NumEnums: 0, NumMessages: 8, NumExtensions: 0, @@ -736,7 +690,6 @@ func file_rpc_sip_proto_init() { MessageInfos: file_rpc_sip_proto_msgTypes, }.Build() File_rpc_sip_proto = out.File - file_rpc_sip_proto_rawDesc = nil file_rpc_sip_proto_goTypes = nil file_rpc_sip_proto_depIdxs = nil } From bfb742780d615663399c5d90d7e9f2614fb8e3c0 Mon Sep 17 00:00:00 2001 From: David Colburn Date: Tue, 11 Feb 2025 23:13:46 +0700 Subject: [PATCH 3/5] remove multi --- infra/link.pb.go | 156 ++- infra/link_grpc.pb.go | 77 +- livekit/livekit_agent.pb.go | 664 ++++++---- livekit/livekit_agent_dispatch.pb.go | 249 ++-- livekit/livekit_analytics.pb.go | 581 ++++++--- livekit/livekit_egress.pb.go | 1699 +++++++++++++++----------- livekit/livekit_egress.twirp.go | 52 +- livekit/livekit_ingress.pb.go | 527 +++++--- livekit/livekit_internal.pb.go | 189 ++- livekit/livekit_metrics.pb.go | 144 ++- livekit/livekit_models.pb.go | 1591 ++++++++++++++++-------- livekit/livekit_room.pb.go | 632 +++++++--- livekit/livekit_rtc.pb.go | 1674 ++++++++++++++++--------- livekit/livekit_sip.pb.go | 1127 ++++++++++++----- livekit/livekit_webhook.pb.go | 53 +- protobufs/livekit_egress.proto | 1 - rpc/agent.pb.go | 172 ++- rpc/agent_dispatch.pb.go | 14 +- rpc/analytics.pb.go | 14 +- rpc/analytics_grpc.pb.go | 219 +++- rpc/egress.pb.go | 144 ++- rpc/ingress.pb.go | 269 ++-- rpc/io.pb.go | 342 ++++-- rpc/keepalive.pb.go | 49 +- rpc/participant.pb.go | 14 +- rpc/room.pb.go | 14 +- rpc/roommanager.pb.go | 14 +- rpc/signal.pb.go | 88 +- rpc/sip.pb.go | 127 +- 29 files changed, 7336 insertions(+), 3560 deletions(-) diff --git a/infra/link.pb.go b/infra/link.pb.go index 2749fa266..a20ba5777 100644 --- a/infra/link.pb.go +++ b/infra/link.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: infra/link.proto package infra @@ -26,7 +26,6 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -37,16 +36,18 @@ const ( ) type WatchLocalLinksRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *WatchLocalLinksRequest) Reset() { *x = WatchLocalLinksRequest{} - mi := &file_infra_link_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_infra_link_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WatchLocalLinksRequest) String() string { @@ -57,7 +58,7 @@ func (*WatchLocalLinksRequest) ProtoMessage() {} func (x *WatchLocalLinksRequest) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -73,23 +74,26 @@ func (*WatchLocalLinksRequest) Descriptor() ([]byte, []int) { } type WatchLocalLinksResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` - RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` - Rtt int64 `protobuf:"varint,3,opt,name=rtt,proto3" json:"rtt,omitempty"` - Jitter int64 `protobuf:"varint,4,opt,name=jitter,proto3" json:"jitter,omitempty"` - PacketLoss float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3" json:"packet_loss,omitempty"` - Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` - LastRead *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_read,json=lastRead,proto3" json:"last_read,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` + RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` + Rtt int64 `protobuf:"varint,3,opt,name=rtt,proto3" json:"rtt,omitempty"` + Jitter int64 `protobuf:"varint,4,opt,name=jitter,proto3" json:"jitter,omitempty"` + PacketLoss float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3" json:"packet_loss,omitempty"` + Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` + LastRead *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_read,json=lastRead,proto3" json:"last_read,omitempty"` } func (x *WatchLocalLinksResponse) Reset() { *x = WatchLocalLinksResponse{} - mi := &file_infra_link_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_infra_link_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WatchLocalLinksResponse) String() string { @@ -100,7 +104,7 @@ func (*WatchLocalLinksResponse) ProtoMessage() {} func (x *WatchLocalLinksResponse) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -165,23 +169,26 @@ func (x *WatchLocalLinksResponse) GetLastRead() *timestamppb.Timestamp { } type SimulateLinkStateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` - RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` - Rtt *int64 `protobuf:"varint,3,opt,name=rtt,proto3,oneof" json:"rtt,omitempty"` - Jitter *int64 `protobuf:"varint,4,opt,name=jitter,proto3,oneof" json:"jitter,omitempty"` - PacketLoss *float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3,oneof" json:"packet_loss,omitempty"` - Disabled *bool `protobuf:"varint,6,opt,name=disabled,proto3,oneof" json:"disabled,omitempty"` - Timeout int64 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` + RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` + Rtt *int64 `protobuf:"varint,3,opt,name=rtt,proto3,oneof" json:"rtt,omitempty"` + Jitter *int64 `protobuf:"varint,4,opt,name=jitter,proto3,oneof" json:"jitter,omitempty"` + PacketLoss *float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3,oneof" json:"packet_loss,omitempty"` + Disabled *bool `protobuf:"varint,6,opt,name=disabled,proto3,oneof" json:"disabled,omitempty"` + Timeout int64 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` } func (x *SimulateLinkStateRequest) Reset() { *x = SimulateLinkStateRequest{} - mi := &file_infra_link_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_infra_link_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulateLinkStateRequest) String() string { @@ -192,7 +199,7 @@ func (*SimulateLinkStateRequest) ProtoMessage() {} func (x *SimulateLinkStateRequest) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -257,16 +264,18 @@ func (x *SimulateLinkStateRequest) GetTimeout() int64 { } type SimulateLinkStateResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *SimulateLinkStateResponse) Reset() { *x = SimulateLinkStateResponse{} - mi := &file_infra_link_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_infra_link_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulateLinkStateResponse) String() string { @@ -277,7 +286,7 @@ func (*SimulateLinkStateResponse) ProtoMessage() {} func (x *SimulateLinkStateResponse) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -294,7 +303,7 @@ func (*SimulateLinkStateResponse) Descriptor() ([]byte, []int) { var File_infra_link_proto protoreflect.FileDescriptor -var file_infra_link_proto_rawDesc = string([]byte{ +var file_infra_link_proto_rawDesc = []byte{ 0x0a, 0x10, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, @@ -351,22 +360,22 @@ var file_infra_link_proto_rawDesc = string([]byte{ 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_infra_link_proto_rawDescOnce sync.Once - file_infra_link_proto_rawDescData []byte + file_infra_link_proto_rawDescData = file_infra_link_proto_rawDesc ) func file_infra_link_proto_rawDescGZIP() []byte { file_infra_link_proto_rawDescOnce.Do(func() { - file_infra_link_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_infra_link_proto_rawDesc), len(file_infra_link_proto_rawDesc))) + file_infra_link_proto_rawDescData = protoimpl.X.CompressGZIP(file_infra_link_proto_rawDescData) }) return file_infra_link_proto_rawDescData } var file_infra_link_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_infra_link_proto_goTypes = []any{ +var file_infra_link_proto_goTypes = []interface{}{ (*WatchLocalLinksRequest)(nil), // 0: rpc.WatchLocalLinksRequest (*WatchLocalLinksResponse)(nil), // 1: rpc.WatchLocalLinksResponse (*SimulateLinkStateRequest)(nil), // 2: rpc.SimulateLinkStateRequest @@ -391,12 +400,62 @@ func file_infra_link_proto_init() { if File_infra_link_proto != nil { return } - file_infra_link_proto_msgTypes[2].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_infra_link_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WatchLocalLinksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_infra_link_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WatchLocalLinksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_infra_link_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SimulateLinkStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_infra_link_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SimulateLinkStateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_infra_link_proto_msgTypes[2].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_infra_link_proto_rawDesc), len(file_infra_link_proto_rawDesc)), + RawDescriptor: file_infra_link_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -407,6 +466,7 @@ func file_infra_link_proto_init() { MessageInfos: file_infra_link_proto_msgTypes, }.Build() File_infra_link_proto = out.File + file_infra_link_proto_rawDesc = nil file_infra_link_proto_goTypes = nil file_infra_link_proto_depIdxs = nil } diff --git a/infra/link_grpc.pb.go b/infra/link_grpc.pb.go index 281cec953..155837771 100644 --- a/infra/link_grpc.pb.go +++ b/infra/link_grpc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.5.1 -// - protoc v4.23.4 +// - protoc-gen-go-grpc v1.3.0 +// - protoc v4.25.3 // source: infra/link.proto package infra @@ -29,8 +29,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.64.0 or later. -const _ = grpc.SupportPackageIsVersion9 +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 const ( Link_WatchLocalLinks_FullMethodName = "/rpc.Link/WatchLocalLinks" @@ -41,7 +41,7 @@ const ( // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type LinkClient interface { - WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchLocalLinksResponse], error) + WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (Link_WatchLocalLinksClient, error) SimulateLinkState(ctx context.Context, in *SimulateLinkStateRequest, opts ...grpc.CallOption) (*SimulateLinkStateResponse, error) } @@ -53,13 +53,12 @@ func NewLinkClient(cc grpc.ClientConnInterface) LinkClient { return &linkClient{cc} } -func (c *linkClient) WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchLocalLinksResponse], error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &Link_ServiceDesc.Streams[0], Link_WatchLocalLinks_FullMethodName, cOpts...) +func (c *linkClient) WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (Link_WatchLocalLinksClient, error) { + stream, err := c.cc.NewStream(ctx, &Link_ServiceDesc.Streams[0], Link_WatchLocalLinks_FullMethodName, opts...) if err != nil { return nil, err } - x := &grpc.GenericClientStream[WatchLocalLinksRequest, WatchLocalLinksResponse]{ClientStream: stream} + x := &linkWatchLocalLinksClient{stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -69,13 +68,26 @@ func (c *linkClient) WatchLocalLinks(ctx context.Context, in *WatchLocalLinksReq return x, nil } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type Link_WatchLocalLinksClient = grpc.ServerStreamingClient[WatchLocalLinksResponse] +type Link_WatchLocalLinksClient interface { + Recv() (*WatchLocalLinksResponse, error) + grpc.ClientStream +} + +type linkWatchLocalLinksClient struct { + grpc.ClientStream +} + +func (x *linkWatchLocalLinksClient) Recv() (*WatchLocalLinksResponse, error) { + m := new(WatchLocalLinksResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} func (c *linkClient) SimulateLinkState(ctx context.Context, in *SimulateLinkStateRequest, opts ...grpc.CallOption) (*SimulateLinkStateResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SimulateLinkStateResponse) - err := c.cc.Invoke(ctx, Link_SimulateLinkState_FullMethodName, in, out, cOpts...) + err := c.cc.Invoke(ctx, Link_SimulateLinkState_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -84,28 +96,24 @@ func (c *linkClient) SimulateLinkState(ctx context.Context, in *SimulateLinkStat // LinkServer is the server API for Link service. // All implementations must embed UnimplementedLinkServer -// for forward compatibility. +// for forward compatibility type LinkServer interface { - WatchLocalLinks(*WatchLocalLinksRequest, grpc.ServerStreamingServer[WatchLocalLinksResponse]) error + WatchLocalLinks(*WatchLocalLinksRequest, Link_WatchLocalLinksServer) error SimulateLinkState(context.Context, *SimulateLinkStateRequest) (*SimulateLinkStateResponse, error) mustEmbedUnimplementedLinkServer() } -// UnimplementedLinkServer must be embedded to have -// forward compatible implementations. -// -// NOTE: this should be embedded by value instead of pointer to avoid a nil -// pointer dereference when methods are called. -type UnimplementedLinkServer struct{} +// UnimplementedLinkServer must be embedded to have forward compatible implementations. +type UnimplementedLinkServer struct { +} -func (UnimplementedLinkServer) WatchLocalLinks(*WatchLocalLinksRequest, grpc.ServerStreamingServer[WatchLocalLinksResponse]) error { +func (UnimplementedLinkServer) WatchLocalLinks(*WatchLocalLinksRequest, Link_WatchLocalLinksServer) error { return status.Errorf(codes.Unimplemented, "method WatchLocalLinks not implemented") } func (UnimplementedLinkServer) SimulateLinkState(context.Context, *SimulateLinkStateRequest) (*SimulateLinkStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SimulateLinkState not implemented") } func (UnimplementedLinkServer) mustEmbedUnimplementedLinkServer() {} -func (UnimplementedLinkServer) testEmbeddedByValue() {} // UnsafeLinkServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to LinkServer will @@ -115,13 +123,6 @@ type UnsafeLinkServer interface { } func RegisterLinkServer(s grpc.ServiceRegistrar, srv LinkServer) { - // If the following call pancis, it indicates UnimplementedLinkServer was - // embedded by pointer and is nil. This will cause panics if an - // unimplemented method is ever invoked, so we test this at initialization - // time to prevent it from happening at runtime later due to I/O. - if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { - t.testEmbeddedByValue() - } s.RegisterService(&Link_ServiceDesc, srv) } @@ -130,11 +131,21 @@ func _Link_WatchLocalLinks_Handler(srv interface{}, stream grpc.ServerStream) er if err := stream.RecvMsg(m); err != nil { return err } - return srv.(LinkServer).WatchLocalLinks(m, &grpc.GenericServerStream[WatchLocalLinksRequest, WatchLocalLinksResponse]{ServerStream: stream}) + return srv.(LinkServer).WatchLocalLinks(m, &linkWatchLocalLinksServer{stream}) +} + +type Link_WatchLocalLinksServer interface { + Send(*WatchLocalLinksResponse) error + grpc.ServerStream } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type Link_WatchLocalLinksServer = grpc.ServerStreamingServer[WatchLocalLinksResponse] +type linkWatchLocalLinksServer struct { + grpc.ServerStream +} + +func (x *linkWatchLocalLinksServer) Send(m *WatchLocalLinksResponse) error { + return x.ServerStream.SendMsg(m) +} func _Link_SimulateLinkState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SimulateLinkStateRequest) diff --git a/livekit/livekit_agent.pb.go b/livekit/livekit_agent.pb.go index 919ee8e7f..b1937d49b 100644 --- a/livekit/livekit_agent.pb.go +++ b/livekit/livekit_agent.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_agent.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -180,26 +179,29 @@ func (JobStatus) EnumDescriptor() ([]byte, []int) { } type Job struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - DispatchId string `protobuf:"bytes,9,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` - Type JobType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` - Room *Room `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` - Participant *ParticipantInfo `protobuf:"bytes,4,opt,name=participant,proto3,oneof" json:"participant,omitempty"` - // Deprecated: Marked as deprecated in livekit_agent.proto. - Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` - Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` - AgentName string `protobuf:"bytes,7,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - State *JobState `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + DispatchId string `protobuf:"bytes,9,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` + Type JobType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` + Room *Room `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` + Participant *ParticipantInfo `protobuf:"bytes,4,opt,name=participant,proto3,oneof" json:"participant,omitempty"` + // Deprecated: Marked as deprecated in livekit_agent.proto. + Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` + Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` + AgentName string `protobuf:"bytes,7,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + State *JobState `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"` } func (x *Job) Reset() { *x = Job{} - mi := &file_livekit_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Job) String() string { @@ -210,7 +212,7 @@ func (*Job) ProtoMessage() {} func (x *Job) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -290,22 +292,25 @@ func (x *Job) GetState() *JobState { } type JobState struct { - state protoimpl.MessageState `protogen:"open.v1"` - Status JobStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.JobStatus" json:"status,omitempty"` - Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - StartedAt int64 `protobuf:"varint,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,4,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - ParticipantIdentity string `protobuf:"bytes,6,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status JobStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.JobStatus" json:"status,omitempty"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` + StartedAt int64 `protobuf:"varint,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,4,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + ParticipantIdentity string `protobuf:"bytes,6,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` } func (x *JobState) Reset() { *x = JobState{} - mi := &file_livekit_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobState) String() string { @@ -316,7 +321,7 @@ func (*JobState) ProtoMessage() {} func (x *JobState) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -375,8 +380,11 @@ func (x *JobState) GetParticipantIdentity() string { // from Worker to Server type WorkerMessage struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Message: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Message: // // *WorkerMessage_Register // *WorkerMessage_Availability @@ -385,16 +393,16 @@ type WorkerMessage struct { // *WorkerMessage_Ping // *WorkerMessage_SimulateJob // *WorkerMessage_MigrateJob - Message isWorkerMessage_Message `protobuf_oneof:"message"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Message isWorkerMessage_Message `protobuf_oneof:"message"` } func (x *WorkerMessage) Reset() { *x = WorkerMessage{} - mi := &file_livekit_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WorkerMessage) String() string { @@ -405,7 +413,7 @@ func (*WorkerMessage) ProtoMessage() {} func (x *WorkerMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -420,72 +428,58 @@ func (*WorkerMessage) Descriptor() ([]byte, []int) { return file_livekit_agent_proto_rawDescGZIP(), []int{2} } -func (x *WorkerMessage) GetMessage() isWorkerMessage_Message { - if x != nil { - return x.Message +func (m *WorkerMessage) GetMessage() isWorkerMessage_Message { + if m != nil { + return m.Message } return nil } func (x *WorkerMessage) GetRegister() *RegisterWorkerRequest { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_Register); ok { - return x.Register - } + if x, ok := x.GetMessage().(*WorkerMessage_Register); ok { + return x.Register } return nil } func (x *WorkerMessage) GetAvailability() *AvailabilityResponse { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_Availability); ok { - return x.Availability - } + if x, ok := x.GetMessage().(*WorkerMessage_Availability); ok { + return x.Availability } return nil } func (x *WorkerMessage) GetUpdateWorker() *UpdateWorkerStatus { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_UpdateWorker); ok { - return x.UpdateWorker - } + if x, ok := x.GetMessage().(*WorkerMessage_UpdateWorker); ok { + return x.UpdateWorker } return nil } func (x *WorkerMessage) GetUpdateJob() *UpdateJobStatus { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_UpdateJob); ok { - return x.UpdateJob - } + if x, ok := x.GetMessage().(*WorkerMessage_UpdateJob); ok { + return x.UpdateJob } return nil } func (x *WorkerMessage) GetPing() *WorkerPing { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_Ping); ok { - return x.Ping - } + if x, ok := x.GetMessage().(*WorkerMessage_Ping); ok { + return x.Ping } return nil } func (x *WorkerMessage) GetSimulateJob() *SimulateJobRequest { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_SimulateJob); ok { - return x.SimulateJob - } + if x, ok := x.GetMessage().(*WorkerMessage_SimulateJob); ok { + return x.SimulateJob } return nil } func (x *WorkerMessage) GetMigrateJob() *MigrateJobRequest { - if x != nil { - if x, ok := x.Message.(*WorkerMessage_MigrateJob); ok { - return x.MigrateJob - } + if x, ok := x.GetMessage().(*WorkerMessage_MigrateJob); ok { + return x.MigrateJob } return nil } @@ -542,24 +536,27 @@ func (*WorkerMessage_MigrateJob) isWorkerMessage_Message() {} // from Server to Worker type ServerMessage struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Message: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Message: // // *ServerMessage_Register // *ServerMessage_Availability // *ServerMessage_Assignment // *ServerMessage_Termination // *ServerMessage_Pong - Message isServerMessage_Message `protobuf_oneof:"message"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Message isServerMessage_Message `protobuf_oneof:"message"` } func (x *ServerMessage) Reset() { *x = ServerMessage{} - mi := &file_livekit_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ServerMessage) String() string { @@ -570,7 +567,7 @@ func (*ServerMessage) ProtoMessage() {} func (x *ServerMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -585,54 +582,44 @@ func (*ServerMessage) Descriptor() ([]byte, []int) { return file_livekit_agent_proto_rawDescGZIP(), []int{3} } -func (x *ServerMessage) GetMessage() isServerMessage_Message { - if x != nil { - return x.Message +func (m *ServerMessage) GetMessage() isServerMessage_Message { + if m != nil { + return m.Message } return nil } func (x *ServerMessage) GetRegister() *RegisterWorkerResponse { - if x != nil { - if x, ok := x.Message.(*ServerMessage_Register); ok { - return x.Register - } + if x, ok := x.GetMessage().(*ServerMessage_Register); ok { + return x.Register } return nil } func (x *ServerMessage) GetAvailability() *AvailabilityRequest { - if x != nil { - if x, ok := x.Message.(*ServerMessage_Availability); ok { - return x.Availability - } + if x, ok := x.GetMessage().(*ServerMessage_Availability); ok { + return x.Availability } return nil } func (x *ServerMessage) GetAssignment() *JobAssignment { - if x != nil { - if x, ok := x.Message.(*ServerMessage_Assignment); ok { - return x.Assignment - } + if x, ok := x.GetMessage().(*ServerMessage_Assignment); ok { + return x.Assignment } return nil } func (x *ServerMessage) GetTermination() *JobTermination { - if x != nil { - if x, ok := x.Message.(*ServerMessage_Termination); ok { - return x.Termination - } + if x, ok := x.GetMessage().(*ServerMessage_Termination); ok { + return x.Termination } return nil } func (x *ServerMessage) GetPong() *WorkerPong { - if x != nil { - if x, ok := x.Message.(*ServerMessage_Pong); ok { - return x.Pong - } + if x, ok := x.GetMessage().(*ServerMessage_Pong); ok { + return x.Pong } return nil } @@ -674,19 +661,22 @@ func (*ServerMessage_Termination) isServerMessage_Message() {} func (*ServerMessage_Pong) isServerMessage_Message() {} type SimulateJobRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` - Room *Room `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` - Participant *ParticipantInfo `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` + Room *Room `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` + Participant *ParticipantInfo `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` } func (x *SimulateJobRequest) Reset() { *x = SimulateJobRequest{} - mi := &file_livekit_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulateJobRequest) String() string { @@ -697,7 +687,7 @@ func (*SimulateJobRequest) ProtoMessage() {} func (x *SimulateJobRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -734,17 +724,20 @@ func (x *SimulateJobRequest) GetParticipant() *ParticipantInfo { } type WorkerPing struct { - state protoimpl.MessageState `protogen:"open.v1"` - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } func (x *WorkerPing) Reset() { *x = WorkerPing{} - mi := &file_livekit_agent_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WorkerPing) String() string { @@ -755,7 +748,7 @@ func (*WorkerPing) ProtoMessage() {} func (x *WorkerPing) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -778,18 +771,21 @@ func (x *WorkerPing) GetTimestamp() int64 { } type WorkerPong struct { - state protoimpl.MessageState `protogen:"open.v1"` - LastTimestamp int64 `protobuf:"varint,1,opt,name=last_timestamp,json=lastTimestamp,proto3" json:"last_timestamp,omitempty"` - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastTimestamp int64 `protobuf:"varint,1,opt,name=last_timestamp,json=lastTimestamp,proto3" json:"last_timestamp,omitempty"` + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } func (x *WorkerPong) Reset() { *x = WorkerPong{} - mi := &file_livekit_agent_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WorkerPong) String() string { @@ -800,7 +796,7 @@ func (*WorkerPong) ProtoMessage() {} func (x *WorkerPong) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -830,24 +826,27 @@ func (x *WorkerPong) GetTimestamp() int64 { } type RegisterWorkerRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` - AgentName string `protobuf:"bytes,8,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` + AgentName string `protobuf:"bytes,8,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` // string worker_id = 2; Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // string name = 4 [deprecated = true]; PingInterval uint32 `protobuf:"varint,5,opt,name=ping_interval,json=pingInterval,proto3" json:"ping_interval,omitempty"` Namespace *string `protobuf:"bytes,6,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` AllowedPermissions *ParticipantPermission `protobuf:"bytes,7,opt,name=allowed_permissions,json=allowedPermissions,proto3" json:"allowed_permissions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *RegisterWorkerRequest) Reset() { *x = RegisterWorkerRequest{} - mi := &file_livekit_agent_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegisterWorkerRequest) String() string { @@ -858,7 +857,7 @@ func (*RegisterWorkerRequest) ProtoMessage() {} func (x *RegisterWorkerRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -916,18 +915,21 @@ func (x *RegisterWorkerRequest) GetAllowedPermissions() *ParticipantPermission { } type RegisterWorkerResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` - ServerInfo *ServerInfo `protobuf:"bytes,3,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` + ServerInfo *ServerInfo `protobuf:"bytes,3,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"` } func (x *RegisterWorkerResponse) Reset() { *x = RegisterWorkerResponse{} - mi := &file_livekit_agent_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegisterWorkerResponse) String() string { @@ -938,7 +940,7 @@ func (*RegisterWorkerResponse) ProtoMessage() {} func (x *RegisterWorkerResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -968,18 +970,21 @@ func (x *RegisterWorkerResponse) GetServerInfo() *ServerInfo { } type MigrateJobRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // string job_id = 1 [deprecated = true]; - JobIds []string `protobuf:"bytes,2,rep,name=job_ids,json=jobIds,proto3" json:"job_ids,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // string job_id = 1 [deprecated = true]; + JobIds []string `protobuf:"bytes,2,rep,name=job_ids,json=jobIds,proto3" json:"job_ids,omitempty"` } func (x *MigrateJobRequest) Reset() { *x = MigrateJobRequest{} - mi := &file_livekit_agent_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MigrateJobRequest) String() string { @@ -990,7 +995,7 @@ func (*MigrateJobRequest) ProtoMessage() {} func (x *MigrateJobRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1013,20 +1018,23 @@ func (x *MigrateJobRequest) GetJobIds() []string { } type AvailabilityRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` // True when the job was previously assigned to another worker but has been // migrated due to different reasons (e.g. worker failure, job migration) - Resuming bool `protobuf:"varint,2,opt,name=resuming,proto3" json:"resuming,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Resuming bool `protobuf:"varint,2,opt,name=resuming,proto3" json:"resuming,omitempty"` } func (x *AvailabilityRequest) Reset() { *x = AvailabilityRequest{} - mi := &file_livekit_agent_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AvailabilityRequest) String() string { @@ -1037,7 +1045,7 @@ func (*AvailabilityRequest) ProtoMessage() {} func (x *AvailabilityRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1067,23 +1075,26 @@ func (x *AvailabilityRequest) GetResuming() bool { } type AvailabilityResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - Available bool `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` - SupportsResume bool `protobuf:"varint,3,opt,name=supports_resume,json=supportsResume,proto3" json:"supports_resume,omitempty"` - ParticipantName string `protobuf:"bytes,4,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` - ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - ParticipantMetadata string `protobuf:"bytes,6,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` - ParticipantAttributes map[string]string `protobuf:"bytes,7,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + Available bool `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` + SupportsResume bool `protobuf:"varint,3,opt,name=supports_resume,json=supportsResume,proto3" json:"supports_resume,omitempty"` + ParticipantName string `protobuf:"bytes,4,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` + ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + ParticipantMetadata string `protobuf:"bytes,6,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` + ParticipantAttributes map[string]string `protobuf:"bytes,7,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *AvailabilityResponse) Reset() { *x = AvailabilityResponse{} - mi := &file_livekit_agent_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AvailabilityResponse) String() string { @@ -1094,7 +1105,7 @@ func (*AvailabilityResponse) ProtoMessage() {} func (x *AvailabilityResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1159,21 +1170,24 @@ func (x *AvailabilityResponse) GetParticipantAttributes() map[string]string { } type UpdateJobStatus struct { - state protoimpl.MessageState `protogen:"open.v1"` - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // The worker can indicate the job end by either specifying SUCCESS or FAILED Status JobStatus `protobuf:"varint,2,opt,name=status,proto3,enum=livekit.JobStatus" json:"status,omitempty"` // metadata shown on the dashboard, useful for debugging - Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` } func (x *UpdateJobStatus) Reset() { *x = UpdateJobStatus{} - mi := &file_livekit_agent_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateJobStatus) String() string { @@ -1184,7 +1198,7 @@ func (*UpdateJobStatus) ProtoMessage() {} func (x *UpdateJobStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1221,20 +1235,23 @@ func (x *UpdateJobStatus) GetError() string { } type UpdateWorkerStatus struct { - state protoimpl.MessageState `protogen:"open.v1"` - Status *WorkerStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.WorkerStatus,oneof" json:"status,omitempty"` - // optional string metadata = 2 [deprecated=true]; - Load float32 `protobuf:"fixed32,3,opt,name=load,proto3" json:"load,omitempty"` - JobCount uint32 `protobuf:"varint,4,opt,name=job_count,json=jobCount,proto3" json:"job_count,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status *WorkerStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.WorkerStatus,oneof" json:"status,omitempty"` + // optional string metadata = 2 [deprecated=true]; + Load float32 `protobuf:"fixed32,3,opt,name=load,proto3" json:"load,omitempty"` + JobCount uint32 `protobuf:"varint,4,opt,name=job_count,json=jobCount,proto3" json:"job_count,omitempty"` } func (x *UpdateWorkerStatus) Reset() { *x = UpdateWorkerStatus{} - mi := &file_livekit_agent_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateWorkerStatus) String() string { @@ -1245,7 +1262,7 @@ func (*UpdateWorkerStatus) ProtoMessage() {} func (x *UpdateWorkerStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1282,19 +1299,22 @@ func (x *UpdateWorkerStatus) GetJobCount() uint32 { } type JobAssignment struct { - state protoimpl.MessageState `protogen:"open.v1"` - Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` - Url *string `protobuf:"bytes,2,opt,name=url,proto3,oneof" json:"url,omitempty"` - Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` + Url *string `protobuf:"bytes,2,opt,name=url,proto3,oneof" json:"url,omitempty"` + Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` } func (x *JobAssignment) Reset() { *x = JobAssignment{} - mi := &file_livekit_agent_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobAssignment) String() string { @@ -1305,7 +1325,7 @@ func (*JobAssignment) ProtoMessage() {} func (x *JobAssignment) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1342,17 +1362,20 @@ func (x *JobAssignment) GetToken() string { } type JobTermination struct { - state protoimpl.MessageState `protogen:"open.v1"` - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` } func (x *JobTermination) Reset() { *x = JobTermination{} - mi := &file_livekit_agent_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobTermination) String() string { @@ -1363,7 +1386,7 @@ func (*JobTermination) ProtoMessage() {} func (x *JobTermination) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1387,7 +1410,7 @@ func (x *JobTermination) GetJobId() string { var File_livekit_agent_proto protoreflect.FileDescriptor -var file_livekit_agent_proto_rawDesc = string([]byte{ +var file_livekit_agent_proto_rawDesc = []byte{ 0x0a, 0x13, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, @@ -1594,23 +1617,23 @@ var file_livekit_agent_proto_rawDesc = string([]byte{ 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_agent_proto_rawDescOnce sync.Once - file_livekit_agent_proto_rawDescData []byte + file_livekit_agent_proto_rawDescData = file_livekit_agent_proto_rawDesc ) func file_livekit_agent_proto_rawDescGZIP() []byte { file_livekit_agent_proto_rawDescOnce.Do(func() { - file_livekit_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_agent_proto_rawDesc), len(file_livekit_agent_proto_rawDesc))) + file_livekit_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_agent_proto_rawDescData) }) return file_livekit_agent_proto_rawDescData } var file_livekit_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_livekit_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_livekit_agent_proto_goTypes = []any{ +var file_livekit_agent_proto_goTypes = []interface{}{ (JobType)(0), // 0: livekit.JobType (WorkerStatus)(0), // 1: livekit.WorkerStatus (JobStatus)(0), // 2: livekit.JobStatus @@ -1678,8 +1701,202 @@ func file_livekit_agent_proto_init() { return } file_livekit_models_proto_init() - file_livekit_agent_proto_msgTypes[0].OneofWrappers = []any{} - file_livekit_agent_proto_msgTypes[2].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Job); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkerMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SimulateJobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkerPing); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkerPong); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterWorkerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterWorkerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MigrateJobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvailabilityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvailabilityResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateJobStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateWorkerStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobAssignment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobTermination); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_agent_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_livekit_agent_proto_msgTypes[2].OneofWrappers = []interface{}{ (*WorkerMessage_Register)(nil), (*WorkerMessage_Availability)(nil), (*WorkerMessage_UpdateWorker)(nil), @@ -1688,21 +1905,21 @@ func file_livekit_agent_proto_init() { (*WorkerMessage_SimulateJob)(nil), (*WorkerMessage_MigrateJob)(nil), } - file_livekit_agent_proto_msgTypes[3].OneofWrappers = []any{ + file_livekit_agent_proto_msgTypes[3].OneofWrappers = []interface{}{ (*ServerMessage_Register)(nil), (*ServerMessage_Availability)(nil), (*ServerMessage_Assignment)(nil), (*ServerMessage_Termination)(nil), (*ServerMessage_Pong)(nil), } - file_livekit_agent_proto_msgTypes[7].OneofWrappers = []any{} - file_livekit_agent_proto_msgTypes[13].OneofWrappers = []any{} - file_livekit_agent_proto_msgTypes[14].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[7].OneofWrappers = []interface{}{} + file_livekit_agent_proto_msgTypes[13].OneofWrappers = []interface{}{} + file_livekit_agent_proto_msgTypes[14].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_agent_proto_rawDesc), len(file_livekit_agent_proto_rawDesc)), + RawDescriptor: file_livekit_agent_proto_rawDesc, NumEnums: 3, NumMessages: 17, NumExtensions: 0, @@ -1714,6 +1931,7 @@ func file_livekit_agent_proto_init() { MessageInfos: file_livekit_agent_proto_msgTypes, }.Build() File_livekit_agent_proto = out.File + file_livekit_agent_proto_rawDesc = nil file_livekit_agent_proto_goTypes = nil file_livekit_agent_proto_depIdxs = nil } diff --git a/livekit/livekit_agent_dispatch.pb.go b/livekit/livekit_agent_dispatch.pb.go index e0218f944..8314df751 100644 --- a/livekit/livekit_agent_dispatch.pb.go +++ b/livekit/livekit_agent_dispatch.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_agent_dispatch.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -36,19 +35,22 @@ const ( ) type CreateAgentDispatchRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` - Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` + Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *CreateAgentDispatchRequest) Reset() { *x = CreateAgentDispatchRequest{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateAgentDispatchRequest) String() string { @@ -59,7 +61,7 @@ func (*CreateAgentDispatchRequest) ProtoMessage() {} func (x *CreateAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -96,18 +98,21 @@ func (x *CreateAgentDispatchRequest) GetMetadata() string { } type RoomAgentDispatch struct { - state protoimpl.MessageState `protogen:"open.v1"` - AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *RoomAgentDispatch) Reset() { *x = RoomAgentDispatch{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomAgentDispatch) String() string { @@ -118,7 +123,7 @@ func (*RoomAgentDispatch) ProtoMessage() {} func (x *RoomAgentDispatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -148,18 +153,21 @@ func (x *RoomAgentDispatch) GetMetadata() string { } type DeleteAgentDispatchRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` - Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` + Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` } func (x *DeleteAgentDispatchRequest) Reset() { *x = DeleteAgentDispatchRequest{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteAgentDispatchRequest) String() string { @@ -170,7 +178,7 @@ func (*DeleteAgentDispatchRequest) ProtoMessage() {} func (x *DeleteAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -200,18 +208,21 @@ func (x *DeleteAgentDispatchRequest) GetRoom() string { } type ListAgentDispatchRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` // if set, only the dispatch whose id is given will be returned - Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` // name of the room to list agents for. Must be set. - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` // if set, only the dispatch whose id is given will be returned + Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` // name of the room to list agents for. Must be set. } func (x *ListAgentDispatchRequest) Reset() { *x = ListAgentDispatchRequest{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListAgentDispatchRequest) String() string { @@ -222,7 +233,7 @@ func (*ListAgentDispatchRequest) ProtoMessage() {} func (x *ListAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -252,17 +263,20 @@ func (x *ListAgentDispatchRequest) GetRoom() string { } type ListAgentDispatchResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - AgentDispatches []*AgentDispatch `protobuf:"bytes,1,rep,name=agent_dispatches,json=agentDispatches,proto3" json:"agent_dispatches,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AgentDispatches []*AgentDispatch `protobuf:"bytes,1,rep,name=agent_dispatches,json=agentDispatches,proto3" json:"agent_dispatches,omitempty"` } func (x *ListAgentDispatchResponse) Reset() { *x = ListAgentDispatchResponse{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListAgentDispatchResponse) String() string { @@ -273,7 +287,7 @@ func (*ListAgentDispatchResponse) ProtoMessage() {} func (x *ListAgentDispatchResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -296,21 +310,24 @@ func (x *ListAgentDispatchResponse) GetAgentDispatches() []*AgentDispatch { } type AgentDispatch struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - Room string `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` - Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` - State *AgentDispatchState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + Room string `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` + Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` + State *AgentDispatchState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` } func (x *AgentDispatch) Reset() { *x = AgentDispatch{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AgentDispatch) String() string { @@ -321,7 +338,7 @@ func (*AgentDispatch) ProtoMessage() {} func (x *AgentDispatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -372,21 +389,24 @@ func (x *AgentDispatch) GetState() *AgentDispatchState { } type AgentDispatchState struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // For dispatches of tyoe JT_ROOM, there will be at most 1 job. // For dispatches of type JT_PUBLISHER, there will be 1 per publisher. - Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - DeletedAt int64 `protobuf:"varint,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + DeletedAt int64 `protobuf:"varint,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` } func (x *AgentDispatchState) Reset() { *x = AgentDispatchState{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AgentDispatchState) String() string { @@ -397,7 +417,7 @@ func (*AgentDispatchState) ProtoMessage() {} func (x *AgentDispatchState) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -435,7 +455,7 @@ func (x *AgentDispatchState) GetDeletedAt() int64 { var File_livekit_agent_dispatch_proto protoreflect.FileDescriptor -var file_livekit_agent_dispatch_proto_rawDesc = string([]byte{ +var file_livekit_agent_dispatch_proto_rawDesc = []byte{ 0x0a, 0x1c, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x13, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, @@ -508,22 +528,22 @@ var file_livekit_agent_dispatch_proto_rawDesc = string([]byte{ 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_agent_dispatch_proto_rawDescOnce sync.Once - file_livekit_agent_dispatch_proto_rawDescData []byte + file_livekit_agent_dispatch_proto_rawDescData = file_livekit_agent_dispatch_proto_rawDesc ) func file_livekit_agent_dispatch_proto_rawDescGZIP() []byte { file_livekit_agent_dispatch_proto_rawDescOnce.Do(func() { - file_livekit_agent_dispatch_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_agent_dispatch_proto_rawDesc), len(file_livekit_agent_dispatch_proto_rawDesc))) + file_livekit_agent_dispatch_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_agent_dispatch_proto_rawDescData) }) return file_livekit_agent_dispatch_proto_rawDescData } var file_livekit_agent_dispatch_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_livekit_agent_dispatch_proto_goTypes = []any{ +var file_livekit_agent_dispatch_proto_goTypes = []interface{}{ (*CreateAgentDispatchRequest)(nil), // 0: livekit.CreateAgentDispatchRequest (*RoomAgentDispatch)(nil), // 1: livekit.RoomAgentDispatch (*DeleteAgentDispatchRequest)(nil), // 2: livekit.DeleteAgentDispatchRequest @@ -556,11 +576,97 @@ func file_livekit_agent_dispatch_proto_init() { return } file_livekit_agent_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_agent_dispatch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateAgentDispatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomAgentDispatch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteAgentDispatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAgentDispatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAgentDispatchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AgentDispatch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AgentDispatchState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_agent_dispatch_proto_rawDesc), len(file_livekit_agent_dispatch_proto_rawDesc)), + RawDescriptor: file_livekit_agent_dispatch_proto_rawDesc, NumEnums: 0, NumMessages: 7, NumExtensions: 0, @@ -571,6 +677,7 @@ func file_livekit_agent_dispatch_proto_init() { MessageInfos: file_livekit_agent_dispatch_proto_msgTypes, }.Build() File_livekit_agent_dispatch_proto = out.File + file_livekit_agent_dispatch_proto_rawDesc = nil file_livekit_agent_dispatch_proto_goTypes = nil file_livekit_agent_dispatch_proto_depIdxs = nil } diff --git a/livekit/livekit_analytics.pb.go b/livekit/livekit_analytics.pb.go index ad196bb60..6a56aafb1 100644 --- a/livekit/livekit_analytics.pb.go +++ b/livekit/livekit_analytics.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_analytics.proto package livekit @@ -26,7 +26,6 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -289,20 +288,23 @@ func (FeatureUsageInfo_Feature) EnumDescriptor() ([]byte, []int) { } type AnalyticsVideoLayer struct { - state protoimpl.MessageState `protogen:"open.v1"` - Layer int32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` - Packets uint32 `protobuf:"varint,2,opt,name=packets,proto3" json:"packets,omitempty"` - Bytes uint64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"` - Frames uint32 `protobuf:"varint,4,opt,name=frames,proto3" json:"frames,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Layer int32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` + Packets uint32 `protobuf:"varint,2,opt,name=packets,proto3" json:"packets,omitempty"` + Bytes uint64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"` + Frames uint32 `protobuf:"varint,4,opt,name=frames,proto3" json:"frames,omitempty"` } func (x *AnalyticsVideoLayer) Reset() { *x = AnalyticsVideoLayer{} - mi := &file_livekit_analytics_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsVideoLayer) String() string { @@ -313,7 +315,7 @@ func (*AnalyticsVideoLayer) ProtoMessage() {} func (x *AnalyticsVideoLayer) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -357,7 +359,10 @@ func (x *AnalyticsVideoLayer) GetFrames() uint32 { } type AnalyticsStream struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Ssrc uint32 `protobuf:"varint,1,opt,name=ssrc,proto3" json:"ssrc,omitempty"` PrimaryPackets uint32 `protobuf:"varint,2,opt,name=primary_packets,json=primaryPackets,proto3" json:"primary_packets,omitempty"` PrimaryBytes uint64 `protobuf:"varint,3,opt,name=primary_bytes,json=primaryBytes,proto3" json:"primary_bytes,omitempty"` @@ -376,15 +381,15 @@ type AnalyticsStream struct { StartTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` PacketsOutOfOrder uint32 `protobuf:"varint,19,opt,name=packets_out_of_order,json=packetsOutOfOrder,proto3" json:"packets_out_of_order,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AnalyticsStream) Reset() { *x = AnalyticsStream{} - mi := &file_livekit_analytics_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsStream) String() string { @@ -395,7 +400,7 @@ func (*AnalyticsStream) ProtoMessage() {} func (x *AnalyticsStream) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -537,7 +542,10 @@ func (x *AnalyticsStream) GetPacketsOutOfOrder() uint32 { } type AnalyticsStat struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // unique id for this stat Id string `protobuf:"bytes,14,opt,name=id,proto3" json:"id,omitempty"` AnalyticsKey string `protobuf:"bytes,1,opt,name=analytics_key,json=analyticsKey,proto3" json:"analytics_key,omitempty"` @@ -553,15 +561,15 @@ type AnalyticsStat struct { Mime string `protobuf:"bytes,11,opt,name=mime,proto3" json:"mime,omitempty"` MinScore float32 `protobuf:"fixed32,12,opt,name=min_score,json=minScore,proto3" json:"min_score,omitempty"` MedianScore float32 `protobuf:"fixed32,13,opt,name=median_score,json=medianScore,proto3" json:"median_score,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AnalyticsStat) Reset() { *x = AnalyticsStat{} - mi := &file_livekit_analytics_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsStat) String() string { @@ -572,7 +580,7 @@ func (*AnalyticsStat) ProtoMessage() {} func (x *AnalyticsStat) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -686,17 +694,20 @@ func (x *AnalyticsStat) GetMedianScore() float32 { } type AnalyticsStats struct { - state protoimpl.MessageState `protogen:"open.v1"` - Stats []*AnalyticsStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Stats []*AnalyticsStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` } func (x *AnalyticsStats) Reset() { *x = AnalyticsStats{} - mi := &file_livekit_analytics_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsStats) String() string { @@ -707,7 +718,7 @@ func (*AnalyticsStats) ProtoMessage() {} func (x *AnalyticsStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -730,26 +741,29 @@ func (x *AnalyticsStats) GetStats() []*AnalyticsStat { } type AnalyticsClientMeta struct { - state protoimpl.MessageState `protogen:"open.v1"` - Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` - Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` - ClientAddr string `protobuf:"bytes,3,opt,name=client_addr,json=clientAddr,proto3" json:"client_addr,omitempty"` - ClientConnectTime uint32 `protobuf:"varint,4,opt,name=client_connect_time,json=clientConnectTime,proto3" json:"client_connect_time,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` + Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` + ClientAddr string `protobuf:"bytes,3,opt,name=client_addr,json=clientAddr,proto3" json:"client_addr,omitempty"` + ClientConnectTime uint32 `protobuf:"varint,4,opt,name=client_connect_time,json=clientConnectTime,proto3" json:"client_connect_time,omitempty"` // udp, tcp, turn ConnectionType string `protobuf:"bytes,5,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"` ReconnectReason ReconnectReason `protobuf:"varint,6,opt,name=reconnect_reason,json=reconnectReason,proto3,enum=livekit.ReconnectReason" json:"reconnect_reason,omitempty"` GeoHash *string `protobuf:"bytes,7,opt,name=geo_hash,json=geoHash,proto3,oneof" json:"geo_hash,omitempty"` Country *string `protobuf:"bytes,8,opt,name=country,proto3,oneof" json:"country,omitempty"` IspAsn *uint32 `protobuf:"varint,9,opt,name=isp_asn,json=ispAsn,proto3,oneof" json:"isp_asn,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AnalyticsClientMeta) Reset() { *x = AnalyticsClientMeta{} - mi := &file_livekit_analytics_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsClientMeta) String() string { @@ -760,7 +774,7 @@ func (*AnalyticsClientMeta) ProtoMessage() {} func (x *AnalyticsClientMeta) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -839,7 +853,10 @@ func (x *AnalyticsClientMeta) GetIspAsn() uint32 { } type AnalyticsEvent struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // unique id for this event Id string `protobuf:"bytes,25,opt,name=id,proto3" json:"id,omitempty"` Type AnalyticsEventType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.AnalyticsEventType" json:"type,omitempty"` @@ -873,15 +890,15 @@ type AnalyticsEvent struct { SipDispatchRule *SIPDispatchRuleInfo `protobuf:"bytes,32,opt,name=sip_dispatch_rule,json=sipDispatchRule,proto3" json:"sip_dispatch_rule,omitempty"` Report *ReportInfo `protobuf:"bytes,33,opt,name=report,proto3" json:"report,omitempty"` ApiCall *APICallInfo `protobuf:"bytes,34,opt,name=api_call,json=apiCall,proto3" json:"api_call,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AnalyticsEvent) Reset() { *x = AnalyticsEvent{} - mi := &file_livekit_analytics_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsEvent) String() string { @@ -892,7 +909,7 @@ func (*AnalyticsEvent) ProtoMessage() {} func (x *AnalyticsEvent) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1132,17 +1149,20 @@ func (x *AnalyticsEvent) GetApiCall() *APICallInfo { } type AnalyticsEvents struct { - state protoimpl.MessageState `protogen:"open.v1"` - Events []*AnalyticsEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Events []*AnalyticsEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` } func (x *AnalyticsEvents) Reset() { *x = AnalyticsEvents{} - mi := &file_livekit_analytics_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsEvents) String() string { @@ -1153,7 +1173,7 @@ func (*AnalyticsEvents) ProtoMessage() {} func (x *AnalyticsEvents) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1176,21 +1196,24 @@ func (x *AnalyticsEvents) GetEvents() []*AnalyticsEvent { } type AnalyticsRoomParticipant struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - State ParticipantInfo_State `protobuf:"varint,4,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` - JoinedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + State ParticipantInfo_State `protobuf:"varint,4,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` + JoinedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` } func (x *AnalyticsRoomParticipant) Reset() { *x = AnalyticsRoomParticipant{} - mi := &file_livekit_analytics_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsRoomParticipant) String() string { @@ -1201,7 +1224,7 @@ func (*AnalyticsRoomParticipant) ProtoMessage() {} func (x *AnalyticsRoomParticipant) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1252,21 +1275,24 @@ func (x *AnalyticsRoomParticipant) GetJoinedAt() *timestamppb.Timestamp { } type AnalyticsRoom struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - Participants []*AnalyticsRoomParticipant `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + Participants []*AnalyticsRoomParticipant `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"` } func (x *AnalyticsRoom) Reset() { *x = AnalyticsRoom{} - mi := &file_livekit_analytics_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsRoom) String() string { @@ -1277,7 +1303,7 @@ func (*AnalyticsRoom) ProtoMessage() {} func (x *AnalyticsRoom) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1328,20 +1354,23 @@ func (x *AnalyticsRoom) GetParticipants() []*AnalyticsRoomParticipant { } type AnalyticsNodeRooms struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` SequenceNumber uint64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Rooms []*AnalyticsRoom `protobuf:"bytes,4,rep,name=rooms,proto3" json:"rooms,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AnalyticsNodeRooms) Reset() { *x = AnalyticsNodeRooms{} - mi := &file_livekit_analytics_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsNodeRooms) String() string { @@ -1352,7 +1381,7 @@ func (*AnalyticsNodeRooms) ProtoMessage() {} func (x *AnalyticsNodeRooms) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1396,20 +1425,23 @@ func (x *AnalyticsNodeRooms) GetRooms() []*AnalyticsRoom { } type ReportInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Message: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Message: // // *ReportInfo_FeatureUsage - Message isReportInfo_Message `protobuf_oneof:"message"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Message isReportInfo_Message `protobuf_oneof:"message"` } func (x *ReportInfo) Reset() { *x = ReportInfo{} - mi := &file_livekit_analytics_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ReportInfo) String() string { @@ -1420,7 +1452,7 @@ func (*ReportInfo) ProtoMessage() {} func (x *ReportInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1435,18 +1467,16 @@ func (*ReportInfo) Descriptor() ([]byte, []int) { return file_livekit_analytics_proto_rawDescGZIP(), []int{10} } -func (x *ReportInfo) GetMessage() isReportInfo_Message { - if x != nil { - return x.Message +func (m *ReportInfo) GetMessage() isReportInfo_Message { + if m != nil { + return m.Message } return nil } func (x *ReportInfo) GetFeatureUsage() *FeatureUsageInfo { - if x != nil { - if x, ok := x.Message.(*ReportInfo_FeatureUsage); ok { - return x.FeatureUsage - } + if x, ok := x.GetMessage().(*ReportInfo_FeatureUsage); ok { + return x.FeatureUsage } return nil } @@ -1462,18 +1492,21 @@ type ReportInfo_FeatureUsage struct { func (*ReportInfo_FeatureUsage) isReportInfo_Message() {} type TimeRange struct { - state protoimpl.MessageState `protogen:"open.v1"` - StartedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` } func (x *TimeRange) Reset() { *x = TimeRange{} - mi := &file_livekit_analytics_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TimeRange) String() string { @@ -1484,7 +1517,7 @@ func (*TimeRange) ProtoMessage() {} func (x *TimeRange) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1514,7 +1547,10 @@ func (x *TimeRange) GetEndedAt() *timestamppb.Timestamp { } type FeatureUsageInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Feature FeatureUsageInfo_Feature `protobuf:"varint,1,opt,name=feature,proto3,enum=livekit.FeatureUsageInfo_Feature" json:"feature,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` @@ -1525,16 +1561,16 @@ type FeatureUsageInfo struct { // time ranges during which the feature was enabled. // for e. g., noise cancellation may not be applied when a media track is paused/muted, // this allows reporting only periods during which a feature is avtive. - TimeRanges []*TimeRange `protobuf:"bytes,8,rep,name=time_ranges,json=timeRanges,proto3" json:"time_ranges,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + TimeRanges []*TimeRange `protobuf:"bytes,8,rep,name=time_ranges,json=timeRanges,proto3" json:"time_ranges,omitempty"` } func (x *FeatureUsageInfo) Reset() { *x = FeatureUsageInfo{} - mi := &file_livekit_analytics_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FeatureUsageInfo) String() string { @@ -1545,7 +1581,7 @@ func (*FeatureUsageInfo) ProtoMessage() {} func (x *FeatureUsageInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1617,8 +1653,11 @@ func (x *FeatureUsageInfo) GetTimeRanges() []*TimeRange { } type APICallRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Message: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Message: // // *APICallRequest_CreateRoomRequest // *APICallRequest_ListRoomsRequest @@ -1630,16 +1669,16 @@ type APICallRequest struct { // *APICallRequest_UpdateSubscriptionsRequest // *APICallRequest_SendDataRequest // *APICallRequest_UpdateRoomMetadataRequest - Message isAPICallRequest_Message `protobuf_oneof:"message"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Message isAPICallRequest_Message `protobuf_oneof:"message"` } func (x *APICallRequest) Reset() { *x = APICallRequest{} - mi := &file_livekit_analytics_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *APICallRequest) String() string { @@ -1650,7 +1689,7 @@ func (*APICallRequest) ProtoMessage() {} func (x *APICallRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1665,99 +1704,79 @@ func (*APICallRequest) Descriptor() ([]byte, []int) { return file_livekit_analytics_proto_rawDescGZIP(), []int{13} } -func (x *APICallRequest) GetMessage() isAPICallRequest_Message { - if x != nil { - return x.Message +func (m *APICallRequest) GetMessage() isAPICallRequest_Message { + if m != nil { + return m.Message } return nil } func (x *APICallRequest) GetCreateRoomRequest() *CreateRoomRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_CreateRoomRequest); ok { - return x.CreateRoomRequest - } + if x, ok := x.GetMessage().(*APICallRequest_CreateRoomRequest); ok { + return x.CreateRoomRequest } return nil } func (x *APICallRequest) GetListRoomsRequest() *ListRoomsRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_ListRoomsRequest); ok { - return x.ListRoomsRequest - } + if x, ok := x.GetMessage().(*APICallRequest_ListRoomsRequest); ok { + return x.ListRoomsRequest } return nil } func (x *APICallRequest) GetDeleteRoomRequest() *DeleteRoomRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_DeleteRoomRequest); ok { - return x.DeleteRoomRequest - } + if x, ok := x.GetMessage().(*APICallRequest_DeleteRoomRequest); ok { + return x.DeleteRoomRequest } return nil } func (x *APICallRequest) GetListParticipantsRequest() *ListParticipantsRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_ListParticipantsRequest); ok { - return x.ListParticipantsRequest - } + if x, ok := x.GetMessage().(*APICallRequest_ListParticipantsRequest); ok { + return x.ListParticipantsRequest } return nil } func (x *APICallRequest) GetRoomParticipantIdentity() *RoomParticipantIdentity { - if x != nil { - if x, ok := x.Message.(*APICallRequest_RoomParticipantIdentity); ok { - return x.RoomParticipantIdentity - } + if x, ok := x.GetMessage().(*APICallRequest_RoomParticipantIdentity); ok { + return x.RoomParticipantIdentity } return nil } func (x *APICallRequest) GetMuteRoomTrackRequest() *MuteRoomTrackRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_MuteRoomTrackRequest); ok { - return x.MuteRoomTrackRequest - } + if x, ok := x.GetMessage().(*APICallRequest_MuteRoomTrackRequest); ok { + return x.MuteRoomTrackRequest } return nil } func (x *APICallRequest) GetUpdateParticipantRequest() *UpdateParticipantRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_UpdateParticipantRequest); ok { - return x.UpdateParticipantRequest - } + if x, ok := x.GetMessage().(*APICallRequest_UpdateParticipantRequest); ok { + return x.UpdateParticipantRequest } return nil } func (x *APICallRequest) GetUpdateSubscriptionsRequest() *UpdateSubscriptionsRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_UpdateSubscriptionsRequest); ok { - return x.UpdateSubscriptionsRequest - } + if x, ok := x.GetMessage().(*APICallRequest_UpdateSubscriptionsRequest); ok { + return x.UpdateSubscriptionsRequest } return nil } func (x *APICallRequest) GetSendDataRequest() *SendDataRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_SendDataRequest); ok { - return x.SendDataRequest - } + if x, ok := x.GetMessage().(*APICallRequest_SendDataRequest); ok { + return x.SendDataRequest } return nil } func (x *APICallRequest) GetUpdateRoomMetadataRequest() *UpdateRoomMetadataRequest { - if x != nil { - if x, ok := x.Message.(*APICallRequest_UpdateRoomMetadataRequest); ok { - return x.UpdateRoomMetadataRequest - } + if x, ok := x.GetMessage().(*APICallRequest_UpdateRoomMetadataRequest); ok { + return x.UpdateRoomMetadataRequest } return nil } @@ -1827,7 +1846,10 @@ func (*APICallRequest_SendDataRequest) isAPICallRequest_Message() {} func (*APICallRequest_UpdateRoomMetadataRequest) isAPICallRequest_Message() {} type APICallInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Request *APICallRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` @@ -1843,15 +1865,15 @@ type APICallInfo struct { TrackId string `protobuf:"bytes,13,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` StartedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` DurationNs int64 `protobuf:"varint,15,opt,name=duration_ns,json=durationNs,proto3" json:"duration_ns,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *APICallInfo) Reset() { *x = APICallInfo{} - mi := &file_livekit_analytics_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *APICallInfo) String() string { @@ -1862,7 +1884,7 @@ func (*APICallInfo) ProtoMessage() {} func (x *APICallInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1984,7 +2006,7 @@ func (x *APICallInfo) GetDurationNs() int64 { var File_livekit_analytics_proto protoreflect.FileDescriptor -var file_livekit_analytics_proto_rawDesc = string([]byte{ +var file_livekit_analytics_proto_rawDesc = []byte{ 0x0a, 0x17, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -2437,23 +2459,23 @@ var file_livekit_analytics_proto_rawDesc = string([]byte{ 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_analytics_proto_rawDescOnce sync.Once - file_livekit_analytics_proto_rawDescData []byte + file_livekit_analytics_proto_rawDescData = file_livekit_analytics_proto_rawDesc ) func file_livekit_analytics_proto_rawDescGZIP() []byte { file_livekit_analytics_proto_rawDescOnce.Do(func() { - file_livekit_analytics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_analytics_proto_rawDesc), len(file_livekit_analytics_proto_rawDesc))) + file_livekit_analytics_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_analytics_proto_rawDescData) }) return file_livekit_analytics_proto_rawDescData } var file_livekit_analytics_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_livekit_analytics_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_livekit_analytics_proto_goTypes = []any{ +var file_livekit_analytics_proto_goTypes = []interface{}{ (StreamType)(0), // 0: livekit.StreamType (AnalyticsEventType)(0), // 1: livekit.AnalyticsEventType (FeatureUsageInfo_Feature)(0), // 2: livekit.FeatureUsageInfo.Feature @@ -2566,11 +2588,193 @@ func file_livekit_analytics_proto_init() { file_livekit_ingress_proto_init() file_livekit_sip_proto_init() file_livekit_room_proto_init() - file_livekit_analytics_proto_msgTypes[4].OneofWrappers = []any{} - file_livekit_analytics_proto_msgTypes[10].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_analytics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsVideoLayer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsStream); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsStat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsClientMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsEvents); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsRoomParticipant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsRoom); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnalyticsNodeRooms); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReportInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FeatureUsageInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APICallRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APICallInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_analytics_proto_msgTypes[4].OneofWrappers = []interface{}{} + file_livekit_analytics_proto_msgTypes[10].OneofWrappers = []interface{}{ (*ReportInfo_FeatureUsage)(nil), } - file_livekit_analytics_proto_msgTypes[13].OneofWrappers = []any{ + file_livekit_analytics_proto_msgTypes[13].OneofWrappers = []interface{}{ (*APICallRequest_CreateRoomRequest)(nil), (*APICallRequest_ListRoomsRequest)(nil), (*APICallRequest_DeleteRoomRequest)(nil), @@ -2586,7 +2790,7 @@ func file_livekit_analytics_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_analytics_proto_rawDesc), len(file_livekit_analytics_proto_rawDesc)), + RawDescriptor: file_livekit_analytics_proto_rawDesc, NumEnums: 3, NumMessages: 15, NumExtensions: 0, @@ -2598,6 +2802,7 @@ func file_livekit_analytics_proto_init() { MessageInfos: file_livekit_analytics_proto_msgTypes, }.Build() File_livekit_analytics_proto = out.File + file_livekit_analytics_proto_rawDesc = nil file_livekit_analytics_proto_goTypes = nil file_livekit_analytics_proto_depIdxs = nil } diff --git a/livekit/livekit_egress.pb.go b/livekit/livekit_egress.pb.go index e8700a799..a7777a80d 100644 --- a/livekit/livekit_egress.pb.go +++ b/livekit/livekit_egress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_egress.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -277,7 +276,6 @@ const ( AudioMixing_DEFAULT_MIXING AudioMixing = 0 // all users are mixed together AudioMixing_DUAL_CHANNEL_AGENT AudioMixing = 1 // agent audio in the left channel, all other audio in the right channel AudioMixing_DUAL_CHANNEL_ALTERNATE AudioMixing = 2 // each new audio track alternates between left and right channels - AudioMixing_MULTI_CHANNEL AudioMixing = 3 // every audio track is mixed into a new channel, max 255 channels ) // Enum value maps for AudioMixing. @@ -286,13 +284,11 @@ var ( 0: "DEFAULT_MIXING", 1: "DUAL_CHANNEL_AGENT", 2: "DUAL_CHANNEL_ALTERNATE", - 3: "MULTI_CHANNEL", } AudioMixing_value = map[string]int32{ "DEFAULT_MIXING": 0, "DUAL_CHANNEL_AGENT": 1, "DUAL_CHANNEL_ALTERNATE": 2, - "MULTI_CHANNEL": 3, } ) @@ -545,19 +541,22 @@ func (StreamInfo_Status) EnumDescriptor() ([]byte, []int) { // composite using a web browser type RoomCompositeEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` // (optional) - AudioOnly bool `protobuf:"varint,3,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` // (default false) - VideoOnly bool `protobuf:"varint,4,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` // (default false) - CustomBaseUrl string `protobuf:"bytes,5,opt,name=custom_base_url,json=customBaseUrl,proto3" json:"custom_base_url,omitempty"` // template base url (default https://recorder.livekit.io) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` // (optional) + AudioOnly bool `protobuf:"varint,3,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` // (default false) + VideoOnly bool `protobuf:"varint,4,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` // (default false) + CustomBaseUrl string `protobuf:"bytes,5,opt,name=custom_base_url,json=customBaseUrl,proto3" json:"custom_base_url,omitempty"` // template base url (default https://recorder.livekit.io) + // Types that are assignable to Output: // // *RoomCompositeEgressRequest_File // *RoomCompositeEgressRequest_Stream // *RoomCompositeEgressRequest_Segments Output isRoomCompositeEgressRequest_Output `protobuf_oneof:"output"` - // Types that are valid to be assigned to Options: + // Types that are assignable to Options: // // *RoomCompositeEgressRequest_Preset // *RoomCompositeEgressRequest_Advanced @@ -566,15 +565,15 @@ type RoomCompositeEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,12,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,13,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,14,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *RoomCompositeEgressRequest) Reset() { *x = RoomCompositeEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomCompositeEgressRequest) String() string { @@ -585,7 +584,7 @@ func (*RoomCompositeEgressRequest) ProtoMessage() {} func (x *RoomCompositeEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -635,64 +634,54 @@ func (x *RoomCompositeEgressRequest) GetCustomBaseUrl() string { return "" } -func (x *RoomCompositeEgressRequest) GetOutput() isRoomCompositeEgressRequest_Output { - if x != nil { - return x.Output +func (m *RoomCompositeEgressRequest) GetOutput() isRoomCompositeEgressRequest_Output { + if m != nil { + return m.Output } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *RoomCompositeEgressRequest) GetFile() *EncodedFileOutput { - if x != nil { - if x, ok := x.Output.(*RoomCompositeEgressRequest_File); ok { - return x.File - } + if x, ok := x.GetOutput().(*RoomCompositeEgressRequest_File); ok { + return x.File } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *RoomCompositeEgressRequest) GetStream() *StreamOutput { - if x != nil { - if x, ok := x.Output.(*RoomCompositeEgressRequest_Stream); ok { - return x.Stream - } + if x, ok := x.GetOutput().(*RoomCompositeEgressRequest_Stream); ok { + return x.Stream } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *RoomCompositeEgressRequest) GetSegments() *SegmentedFileOutput { - if x != nil { - if x, ok := x.Output.(*RoomCompositeEgressRequest_Segments); ok { - return x.Segments - } + if x, ok := x.GetOutput().(*RoomCompositeEgressRequest_Segments); ok { + return x.Segments } return nil } -func (x *RoomCompositeEgressRequest) GetOptions() isRoomCompositeEgressRequest_Options { - if x != nil { - return x.Options +func (m *RoomCompositeEgressRequest) GetOptions() isRoomCompositeEgressRequest_Options { + if m != nil { + return m.Options } return nil } func (x *RoomCompositeEgressRequest) GetPreset() EncodingOptionsPreset { - if x != nil { - if x, ok := x.Options.(*RoomCompositeEgressRequest_Preset); ok { - return x.Preset - } + if x, ok := x.GetOptions().(*RoomCompositeEgressRequest_Preset); ok { + return x.Preset } return EncodingOptionsPreset_H264_720P_30 } func (x *RoomCompositeEgressRequest) GetAdvanced() *EncodingOptions { - if x != nil { - if x, ok := x.Options.(*RoomCompositeEgressRequest_Advanced); ok { - return x.Advanced - } + if x, ok := x.GetOptions().(*RoomCompositeEgressRequest_Advanced); ok { + return x.Advanced } return nil } @@ -768,18 +757,21 @@ func (*RoomCompositeEgressRequest_Advanced) isRoomCompositeEgressRequest_Options // record any website type WebEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - AudioOnly bool `protobuf:"varint,2,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` - VideoOnly bool `protobuf:"varint,3,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` - AwaitStartSignal bool `protobuf:"varint,12,opt,name=await_start_signal,json=awaitStartSignal,proto3" json:"await_start_signal,omitempty"` - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + AudioOnly bool `protobuf:"varint,2,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` + VideoOnly bool `protobuf:"varint,3,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` + AwaitStartSignal bool `protobuf:"varint,12,opt,name=await_start_signal,json=awaitStartSignal,proto3" json:"await_start_signal,omitempty"` + // Types that are assignable to Output: // // *WebEgressRequest_File // *WebEgressRequest_Stream // *WebEgressRequest_Segments Output isWebEgressRequest_Output `protobuf_oneof:"output"` - // Types that are valid to be assigned to Options: + // Types that are assignable to Options: // // *WebEgressRequest_Preset // *WebEgressRequest_Advanced @@ -788,15 +780,15 @@ type WebEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,10,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,11,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,13,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *WebEgressRequest) Reset() { *x = WebEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WebEgressRequest) String() string { @@ -807,7 +799,7 @@ func (*WebEgressRequest) ProtoMessage() {} func (x *WebEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -850,64 +842,54 @@ func (x *WebEgressRequest) GetAwaitStartSignal() bool { return false } -func (x *WebEgressRequest) GetOutput() isWebEgressRequest_Output { - if x != nil { - return x.Output +func (m *WebEgressRequest) GetOutput() isWebEgressRequest_Output { + if m != nil { + return m.Output } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *WebEgressRequest) GetFile() *EncodedFileOutput { - if x != nil { - if x, ok := x.Output.(*WebEgressRequest_File); ok { - return x.File - } + if x, ok := x.GetOutput().(*WebEgressRequest_File); ok { + return x.File } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *WebEgressRequest) GetStream() *StreamOutput { - if x != nil { - if x, ok := x.Output.(*WebEgressRequest_Stream); ok { - return x.Stream - } + if x, ok := x.GetOutput().(*WebEgressRequest_Stream); ok { + return x.Stream } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *WebEgressRequest) GetSegments() *SegmentedFileOutput { - if x != nil { - if x, ok := x.Output.(*WebEgressRequest_Segments); ok { - return x.Segments - } + if x, ok := x.GetOutput().(*WebEgressRequest_Segments); ok { + return x.Segments } return nil } -func (x *WebEgressRequest) GetOptions() isWebEgressRequest_Options { - if x != nil { - return x.Options +func (m *WebEgressRequest) GetOptions() isWebEgressRequest_Options { + if m != nil { + return m.Options } return nil } func (x *WebEgressRequest) GetPreset() EncodingOptionsPreset { - if x != nil { - if x, ok := x.Options.(*WebEgressRequest_Preset); ok { - return x.Preset - } + if x, ok := x.GetOptions().(*WebEgressRequest_Preset); ok { + return x.Preset } return EncodingOptionsPreset_H264_720P_30 } func (x *WebEgressRequest) GetAdvanced() *EncodingOptions { - if x != nil { - if x, ok := x.Options.(*WebEgressRequest_Advanced); ok { - return x.Advanced - } + if x, ok := x.GetOptions().(*WebEgressRequest_Advanced); ok { + return x.Advanced } return nil } @@ -983,11 +965,14 @@ func (*WebEgressRequest_Advanced) isWebEgressRequest_Options() {} // record audio and video from a single participant type ParticipantEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // required - ScreenShare bool `protobuf:"varint,3,opt,name=screen_share,json=screenShare,proto3" json:"screen_share,omitempty"` // (default false) - // Types that are valid to be assigned to Options: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // required + ScreenShare bool `protobuf:"varint,3,opt,name=screen_share,json=screenShare,proto3" json:"screen_share,omitempty"` // (default false) + // Types that are assignable to Options: // // *ParticipantEgressRequest_Preset // *ParticipantEgressRequest_Advanced @@ -996,15 +981,15 @@ type ParticipantEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,7,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,8,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,9,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *ParticipantEgressRequest) Reset() { *x = ParticipantEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantEgressRequest) String() string { @@ -1015,7 +1000,7 @@ func (*ParticipantEgressRequest) ProtoMessage() {} func (x *ParticipantEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1051,27 +1036,23 @@ func (x *ParticipantEgressRequest) GetScreenShare() bool { return false } -func (x *ParticipantEgressRequest) GetOptions() isParticipantEgressRequest_Options { - if x != nil { - return x.Options +func (m *ParticipantEgressRequest) GetOptions() isParticipantEgressRequest_Options { + if m != nil { + return m.Options } return nil } func (x *ParticipantEgressRequest) GetPreset() EncodingOptionsPreset { - if x != nil { - if x, ok := x.Options.(*ParticipantEgressRequest_Preset); ok { - return x.Preset - } + if x, ok := x.GetOptions().(*ParticipantEgressRequest_Preset); ok { + return x.Preset } return EncodingOptionsPreset_H264_720P_30 } func (x *ParticipantEgressRequest) GetAdvanced() *EncodingOptions { - if x != nil { - if x, ok := x.Options.(*ParticipantEgressRequest_Advanced); ok { - return x.Advanced - } + if x, ok := x.GetOptions().(*ParticipantEgressRequest_Advanced); ok { + return x.Advanced } return nil } @@ -1122,17 +1103,20 @@ func (*ParticipantEgressRequest_Advanced) isParticipantEgressRequest_Options() { // containerize up to one audio and one video track type TrackCompositeEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - AudioTrackId string `protobuf:"bytes,2,opt,name=audio_track_id,json=audioTrackId,proto3" json:"audio_track_id,omitempty"` // (optional) - VideoTrackId string `protobuf:"bytes,3,opt,name=video_track_id,json=videoTrackId,proto3" json:"video_track_id,omitempty"` // (optional) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + AudioTrackId string `protobuf:"bytes,2,opt,name=audio_track_id,json=audioTrackId,proto3" json:"audio_track_id,omitempty"` // (optional) + VideoTrackId string `protobuf:"bytes,3,opt,name=video_track_id,json=videoTrackId,proto3" json:"video_track_id,omitempty"` // (optional) + // Types that are assignable to Output: // // *TrackCompositeEgressRequest_File // *TrackCompositeEgressRequest_Stream // *TrackCompositeEgressRequest_Segments Output isTrackCompositeEgressRequest_Output `protobuf_oneof:"output"` - // Types that are valid to be assigned to Options: + // Types that are assignable to Options: // // *TrackCompositeEgressRequest_Preset // *TrackCompositeEgressRequest_Advanced @@ -1141,15 +1125,15 @@ type TrackCompositeEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,12,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,13,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,14,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *TrackCompositeEgressRequest) Reset() { *x = TrackCompositeEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackCompositeEgressRequest) String() string { @@ -1160,7 +1144,7 @@ func (*TrackCompositeEgressRequest) ProtoMessage() {} func (x *TrackCompositeEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1196,64 +1180,54 @@ func (x *TrackCompositeEgressRequest) GetVideoTrackId() string { return "" } -func (x *TrackCompositeEgressRequest) GetOutput() isTrackCompositeEgressRequest_Output { - if x != nil { - return x.Output +func (m *TrackCompositeEgressRequest) GetOutput() isTrackCompositeEgressRequest_Output { + if m != nil { + return m.Output } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *TrackCompositeEgressRequest) GetFile() *EncodedFileOutput { - if x != nil { - if x, ok := x.Output.(*TrackCompositeEgressRequest_File); ok { - return x.File - } + if x, ok := x.GetOutput().(*TrackCompositeEgressRequest_File); ok { + return x.File } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *TrackCompositeEgressRequest) GetStream() *StreamOutput { - if x != nil { - if x, ok := x.Output.(*TrackCompositeEgressRequest_Stream); ok { - return x.Stream - } + if x, ok := x.GetOutput().(*TrackCompositeEgressRequest_Stream); ok { + return x.Stream } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *TrackCompositeEgressRequest) GetSegments() *SegmentedFileOutput { - if x != nil { - if x, ok := x.Output.(*TrackCompositeEgressRequest_Segments); ok { - return x.Segments - } + if x, ok := x.GetOutput().(*TrackCompositeEgressRequest_Segments); ok { + return x.Segments } return nil } -func (x *TrackCompositeEgressRequest) GetOptions() isTrackCompositeEgressRequest_Options { - if x != nil { - return x.Options +func (m *TrackCompositeEgressRequest) GetOptions() isTrackCompositeEgressRequest_Options { + if m != nil { + return m.Options } return nil } func (x *TrackCompositeEgressRequest) GetPreset() EncodingOptionsPreset { - if x != nil { - if x, ok := x.Options.(*TrackCompositeEgressRequest_Preset); ok { - return x.Preset - } + if x, ok := x.GetOptions().(*TrackCompositeEgressRequest_Preset); ok { + return x.Preset } return EncodingOptionsPreset_H264_720P_30 } func (x *TrackCompositeEgressRequest) GetAdvanced() *EncodingOptions { - if x != nil { - if x, ok := x.Options.(*TrackCompositeEgressRequest_Advanced); ok { - return x.Advanced - } + if x, ok := x.GetOptions().(*TrackCompositeEgressRequest_Advanced); ok { + return x.Advanced } return nil } @@ -1329,23 +1303,26 @@ func (*TrackCompositeEgressRequest_Advanced) isTrackCompositeEgressRequest_Optio // record tracks individually, without transcoding type TrackEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - TrackId string `protobuf:"bytes,2,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` // required - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + TrackId string `protobuf:"bytes,2,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` // required + // Types that are assignable to Output: // // *TrackEgressRequest_File // *TrackEgressRequest_WebsocketUrl - Output isTrackEgressRequest_Output `protobuf_oneof:"output"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Output isTrackEgressRequest_Output `protobuf_oneof:"output"` } func (x *TrackEgressRequest) Reset() { *x = TrackEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackEgressRequest) String() string { @@ -1356,7 +1333,7 @@ func (*TrackEgressRequest) ProtoMessage() {} func (x *TrackEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1385,27 +1362,23 @@ func (x *TrackEgressRequest) GetTrackId() string { return "" } -func (x *TrackEgressRequest) GetOutput() isTrackEgressRequest_Output { - if x != nil { - return x.Output +func (m *TrackEgressRequest) GetOutput() isTrackEgressRequest_Output { + if m != nil { + return m.Output } return nil } func (x *TrackEgressRequest) GetFile() *DirectFileOutput { - if x != nil { - if x, ok := x.Output.(*TrackEgressRequest_File); ok { - return x.File - } + if x, ok := x.GetOutput().(*TrackEgressRequest_File); ok { + return x.File } return nil } func (x *TrackEgressRequest) GetWebsocketUrl() string { - if x != nil { - if x, ok := x.Output.(*TrackEgressRequest_WebsocketUrl); ok { - return x.WebsocketUrl - } + if x, ok := x.GetOutput().(*TrackEgressRequest_WebsocketUrl); ok { + return x.WebsocketUrl } return "" } @@ -1427,26 +1400,29 @@ func (*TrackEgressRequest_File) isTrackEgressRequest_Output() {} func (*TrackEgressRequest_WebsocketUrl) isTrackEgressRequest_Output() {} type EncodedFileOutput struct { - state protoimpl.MessageState `protogen:"open.v1"` - FileType EncodedFileType `protobuf:"varint,1,opt,name=file_type,json=fileType,proto3,enum=livekit.EncodedFileType" json:"file_type,omitempty"` // (optional) - Filepath string `protobuf:"bytes,2,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {room_name}-{time}) - DisableManifest bool `protobuf:"varint,6,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileType EncodedFileType `protobuf:"varint,1,opt,name=file_type,json=fileType,proto3,enum=livekit.EncodedFileType" json:"file_type,omitempty"` // (optional) + Filepath string `protobuf:"bytes,2,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {room_name}-{time}) + DisableManifest bool `protobuf:"varint,6,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are assignable to Output: // // *EncodedFileOutput_S3 // *EncodedFileOutput_Gcp // *EncodedFileOutput_Azure // *EncodedFileOutput_AliOSS - Output isEncodedFileOutput_Output `protobuf_oneof:"output"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Output isEncodedFileOutput_Output `protobuf_oneof:"output"` } func (x *EncodedFileOutput) Reset() { *x = EncodedFileOutput{} - mi := &file_livekit_egress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EncodedFileOutput) String() string { @@ -1457,7 +1433,7 @@ func (*EncodedFileOutput) ProtoMessage() {} func (x *EncodedFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1493,45 +1469,37 @@ func (x *EncodedFileOutput) GetDisableManifest() bool { return false } -func (x *EncodedFileOutput) GetOutput() isEncodedFileOutput_Output { - if x != nil { - return x.Output +func (m *EncodedFileOutput) GetOutput() isEncodedFileOutput_Output { + if m != nil { + return m.Output } return nil } func (x *EncodedFileOutput) GetS3() *S3Upload { - if x != nil { - if x, ok := x.Output.(*EncodedFileOutput_S3); ok { - return x.S3 - } + if x, ok := x.GetOutput().(*EncodedFileOutput_S3); ok { + return x.S3 } return nil } func (x *EncodedFileOutput) GetGcp() *GCPUpload { - if x != nil { - if x, ok := x.Output.(*EncodedFileOutput_Gcp); ok { - return x.Gcp - } + if x, ok := x.GetOutput().(*EncodedFileOutput_Gcp); ok { + return x.Gcp } return nil } func (x *EncodedFileOutput) GetAzure() *AzureBlobUpload { - if x != nil { - if x, ok := x.Output.(*EncodedFileOutput_Azure); ok { - return x.Azure - } + if x, ok := x.GetOutput().(*EncodedFileOutput_Azure); ok { + return x.Azure } return nil } func (x *EncodedFileOutput) GetAliOSS() *AliOSSUpload { - if x != nil { - if x, ok := x.Output.(*EncodedFileOutput_AliOSS); ok { - return x.AliOSS - } + if x, ok := x.GetOutput().(*EncodedFileOutput_AliOSS); ok { + return x.AliOSS } return nil } @@ -1566,30 +1534,33 @@ func (*EncodedFileOutput_AliOSS) isEncodedFileOutput_Output() {} // Used to generate HLS segments or other kind of segmented output type SegmentedFileOutput struct { - state protoimpl.MessageState `protogen:"open.v1"` - Protocol SegmentedFileProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.SegmentedFileProtocol" json:"protocol,omitempty"` // (optional) - FilenamePrefix string `protobuf:"bytes,2,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) - PlaylistName string `protobuf:"bytes,3,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` // (optional) - LivePlaylistName string `protobuf:"bytes,11,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` // (optional, disabled if not provided). Path of a live playlist - SegmentDuration uint32 `protobuf:"varint,4,opt,name=segment_duration,json=segmentDuration,proto3" json:"segment_duration,omitempty"` // in seconds (optional) - FilenameSuffix SegmentedFileSuffix `protobuf:"varint,10,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.SegmentedFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) - DisableManifest bool `protobuf:"varint,8,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Protocol SegmentedFileProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.SegmentedFileProtocol" json:"protocol,omitempty"` // (optional) + FilenamePrefix string `protobuf:"bytes,2,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) + PlaylistName string `protobuf:"bytes,3,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` // (optional) + LivePlaylistName string `protobuf:"bytes,11,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` // (optional, disabled if not provided). Path of a live playlist + SegmentDuration uint32 `protobuf:"varint,4,opt,name=segment_duration,json=segmentDuration,proto3" json:"segment_duration,omitempty"` // in seconds (optional) + FilenameSuffix SegmentedFileSuffix `protobuf:"varint,10,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.SegmentedFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) + DisableManifest bool `protobuf:"varint,8,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are assignable to Output: // // *SegmentedFileOutput_S3 // *SegmentedFileOutput_Gcp // *SegmentedFileOutput_Azure // *SegmentedFileOutput_AliOSS - Output isSegmentedFileOutput_Output `protobuf_oneof:"output"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Output isSegmentedFileOutput_Output `protobuf_oneof:"output"` } func (x *SegmentedFileOutput) Reset() { *x = SegmentedFileOutput{} - mi := &file_livekit_egress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SegmentedFileOutput) String() string { @@ -1600,7 +1571,7 @@ func (*SegmentedFileOutput) ProtoMessage() {} func (x *SegmentedFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1664,45 +1635,37 @@ func (x *SegmentedFileOutput) GetDisableManifest() bool { return false } -func (x *SegmentedFileOutput) GetOutput() isSegmentedFileOutput_Output { - if x != nil { - return x.Output +func (m *SegmentedFileOutput) GetOutput() isSegmentedFileOutput_Output { + if m != nil { + return m.Output } return nil } func (x *SegmentedFileOutput) GetS3() *S3Upload { - if x != nil { - if x, ok := x.Output.(*SegmentedFileOutput_S3); ok { - return x.S3 - } + if x, ok := x.GetOutput().(*SegmentedFileOutput_S3); ok { + return x.S3 } return nil } func (x *SegmentedFileOutput) GetGcp() *GCPUpload { - if x != nil { - if x, ok := x.Output.(*SegmentedFileOutput_Gcp); ok { - return x.Gcp - } + if x, ok := x.GetOutput().(*SegmentedFileOutput_Gcp); ok { + return x.Gcp } return nil } func (x *SegmentedFileOutput) GetAzure() *AzureBlobUpload { - if x != nil { - if x, ok := x.Output.(*SegmentedFileOutput_Azure); ok { - return x.Azure - } + if x, ok := x.GetOutput().(*SegmentedFileOutput_Azure); ok { + return x.Azure } return nil } func (x *SegmentedFileOutput) GetAliOSS() *AliOSSUpload { - if x != nil { - if x, ok := x.Output.(*SegmentedFileOutput_AliOSS); ok { - return x.AliOSS - } + if x, ok := x.GetOutput().(*SegmentedFileOutput_AliOSS); ok { + return x.AliOSS } return nil } @@ -1736,25 +1699,28 @@ func (*SegmentedFileOutput_Azure) isSegmentedFileOutput_Output() {} func (*SegmentedFileOutput_AliOSS) isSegmentedFileOutput_Output() {} type DirectFileOutput struct { - state protoimpl.MessageState `protogen:"open.v1"` - Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {track_id}-{time}) - DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {track_id}-{time}) + DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are assignable to Output: // // *DirectFileOutput_S3 // *DirectFileOutput_Gcp // *DirectFileOutput_Azure // *DirectFileOutput_AliOSS - Output isDirectFileOutput_Output `protobuf_oneof:"output"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Output isDirectFileOutput_Output `protobuf_oneof:"output"` } func (x *DirectFileOutput) Reset() { *x = DirectFileOutput{} - mi := &file_livekit_egress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DirectFileOutput) String() string { @@ -1765,7 +1731,7 @@ func (*DirectFileOutput) ProtoMessage() {} func (x *DirectFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1794,45 +1760,37 @@ func (x *DirectFileOutput) GetDisableManifest() bool { return false } -func (x *DirectFileOutput) GetOutput() isDirectFileOutput_Output { - if x != nil { - return x.Output +func (m *DirectFileOutput) GetOutput() isDirectFileOutput_Output { + if m != nil { + return m.Output } return nil } func (x *DirectFileOutput) GetS3() *S3Upload { - if x != nil { - if x, ok := x.Output.(*DirectFileOutput_S3); ok { - return x.S3 - } + if x, ok := x.GetOutput().(*DirectFileOutput_S3); ok { + return x.S3 } return nil } func (x *DirectFileOutput) GetGcp() *GCPUpload { - if x != nil { - if x, ok := x.Output.(*DirectFileOutput_Gcp); ok { - return x.Gcp - } + if x, ok := x.GetOutput().(*DirectFileOutput_Gcp); ok { + return x.Gcp } return nil } func (x *DirectFileOutput) GetAzure() *AzureBlobUpload { - if x != nil { - if x, ok := x.Output.(*DirectFileOutput_Azure); ok { - return x.Azure - } + if x, ok := x.GetOutput().(*DirectFileOutput_Azure); ok { + return x.Azure } return nil } func (x *DirectFileOutput) GetAliOSS() *AliOSSUpload { - if x != nil { - if x, ok := x.Output.(*DirectFileOutput_AliOSS); ok { - return x.AliOSS - } + if x, ok := x.GetOutput().(*DirectFileOutput_AliOSS); ok { + return x.AliOSS } return nil } @@ -1866,30 +1824,33 @@ func (*DirectFileOutput_Azure) isDirectFileOutput_Output() {} func (*DirectFileOutput_AliOSS) isDirectFileOutput_Output() {} type ImageOutput struct { - state protoimpl.MessageState `protogen:"open.v1"` - CaptureInterval uint32 `protobuf:"varint,1,opt,name=capture_interval,json=captureInterval,proto3" json:"capture_interval,omitempty"` // in seconds (required) - Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` // (optional, defaults to track width) - Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // (optional, defaults to track height) - FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) - FilenameSuffix ImageFileSuffix `protobuf:"varint,5,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.ImageFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) - ImageCodec ImageCodec `protobuf:"varint,6,opt,name=image_codec,json=imageCodec,proto3,enum=livekit.ImageCodec" json:"image_codec,omitempty"` // (optional) - DisableManifest bool `protobuf:"varint,7,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CaptureInterval uint32 `protobuf:"varint,1,opt,name=capture_interval,json=captureInterval,proto3" json:"capture_interval,omitempty"` // in seconds (required) + Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` // (optional, defaults to track width) + Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // (optional, defaults to track height) + FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) + FilenameSuffix ImageFileSuffix `protobuf:"varint,5,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.ImageFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) + ImageCodec ImageCodec `protobuf:"varint,6,opt,name=image_codec,json=imageCodec,proto3,enum=livekit.ImageCodec" json:"image_codec,omitempty"` // (optional) + DisableManifest bool `protobuf:"varint,7,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are assignable to Output: // // *ImageOutput_S3 // *ImageOutput_Gcp // *ImageOutput_Azure // *ImageOutput_AliOSS - Output isImageOutput_Output `protobuf_oneof:"output"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Output isImageOutput_Output `protobuf_oneof:"output"` } func (x *ImageOutput) Reset() { *x = ImageOutput{} - mi := &file_livekit_egress_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ImageOutput) String() string { @@ -1900,7 +1861,7 @@ func (*ImageOutput) ProtoMessage() {} func (x *ImageOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1964,45 +1925,37 @@ func (x *ImageOutput) GetDisableManifest() bool { return false } -func (x *ImageOutput) GetOutput() isImageOutput_Output { - if x != nil { - return x.Output +func (m *ImageOutput) GetOutput() isImageOutput_Output { + if m != nil { + return m.Output } return nil } func (x *ImageOutput) GetS3() *S3Upload { - if x != nil { - if x, ok := x.Output.(*ImageOutput_S3); ok { - return x.S3 - } + if x, ok := x.GetOutput().(*ImageOutput_S3); ok { + return x.S3 } return nil } func (x *ImageOutput) GetGcp() *GCPUpload { - if x != nil { - if x, ok := x.Output.(*ImageOutput_Gcp); ok { - return x.Gcp - } + if x, ok := x.GetOutput().(*ImageOutput_Gcp); ok { + return x.Gcp } return nil } func (x *ImageOutput) GetAzure() *AzureBlobUpload { - if x != nil { - if x, ok := x.Output.(*ImageOutput_Azure); ok { - return x.Azure - } + if x, ok := x.GetOutput().(*ImageOutput_Azure); ok { + return x.Azure } return nil } func (x *ImageOutput) GetAliOSS() *AliOSSUpload { - if x != nil { - if x, ok := x.Output.(*ImageOutput_AliOSS); ok { - return x.AliOSS - } + if x, ok := x.GetOutput().(*ImageOutput_AliOSS); ok { + return x.AliOSS } return nil } @@ -2036,27 +1989,30 @@ func (*ImageOutput_Azure) isImageOutput_Output() {} func (*ImageOutput_AliOSS) isImageOutput_Output() {} type S3Upload struct { - state protoimpl.MessageState `protogen:"open.v1"` - AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` - Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` - SessionToken string `protobuf:"bytes,11,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` - Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` - Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` - ForcePathStyle bool `protobuf:"varint,6,opt,name=force_path_style,json=forcePathStyle,proto3" json:"force_path_style,omitempty"` - Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Tagging string `protobuf:"bytes,8,opt,name=tagging,proto3" json:"tagging,omitempty"` - ContentDisposition string `protobuf:"bytes,9,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"` // Content-Disposition header - Proxy *ProxyConfig `protobuf:"bytes,10,opt,name=proxy,proto3" json:"proxy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` + Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + SessionToken string `protobuf:"bytes,11,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` + Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` + Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` + ForcePathStyle bool `protobuf:"varint,6,opt,name=force_path_style,json=forcePathStyle,proto3" json:"force_path_style,omitempty"` + Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Tagging string `protobuf:"bytes,8,opt,name=tagging,proto3" json:"tagging,omitempty"` + ContentDisposition string `protobuf:"bytes,9,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"` // Content-Disposition header + Proxy *ProxyConfig `protobuf:"bytes,10,opt,name=proxy,proto3" json:"proxy,omitempty"` } func (x *S3Upload) Reset() { *x = S3Upload{} - mi := &file_livekit_egress_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *S3Upload) String() string { @@ -2067,7 +2023,7 @@ func (*S3Upload) ProtoMessage() {} func (x *S3Upload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2160,20 +2116,23 @@ func (x *S3Upload) GetProxy() *ProxyConfig { } type GCPUpload struct { - state protoimpl.MessageState `protogen:"open.v1"` - // service account credentials serialized in JSON "credentials.json" - Credentials string `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"` - Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` - Proxy *ProxyConfig `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // service account credentials serialized in JSON "credentials.json" + Credentials string `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"` + Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` + Proxy *ProxyConfig `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty"` } func (x *GCPUpload) Reset() { *x = GCPUpload{} - mi := &file_livekit_egress_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GCPUpload) String() string { @@ -2184,7 +2143,7 @@ func (*GCPUpload) ProtoMessage() {} func (x *GCPUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2221,19 +2180,22 @@ func (x *GCPUpload) GetProxy() *ProxyConfig { } type AzureBlobUpload struct { - state protoimpl.MessageState `protogen:"open.v1"` - AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` - AccountKey string `protobuf:"bytes,2,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"` - ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` + AccountKey string `protobuf:"bytes,2,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"` + ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` } func (x *AzureBlobUpload) Reset() { *x = AzureBlobUpload{} - mi := &file_livekit_egress_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AzureBlobUpload) String() string { @@ -2244,7 +2206,7 @@ func (*AzureBlobUpload) ProtoMessage() {} func (x *AzureBlobUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2281,21 +2243,24 @@ func (x *AzureBlobUpload) GetContainerName() string { } type AliOSSUpload struct { - state protoimpl.MessageState `protogen:"open.v1"` - AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` - Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` - Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` - Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` + Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` + Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` } func (x *AliOSSUpload) Reset() { *x = AliOSSUpload{} - mi := &file_livekit_egress_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AliOSSUpload) String() string { @@ -2306,7 +2271,7 @@ func (*AliOSSUpload) ProtoMessage() {} func (x *AliOSSUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2357,19 +2322,22 @@ func (x *AliOSSUpload) GetBucket() string { } type ProxyConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` } func (x *ProxyConfig) Reset() { *x = ProxyConfig{} - mi := &file_livekit_egress_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ProxyConfig) String() string { @@ -2380,7 +2348,7 @@ func (*ProxyConfig) ProtoMessage() {} func (x *ProxyConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2417,18 +2385,21 @@ func (x *ProxyConfig) GetPassword() string { } type StreamOutput struct { - state protoimpl.MessageState `protogen:"open.v1"` - Protocol StreamProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.StreamProtocol" json:"protocol,omitempty"` // required - Urls []string `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"` // required - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Protocol StreamProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.StreamProtocol" json:"protocol,omitempty"` // required + Urls []string `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"` // required } func (x *StreamOutput) Reset() { *x = StreamOutput{} - mi := &file_livekit_egress_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamOutput) String() string { @@ -2439,7 +2410,7 @@ func (*StreamOutput) ProtoMessage() {} func (x *StreamOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2469,29 +2440,32 @@ func (x *StreamOutput) GetUrls() []string { } type EncodingOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` // (default 1920) - Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // (default 1080) - Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // (default 24) - Framerate int32 `protobuf:"varint,4,opt,name=framerate,proto3" json:"framerate,omitempty"` // (default 30) - AudioCodec AudioCodec `protobuf:"varint,5,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` // (default OPUS) - AudioBitrate int32 `protobuf:"varint,6,opt,name=audio_bitrate,json=audioBitrate,proto3" json:"audio_bitrate,omitempty"` // (default 128) - AudioQuality int32 `protobuf:"varint,11,opt,name=audio_quality,json=audioQuality,proto3" json:"audio_quality,omitempty"` // quality setting on audio encoder - AudioFrequency int32 `protobuf:"varint,7,opt,name=audio_frequency,json=audioFrequency,proto3" json:"audio_frequency,omitempty"` // (default 44100) - AudioMixing AudioMixing `protobuf:"varint,13,opt,name=audio_mixing,json=audioMixing,proto3,enum=livekit.AudioMixing" json:"audio_mixing,omitempty"` // (default DEFAULT_MIXING) - VideoCodec VideoCodec `protobuf:"varint,8,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` // (default H264_MAIN) - VideoBitrate int32 `protobuf:"varint,9,opt,name=video_bitrate,json=videoBitrate,proto3" json:"video_bitrate,omitempty"` // (default 4500) - VideoQuality int32 `protobuf:"varint,12,opt,name=video_quality,json=videoQuality,proto3" json:"video_quality,omitempty"` // quality setting on video encoder - KeyFrameInterval float64 `protobuf:"fixed64,10,opt,name=key_frame_interval,json=keyFrameInterval,proto3" json:"key_frame_interval,omitempty"` // in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` // (default 1920) + Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // (default 1080) + Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // (default 24) + Framerate int32 `protobuf:"varint,4,opt,name=framerate,proto3" json:"framerate,omitempty"` // (default 30) + AudioCodec AudioCodec `protobuf:"varint,5,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` // (default OPUS) + AudioBitrate int32 `protobuf:"varint,6,opt,name=audio_bitrate,json=audioBitrate,proto3" json:"audio_bitrate,omitempty"` // (default 128) + AudioQuality int32 `protobuf:"varint,11,opt,name=audio_quality,json=audioQuality,proto3" json:"audio_quality,omitempty"` // quality setting on audio encoder + AudioFrequency int32 `protobuf:"varint,7,opt,name=audio_frequency,json=audioFrequency,proto3" json:"audio_frequency,omitempty"` // (default 44100) + AudioMixing AudioMixing `protobuf:"varint,13,opt,name=audio_mixing,json=audioMixing,proto3,enum=livekit.AudioMixing" json:"audio_mixing,omitempty"` // (default DEFAULT_MIXING) + VideoCodec VideoCodec `protobuf:"varint,8,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` // (default H264_MAIN) + VideoBitrate int32 `protobuf:"varint,9,opt,name=video_bitrate,json=videoBitrate,proto3" json:"video_bitrate,omitempty"` // (default 4500) + VideoQuality int32 `protobuf:"varint,12,opt,name=video_quality,json=videoQuality,proto3" json:"video_quality,omitempty"` // quality setting on video encoder + KeyFrameInterval float64 `protobuf:"fixed64,10,opt,name=key_frame_interval,json=keyFrameInterval,proto3" json:"key_frame_interval,omitempty"` // in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) } func (x *EncodingOptions) Reset() { *x = EncodingOptions{} - mi := &file_livekit_egress_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EncodingOptions) String() string { @@ -2502,7 +2476,7 @@ func (*EncodingOptions) ProtoMessage() {} func (x *EncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2609,18 +2583,21 @@ func (x *EncodingOptions) GetKeyFrameInterval() float64 { } type UpdateLayoutRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` } func (x *UpdateLayoutRequest) Reset() { *x = UpdateLayoutRequest{} - mi := &file_livekit_egress_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateLayoutRequest) String() string { @@ -2631,7 +2608,7 @@ func (*UpdateLayoutRequest) ProtoMessage() {} func (x *UpdateLayoutRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2661,19 +2638,22 @@ func (x *UpdateLayoutRequest) GetLayout() string { } type UpdateStreamRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - AddOutputUrls []string `protobuf:"bytes,2,rep,name=add_output_urls,json=addOutputUrls,proto3" json:"add_output_urls,omitempty"` - RemoveOutputUrls []string `protobuf:"bytes,3,rep,name=remove_output_urls,json=removeOutputUrls,proto3" json:"remove_output_urls,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + AddOutputUrls []string `protobuf:"bytes,2,rep,name=add_output_urls,json=addOutputUrls,proto3" json:"add_output_urls,omitempty"` + RemoveOutputUrls []string `protobuf:"bytes,3,rep,name=remove_output_urls,json=removeOutputUrls,proto3" json:"remove_output_urls,omitempty"` } func (x *UpdateStreamRequest) Reset() { *x = UpdateStreamRequest{} - mi := &file_livekit_egress_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateStreamRequest) String() string { @@ -2684,7 +2664,7 @@ func (*UpdateStreamRequest) ProtoMessage() {} func (x *UpdateStreamRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2721,19 +2701,22 @@ func (x *UpdateStreamRequest) GetRemoveOutputUrls() []string { } type ListEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) - EgressId string `protobuf:"bytes,2,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // (optional, filter by egress ID) - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` // (optional, list active egress only) - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) + EgressId string `protobuf:"bytes,2,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // (optional, filter by egress ID) + Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` // (optional, list active egress only) } func (x *ListEgressRequest) Reset() { *x = ListEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListEgressRequest) String() string { @@ -2744,7 +2727,7 @@ func (*ListEgressRequest) ProtoMessage() {} func (x *ListEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2781,17 +2764,20 @@ func (x *ListEgressRequest) GetActive() bool { } type ListEgressResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*EgressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Items []*EgressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *ListEgressResponse) Reset() { *x = ListEgressResponse{} - mi := &file_livekit_egress_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListEgressResponse) String() string { @@ -2802,7 +2788,7 @@ func (*ListEgressResponse) ProtoMessage() {} func (x *ListEgressResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2825,17 +2811,20 @@ func (x *ListEgressResponse) GetItems() []*EgressInfo { } type StopEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` } func (x *StopEgressRequest) Reset() { *x = StopEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopEgressRequest) String() string { @@ -2846,7 +2835,7 @@ func (*StopEgressRequest) ProtoMessage() {} func (x *StopEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2869,19 +2858,22 @@ func (x *StopEgressRequest) GetEgressId() string { } type EgressInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` - RoomName string `protobuf:"bytes,13,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - SourceType EgressSourceType `protobuf:"varint,26,opt,name=source_type,json=sourceType,proto3,enum=livekit.EgressSourceType" json:"source_type,omitempty"` - Status EgressStatus `protobuf:"varint,3,opt,name=status,proto3,enum=livekit.EgressStatus" json:"status,omitempty"` - StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,18,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Details string `protobuf:"bytes,21,opt,name=details,proto3" json:"details,omitempty"` - Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` - ErrorCode int32 `protobuf:"varint,22,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` - // Types that are valid to be assigned to Request: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` + RoomName string `protobuf:"bytes,13,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + SourceType EgressSourceType `protobuf:"varint,26,opt,name=source_type,json=sourceType,proto3,enum=livekit.EgressSourceType" json:"source_type,omitempty"` + Status EgressStatus `protobuf:"varint,3,opt,name=status,proto3,enum=livekit.EgressStatus" json:"status,omitempty"` + StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,18,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Details string `protobuf:"bytes,21,opt,name=details,proto3" json:"details,omitempty"` + Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` + ErrorCode int32 `protobuf:"varint,22,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` + // Types that are assignable to Request: // // *EgressInfo_RoomComposite // *EgressInfo_Web @@ -2889,7 +2881,7 @@ type EgressInfo struct { // *EgressInfo_TrackComposite // *EgressInfo_Track Request isEgressInfo_Request `protobuf_oneof:"request"` - // Types that are valid to be assigned to Result: + // Types that are assignable to Result: // // *EgressInfo_Stream // *EgressInfo_File @@ -2901,15 +2893,15 @@ type EgressInfo struct { ImageResults []*ImagesInfo `protobuf:"bytes,20,rep,name=image_results,json=imageResults,proto3" json:"image_results,omitempty"` ManifestLocation string `protobuf:"bytes,23,opt,name=manifest_location,json=manifestLocation,proto3" json:"manifest_location,omitempty"` BackupStorageUsed bool `protobuf:"varint,25,opt,name=backup_storage_used,json=backupStorageUsed,proto3" json:"backup_storage_used,omitempty"` // next ID: 27 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *EgressInfo) Reset() { *x = EgressInfo{} - mi := &file_livekit_egress_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EgressInfo) String() string { @@ -2920,7 +2912,7 @@ func (*EgressInfo) ProtoMessage() {} func (x *EgressInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3012,91 +3004,75 @@ func (x *EgressInfo) GetErrorCode() int32 { return 0 } -func (x *EgressInfo) GetRequest() isEgressInfo_Request { - if x != nil { - return x.Request +func (m *EgressInfo) GetRequest() isEgressInfo_Request { + if m != nil { + return m.Request } return nil } func (x *EgressInfo) GetRoomComposite() *RoomCompositeEgressRequest { - if x != nil { - if x, ok := x.Request.(*EgressInfo_RoomComposite); ok { - return x.RoomComposite - } + if x, ok := x.GetRequest().(*EgressInfo_RoomComposite); ok { + return x.RoomComposite } return nil } func (x *EgressInfo) GetWeb() *WebEgressRequest { - if x != nil { - if x, ok := x.Request.(*EgressInfo_Web); ok { - return x.Web - } + if x, ok := x.GetRequest().(*EgressInfo_Web); ok { + return x.Web } return nil } func (x *EgressInfo) GetParticipant() *ParticipantEgressRequest { - if x != nil { - if x, ok := x.Request.(*EgressInfo_Participant); ok { - return x.Participant - } + if x, ok := x.GetRequest().(*EgressInfo_Participant); ok { + return x.Participant } return nil } func (x *EgressInfo) GetTrackComposite() *TrackCompositeEgressRequest { - if x != nil { - if x, ok := x.Request.(*EgressInfo_TrackComposite); ok { - return x.TrackComposite - } + if x, ok := x.GetRequest().(*EgressInfo_TrackComposite); ok { + return x.TrackComposite } return nil } func (x *EgressInfo) GetTrack() *TrackEgressRequest { - if x != nil { - if x, ok := x.Request.(*EgressInfo_Track); ok { - return x.Track - } + if x, ok := x.GetRequest().(*EgressInfo_Track); ok { + return x.Track } return nil } -func (x *EgressInfo) GetResult() isEgressInfo_Result { - if x != nil { - return x.Result +func (m *EgressInfo) GetResult() isEgressInfo_Result { + if m != nil { + return m.Result } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *EgressInfo) GetStream() *StreamInfoList { - if x != nil { - if x, ok := x.Result.(*EgressInfo_Stream); ok { - return x.Stream - } + if x, ok := x.GetResult().(*EgressInfo_Stream); ok { + return x.Stream } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *EgressInfo) GetFile() *FileInfo { - if x != nil { - if x, ok := x.Result.(*EgressInfo_File); ok { - return x.File - } + if x, ok := x.GetResult().(*EgressInfo_File); ok { + return x.File } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *EgressInfo) GetSegments() *SegmentsInfo { - if x != nil { - if x, ok := x.Result.(*EgressInfo_Segments); ok { - return x.Segments - } + if x, ok := x.GetResult().(*EgressInfo_Segments); ok { + return x.Segments } return nil } @@ -3204,17 +3180,20 @@ func (*EgressInfo_Segments) isEgressInfo_Result() {} // Deprecated: Marked as deprecated in livekit_egress.proto. type StreamInfoList struct { - state protoimpl.MessageState `protogen:"open.v1"` - Info []*StreamInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info []*StreamInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"` } func (x *StreamInfoList) Reset() { *x = StreamInfoList{} - mi := &file_livekit_egress_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamInfoList) String() string { @@ -3225,7 +3204,7 @@ func (*StreamInfoList) ProtoMessage() {} func (x *StreamInfoList) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3248,22 +3227,25 @@ func (x *StreamInfoList) GetInfo() []*StreamInfo { } type StreamInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` - Status StreamInfo_Status `protobuf:"varint,5,opt,name=status,proto3,enum=livekit.StreamInfo_Status" json:"status,omitempty"` - Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` + Status StreamInfo_Status `protobuf:"varint,5,opt,name=status,proto3,enum=livekit.StreamInfo_Status" json:"status,omitempty"` + Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` } func (x *StreamInfo) Reset() { *x = StreamInfo{} - mi := &file_livekit_egress_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamInfo) String() string { @@ -3274,7 +3256,7 @@ func (*StreamInfo) ProtoMessage() {} func (x *StreamInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3332,22 +3314,25 @@ func (x *StreamInfo) GetError() string { } type FileInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` - StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - Duration int64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` - Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` - Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` + StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + Duration int64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` + Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` + Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` } func (x *FileInfo) Reset() { *x = FileInfo{} - mi := &file_livekit_egress_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FileInfo) String() string { @@ -3358,7 +3343,7 @@ func (*FileInfo) ProtoMessage() {} func (x *FileInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3416,25 +3401,28 @@ func (x *FileInfo) GetLocation() string { } type SegmentsInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - PlaylistName string `protobuf:"bytes,1,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` - LivePlaylistName string `protobuf:"bytes,8,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` - Duration int64 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` - Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` - PlaylistLocation string `protobuf:"bytes,4,opt,name=playlist_location,json=playlistLocation,proto3" json:"playlist_location,omitempty"` - LivePlaylistLocation string `protobuf:"bytes,9,opt,name=live_playlist_location,json=livePlaylistLocation,proto3" json:"live_playlist_location,omitempty"` - SegmentCount int64 `protobuf:"varint,5,opt,name=segment_count,json=segmentCount,proto3" json:"segment_count,omitempty"` - StartedAt int64 `protobuf:"varint,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,7,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlaylistName string `protobuf:"bytes,1,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` + LivePlaylistName string `protobuf:"bytes,8,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` + Duration int64 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` + Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` + PlaylistLocation string `protobuf:"bytes,4,opt,name=playlist_location,json=playlistLocation,proto3" json:"playlist_location,omitempty"` + LivePlaylistLocation string `protobuf:"bytes,9,opt,name=live_playlist_location,json=livePlaylistLocation,proto3" json:"live_playlist_location,omitempty"` + SegmentCount int64 `protobuf:"varint,5,opt,name=segment_count,json=segmentCount,proto3" json:"segment_count,omitempty"` + StartedAt int64 `protobuf:"varint,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,7,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` } func (x *SegmentsInfo) Reset() { *x = SegmentsInfo{} - mi := &file_livekit_egress_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SegmentsInfo) String() string { @@ -3445,7 +3433,7 @@ func (*SegmentsInfo) ProtoMessage() {} func (x *SegmentsInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3524,20 +3512,23 @@ func (x *SegmentsInfo) GetEndedAt() int64 { } type ImagesInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` - ImageCount int64 `protobuf:"varint,1,opt,name=image_count,json=imageCount,proto3" json:"image_count,omitempty"` - StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` + ImageCount int64 `protobuf:"varint,1,opt,name=image_count,json=imageCount,proto3" json:"image_count,omitempty"` + StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` } func (x *ImagesInfo) Reset() { *x = ImagesInfo{} - mi := &file_livekit_egress_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ImagesInfo) String() string { @@ -3548,7 +3539,7 @@ func (*ImagesInfo) ProtoMessage() {} func (x *ImagesInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3592,23 +3583,26 @@ func (x *ImagesInfo) GetEndedAt() int64 { } type AutoParticipantEgress struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Options: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Options: // // *AutoParticipantEgress_Preset // *AutoParticipantEgress_Advanced Options isAutoParticipantEgress_Options `protobuf_oneof:"options"` FileOutputs []*EncodedFileOutput `protobuf:"bytes,3,rep,name=file_outputs,json=fileOutputs,proto3" json:"file_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,4,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AutoParticipantEgress) Reset() { *x = AutoParticipantEgress{} - mi := &file_livekit_egress_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AutoParticipantEgress) String() string { @@ -3619,7 +3613,7 @@ func (*AutoParticipantEgress) ProtoMessage() {} func (x *AutoParticipantEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3634,27 +3628,23 @@ func (*AutoParticipantEgress) Descriptor() ([]byte, []int) { return file_livekit_egress_proto_rawDescGZIP(), []int{27} } -func (x *AutoParticipantEgress) GetOptions() isAutoParticipantEgress_Options { - if x != nil { - return x.Options +func (m *AutoParticipantEgress) GetOptions() isAutoParticipantEgress_Options { + if m != nil { + return m.Options } return nil } func (x *AutoParticipantEgress) GetPreset() EncodingOptionsPreset { - if x != nil { - if x, ok := x.Options.(*AutoParticipantEgress_Preset); ok { - return x.Preset - } + if x, ok := x.GetOptions().(*AutoParticipantEgress_Preset); ok { + return x.Preset } return EncodingOptionsPreset_H264_720P_30 } func (x *AutoParticipantEgress) GetAdvanced() *EncodingOptions { - if x != nil { - if x, ok := x.Options.(*AutoParticipantEgress_Advanced); ok { - return x.Advanced - } + if x, ok := x.GetOptions().(*AutoParticipantEgress_Advanced); ok { + return x.Advanced } return nil } @@ -3690,25 +3680,28 @@ func (*AutoParticipantEgress_Preset) isAutoParticipantEgress_Options() {} func (*AutoParticipantEgress_Advanced) isAutoParticipantEgress_Options() {} type AutoTrackEgress struct { - state protoimpl.MessageState `protogen:"open.v1"` - Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see docs for templating (default {track_id}-{time}) - DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disables upload of json manifest file (default false) - // Types that are valid to be assigned to Output: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see docs for templating (default {track_id}-{time}) + DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disables upload of json manifest file (default false) + // Types that are assignable to Output: // // *AutoTrackEgress_S3 // *AutoTrackEgress_Gcp // *AutoTrackEgress_Azure // *AutoTrackEgress_AliOSS - Output isAutoTrackEgress_Output `protobuf_oneof:"output"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Output isAutoTrackEgress_Output `protobuf_oneof:"output"` } func (x *AutoTrackEgress) Reset() { *x = AutoTrackEgress{} - mi := &file_livekit_egress_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AutoTrackEgress) String() string { @@ -3719,7 +3712,7 @@ func (*AutoTrackEgress) ProtoMessage() {} func (x *AutoTrackEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3748,45 +3741,37 @@ func (x *AutoTrackEgress) GetDisableManifest() bool { return false } -func (x *AutoTrackEgress) GetOutput() isAutoTrackEgress_Output { - if x != nil { - return x.Output +func (m *AutoTrackEgress) GetOutput() isAutoTrackEgress_Output { + if m != nil { + return m.Output } return nil } func (x *AutoTrackEgress) GetS3() *S3Upload { - if x != nil { - if x, ok := x.Output.(*AutoTrackEgress_S3); ok { - return x.S3 - } + if x, ok := x.GetOutput().(*AutoTrackEgress_S3); ok { + return x.S3 } return nil } func (x *AutoTrackEgress) GetGcp() *GCPUpload { - if x != nil { - if x, ok := x.Output.(*AutoTrackEgress_Gcp); ok { - return x.Gcp - } + if x, ok := x.GetOutput().(*AutoTrackEgress_Gcp); ok { + return x.Gcp } return nil } func (x *AutoTrackEgress) GetAzure() *AzureBlobUpload { - if x != nil { - if x, ok := x.Output.(*AutoTrackEgress_Azure); ok { - return x.Azure - } + if x, ok := x.GetOutput().(*AutoTrackEgress_Azure); ok { + return x.Azure } return nil } func (x *AutoTrackEgress) GetAliOSS() *AliOSSUpload { - if x != nil { - if x, ok := x.Output.(*AutoTrackEgress_AliOSS); ok { - return x.AliOSS - } + if x, ok := x.GetOutput().(*AutoTrackEgress_AliOSS); ok { + return x.AliOSS } return nil } @@ -3821,7 +3806,7 @@ func (*AutoTrackEgress_AliOSS) isAutoTrackEgress_Output() {} var File_livekit_egress_proto protoreflect.FileDescriptor -var file_livekit_egress_proto_rawDesc = string([]byte{ +var file_livekit_egress_proto_rawDesc = []byte{ 0x0a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, @@ -4421,105 +4406,104 @@ var file_livekit_egress_proto_rawDesc = string([]byte{ 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x54, 0x4d, 0x50, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x52, 0x54, 0x10, 0x02, 0x2a, - 0x68, 0x0a, 0x0b, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x67, 0x12, 0x12, + 0x55, 0x0a, 0x0b, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x4d, 0x49, 0x58, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x44, 0x55, 0x41, 0x4c, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x44, 0x55, 0x41, 0x4c, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x41, 0x4c, 0x54, 0x45, 0x52, - 0x4e, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x5f, - 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x10, 0x03, 0x2a, 0xcf, 0x01, 0x0a, 0x15, 0x45, 0x6e, - 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x65, - 0x73, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, 0x30, 0x50, - 0x5f, 0x33, 0x30, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, - 0x30, 0x50, 0x5f, 0x36, 0x30, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x48, 0x32, 0x36, 0x34, 0x5f, - 0x31, 0x30, 0x38, 0x30, 0x50, 0x5f, 0x33, 0x30, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x48, 0x32, - 0x36, 0x34, 0x5f, 0x31, 0x30, 0x38, 0x30, 0x50, 0x5f, 0x36, 0x30, 0x10, 0x03, 0x12, 0x19, 0x0a, - 0x15, 0x50, 0x4f, 0x52, 0x54, 0x52, 0x41, 0x49, 0x54, 0x5f, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, - 0x32, 0x30, 0x50, 0x5f, 0x33, 0x30, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4f, 0x52, 0x54, - 0x52, 0x41, 0x49, 0x54, 0x5f, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, 0x30, 0x50, 0x5f, 0x36, - 0x30, 0x10, 0x05, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x4f, 0x52, 0x54, 0x52, 0x41, 0x49, 0x54, 0x5f, - 0x48, 0x32, 0x36, 0x34, 0x5f, 0x31, 0x30, 0x38, 0x30, 0x50, 0x5f, 0x33, 0x30, 0x10, 0x06, 0x12, - 0x1a, 0x0a, 0x16, 0x50, 0x4f, 0x52, 0x54, 0x52, 0x41, 0x49, 0x54, 0x5f, 0x48, 0x32, 0x36, 0x34, - 0x5f, 0x31, 0x30, 0x38, 0x30, 0x50, 0x5f, 0x36, 0x30, 0x10, 0x07, 0x2a, 0x9f, 0x01, 0x0a, 0x0c, - 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x13, 0x0a, 0x0f, - 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, - 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, - 0x56, 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x45, - 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x47, 0x52, 0x45, 0x53, - 0x53, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, - 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, - 0x12, 0x0a, 0x0e, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, - 0x44, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x4c, 0x49, - 0x4d, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x43, 0x48, 0x45, 0x44, 0x10, 0x06, 0x2a, 0x4a, 0x0a, - 0x10, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x4f, 0x55, 0x52, - 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42, 0x10, 0x00, 0x12, 0x1a, 0x0a, - 0x16, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x53, 0x44, 0x4b, 0x10, 0x01, 0x32, 0x9c, 0x05, 0x0a, 0x06, 0x45, 0x67, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x54, 0x0a, 0x18, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x6f, 0x6f, - 0x6d, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x23, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x43, - 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, - 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0e, 0x53, 0x74, - 0x61, 0x72, 0x74, 0x57, 0x65, 0x62, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x2e, 0x6c, - 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x57, 0x65, 0x62, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, - 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x50, 0x0a, 0x16, - 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, - 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x45, 0x67, 0x72, 0x65, - 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, - 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x56, - 0x0a, 0x19, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x24, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, - 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, - 0x72, 0x61, 0x63, 0x6b, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x4e, 0x41, 0x54, 0x45, 0x10, 0x02, 0x2a, 0xcf, 0x01, 0x0a, 0x15, 0x45, 0x6e, 0x63, 0x6f, 0x64, + 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, + 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, 0x30, 0x50, 0x5f, 0x33, 0x30, + 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, 0x30, 0x50, 0x5f, + 0x36, 0x30, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x31, 0x30, 0x38, + 0x30, 0x50, 0x5f, 0x33, 0x30, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x48, 0x32, 0x36, 0x34, 0x5f, + 0x31, 0x30, 0x38, 0x30, 0x50, 0x5f, 0x36, 0x30, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4f, + 0x52, 0x54, 0x52, 0x41, 0x49, 0x54, 0x5f, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, 0x30, 0x50, + 0x5f, 0x33, 0x30, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4f, 0x52, 0x54, 0x52, 0x41, 0x49, + 0x54, 0x5f, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x37, 0x32, 0x30, 0x50, 0x5f, 0x36, 0x30, 0x10, 0x05, + 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x4f, 0x52, 0x54, 0x52, 0x41, 0x49, 0x54, 0x5f, 0x48, 0x32, 0x36, + 0x34, 0x5f, 0x31, 0x30, 0x38, 0x30, 0x50, 0x5f, 0x33, 0x30, 0x10, 0x06, 0x12, 0x1a, 0x0a, 0x16, + 0x50, 0x4f, 0x52, 0x54, 0x52, 0x41, 0x49, 0x54, 0x5f, 0x48, 0x32, 0x36, 0x34, 0x5f, 0x31, 0x30, + 0x38, 0x30, 0x50, 0x5f, 0x36, 0x30, 0x10, 0x07, 0x2a, 0x9f, 0x01, 0x0a, 0x0c, 0x45, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x47, 0x52, + 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x11, + 0x0a, 0x0d, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, + 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x45, 0x4e, 0x44, 0x49, + 0x4e, 0x47, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x43, + 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x47, 0x52, + 0x45, 0x53, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, + 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x05, + 0x12, 0x18, 0x0a, 0x14, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, + 0x5f, 0x52, 0x45, 0x41, 0x43, 0x48, 0x45, 0x44, 0x10, 0x06, 0x2a, 0x4a, 0x0a, 0x10, 0x45, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, + 0x0a, 0x16, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x47, + 0x52, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x53, 0x44, 0x4b, 0x10, 0x01, 0x32, 0x9c, 0x05, 0x0a, 0x06, 0x45, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x54, 0x0a, 0x18, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x6f, + 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x23, 0x2e, + 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x6f, 0x6d, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x57, 0x65, 0x62, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x57, 0x65, 0x62, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x50, 0x0a, 0x16, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x45, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x21, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x50, 0x61, + 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, + 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x56, 0x0a, 0x19, 0x53, + 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x24, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, + 0x69, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x72, 0x61, 0x63, + 0x6b, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x41, 0x0a, 0x0c, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x41, 0x0a, 0x0c, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x1c, 0x2e, 0x6c, - 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x79, - 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x1c, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x41, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, - 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, - 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, - 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x53, 0x74, 0x6f, - 0x70, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, - 0x74, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, - 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x46, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0xaa, - 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, - 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) + 0x45, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x2e, + 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x53, 0x74, 0x6f, 0x70, 0x45, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, + 0x74, 0x6f, 0x70, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x46, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, + 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, + 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} var ( file_livekit_egress_proto_rawDescOnce sync.Once - file_livekit_egress_proto_rawDescData []byte + file_livekit_egress_proto_rawDescData = file_livekit_egress_proto_rawDesc ) func file_livekit_egress_proto_rawDescGZIP() []byte { file_livekit_egress_proto_rawDescOnce.Do(func() { - file_livekit_egress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_egress_proto_rawDesc), len(file_livekit_egress_proto_rawDesc))) + file_livekit_egress_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_egress_proto_rawDescData) }) return file_livekit_egress_proto_rawDescData } var file_livekit_egress_proto_enumTypes = make([]protoimpl.EnumInfo, 10) var file_livekit_egress_proto_msgTypes = make([]protoimpl.MessageInfo, 30) -var file_livekit_egress_proto_goTypes = []any{ +var file_livekit_egress_proto_goTypes = []interface{}{ (EncodedFileType)(0), // 0: livekit.EncodedFileType (SegmentedFileProtocol)(0), // 1: livekit.SegmentedFileProtocol (SegmentedFileSuffix)(0), // 2: livekit.SegmentedFileSuffix @@ -4683,60 +4667,410 @@ func file_livekit_egress_proto_init() { return } file_livekit_models_proto_init() - file_livekit_egress_proto_msgTypes[0].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_egress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomCompositeEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WebEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParticipantEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackCompositeEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EncodedFileOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SegmentedFileOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DirectFileOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*S3Upload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GCPUpload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AzureBlobUpload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AliOSSUpload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProxyConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EncodingOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateLayoutRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListEgressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EgressInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamInfoList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SegmentsInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImagesInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoParticipantEgress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoTrackEgress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_egress_proto_msgTypes[0].OneofWrappers = []interface{}{ (*RoomCompositeEgressRequest_File)(nil), (*RoomCompositeEgressRequest_Stream)(nil), (*RoomCompositeEgressRequest_Segments)(nil), (*RoomCompositeEgressRequest_Preset)(nil), (*RoomCompositeEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[1].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[1].OneofWrappers = []interface{}{ (*WebEgressRequest_File)(nil), (*WebEgressRequest_Stream)(nil), (*WebEgressRequest_Segments)(nil), (*WebEgressRequest_Preset)(nil), (*WebEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[2].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[2].OneofWrappers = []interface{}{ (*ParticipantEgressRequest_Preset)(nil), (*ParticipantEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[3].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[3].OneofWrappers = []interface{}{ (*TrackCompositeEgressRequest_File)(nil), (*TrackCompositeEgressRequest_Stream)(nil), (*TrackCompositeEgressRequest_Segments)(nil), (*TrackCompositeEgressRequest_Preset)(nil), (*TrackCompositeEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[4].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[4].OneofWrappers = []interface{}{ (*TrackEgressRequest_File)(nil), (*TrackEgressRequest_WebsocketUrl)(nil), } - file_livekit_egress_proto_msgTypes[5].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[5].OneofWrappers = []interface{}{ (*EncodedFileOutput_S3)(nil), (*EncodedFileOutput_Gcp)(nil), (*EncodedFileOutput_Azure)(nil), (*EncodedFileOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[6].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[6].OneofWrappers = []interface{}{ (*SegmentedFileOutput_S3)(nil), (*SegmentedFileOutput_Gcp)(nil), (*SegmentedFileOutput_Azure)(nil), (*SegmentedFileOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[7].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[7].OneofWrappers = []interface{}{ (*DirectFileOutput_S3)(nil), (*DirectFileOutput_Gcp)(nil), (*DirectFileOutput_Azure)(nil), (*DirectFileOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[8].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[8].OneofWrappers = []interface{}{ (*ImageOutput_S3)(nil), (*ImageOutput_Gcp)(nil), (*ImageOutput_Azure)(nil), (*ImageOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[21].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[21].OneofWrappers = []interface{}{ (*EgressInfo_RoomComposite)(nil), (*EgressInfo_Web)(nil), (*EgressInfo_Participant)(nil), @@ -4746,11 +5080,11 @@ func file_livekit_egress_proto_init() { (*EgressInfo_File)(nil), (*EgressInfo_Segments)(nil), } - file_livekit_egress_proto_msgTypes[27].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[27].OneofWrappers = []interface{}{ (*AutoParticipantEgress_Preset)(nil), (*AutoParticipantEgress_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[28].OneofWrappers = []any{ + file_livekit_egress_proto_msgTypes[28].OneofWrappers = []interface{}{ (*AutoTrackEgress_S3)(nil), (*AutoTrackEgress_Gcp)(nil), (*AutoTrackEgress_Azure)(nil), @@ -4760,7 +5094,7 @@ func file_livekit_egress_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_egress_proto_rawDesc), len(file_livekit_egress_proto_rawDesc)), + RawDescriptor: file_livekit_egress_proto_rawDesc, NumEnums: 10, NumMessages: 30, NumExtensions: 0, @@ -4772,6 +5106,7 @@ func file_livekit_egress_proto_init() { MessageInfos: file_livekit_egress_proto_msgTypes, }.Build() File_livekit_egress_proto = out.File + file_livekit_egress_proto_rawDesc = nil file_livekit_egress_proto_goTypes = nil file_livekit_egress_proto_depIdxs = nil } diff --git a/livekit/livekit_egress.twirp.go b/livekit/livekit_egress.twirp.go index a25723ef8..c610f1ee7 100644 --- a/livekit/livekit_egress.twirp.go +++ b/livekit/livekit_egress.twirp.go @@ -2754,7 +2754,7 @@ func (s *egressServer) PathPrefix() string { } var twirpFileDescriptor1 = []byte{ - // 3167 bytes of a gzipped FileDescriptorProto + // 3158 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x1a, 0x4b, 0x6f, 0x1b, 0xc7, 0x59, 0xcb, 0x37, 0x3f, 0x3e, 0xb4, 0x1a, 0xcb, 0x0e, 0x2d, 0xa7, 0xb1, 0x43, 0xe7, 0xe1, 0x28, 0x89, 0xac, 0x5a, 0x8e, 0xe3, 0x38, 0x4d, 0x5a, 0x4a, 0x5a, 0x49, 0x4c, 0x28, 0x89, 0x5d, 0x52, @@ -2926,31 +2926,31 @@ var twirpFileDescriptor1 = []byte{ 0xac, 0x11, 0xdd, 0x00, 0xd4, 0xdc, 0x6d, 0x6c, 0x6b, 0x46, 0xe7, 0x60, 0x6b, 0xab, 0xf9, 0xa5, 0xe1, 0x73, 0x2e, 0xc1, 0x8d, 0x09, 0x78, 0x54, 0xcc, 0x47, 0xfe, 0xe1, 0x17, 0x18, 0x10, 0xf1, 0x40, 0x44, 0xe3, 0x02, 0x64, 0xf4, 0x2e, 0xe3, 0x60, 0x2e, 0xe8, 0xe8, 0x5d, 0x35, 0xb5, 0x7c, - 0x02, 0xa5, 0x48, 0xb3, 0x89, 0x10, 0x54, 0x7d, 0xbe, 0xdd, 0xe6, 0x97, 0xcd, 0xbd, 0x6d, 0x75, + 0x00, 0xa5, 0x48, 0xb3, 0x89, 0x10, 0x54, 0x7d, 0xbe, 0xdd, 0xe6, 0x97, 0xcd, 0xbd, 0x6d, 0x75, 0x8e, 0x69, 0xb4, 0x79, 0xd0, 0x68, 0x19, 0x1b, 0x3b, 0x8d, 0xbd, 0x3d, 0xad, 0x65, 0x34, 0xb6, 0xb5, 0xbd, 0xae, 0xaa, 0x30, 0x8d, 0x26, 0xe1, 0xad, 0xae, 0xa6, 0xef, 0x35, 0xba, 0x9a, 0x9a, - 0x42, 0x0b, 0x50, 0xd9, 0x3d, 0x68, 0x75, 0x9b, 0x3e, 0x52, 0x4d, 0x2f, 0xff, 0x55, 0x81, 0xeb, - 0x89, 0x3b, 0x95, 0x3b, 0xf2, 0xc1, 0xa3, 0x87, 0xc6, 0x87, 0x0f, 0x56, 0xdb, 0xc6, 0xda, 0xaa, - 0x74, 0x6d, 0x00, 0x79, 0xb4, 0xaa, 0x2a, 0x4c, 0x20, 0x87, 0x7c, 0x77, 0xf5, 0xb1, 0x20, 0x4a, - 0xc5, 0x40, 0x8f, 0x56, 0xd5, 0x34, 0xba, 0x09, 0xd7, 0xdb, 0xfb, 0x7a, 0x57, 0x6f, 0x34, 0xbb, - 0xc6, 0x84, 0xc8, 0xcc, 0x39, 0xa8, 0x47, 0xab, 0x6a, 0x96, 0x19, 0x32, 0x89, 0x0a, 0x7e, 0x24, - 0x77, 0x1e, 0xee, 0xd1, 0xaa, 0x9a, 0x5f, 0xfe, 0xad, 0x02, 0xe5, 0x68, 0xe7, 0x81, 0xae, 0xc1, - 0xbc, 0xb6, 0xad, 0x6b, 0x9d, 0x8e, 0xd1, 0xe9, 0x36, 0xf4, 0xae, 0x70, 0xdf, 0x02, 0x54, 0x24, - 0x50, 0x1e, 0xcb, 0x4a, 0x04, 0xa4, 0xed, 0x6d, 0x32, 0xaa, 0x54, 0x84, 0x75, 0x63, 0x7f, 0xb7, - 0xdd, 0xd2, 0xba, 0x9a, 0x9a, 0x8e, 0xd0, 0xc9, 0x73, 0x3b, 0xc3, 0x02, 0xe4, 0x4b, 0x5b, 0xdf, - 0xd7, 0xbb, 0xda, 0xa6, 0x9a, 0x45, 0x35, 0x58, 0x94, 0xb0, 0x56, 0x73, 0xb7, 0xd9, 0x35, 0x74, - 0xad, 0xb1, 0xc1, 0x4e, 0xfc, 0xdc, 0xf2, 0x67, 0xa0, 0xc6, 0x3b, 0x2a, 0x66, 0x91, 0xaf, 0xe4, - 0xfe, 0x81, 0xbe, 0xa1, 0x19, 0x6c, 0x7b, 0x18, 0x4f, 0xb5, 0x75, 0x91, 0x64, 0x09, 0xb8, 0xce, - 0xe6, 0xe7, 0xaa, 0xf2, 0xe0, 0x37, 0x59, 0xc8, 0xc9, 0x9a, 0xd3, 0x85, 0x1a, 0xff, 0xff, 0x4f, - 0x42, 0x5f, 0x82, 0x66, 0xe9, 0x5a, 0x96, 0x92, 0xba, 0x56, 0xf4, 0x03, 0x96, 0xc5, 0xa6, 0x47, - 0x83, 0x56, 0x05, 0x9d, 0xdf, 0xbe, 0x24, 0x4b, 0x68, 0xc3, 0x0d, 0x2e, 0x61, 0xfa, 0xf0, 0x78, - 0x7e, 0x47, 0x93, 0x2c, 0xf1, 0x0b, 0xb8, 0xc9, 0x25, 0x26, 0x35, 0x2f, 0x68, 0xa6, 0xde, 0x26, - 0x59, 0xee, 0x26, 0xa8, 0xa1, 0x5c, 0x29, 0xee, 0xa2, 0x1e, 0x27, 0x59, 0x4a, 0x03, 0xca, 0xd1, - 0xf9, 0x0a, 0x0a, 0x0f, 0x96, 0x84, 0xb1, 0xcb, 0x73, 0x44, 0x88, 0x02, 0x32, 0x25, 0x62, 0x62, - 0xd8, 0x92, 0x2c, 0x42, 0x03, 0x08, 0xe7, 0x14, 0x28, 0x3c, 0x1e, 0xa7, 0x66, 0x24, 0x4b, 0xb7, - 0x12, 0x71, 0x72, 0xb0, 0xf1, 0x09, 0xbb, 0x81, 0xfb, 0xd3, 0x0a, 0x14, 0xbd, 0x09, 0xc7, 0x46, - 0x18, 0x89, 0x5a, 0xac, 0x6f, 0xfd, 0xf8, 0xee, 0xb1, 0x4d, 0x4f, 0x46, 0x87, 0x2b, 0x3d, 0x77, - 0x70, 0x5f, 0x12, 0xdc, 0xf7, 0x87, 0x94, 0x3e, 0xe0, 0xf7, 0xa9, 0x4a, 0xcb, 0x3e, 0xc3, 0x9f, - 0x8b, 0xc9, 0x33, 0x75, 0xff, 0x91, 0xaa, 0xca, 0xf5, 0x93, 0x27, 0x1c, 0x70, 0x98, 0xe3, 0x2c, - 0x6b, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x53, 0xb3, 0x73, 0x4b, 0x88, 0x2a, 0x00, 0x00, + 0x5a, 0xfe, 0xab, 0x02, 0xd7, 0x13, 0xb7, 0x25, 0xf7, 0xda, 0x83, 0x47, 0x0f, 0x8d, 0x0f, 0x1f, + 0xac, 0xb6, 0x8d, 0xb5, 0x55, 0xe9, 0xc7, 0x00, 0xf2, 0x68, 0x55, 0x55, 0xd0, 0x02, 0x54, 0x38, + 0xe4, 0xbb, 0xab, 0x8f, 0x05, 0x51, 0x2a, 0x06, 0x7a, 0xb4, 0xaa, 0xa6, 0xd1, 0x4d, 0xb8, 0xde, + 0xde, 0xd7, 0xbb, 0x7a, 0xa3, 0xd9, 0x35, 0x26, 0x44, 0x66, 0xce, 0x41, 0x3d, 0x5a, 0x55, 0xb3, + 0x4c, 0xeb, 0x49, 0x54, 0xf0, 0x23, 0xb9, 0xf3, 0x70, 0x8f, 0x56, 0xd5, 0xfc, 0xf2, 0x6f, 0x15, + 0x28, 0x47, 0xdb, 0x0c, 0x74, 0x0d, 0xe6, 0xb5, 0x6d, 0x5d, 0xeb, 0x74, 0x8c, 0x4e, 0xb7, 0xa1, + 0x77, 0x85, 0xaf, 0x16, 0xa0, 0x22, 0x81, 0xf2, 0x0c, 0x56, 0x22, 0x20, 0x6d, 0x6f, 0x93, 0x51, + 0xa5, 0x22, 0xac, 0x1b, 0xfb, 0xbb, 0xed, 0x96, 0xd6, 0xd5, 0xd4, 0x74, 0x84, 0x4e, 0x1e, 0xd2, + 0x19, 0x16, 0x0d, 0x5f, 0xda, 0xfa, 0xbe, 0xde, 0xd5, 0x36, 0xd5, 0x2c, 0xaa, 0xc1, 0xa2, 0x84, + 0xb5, 0x9a, 0xbb, 0xcd, 0xae, 0xa1, 0x6b, 0x8d, 0x0d, 0x76, 0xbc, 0xe7, 0x96, 0x3f, 0x03, 0x35, + 0xde, 0x3e, 0x31, 0x8b, 0x7c, 0x25, 0xf7, 0x0f, 0xf4, 0x0d, 0xcd, 0x60, 0x7b, 0xc1, 0x78, 0xaa, + 0xad, 0x8b, 0x8c, 0x4a, 0xc0, 0x75, 0x36, 0x3f, 0x57, 0x95, 0x07, 0xbf, 0xc9, 0x42, 0x4e, 0x16, + 0x98, 0x2e, 0xd4, 0xf8, 0x9f, 0x7d, 0x12, 0x9a, 0x10, 0x34, 0x4b, 0x8b, 0xb2, 0x94, 0xd4, 0xa2, + 0xa2, 0x1f, 0xb0, 0x94, 0x35, 0x3d, 0x1a, 0xf4, 0x25, 0xe8, 0xfc, 0x5e, 0x25, 0x59, 0x42, 0x1b, + 0x6e, 0x70, 0x09, 0xd3, 0x27, 0xc5, 0xf3, 0xdb, 0x97, 0x64, 0x89, 0x5f, 0xc0, 0x4d, 0x2e, 0x31, + 0xa9, 0x53, 0x41, 0x33, 0x35, 0x32, 0xc9, 0x72, 0x37, 0x41, 0x0d, 0xe5, 0x4a, 0x71, 0x17, 0x35, + 0x34, 0xc9, 0x52, 0x1a, 0x50, 0x8e, 0x0e, 0x53, 0x50, 0x78, 0x8a, 0x24, 0xcc, 0x58, 0x9e, 0x23, + 0x42, 0x54, 0x8b, 0x29, 0x11, 0x13, 0x93, 0x95, 0x64, 0x11, 0x1a, 0x40, 0x38, 0x94, 0x40, 0xe1, + 0x59, 0x38, 0x35, 0x10, 0x59, 0xba, 0x95, 0x88, 0x93, 0x53, 0x8c, 0x4f, 0xd8, 0x75, 0xdb, 0x1f, + 0x4d, 0xa0, 0xe8, 0xb5, 0x37, 0x36, 0xaf, 0x48, 0xd4, 0x62, 0x7d, 0xeb, 0xc7, 0x77, 0x8f, 0x6d, + 0x7a, 0x32, 0x3a, 0x5c, 0xe9, 0xb9, 0x83, 0xfb, 0x92, 0xe0, 0xbe, 0x3f, 0x91, 0xf4, 0x01, 0xbf, + 0x4f, 0x55, 0x5a, 0xf6, 0x19, 0xfe, 0x5c, 0x8c, 0x99, 0xa9, 0xfb, 0x8f, 0x54, 0x55, 0xae, 0x9f, + 0x3c, 0xe1, 0x80, 0xc3, 0x1c, 0x67, 0x59, 0xfb, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xed, 0x07, + 0xc6, 0x15, 0x75, 0x2a, 0x00, 0x00, } diff --git a/livekit/livekit_ingress.pb.go b/livekit/livekit_ingress.pb.go index b823cdded..f61247366 100644 --- a/livekit/livekit_ingress.pb.go +++ b/livekit/livekit_ingress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_ingress.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -256,8 +255,11 @@ func (IngressState_Status) EnumDescriptor() ([]byte, []int) { } type CreateIngressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - InputType IngressInput `protobuf:"varint,1,opt,name=input_type,json=inputType,proto3,enum=livekit.IngressInput" json:"input_type,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InputType IngressInput `protobuf:"varint,1,opt,name=input_type,json=inputType,proto3,enum=livekit.IngressInput" json:"input_type,omitempty"` // Where to pull media from, only for URL input type Url string `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"` // User provided identifier for the ingress @@ -279,15 +281,15 @@ type CreateIngressRequest struct { Audio *IngressAudioOptions `protobuf:"bytes,6,opt,name=audio,proto3" json:"audio,omitempty"` Video *IngressVideoOptions `protobuf:"bytes,7,opt,name=video,proto3" json:"video,omitempty"` Enabled *bool `protobuf:"varint,12,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // The default value is true and when set to false, the new connection attempts will be rejected - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *CreateIngressRequest) Reset() { *x = CreateIngressRequest{} - mi := &file_livekit_ingress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateIngressRequest) String() string { @@ -298,7 +300,7 @@ func (*CreateIngressRequest) ProtoMessage() {} func (x *CreateIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -399,23 +401,26 @@ func (x *CreateIngressRequest) GetEnabled() bool { } type IngressAudioOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` - // Types that are valid to be assigned to EncodingOptions: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` + // Types that are assignable to EncodingOptions: // // *IngressAudioOptions_Preset // *IngressAudioOptions_Options EncodingOptions isIngressAudioOptions_EncodingOptions `protobuf_oneof:"encoding_options"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *IngressAudioOptions) Reset() { *x = IngressAudioOptions{} - mi := &file_livekit_ingress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressAudioOptions) String() string { @@ -426,7 +431,7 @@ func (*IngressAudioOptions) ProtoMessage() {} func (x *IngressAudioOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -455,27 +460,23 @@ func (x *IngressAudioOptions) GetSource() TrackSource { return TrackSource_UNKNOWN } -func (x *IngressAudioOptions) GetEncodingOptions() isIngressAudioOptions_EncodingOptions { - if x != nil { - return x.EncodingOptions +func (m *IngressAudioOptions) GetEncodingOptions() isIngressAudioOptions_EncodingOptions { + if m != nil { + return m.EncodingOptions } return nil } func (x *IngressAudioOptions) GetPreset() IngressAudioEncodingPreset { - if x != nil { - if x, ok := x.EncodingOptions.(*IngressAudioOptions_Preset); ok { - return x.Preset - } + if x, ok := x.GetEncodingOptions().(*IngressAudioOptions_Preset); ok { + return x.Preset } return IngressAudioEncodingPreset_OPUS_STEREO_96KBPS } func (x *IngressAudioOptions) GetOptions() *IngressAudioEncodingOptions { - if x != nil { - if x, ok := x.EncodingOptions.(*IngressAudioOptions_Options); ok { - return x.Options - } + if x, ok := x.GetEncodingOptions().(*IngressAudioOptions_Options); ok { + return x.Options } return nil } @@ -497,23 +498,26 @@ func (*IngressAudioOptions_Preset) isIngressAudioOptions_EncodingOptions() {} func (*IngressAudioOptions_Options) isIngressAudioOptions_EncodingOptions() {} type IngressVideoOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` - // Types that are valid to be assigned to EncodingOptions: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` + // Types that are assignable to EncodingOptions: // // *IngressVideoOptions_Preset // *IngressVideoOptions_Options EncodingOptions isIngressVideoOptions_EncodingOptions `protobuf_oneof:"encoding_options"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *IngressVideoOptions) Reset() { *x = IngressVideoOptions{} - mi := &file_livekit_ingress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressVideoOptions) String() string { @@ -524,7 +528,7 @@ func (*IngressVideoOptions) ProtoMessage() {} func (x *IngressVideoOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -553,27 +557,23 @@ func (x *IngressVideoOptions) GetSource() TrackSource { return TrackSource_UNKNOWN } -func (x *IngressVideoOptions) GetEncodingOptions() isIngressVideoOptions_EncodingOptions { - if x != nil { - return x.EncodingOptions +func (m *IngressVideoOptions) GetEncodingOptions() isIngressVideoOptions_EncodingOptions { + if m != nil { + return m.EncodingOptions } return nil } func (x *IngressVideoOptions) GetPreset() IngressVideoEncodingPreset { - if x != nil { - if x, ok := x.EncodingOptions.(*IngressVideoOptions_Preset); ok { - return x.Preset - } + if x, ok := x.GetEncodingOptions().(*IngressVideoOptions_Preset); ok { + return x.Preset } return IngressVideoEncodingPreset_H264_720P_30FPS_3_LAYERS } func (x *IngressVideoOptions) GetOptions() *IngressVideoEncodingOptions { - if x != nil { - if x, ok := x.EncodingOptions.(*IngressVideoOptions_Options); ok { - return x.Options - } + if x, ok := x.GetEncodingOptions().(*IngressVideoOptions_Options); ok { + return x.Options } return nil } @@ -595,21 +595,24 @@ func (*IngressVideoOptions_Preset) isIngressVideoOptions_EncodingOptions() {} func (*IngressVideoOptions_Options) isIngressVideoOptions_EncodingOptions() {} type IngressAudioEncodingOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` - // desired audio codec to publish to room - AudioCodec AudioCodec `protobuf:"varint,1,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` - Bitrate uint32 `protobuf:"varint,2,opt,name=bitrate,proto3" json:"bitrate,omitempty"` - DisableDtx bool `protobuf:"varint,3,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"` - Channels uint32 `protobuf:"varint,4,opt,name=channels,proto3" json:"channels,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // desired audio codec to publish to room + AudioCodec AudioCodec `protobuf:"varint,1,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` + Bitrate uint32 `protobuf:"varint,2,opt,name=bitrate,proto3" json:"bitrate,omitempty"` + DisableDtx bool `protobuf:"varint,3,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"` + Channels uint32 `protobuf:"varint,4,opt,name=channels,proto3" json:"channels,omitempty"` } func (x *IngressAudioEncodingOptions) Reset() { *x = IngressAudioEncodingOptions{} - mi := &file_livekit_ingress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressAudioEncodingOptions) String() string { @@ -620,7 +623,7 @@ func (*IngressAudioEncodingOptions) ProtoMessage() {} func (x *IngressAudioEncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -664,21 +667,24 @@ func (x *IngressAudioEncodingOptions) GetChannels() uint32 { } type IngressVideoEncodingOptions struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // desired codec to publish to room VideoCodec VideoCodec `protobuf:"varint,1,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` FrameRate float64 `protobuf:"fixed64,2,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"` // simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions - Layers []*VideoLayer `protobuf:"bytes,3,rep,name=layers,proto3" json:"layers,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Layers []*VideoLayer `protobuf:"bytes,3,rep,name=layers,proto3" json:"layers,omitempty"` } func (x *IngressVideoEncodingOptions) Reset() { *x = IngressVideoEncodingOptions{} - mi := &file_livekit_ingress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressVideoEncodingOptions) String() string { @@ -689,7 +695,7 @@ func (*IngressVideoEncodingOptions) ProtoMessage() {} func (x *IngressVideoEncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -726,11 +732,14 @@ func (x *IngressVideoEncodingOptions) GetLayers() []*VideoLayer { } type IngressInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - StreamKey string `protobuf:"bytes,3,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` - Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + StreamKey string `protobuf:"bytes,3,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` + Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) // for RTMP input, it'll be a rtmp:// URL // for FILE input, it'll be a http:// URL // for SRT input, it'll be a srt:// URL @@ -747,15 +756,15 @@ type IngressInfo struct { Reusable bool `protobuf:"varint,11,opt,name=reusable,proto3" json:"reusable,omitempty"` State *IngressState `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"` // Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth) Enabled *bool `protobuf:"varint,16,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // The default value is true and when set to false, the new connection attempts will be rejected - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *IngressInfo) Reset() { *x = IngressInfo{} - mi := &file_livekit_ingress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressInfo) String() string { @@ -766,7 +775,7 @@ func (*IngressInfo) ProtoMessage() {} func (x *IngressInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -895,26 +904,29 @@ func (x *IngressInfo) GetEnabled() bool { } type IngressState struct { - state protoimpl.MessageState `protogen:"open.v1"` - Status IngressState_Status `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.IngressState_Status" json:"status,omitempty"` - Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Error/non compliance description if any - Video *InputVideoState `protobuf:"bytes,3,opt,name=video,proto3" json:"video,omitempty"` - Audio *InputAudioState `protobuf:"bytes,4,opt,name=audio,proto3" json:"audio,omitempty"` - RoomId string `protobuf:"bytes,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to - StartedAt int64 `protobuf:"varint,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,8,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - ResourceId string `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - Tracks []*TrackInfo `protobuf:"bytes,6,rep,name=tracks,proto3" json:"tracks,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status IngressState_Status `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.IngressState_Status" json:"status,omitempty"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Error/non compliance description if any + Video *InputVideoState `protobuf:"bytes,3,opt,name=video,proto3" json:"video,omitempty"` + Audio *InputAudioState `protobuf:"bytes,4,opt,name=audio,proto3" json:"audio,omitempty"` + RoomId string `protobuf:"bytes,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to + StartedAt int64 `protobuf:"varint,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,8,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + ResourceId string `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + Tracks []*TrackInfo `protobuf:"bytes,6,rep,name=tracks,proto3" json:"tracks,omitempty"` } func (x *IngressState) Reset() { *x = IngressState{} - mi := &file_livekit_ingress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressState) String() string { @@ -925,7 +937,7 @@ func (*IngressState) ProtoMessage() {} func (x *IngressState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1011,21 +1023,24 @@ func (x *IngressState) GetTracks() []*TrackInfo { } type InputVideoState struct { - state protoimpl.MessageState `protogen:"open.v1"` - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` - Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` - Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` - Framerate float64 `protobuf:"fixed64,5,opt,name=framerate,proto3" json:"framerate,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` + Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` + Framerate float64 `protobuf:"fixed64,5,opt,name=framerate,proto3" json:"framerate,omitempty"` } func (x *InputVideoState) Reset() { *x = InputVideoState{} - mi := &file_livekit_ingress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InputVideoState) String() string { @@ -1036,7 +1051,7 @@ func (*InputVideoState) ProtoMessage() {} func (x *InputVideoState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1087,20 +1102,23 @@ func (x *InputVideoState) GetFramerate() float64 { } type InputAudioState struct { - state protoimpl.MessageState `protogen:"open.v1"` - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` - Channels uint32 `protobuf:"varint,3,opt,name=channels,proto3" json:"channels,omitempty"` - SampleRate uint32 `protobuf:"varint,4,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` + Channels uint32 `protobuf:"varint,3,opt,name=channels,proto3" json:"channels,omitempty"` + SampleRate uint32 `protobuf:"varint,4,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` } func (x *InputAudioState) Reset() { *x = InputAudioState{} - mi := &file_livekit_ingress_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InputAudioState) String() string { @@ -1111,7 +1129,7 @@ func (*InputAudioState) ProtoMessage() {} func (x *InputAudioState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1155,28 +1173,31 @@ func (x *InputAudioState) GetSampleRate() uint32 { } type UpdateIngressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - ParticipantName string `protobuf:"bytes,5,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` - ParticipantMetadata string `protobuf:"bytes,9,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + ParticipantName string `protobuf:"bytes,5,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` + ParticipantMetadata string `protobuf:"bytes,9,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` // Deprecated: Marked as deprecated in livekit_ingress.proto. BypassTranscoding *bool `protobuf:"varint,8,opt,name=bypass_transcoding,json=bypassTranscoding,proto3,oneof" json:"bypass_transcoding,omitempty"` EnableTranscoding *bool `protobuf:"varint,10,opt,name=enable_transcoding,json=enableTranscoding,proto3,oneof" json:"enable_transcoding,omitempty"` Audio *IngressAudioOptions `protobuf:"bytes,6,opt,name=audio,proto3" json:"audio,omitempty"` Video *IngressVideoOptions `protobuf:"bytes,7,opt,name=video,proto3" json:"video,omitempty"` Enabled *bool `protobuf:"varint,11,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // The default value is true and when set to false, the new connection attempts will be rejected - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *UpdateIngressRequest) Reset() { *x = UpdateIngressRequest{} - mi := &file_livekit_ingress_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateIngressRequest) String() string { @@ -1187,7 +1208,7 @@ func (*UpdateIngressRequest) ProtoMessage() {} func (x *UpdateIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1281,19 +1302,22 @@ func (x *UpdateIngressRequest) GetEnabled() bool { } type ListIngressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // when blank, lists all ingress endpoints - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) - IngressId string `protobuf:"bytes,2,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` // (optional, filter by ingress ID) - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // when blank, lists all ingress endpoints + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) + IngressId string `protobuf:"bytes,2,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` // (optional, filter by ingress ID) } func (x *ListIngressRequest) Reset() { *x = ListIngressRequest{} - mi := &file_livekit_ingress_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListIngressRequest) String() string { @@ -1304,7 +1328,7 @@ func (*ListIngressRequest) ProtoMessage() {} func (x *ListIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1334,17 +1358,20 @@ func (x *ListIngressRequest) GetIngressId() string { } type ListIngressResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*IngressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Items []*IngressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *ListIngressResponse) Reset() { *x = ListIngressResponse{} - mi := &file_livekit_ingress_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListIngressResponse) String() string { @@ -1355,7 +1382,7 @@ func (*ListIngressResponse) ProtoMessage() {} func (x *ListIngressResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1378,17 +1405,20 @@ func (x *ListIngressResponse) GetItems() []*IngressInfo { } type DeleteIngressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` } func (x *DeleteIngressRequest) Reset() { *x = DeleteIngressRequest{} - mi := &file_livekit_ingress_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteIngressRequest) String() string { @@ -1399,7 +1429,7 @@ func (*DeleteIngressRequest) ProtoMessage() {} func (x *DeleteIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1423,7 +1453,7 @@ func (x *DeleteIngressRequest) GetIngressId() string { var File_livekit_ingress_proto protoreflect.FileDescriptor -var file_livekit_ingress_proto_rawDesc = string([]byte{ +var file_livekit_ingress_proto_rawDesc = []byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, @@ -1712,23 +1742,23 @@ var file_livekit_ingress_proto_rawDesc = string([]byte{ 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_ingress_proto_rawDescOnce sync.Once - file_livekit_ingress_proto_rawDescData []byte + file_livekit_ingress_proto_rawDescData = file_livekit_ingress_proto_rawDesc ) func file_livekit_ingress_proto_rawDescGZIP() []byte { file_livekit_ingress_proto_rawDescOnce.Do(func() { - file_livekit_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_ingress_proto_rawDesc), len(file_livekit_ingress_proto_rawDesc))) + file_livekit_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_ingress_proto_rawDescData) }) return file_livekit_ingress_proto_rawDescData } var file_livekit_ingress_proto_enumTypes = make([]protoimpl.EnumInfo, 4) var file_livekit_ingress_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_livekit_ingress_proto_goTypes = []any{ +var file_livekit_ingress_proto_goTypes = []interface{}{ (IngressInput)(0), // 0: livekit.IngressInput (IngressAudioEncodingPreset)(0), // 1: livekit.IngressAudioEncodingPreset (IngressVideoEncodingPreset)(0), // 2: livekit.IngressVideoEncodingPreset @@ -1797,22 +1827,180 @@ func file_livekit_ingress_proto_init() { return } file_livekit_models_proto_init() - file_livekit_ingress_proto_msgTypes[0].OneofWrappers = []any{} - file_livekit_ingress_proto_msgTypes[1].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_ingress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressAudioOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressVideoOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressAudioEncodingOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressVideoEncodingOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InputVideoState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InputAudioState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListIngressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_ingress_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_livekit_ingress_proto_msgTypes[1].OneofWrappers = []interface{}{ (*IngressAudioOptions_Preset)(nil), (*IngressAudioOptions_Options)(nil), } - file_livekit_ingress_proto_msgTypes[2].OneofWrappers = []any{ + file_livekit_ingress_proto_msgTypes[2].OneofWrappers = []interface{}{ (*IngressVideoOptions_Preset)(nil), (*IngressVideoOptions_Options)(nil), } - file_livekit_ingress_proto_msgTypes[5].OneofWrappers = []any{} - file_livekit_ingress_proto_msgTypes[9].OneofWrappers = []any{} + file_livekit_ingress_proto_msgTypes[5].OneofWrappers = []interface{}{} + file_livekit_ingress_proto_msgTypes[9].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_ingress_proto_rawDesc), len(file_livekit_ingress_proto_rawDesc)), + RawDescriptor: file_livekit_ingress_proto_rawDesc, NumEnums: 4, NumMessages: 13, NumExtensions: 0, @@ -1824,6 +2012,7 @@ func file_livekit_ingress_proto_init() { MessageInfos: file_livekit_ingress_proto_msgTypes, }.Build() File_livekit_ingress_proto = out.File + file_livekit_ingress_proto_rawDesc = nil file_livekit_ingress_proto_goTypes = nil file_livekit_ingress_proto_depIdxs = nil } diff --git a/livekit/livekit_internal.pb.go b/livekit/livekit_internal.pb.go index 6ca6ac0a2..03592e363 100644 --- a/livekit/livekit_internal.pb.go +++ b/livekit/livekit_internal.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_internal.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -192,23 +191,26 @@ func (ICECandidateType) EnumDescriptor() ([]byte, []int) { } type Node struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` - NumCpus uint32 `protobuf:"varint,3,opt,name=num_cpus,json=numCpus,proto3" json:"num_cpus,omitempty"` - Stats *NodeStats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"` - Type NodeType `protobuf:"varint,5,opt,name=type,proto3,enum=livekit.NodeType" json:"type,omitempty"` - State NodeState `protobuf:"varint,6,opt,name=state,proto3,enum=livekit.NodeState" json:"state,omitempty"` - Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` + NumCpus uint32 `protobuf:"varint,3,opt,name=num_cpus,json=numCpus,proto3" json:"num_cpus,omitempty"` + Stats *NodeStats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"` + Type NodeType `protobuf:"varint,5,opt,name=type,proto3,enum=livekit.NodeType" json:"type,omitempty"` + State NodeState `protobuf:"varint,6,opt,name=state,proto3,enum=livekit.NodeState" json:"state,omitempty"` + Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` } func (x *Node) Reset() { *x = Node{} - mi := &file_livekit_internal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Node) String() string { @@ -219,7 +221,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -284,7 +286,10 @@ func (x *Node) GetRegion() string { } type NodeStats struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // when server was started StartedAt int64 `protobuf:"varint,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // when server last reported its status @@ -342,15 +347,15 @@ type NodeStats struct { // forward metrics ForwardLatency uint32 `protobuf:"varint,48,opt,name=forward_latency,json=forwardLatency,proto3" json:"forward_latency,omitempty"` ForwardJitter uint32 `protobuf:"varint,49,opt,name=forward_jitter,json=forwardJitter,proto3" json:"forward_jitter,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *NodeStats) Reset() { *x = NodeStats{} - mi := &file_livekit_internal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *NodeStats) String() string { @@ -361,7 +366,7 @@ func (*NodeStats) ProtoMessage() {} func (x *NodeStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -720,10 +725,13 @@ func (x *NodeStats) GetForwardJitter() uint32 { } type StartSession struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // if a client is reconnecting (i.e. resume instead of restart) Reconnect bool `protobuf:"varint,4,opt,name=reconnect,proto3" json:"reconnect,omitempty"` AutoSubscribe bool `protobuf:"varint,9,opt,name=auto_subscribe,json=autoSubscribe,proto3" json:"auto_subscribe,omitempty"` @@ -740,15 +748,15 @@ type StartSession struct { SubscriberAllowPause *bool `protobuf:"varint,18,opt,name=subscriber_allow_pause,json=subscriberAllowPause,proto3,oneof" json:"subscriber_allow_pause,omitempty"` DisableIceLite bool `protobuf:"varint,19,opt,name=disable_ice_lite,json=disableIceLite,proto3" json:"disable_ice_lite,omitempty"` CreateRoom *CreateRoomRequest `protobuf:"bytes,20,opt,name=create_room,json=createRoom,proto3" json:"create_room,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *StartSession) Reset() { *x = StartSession{} - mi := &file_livekit_internal_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartSession) String() string { @@ -759,7 +767,7 @@ func (*StartSession) ProtoMessage() {} func (x *StartSession) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -888,22 +896,25 @@ func (x *StartSession) GetCreateRoom() *CreateRoomRequest { // room info that should not be returned to clients type RoomInternal struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + TrackEgress *AutoTrackEgress `protobuf:"bytes,1,opt,name=track_egress,json=trackEgress,proto3" json:"track_egress,omitempty"` ParticipantEgress *AutoParticipantEgress `protobuf:"bytes,2,opt,name=participant_egress,json=participantEgress,proto3" json:"participant_egress,omitempty"` PlayoutDelay *PlayoutDelay `protobuf:"bytes,3,opt,name=playout_delay,json=playoutDelay,proto3" json:"playout_delay,omitempty"` AgentDispatches []*RoomAgentDispatch `protobuf:"bytes,5,rep,name=agent_dispatches,json=agentDispatches,proto3" json:"agent_dispatches,omitempty"` SyncStreams bool `protobuf:"varint,4,opt,name=sync_streams,json=syncStreams,proto3" json:"sync_streams,omitempty"` ReplayEnabled bool `protobuf:"varint,6,opt,name=replay_enabled,json=replayEnabled,proto3" json:"replay_enabled,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *RoomInternal) Reset() { *x = RoomInternal{} - mi := &file_livekit_internal_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomInternal) String() string { @@ -914,7 +925,7 @@ func (*RoomInternal) ProtoMessage() {} func (x *RoomInternal) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -972,18 +983,21 @@ func (x *RoomInternal) GetReplayEnabled() bool { } type ICEConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` - PreferenceSubscriber ICECandidateType `protobuf:"varint,1,opt,name=preference_subscriber,json=preferenceSubscriber,proto3,enum=livekit.ICECandidateType" json:"preference_subscriber,omitempty"` - PreferencePublisher ICECandidateType `protobuf:"varint,2,opt,name=preference_publisher,json=preferencePublisher,proto3,enum=livekit.ICECandidateType" json:"preference_publisher,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PreferenceSubscriber ICECandidateType `protobuf:"varint,1,opt,name=preference_subscriber,json=preferenceSubscriber,proto3,enum=livekit.ICECandidateType" json:"preference_subscriber,omitempty"` + PreferencePublisher ICECandidateType `protobuf:"varint,2,opt,name=preference_publisher,json=preferencePublisher,proto3,enum=livekit.ICECandidateType" json:"preference_publisher,omitempty"` } func (x *ICEConfig) Reset() { *x = ICEConfig{} - mi := &file_livekit_internal_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ICEConfig) String() string { @@ -994,7 +1008,7 @@ func (*ICEConfig) ProtoMessage() {} func (x *ICEConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1025,7 +1039,7 @@ func (x *ICEConfig) GetPreferencePublisher() ICECandidateType { var File_livekit_internal_proto protoreflect.FileDescriptor -var file_livekit_internal_proto_rawDesc = string([]byte{ +var file_livekit_internal_proto_rawDesc = []byte{ 0x0a, 0x16, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, @@ -1289,23 +1303,23 @@ var file_livekit_internal_proto_rawDesc = string([]byte{ 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_internal_proto_rawDescOnce sync.Once - file_livekit_internal_proto_rawDescData []byte + file_livekit_internal_proto_rawDescData = file_livekit_internal_proto_rawDesc ) func file_livekit_internal_proto_rawDescGZIP() []byte { file_livekit_internal_proto_rawDescOnce.Do(func() { - file_livekit_internal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_internal_proto_rawDesc), len(file_livekit_internal_proto_rawDesc))) + file_livekit_internal_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_internal_proto_rawDescData) }) return file_livekit_internal_proto_rawDescData } var file_livekit_internal_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_livekit_internal_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_livekit_internal_proto_goTypes = []any{ +var file_livekit_internal_proto_goTypes = []interface{}{ (NodeType)(0), // 0: livekit.NodeType (NodeState)(0), // 1: livekit.NodeState (ICECandidateType)(0), // 2: livekit.ICECandidateType @@ -1351,12 +1365,74 @@ func file_livekit_internal_proto_init() { file_livekit_egress_proto_init() file_livekit_agent_dispatch_proto_init() file_livekit_room_proto_init() - file_livekit_internal_proto_msgTypes[2].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_livekit_internal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Node); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_internal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_internal_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartSession); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_internal_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomInternal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_internal_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ICEConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_internal_proto_msgTypes[2].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_internal_proto_rawDesc), len(file_livekit_internal_proto_rawDesc)), + RawDescriptor: file_livekit_internal_proto_rawDesc, NumEnums: 3, NumMessages: 5, NumExtensions: 0, @@ -1368,6 +1444,7 @@ func file_livekit_internal_proto_init() { MessageInfos: file_livekit_internal_proto_msgTypes, }.Build() File_livekit_internal_proto = out.File + file_livekit_internal_proto_rawDesc = nil file_livekit_internal_proto_goTypes = nil file_livekit_internal_proto_depIdxs = nil } diff --git a/livekit/livekit_metrics.pb.go b/livekit/livekit_metrics.pb.go index d138e2405..49dfe7d76 100644 --- a/livekit/livekit_metrics.pb.go +++ b/livekit/livekit_metrics.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_metrics.proto package livekit @@ -12,7 +12,6 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -127,7 +126,10 @@ func (MetricLabel) EnumDescriptor() ([]byte, []int) { } type MetricsBatch struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + TimestampMs int64 `protobuf:"varint,1,opt,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"` // time at which this batch is sent based on a monotonic clock (millisecond resolution) NormalizedTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=normalized_timestamp,json=normalizedTimestamp,proto3" json:"normalized_timestamp,omitempty"` // To avoid repeating string values, we store them in a separate list and reference them by index @@ -136,18 +138,18 @@ type MetricsBatch struct { // They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). // Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, // such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. - StrData []string `protobuf:"bytes,3,rep,name=str_data,json=strData,proto3" json:"str_data,omitempty"` - TimeSeries []*TimeSeriesMetric `protobuf:"bytes,4,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` - Events []*EventMetric `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + StrData []string `protobuf:"bytes,3,rep,name=str_data,json=strData,proto3" json:"str_data,omitempty"` + TimeSeries []*TimeSeriesMetric `protobuf:"bytes,4,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` + Events []*EventMetric `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` } func (x *MetricsBatch) Reset() { *x = MetricsBatch{} - mi := &file_livekit_metrics_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_metrics_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MetricsBatch) String() string { @@ -158,7 +160,7 @@ func (*MetricsBatch) ProtoMessage() {} func (x *MetricsBatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -209,7 +211,10 @@ func (x *MetricsBatch) GetEvents() []*EventMetric { } type TimeSeriesMetric struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index // in the `str_data` field of `MetricsBatch` Label uint32 `protobuf:"varint,1,opt,name=label,proto3" json:"label,omitempty"` @@ -217,15 +222,15 @@ type TimeSeriesMetric struct { TrackSid uint32 `protobuf:"varint,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` // index into `str_data` Samples []*MetricSample `protobuf:"bytes,4,rep,name=samples,proto3" json:"samples,omitempty"` Rid uint32 `protobuf:"varint,5,opt,name=rid,proto3" json:"rid,omitempty"` // index into 'str_data' - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *TimeSeriesMetric) Reset() { *x = TimeSeriesMetric{} - mi := &file_livekit_metrics_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_metrics_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TimeSeriesMetric) String() string { @@ -236,7 +241,7 @@ func (*TimeSeriesMetric) ProtoMessage() {} func (x *TimeSeriesMetric) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -287,19 +292,22 @@ func (x *TimeSeriesMetric) GetRid() uint32 { } type MetricSample struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + TimestampMs int64 `protobuf:"varint,1,opt,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"` // time of metric based on a monotonic clock (in milliseconds) NormalizedTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=normalized_timestamp,json=normalizedTimestamp,proto3" json:"normalized_timestamp,omitempty"` Value float32 `protobuf:"fixed32,3,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *MetricSample) Reset() { *x = MetricSample{} - mi := &file_livekit_metrics_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_metrics_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MetricSample) String() string { @@ -310,7 +318,7 @@ func (*MetricSample) ProtoMessage() {} func (x *MetricSample) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -347,7 +355,10 @@ func (x *MetricSample) GetValue() float32 { } type EventMetric struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Label uint32 `protobuf:"varint,1,opt,name=label,proto3" json:"label,omitempty"` ParticipantIdentity uint32 `protobuf:"varint,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` // index into `str_data` TrackSid uint32 `protobuf:"varint,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` // index into `str_data` @@ -357,15 +368,15 @@ type EventMetric struct { NormalizedEndTimestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=normalized_end_timestamp,json=normalizedEndTimestamp,proto3,oneof" json:"normalized_end_timestamp,omitempty"` Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` Rid uint32 `protobuf:"varint,9,opt,name=rid,proto3" json:"rid,omitempty"` // index into 'str_data' - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *EventMetric) Reset() { *x = EventMetric{} - mi := &file_livekit_metrics_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_metrics_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EventMetric) String() string { @@ -376,7 +387,7 @@ func (*EventMetric) ProtoMessage() {} func (x *EventMetric) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -456,7 +467,7 @@ func (x *EventMetric) GetRid() uint32 { var File_livekit_metrics_proto protoreflect.FileDescriptor -var file_livekit_metrics_proto_rawDesc = string([]byte{ +var file_livekit_metrics_proto_rawDesc = []byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, @@ -591,23 +602,23 @@ var file_livekit_metrics_proto_rawDesc = string([]byte{ 0x6b, 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_metrics_proto_rawDescOnce sync.Once - file_livekit_metrics_proto_rawDescData []byte + file_livekit_metrics_proto_rawDescData = file_livekit_metrics_proto_rawDesc ) func file_livekit_metrics_proto_rawDescGZIP() []byte { file_livekit_metrics_proto_rawDescOnce.Do(func() { - file_livekit_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_metrics_proto_rawDesc), len(file_livekit_metrics_proto_rawDesc))) + file_livekit_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_metrics_proto_rawDescData) }) return file_livekit_metrics_proto_rawDescData } var file_livekit_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_livekit_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_livekit_metrics_proto_goTypes = []any{ +var file_livekit_metrics_proto_goTypes = []interface{}{ (MetricLabel)(0), // 0: livekit.MetricLabel (*MetricsBatch)(nil), // 1: livekit.MetricsBatch (*TimeSeriesMetric)(nil), // 2: livekit.TimeSeriesMetric @@ -635,12 +646,62 @@ func file_livekit_metrics_proto_init() { if File_livekit_metrics_proto != nil { return } - file_livekit_metrics_proto_msgTypes[3].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_livekit_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsBatch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeSeriesMetric); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricSample); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventMetric); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_metrics_proto_msgTypes[3].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_metrics_proto_rawDesc), len(file_livekit_metrics_proto_rawDesc)), + RawDescriptor: file_livekit_metrics_proto_rawDesc, NumEnums: 1, NumMessages: 4, NumExtensions: 0, @@ -652,6 +713,7 @@ func file_livekit_metrics_proto_init() { MessageInfos: file_livekit_metrics_proto_msgTypes, }.Build() File_livekit_metrics_proto = out.File + file_livekit_metrics_proto_rawDesc = nil file_livekit_metrics_proto_goTypes = nil file_livekit_metrics_proto_depIdxs = nil } diff --git a/livekit/livekit_models.pb.go b/livekit/livekit_models.pb.go index 1f225df9e..298c6f144 100644 --- a/livekit/livekit_models.pb.go +++ b/livekit/livekit_models.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_models.proto package livekit @@ -26,7 +26,6 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -1139,18 +1138,21 @@ func (DataStream_OperationType) EnumDescriptor() ([]byte, []int) { } type Pagination struct { - state protoimpl.MessageState `protogen:"open.v1"` - AfterId string `protobuf:"bytes,1,opt,name=after_id,json=afterId,proto3" json:"after_id,omitempty"` // list entities which IDs are greater - Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AfterId string `protobuf:"bytes,1,opt,name=after_id,json=afterId,proto3" json:"after_id,omitempty"` // list entities which IDs are greater + Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` } func (x *Pagination) Reset() { *x = Pagination{} - mi := &file_livekit_models_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Pagination) String() string { @@ -1161,7 +1163,7 @@ func (*Pagination) ProtoMessage() {} func (x *Pagination) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1191,30 +1193,33 @@ func (x *Pagination) GetLimit() int32 { } type Room struct { - state protoimpl.MessageState `protogen:"open.v1"` - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - EmptyTimeout uint32 `protobuf:"varint,3,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` - DepartureTimeout uint32 `protobuf:"varint,14,opt,name=departure_timeout,json=departureTimeout,proto3" json:"departure_timeout,omitempty"` - MaxParticipants uint32 `protobuf:"varint,4,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"` - CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` - CreationTimeMs int64 `protobuf:"varint,15,opt,name=creation_time_ms,json=creationTimeMs,proto3" json:"creation_time_ms,omitempty"` - TurnPassword string `protobuf:"bytes,6,opt,name=turn_password,json=turnPassword,proto3" json:"turn_password,omitempty"` - EnabledCodecs []*Codec `protobuf:"bytes,7,rep,name=enabled_codecs,json=enabledCodecs,proto3" json:"enabled_codecs,omitempty"` - Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` - NumParticipants uint32 `protobuf:"varint,9,opt,name=num_participants,json=numParticipants,proto3" json:"num_participants,omitempty"` - NumPublishers uint32 `protobuf:"varint,11,opt,name=num_publishers,json=numPublishers,proto3" json:"num_publishers,omitempty"` - ActiveRecording bool `protobuf:"varint,10,opt,name=active_recording,json=activeRecording,proto3" json:"active_recording,omitempty"` - Version *TimedVersion `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + EmptyTimeout uint32 `protobuf:"varint,3,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` + DepartureTimeout uint32 `protobuf:"varint,14,opt,name=departure_timeout,json=departureTimeout,proto3" json:"departure_timeout,omitempty"` + MaxParticipants uint32 `protobuf:"varint,4,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"` + CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` + CreationTimeMs int64 `protobuf:"varint,15,opt,name=creation_time_ms,json=creationTimeMs,proto3" json:"creation_time_ms,omitempty"` + TurnPassword string `protobuf:"bytes,6,opt,name=turn_password,json=turnPassword,proto3" json:"turn_password,omitempty"` + EnabledCodecs []*Codec `protobuf:"bytes,7,rep,name=enabled_codecs,json=enabledCodecs,proto3" json:"enabled_codecs,omitempty"` + Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` + NumParticipants uint32 `protobuf:"varint,9,opt,name=num_participants,json=numParticipants,proto3" json:"num_participants,omitempty"` + NumPublishers uint32 `protobuf:"varint,11,opt,name=num_publishers,json=numPublishers,proto3" json:"num_publishers,omitempty"` + ActiveRecording bool `protobuf:"varint,10,opt,name=active_recording,json=activeRecording,proto3" json:"active_recording,omitempty"` + Version *TimedVersion `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"` } func (x *Room) Reset() { *x = Room{} - mi := &file_livekit_models_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Room) String() string { @@ -1225,7 +1230,7 @@ func (*Room) ProtoMessage() {} func (x *Room) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1339,18 +1344,21 @@ func (x *Room) GetVersion() *TimedVersion { } type Codec struct { - state protoimpl.MessageState `protogen:"open.v1"` - Mime string `protobuf:"bytes,1,opt,name=mime,proto3" json:"mime,omitempty"` - FmtpLine string `protobuf:"bytes,2,opt,name=fmtp_line,json=fmtpLine,proto3" json:"fmtp_line,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Mime string `protobuf:"bytes,1,opt,name=mime,proto3" json:"mime,omitempty"` + FmtpLine string `protobuf:"bytes,2,opt,name=fmtp_line,json=fmtpLine,proto3" json:"fmtp_line,omitempty"` } func (x *Codec) Reset() { *x = Codec{} - mi := &file_livekit_models_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Codec) String() string { @@ -1361,7 +1369,7 @@ func (*Codec) ProtoMessage() {} func (x *Codec) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1391,19 +1399,22 @@ func (x *Codec) GetFmtpLine() string { } type PlayoutDelay struct { - state protoimpl.MessageState `protogen:"open.v1"` - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - Min uint32 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` - Max uint32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + Min uint32 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` + Max uint32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` } func (x *PlayoutDelay) Reset() { *x = PlayoutDelay{} - mi := &file_livekit_models_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PlayoutDelay) String() string { @@ -1414,7 +1425,7 @@ func (*PlayoutDelay) ProtoMessage() {} func (x *PlayoutDelay) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1451,7 +1462,10 @@ func (x *PlayoutDelay) GetMax() uint32 { } type ParticipantPermission struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // allow participant to subscribe to other tracks in the room CanSubscribe bool `protobuf:"varint,1,opt,name=can_subscribe,json=canSubscribe,proto3" json:"can_subscribe,omitempty"` // allow participant to publish new tracks to room @@ -1476,15 +1490,15 @@ type ParticipantPermission struct { Agent bool `protobuf:"varint,11,opt,name=agent,proto3" json:"agent,omitempty"` // if a participant can subscribe to metrics CanSubscribeMetrics bool `protobuf:"varint,12,opt,name=can_subscribe_metrics,json=canSubscribeMetrics,proto3" json:"can_subscribe_metrics,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *ParticipantPermission) Reset() { *x = ParticipantPermission{} - mi := &file_livekit_models_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantPermission) String() string { @@ -1495,7 +1509,7 @@ func (*ParticipantPermission) ProtoMessage() {} func (x *ParticipantPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1576,12 +1590,15 @@ func (x *ParticipantPermission) GetCanSubscribeMetrics() bool { } type ParticipantInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - State ParticipantInfo_State `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` - Tracks []*TrackInfo `protobuf:"bytes,4,rep,name=tracks,proto3" json:"tracks,omitempty"` - Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + State ParticipantInfo_State `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` + Tracks []*TrackInfo `protobuf:"bytes,4,rep,name=tracks,proto3" json:"tracks,omitempty"` + Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // timestamp when participant joined room, in seconds JoinedAt int64 `protobuf:"varint,6,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` // timestamp when participant joined room, in milliseconds @@ -1594,17 +1611,17 @@ type ParticipantInfo struct { // and can publish to the server IsPublisher bool `protobuf:"varint,13,opt,name=is_publisher,json=isPublisher,proto3" json:"is_publisher,omitempty"` Kind ParticipantInfo_Kind `protobuf:"varint,14,opt,name=kind,proto3,enum=livekit.ParticipantInfo_Kind" json:"kind,omitempty"` - Attributes map[string]string `protobuf:"bytes,15,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Attributes map[string]string `protobuf:"bytes,15,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` DisconnectReason DisconnectReason `protobuf:"varint,16,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *ParticipantInfo) Reset() { *x = ParticipantInfo{} - mi := &file_livekit_models_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantInfo) String() string { @@ -1615,7 +1632,7 @@ func (*ParticipantInfo) ProtoMessage() {} func (x *ParticipantInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1736,16 +1753,18 @@ func (x *ParticipantInfo) GetDisconnectReason() DisconnectReason { } type Encryption struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *Encryption) Reset() { *x = Encryption{} - mi := &file_livekit_models_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Encryption) String() string { @@ -1756,7 +1775,7 @@ func (*Encryption) ProtoMessage() {} func (x *Encryption) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1772,20 +1791,23 @@ func (*Encryption) Descriptor() ([]byte, []int) { } type SimulcastCodecInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - Mid string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"` - Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` - Layers []*VideoLayer `protobuf:"bytes,4,rep,name=layers,proto3" json:"layers,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + Mid string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"` + Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` + Layers []*VideoLayer `protobuf:"bytes,4,rep,name=layers,proto3" json:"layers,omitempty"` } func (x *SimulcastCodecInfo) Reset() { *x = SimulcastCodecInfo{} - mi := &file_livekit_models_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulcastCodecInfo) String() string { @@ -1796,7 +1818,7 @@ func (*SimulcastCodecInfo) ProtoMessage() {} func (x *SimulcastCodecInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1840,11 +1862,14 @@ func (x *SimulcastCodecInfo) GetLayers() []*VideoLayer { } type TrackInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Type TrackType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.TrackType" json:"type,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Type TrackType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.TrackType" json:"type,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` // original width of video (unset for audio) // clients may receive a lower resolution version with simulcast Width uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"` @@ -1869,15 +1894,15 @@ type TrackInfo struct { Version *TimedVersion `protobuf:"bytes,18,opt,name=version,proto3" json:"version,omitempty"` AudioFeatures []AudioTrackFeature `protobuf:"varint,19,rep,packed,name=audio_features,json=audioFeatures,proto3,enum=livekit.AudioTrackFeature" json:"audio_features,omitempty"` BackupCodecPolicy BackupCodecPolicy `protobuf:"varint,20,opt,name=backup_codec_policy,json=backupCodecPolicy,proto3,enum=livekit.BackupCodecPolicy" json:"backup_codec_policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *TrackInfo) Reset() { *x = TrackInfo{} - mi := &file_livekit_models_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackInfo) String() string { @@ -1888,7 +1913,7 @@ func (*TrackInfo) ProtoMessage() {} func (x *TrackInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2045,23 +2070,26 @@ func (x *TrackInfo) GetBackupCodecPolicy() BackupCodecPolicy { // provide information about available spatial layers type VideoLayer struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // for tracks with a single layer, this should be HIGH Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"` Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // target bitrate in bit per second (bps), server will measure actual - Bitrate uint32 `protobuf:"varint,4,opt,name=bitrate,proto3" json:"bitrate,omitempty"` - Ssrc uint32 `protobuf:"varint,5,opt,name=ssrc,proto3" json:"ssrc,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Bitrate uint32 `protobuf:"varint,4,opt,name=bitrate,proto3" json:"bitrate,omitempty"` + Ssrc uint32 `protobuf:"varint,5,opt,name=ssrc,proto3" json:"ssrc,omitempty"` } func (x *VideoLayer) Reset() { *x = VideoLayer{} - mi := &file_livekit_models_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *VideoLayer) String() string { @@ -2072,7 +2100,7 @@ func (*VideoLayer) ProtoMessage() {} func (x *VideoLayer) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2124,14 +2152,17 @@ func (x *VideoLayer) GetSsrc() uint32 { // new DataPacket API type DataPacket struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Deprecated: Marked as deprecated in livekit_models.proto. Kind DataPacket_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"` // participant identity of user that sent the message ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` // identities of participants who will receive the message (sent to all by default) DestinationIdentities []string `protobuf:"bytes,5,rep,name=destination_identities,json=destinationIdentities,proto3" json:"destination_identities,omitempty"` - // Types that are valid to be assigned to Value: + // Types that are assignable to Value: // // *DataPacket_User // *DataPacket_Speaker @@ -2145,16 +2176,16 @@ type DataPacket struct { // *DataPacket_StreamHeader // *DataPacket_StreamChunk // *DataPacket_StreamTrailer - Value isDataPacket_Value `protobuf_oneof:"value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Value isDataPacket_Value `protobuf_oneof:"value"` } func (x *DataPacket) Reset() { *x = DataPacket{} - mi := &file_livekit_models_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataPacket) String() string { @@ -2165,7 +2196,7 @@ func (*DataPacket) ProtoMessage() {} func (x *DataPacket) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2202,118 +2233,94 @@ func (x *DataPacket) GetDestinationIdentities() []string { return nil } -func (x *DataPacket) GetValue() isDataPacket_Value { - if x != nil { - return x.Value +func (m *DataPacket) GetValue() isDataPacket_Value { + if m != nil { + return m.Value } return nil } func (x *DataPacket) GetUser() *UserPacket { - if x != nil { - if x, ok := x.Value.(*DataPacket_User); ok { - return x.User - } + if x, ok := x.GetValue().(*DataPacket_User); ok { + return x.User } return nil } // Deprecated: Marked as deprecated in livekit_models.proto. func (x *DataPacket) GetSpeaker() *ActiveSpeakerUpdate { - if x != nil { - if x, ok := x.Value.(*DataPacket_Speaker); ok { - return x.Speaker - } + if x, ok := x.GetValue().(*DataPacket_Speaker); ok { + return x.Speaker } return nil } func (x *DataPacket) GetSipDtmf() *SipDTMF { - if x != nil { - if x, ok := x.Value.(*DataPacket_SipDtmf); ok { - return x.SipDtmf - } + if x, ok := x.GetValue().(*DataPacket_SipDtmf); ok { + return x.SipDtmf } return nil } func (x *DataPacket) GetTranscription() *Transcription { - if x != nil { - if x, ok := x.Value.(*DataPacket_Transcription); ok { - return x.Transcription - } + if x, ok := x.GetValue().(*DataPacket_Transcription); ok { + return x.Transcription } return nil } func (x *DataPacket) GetMetrics() *MetricsBatch { - if x != nil { - if x, ok := x.Value.(*DataPacket_Metrics); ok { - return x.Metrics - } + if x, ok := x.GetValue().(*DataPacket_Metrics); ok { + return x.Metrics } return nil } func (x *DataPacket) GetChatMessage() *ChatMessage { - if x != nil { - if x, ok := x.Value.(*DataPacket_ChatMessage); ok { - return x.ChatMessage - } + if x, ok := x.GetValue().(*DataPacket_ChatMessage); ok { + return x.ChatMessage } return nil } func (x *DataPacket) GetRpcRequest() *RpcRequest { - if x != nil { - if x, ok := x.Value.(*DataPacket_RpcRequest); ok { - return x.RpcRequest - } + if x, ok := x.GetValue().(*DataPacket_RpcRequest); ok { + return x.RpcRequest } return nil } func (x *DataPacket) GetRpcAck() *RpcAck { - if x != nil { - if x, ok := x.Value.(*DataPacket_RpcAck); ok { - return x.RpcAck - } + if x, ok := x.GetValue().(*DataPacket_RpcAck); ok { + return x.RpcAck } return nil } func (x *DataPacket) GetRpcResponse() *RpcResponse { - if x != nil { - if x, ok := x.Value.(*DataPacket_RpcResponse); ok { - return x.RpcResponse - } + if x, ok := x.GetValue().(*DataPacket_RpcResponse); ok { + return x.RpcResponse } return nil } func (x *DataPacket) GetStreamHeader() *DataStream_Header { - if x != nil { - if x, ok := x.Value.(*DataPacket_StreamHeader); ok { - return x.StreamHeader - } + if x, ok := x.GetValue().(*DataPacket_StreamHeader); ok { + return x.StreamHeader } return nil } func (x *DataPacket) GetStreamChunk() *DataStream_Chunk { - if x != nil { - if x, ok := x.Value.(*DataPacket_StreamChunk); ok { - return x.StreamChunk - } + if x, ok := x.GetValue().(*DataPacket_StreamChunk); ok { + return x.StreamChunk } return nil } func (x *DataPacket) GetStreamTrailer() *DataStream_Trailer { - if x != nil { - if x, ok := x.Value.(*DataPacket_StreamTrailer); ok { - return x.StreamTrailer - } + if x, ok := x.GetValue().(*DataPacket_StreamTrailer); ok { + return x.StreamTrailer } return nil } @@ -2396,17 +2403,20 @@ func (*DataPacket_StreamChunk) isDataPacket_Value() {} func (*DataPacket_StreamTrailer) isDataPacket_Value() {} type ActiveSpeakerUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` } func (x *ActiveSpeakerUpdate) Reset() { *x = ActiveSpeakerUpdate{} - mi := &file_livekit_models_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ActiveSpeakerUpdate) String() string { @@ -2417,7 +2427,7 @@ func (*ActiveSpeakerUpdate) ProtoMessage() {} func (x *ActiveSpeakerUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2440,21 +2450,24 @@ func (x *ActiveSpeakerUpdate) GetSpeakers() []*SpeakerInfo { } type SpeakerInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` // audio level, 0-1.0, 1 is loudest Level float32 `protobuf:"fixed32,2,opt,name=level,proto3" json:"level,omitempty"` // true if speaker is currently active - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` } func (x *SpeakerInfo) Reset() { *x = SpeakerInfo{} - mi := &file_livekit_models_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SpeakerInfo) String() string { @@ -2465,7 +2478,7 @@ func (*SpeakerInfo) ProtoMessage() {} func (x *SpeakerInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2502,7 +2515,10 @@ func (x *SpeakerInfo) GetActive() bool { } type UserPacket struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // participant ID of user that sent the message // // Deprecated: Marked as deprecated in livekit_models.proto. @@ -2527,16 +2543,16 @@ type UserPacket struct { StartTime *uint64 `protobuf:"varint,9,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"` EndTime *uint64 `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"` // added by SDK to enable de-duping of messages, for INTERNAL USE ONLY - Nonce []byte `protobuf:"bytes,11,opt,name=nonce,proto3" json:"nonce,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Nonce []byte `protobuf:"bytes,11,opt,name=nonce,proto3" json:"nonce,omitempty"` } func (x *UserPacket) Reset() { *x = UserPacket{} - mi := &file_livekit_models_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UserPacket) String() string { @@ -2547,7 +2563,7 @@ func (*UserPacket) ProtoMessage() {} func (x *UserPacket) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2637,18 +2653,21 @@ func (x *UserPacket) GetNonce() []byte { } type SipDTMF struct { - state protoimpl.MessageState `protogen:"open.v1"` - Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` - Digit string `protobuf:"bytes,4,opt,name=digit,proto3" json:"digit,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` + Digit string `protobuf:"bytes,4,opt,name=digit,proto3" json:"digit,omitempty"` } func (x *SipDTMF) Reset() { *x = SipDTMF{} - mi := &file_livekit_models_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SipDTMF) String() string { @@ -2659,7 +2678,7 @@ func (*SipDTMF) ProtoMessage() {} func (x *SipDTMF) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2689,20 +2708,23 @@ func (x *SipDTMF) GetDigit() string { } type Transcription struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Participant that got its speech transcribed TranscribedParticipantIdentity string `protobuf:"bytes,2,opt,name=transcribed_participant_identity,json=transcribedParticipantIdentity,proto3" json:"transcribed_participant_identity,omitempty"` TrackId string `protobuf:"bytes,3,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` Segments []*TranscriptionSegment `protobuf:"bytes,4,rep,name=segments,proto3" json:"segments,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *Transcription) Reset() { *x = Transcription{} - mi := &file_livekit_models_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Transcription) String() string { @@ -2713,7 +2735,7 @@ func (*Transcription) ProtoMessage() {} func (x *Transcription) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2750,22 +2772,25 @@ func (x *Transcription) GetSegments() []*TranscriptionSegment { } type TranscriptionSegment struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` - StartTime uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime uint64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - Final bool `protobuf:"varint,5,opt,name=final,proto3" json:"final,omitempty"` - Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` + StartTime uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime uint64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + Final bool `protobuf:"varint,5,opt,name=final,proto3" json:"final,omitempty"` + Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"` } func (x *TranscriptionSegment) Reset() { *x = TranscriptionSegment{} - mi := &file_livekit_models_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TranscriptionSegment) String() string { @@ -2776,7 +2801,7 @@ func (*TranscriptionSegment) ProtoMessage() {} func (x *TranscriptionSegment) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2834,22 +2859,25 @@ func (x *TranscriptionSegment) GetLanguage() string { } type ChatMessage struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // uuid - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - EditTimestamp *int64 `protobuf:"varint,3,opt,name=edit_timestamp,json=editTimestamp,proto3,oneof" json:"edit_timestamp,omitempty"` // populated only if the intent is to edit/update an existing message - Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` - Deleted bool `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"` // true to remove message - Generated bool `protobuf:"varint,6,opt,name=generated,proto3" json:"generated,omitempty"` // true if the chat message has been generated by an agent from a participant's audio transcription - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // uuid + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + EditTimestamp *int64 `protobuf:"varint,3,opt,name=edit_timestamp,json=editTimestamp,proto3,oneof" json:"edit_timestamp,omitempty"` // populated only if the intent is to edit/update an existing message + Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` + Deleted bool `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"` // true to remove message + Generated bool `protobuf:"varint,6,opt,name=generated,proto3" json:"generated,omitempty"` // true if the chat message has been generated by an agent from a participant's audio transcription } func (x *ChatMessage) Reset() { *x = ChatMessage{} - mi := &file_livekit_models_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ChatMessage) String() string { @@ -2860,7 +2888,7 @@ func (*ChatMessage) ProtoMessage() {} func (x *ChatMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2918,21 +2946,24 @@ func (x *ChatMessage) GetGenerated() bool { } type RpcRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` - Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - ResponseTimeoutMs uint32 `protobuf:"varint,4,opt,name=response_timeout_ms,json=responseTimeoutMs,proto3" json:"response_timeout_ms,omitempty"` - Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` + Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` + ResponseTimeoutMs uint32 `protobuf:"varint,4,opt,name=response_timeout_ms,json=responseTimeoutMs,proto3" json:"response_timeout_ms,omitempty"` + Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` } func (x *RpcRequest) Reset() { *x = RpcRequest{} - mi := &file_livekit_models_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RpcRequest) String() string { @@ -2943,7 +2974,7 @@ func (*RpcRequest) ProtoMessage() {} func (x *RpcRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2994,17 +3025,20 @@ func (x *RpcRequest) GetVersion() uint32 { } type RpcAck struct { - state protoimpl.MessageState `protogen:"open.v1"` - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } func (x *RpcAck) Reset() { *x = RpcAck{} - mi := &file_livekit_models_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RpcAck) String() string { @@ -3015,7 +3049,7 @@ func (*RpcAck) ProtoMessage() {} func (x *RpcAck) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3038,22 +3072,25 @@ func (x *RpcAck) GetRequestId() string { } type RpcResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Types that are valid to be assigned to Value: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // Types that are assignable to Value: // // *RpcResponse_Payload // *RpcResponse_Error - Value isRpcResponse_Value `protobuf_oneof:"value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Value isRpcResponse_Value `protobuf_oneof:"value"` } func (x *RpcResponse) Reset() { *x = RpcResponse{} - mi := &file_livekit_models_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RpcResponse) String() string { @@ -3064,7 +3101,7 @@ func (*RpcResponse) ProtoMessage() {} func (x *RpcResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3086,27 +3123,23 @@ func (x *RpcResponse) GetRequestId() string { return "" } -func (x *RpcResponse) GetValue() isRpcResponse_Value { - if x != nil { - return x.Value +func (m *RpcResponse) GetValue() isRpcResponse_Value { + if m != nil { + return m.Value } return nil } func (x *RpcResponse) GetPayload() string { - if x != nil { - if x, ok := x.Value.(*RpcResponse_Payload); ok { - return x.Payload - } + if x, ok := x.GetValue().(*RpcResponse_Payload); ok { + return x.Payload } return "" } func (x *RpcResponse) GetError() *RpcError { - if x != nil { - if x, ok := x.Value.(*RpcResponse_Error); ok { - return x.Error - } + if x, ok := x.GetValue().(*RpcResponse_Error); ok { + return x.Error } return nil } @@ -3128,19 +3161,22 @@ func (*RpcResponse_Payload) isRpcResponse_Value() {} func (*RpcResponse_Error) isRpcResponse_Value() {} type RpcError struct { - state protoimpl.MessageState `protogen:"open.v1"` - Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` } func (x *RpcError) Reset() { *x = RpcError{} - mi := &file_livekit_models_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RpcError) String() string { @@ -3151,7 +3187,7 @@ func (*RpcError) ProtoMessage() {} func (x *RpcError) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3188,19 +3224,22 @@ func (x *RpcError) GetData() string { } type ParticipantTracks struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // participant ID of participant to whom the tracks belong ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` TrackSids []string `protobuf:"bytes,2,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *ParticipantTracks) Reset() { *x = ParticipantTracks{} - mi := &file_livekit_models_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantTracks) String() string { @@ -3211,7 +3250,7 @@ func (*ParticipantTracks) ProtoMessage() {} func (x *ParticipantTracks) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3242,24 +3281,27 @@ func (x *ParticipantTracks) GetTrackSids() []string { // details about the server type ServerInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Edition ServerInfo_Edition `protobuf:"varint,1,opt,name=edition,proto3,enum=livekit.ServerInfo_Edition" json:"edition,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` - NodeId string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Edition ServerInfo_Edition `protobuf:"varint,1,opt,name=edition,proto3,enum=livekit.ServerInfo_Edition" json:"edition,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` + Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` + NodeId string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // additional debugging information. sent only if server is in development mode DebugInfo string `protobuf:"bytes,6,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"` AgentProtocol int32 `protobuf:"varint,7,opt,name=agent_protocol,json=agentProtocol,proto3" json:"agent_protocol,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *ServerInfo) Reset() { *x = ServerInfo{} - mi := &file_livekit_models_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ServerInfo) String() string { @@ -3270,7 +3312,7 @@ func (*ServerInfo) ProtoMessage() {} func (x *ServerInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3336,30 +3378,33 @@ func (x *ServerInfo) GetAgentProtocol() int32 { // details about the client type ClientInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Sdk ClientInfo_SDK `protobuf:"varint,1,opt,name=sdk,proto3,enum=livekit.ClientInfo_SDK" json:"sdk,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"` - OsVersion string `protobuf:"bytes,5,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` - DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"` - Browser string `protobuf:"bytes,7,opt,name=browser,proto3" json:"browser,omitempty"` - BrowserVersion string `protobuf:"bytes,8,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"` - Address string `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sdk ClientInfo_SDK `protobuf:"varint,1,opt,name=sdk,proto3,enum=livekit.ClientInfo_SDK" json:"sdk,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` + Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"` + OsVersion string `protobuf:"bytes,5,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` + DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"` + Browser string `protobuf:"bytes,7,opt,name=browser,proto3" json:"browser,omitempty"` + BrowserVersion string `protobuf:"bytes,8,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"` + Address string `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"` // wifi, wired, cellular, vpn, empty if not known Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"` // comma separated list of additional LiveKit SDKs in use of this client, with versions // e.g. "components-js:1.2.3,track-processors-js:1.2.3" - OtherSdks string `protobuf:"bytes,11,opt,name=other_sdks,json=otherSdks,proto3" json:"other_sdks,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + OtherSdks string `protobuf:"bytes,11,opt,name=other_sdks,json=otherSdks,proto3" json:"other_sdks,omitempty"` } func (x *ClientInfo) Reset() { *x = ClientInfo{} - mi := &file_livekit_models_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ClientInfo) String() string { @@ -3370,7 +3415,7 @@ func (*ClientInfo) ProtoMessage() {} func (x *ClientInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3464,21 +3509,24 @@ func (x *ClientInfo) GetOtherSdks() string { // server provided client configuration type ClientConfiguration struct { - state protoimpl.MessageState `protogen:"open.v1"` - Video *VideoConfiguration `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"` - Screen *VideoConfiguration `protobuf:"bytes,2,opt,name=screen,proto3" json:"screen,omitempty"` - ResumeConnection ClientConfigSetting `protobuf:"varint,3,opt,name=resume_connection,json=resumeConnection,proto3,enum=livekit.ClientConfigSetting" json:"resume_connection,omitempty"` - DisabledCodecs *DisabledCodecs `protobuf:"bytes,4,opt,name=disabled_codecs,json=disabledCodecs,proto3" json:"disabled_codecs,omitempty"` - ForceRelay ClientConfigSetting `protobuf:"varint,5,opt,name=force_relay,json=forceRelay,proto3,enum=livekit.ClientConfigSetting" json:"force_relay,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Video *VideoConfiguration `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"` + Screen *VideoConfiguration `protobuf:"bytes,2,opt,name=screen,proto3" json:"screen,omitempty"` + ResumeConnection ClientConfigSetting `protobuf:"varint,3,opt,name=resume_connection,json=resumeConnection,proto3,enum=livekit.ClientConfigSetting" json:"resume_connection,omitempty"` + DisabledCodecs *DisabledCodecs `protobuf:"bytes,4,opt,name=disabled_codecs,json=disabledCodecs,proto3" json:"disabled_codecs,omitempty"` + ForceRelay ClientConfigSetting `protobuf:"varint,5,opt,name=force_relay,json=forceRelay,proto3,enum=livekit.ClientConfigSetting" json:"force_relay,omitempty"` } func (x *ClientConfiguration) Reset() { *x = ClientConfiguration{} - mi := &file_livekit_models_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ClientConfiguration) String() string { @@ -3489,7 +3537,7 @@ func (*ClientConfiguration) ProtoMessage() {} func (x *ClientConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3540,17 +3588,20 @@ func (x *ClientConfiguration) GetForceRelay() ClientConfigSetting { } type VideoConfiguration struct { - state protoimpl.MessageState `protogen:"open.v1"` - HardwareEncoder ClientConfigSetting `protobuf:"varint,1,opt,name=hardware_encoder,json=hardwareEncoder,proto3,enum=livekit.ClientConfigSetting" json:"hardware_encoder,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HardwareEncoder ClientConfigSetting `protobuf:"varint,1,opt,name=hardware_encoder,json=hardwareEncoder,proto3,enum=livekit.ClientConfigSetting" json:"hardware_encoder,omitempty"` } func (x *VideoConfiguration) Reset() { *x = VideoConfiguration{} - mi := &file_livekit_models_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *VideoConfiguration) String() string { @@ -3561,7 +3612,7 @@ func (*VideoConfiguration) ProtoMessage() {} func (x *VideoConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3584,20 +3635,23 @@ func (x *VideoConfiguration) GetHardwareEncoder() ClientConfigSetting { } type DisabledCodecs struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // disabled for both publish and subscribe Codecs []*Codec `protobuf:"bytes,1,rep,name=codecs,proto3" json:"codecs,omitempty"` // only disable for publish - Publish []*Codec `protobuf:"bytes,2,rep,name=publish,proto3" json:"publish,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Publish []*Codec `protobuf:"bytes,2,rep,name=publish,proto3" json:"publish,omitempty"` } func (x *DisabledCodecs) Reset() { *x = DisabledCodecs{} - mi := &file_livekit_models_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DisabledCodecs) String() string { @@ -3608,7 +3662,7 @@ func (*DisabledCodecs) ProtoMessage() {} func (x *DisabledCodecs) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3638,7 +3692,10 @@ func (x *DisabledCodecs) GetPublish() []*Codec { } type RTPDrift struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Duration float64 `protobuf:"fixed64,3,opt,name=duration,proto3" json:"duration,omitempty"` @@ -3648,15 +3705,15 @@ type RTPDrift struct { DriftSamples int64 `protobuf:"varint,7,opt,name=drift_samples,json=driftSamples,proto3" json:"drift_samples,omitempty"` DriftMs float64 `protobuf:"fixed64,8,opt,name=drift_ms,json=driftMs,proto3" json:"drift_ms,omitempty"` ClockRate float64 `protobuf:"fixed64,9,opt,name=clock_rate,json=clockRate,proto3" json:"clock_rate,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *RTPDrift) Reset() { *x = RTPDrift{} - mi := &file_livekit_models_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTPDrift) String() string { @@ -3667,7 +3724,7 @@ func (*RTPDrift) ProtoMessage() {} func (x *RTPDrift) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3746,7 +3803,10 @@ func (x *RTPDrift) GetClockRate() float64 { } type RTPStats struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Duration float64 `protobuf:"fixed64,3,opt,name=duration,proto3" json:"duration,omitempty"` @@ -3773,7 +3833,7 @@ type RTPStats struct { FrameRate float64 `protobuf:"fixed64,21,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"` JitterCurrent float64 `protobuf:"fixed64,22,opt,name=jitter_current,json=jitterCurrent,proto3" json:"jitter_current,omitempty"` JitterMax float64 `protobuf:"fixed64,23,opt,name=jitter_max,json=jitterMax,proto3" json:"jitter_max,omitempty"` - GapHistogram map[int32]uint32 `protobuf:"bytes,24,rep,name=gap_histogram,json=gapHistogram,proto3" json:"gap_histogram,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + GapHistogram map[int32]uint32 `protobuf:"bytes,24,rep,name=gap_histogram,json=gapHistogram,proto3" json:"gap_histogram,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` Nacks uint32 `protobuf:"varint,25,opt,name=nacks,proto3" json:"nacks,omitempty"` NackAcks uint32 `protobuf:"varint,37,opt,name=nack_acks,json=nackAcks,proto3" json:"nack_acks,omitempty"` NackMisses uint32 `protobuf:"varint,26,opt,name=nack_misses,json=nackMisses,proto3" json:"nack_misses,omitempty"` @@ -3792,15 +3852,15 @@ type RTPStats struct { NtpReportDrift *RTPDrift `protobuf:"bytes,45,opt,name=ntp_report_drift,json=ntpReportDrift,proto3" json:"ntp_report_drift,omitempty"` RebasedReportDrift *RTPDrift `protobuf:"bytes,46,opt,name=rebased_report_drift,json=rebasedReportDrift,proto3" json:"rebased_report_drift,omitempty"` ReceivedReportDrift *RTPDrift `protobuf:"bytes,47,opt,name=received_report_drift,json=receivedReportDrift,proto3" json:"received_report_drift,omitempty"` // NEXT_ID: 48 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *RTPStats) Reset() { *x = RTPStats{} - mi := &file_livekit_models_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTPStats) String() string { @@ -3811,7 +3871,7 @@ func (*RTPStats) ProtoMessage() {} func (x *RTPStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[29] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4142,23 +4202,26 @@ func (x *RTPStats) GetReceivedReportDrift() *RTPDrift { } type RTCPSenderReportState struct { - state protoimpl.MessageState `protogen:"open.v1"` - RtpTimestamp uint32 `protobuf:"varint,1,opt,name=rtp_timestamp,json=rtpTimestamp,proto3" json:"rtp_timestamp,omitempty"` - RtpTimestampExt uint64 `protobuf:"varint,2,opt,name=rtp_timestamp_ext,json=rtpTimestampExt,proto3" json:"rtp_timestamp_ext,omitempty"` - NtpTimestamp uint64 `protobuf:"varint,3,opt,name=ntp_timestamp,json=ntpTimestamp,proto3" json:"ntp_timestamp,omitempty"` - At int64 `protobuf:"varint,4,opt,name=at,proto3" json:"at,omitempty"` // time at which this happened - AtAdjusted int64 `protobuf:"varint,5,opt,name=at_adjusted,json=atAdjusted,proto3" json:"at_adjusted,omitempty"` - Packets uint32 `protobuf:"varint,6,opt,name=packets,proto3" json:"packets,omitempty"` - Octets uint64 `protobuf:"varint,7,opt,name=octets,proto3" json:"octets,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RtpTimestamp uint32 `protobuf:"varint,1,opt,name=rtp_timestamp,json=rtpTimestamp,proto3" json:"rtp_timestamp,omitempty"` + RtpTimestampExt uint64 `protobuf:"varint,2,opt,name=rtp_timestamp_ext,json=rtpTimestampExt,proto3" json:"rtp_timestamp_ext,omitempty"` + NtpTimestamp uint64 `protobuf:"varint,3,opt,name=ntp_timestamp,json=ntpTimestamp,proto3" json:"ntp_timestamp,omitempty"` + At int64 `protobuf:"varint,4,opt,name=at,proto3" json:"at,omitempty"` // time at which this happened + AtAdjusted int64 `protobuf:"varint,5,opt,name=at_adjusted,json=atAdjusted,proto3" json:"at_adjusted,omitempty"` + Packets uint32 `protobuf:"varint,6,opt,name=packets,proto3" json:"packets,omitempty"` + Octets uint64 `protobuf:"varint,7,opt,name=octets,proto3" json:"octets,omitempty"` } func (x *RTCPSenderReportState) Reset() { *x = RTCPSenderReportState{} - mi := &file_livekit_models_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTCPSenderReportState) String() string { @@ -4169,7 +4232,7 @@ func (*RTCPSenderReportState) ProtoMessage() {} func (x *RTCPSenderReportState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[30] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4234,27 +4297,30 @@ func (x *RTCPSenderReportState) GetOctets() uint64 { } type RTPForwarderState struct { - state protoimpl.MessageState `protogen:"open.v1"` - Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"` - ReferenceLayerSpatial int32 `protobuf:"varint,2,opt,name=reference_layer_spatial,json=referenceLayerSpatial,proto3" json:"reference_layer_spatial,omitempty"` - PreStartTime int64 `protobuf:"varint,3,opt,name=pre_start_time,json=preStartTime,proto3" json:"pre_start_time,omitempty"` - ExtFirstTimestamp uint64 `protobuf:"varint,4,opt,name=ext_first_timestamp,json=extFirstTimestamp,proto3" json:"ext_first_timestamp,omitempty"` - DummyStartTimestampOffset uint64 `protobuf:"varint,5,opt,name=dummy_start_timestamp_offset,json=dummyStartTimestampOffset,proto3" json:"dummy_start_timestamp_offset,omitempty"` - RtpMunger *RTPMungerState `protobuf:"bytes,6,opt,name=rtp_munger,json=rtpMunger,proto3" json:"rtp_munger,omitempty"` - // Types that are valid to be assigned to CodecMunger: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"` + ReferenceLayerSpatial int32 `protobuf:"varint,2,opt,name=reference_layer_spatial,json=referenceLayerSpatial,proto3" json:"reference_layer_spatial,omitempty"` + PreStartTime int64 `protobuf:"varint,3,opt,name=pre_start_time,json=preStartTime,proto3" json:"pre_start_time,omitempty"` + ExtFirstTimestamp uint64 `protobuf:"varint,4,opt,name=ext_first_timestamp,json=extFirstTimestamp,proto3" json:"ext_first_timestamp,omitempty"` + DummyStartTimestampOffset uint64 `protobuf:"varint,5,opt,name=dummy_start_timestamp_offset,json=dummyStartTimestampOffset,proto3" json:"dummy_start_timestamp_offset,omitempty"` + RtpMunger *RTPMungerState `protobuf:"bytes,6,opt,name=rtp_munger,json=rtpMunger,proto3" json:"rtp_munger,omitempty"` + // Types that are assignable to CodecMunger: // // *RTPForwarderState_Vp8Munger CodecMunger isRTPForwarderState_CodecMunger `protobuf_oneof:"codec_munger"` SenderReportState []*RTCPSenderReportState `protobuf:"bytes,8,rep,name=sender_report_state,json=senderReportState,proto3" json:"sender_report_state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *RTPForwarderState) Reset() { *x = RTPForwarderState{} - mi := &file_livekit_models_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTPForwarderState) String() string { @@ -4265,7 +4331,7 @@ func (*RTPForwarderState) ProtoMessage() {} func (x *RTPForwarderState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[31] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4322,18 +4388,16 @@ func (x *RTPForwarderState) GetRtpMunger() *RTPMungerState { return nil } -func (x *RTPForwarderState) GetCodecMunger() isRTPForwarderState_CodecMunger { - if x != nil { - return x.CodecMunger +func (m *RTPForwarderState) GetCodecMunger() isRTPForwarderState_CodecMunger { + if m != nil { + return m.CodecMunger } return nil } func (x *RTPForwarderState) GetVp8Munger() *VP8MungerState { - if x != nil { - if x, ok := x.CodecMunger.(*RTPForwarderState_Vp8Munger); ok { - return x.Vp8Munger - } + if x, ok := x.GetCodecMunger().(*RTPForwarderState_Vp8Munger); ok { + return x.Vp8Munger } return nil } @@ -4356,22 +4420,25 @@ type RTPForwarderState_Vp8Munger struct { func (*RTPForwarderState_Vp8Munger) isRTPForwarderState_CodecMunger() {} type RTPMungerState struct { - state protoimpl.MessageState `protogen:"open.v1"` - ExtLastSequenceNumber uint64 `protobuf:"varint,1,opt,name=ext_last_sequence_number,json=extLastSequenceNumber,proto3" json:"ext_last_sequence_number,omitempty"` - ExtSecondLastSequenceNumber uint64 `protobuf:"varint,2,opt,name=ext_second_last_sequence_number,json=extSecondLastSequenceNumber,proto3" json:"ext_second_last_sequence_number,omitempty"` - ExtLastTimestamp uint64 `protobuf:"varint,3,opt,name=ext_last_timestamp,json=extLastTimestamp,proto3" json:"ext_last_timestamp,omitempty"` - ExtSecondLastTimestamp uint64 `protobuf:"varint,4,opt,name=ext_second_last_timestamp,json=extSecondLastTimestamp,proto3" json:"ext_second_last_timestamp,omitempty"` - LastMarker bool `protobuf:"varint,5,opt,name=last_marker,json=lastMarker,proto3" json:"last_marker,omitempty"` - SecondLastMarker bool `protobuf:"varint,6,opt,name=second_last_marker,json=secondLastMarker,proto3" json:"second_last_marker,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExtLastSequenceNumber uint64 `protobuf:"varint,1,opt,name=ext_last_sequence_number,json=extLastSequenceNumber,proto3" json:"ext_last_sequence_number,omitempty"` + ExtSecondLastSequenceNumber uint64 `protobuf:"varint,2,opt,name=ext_second_last_sequence_number,json=extSecondLastSequenceNumber,proto3" json:"ext_second_last_sequence_number,omitempty"` + ExtLastTimestamp uint64 `protobuf:"varint,3,opt,name=ext_last_timestamp,json=extLastTimestamp,proto3" json:"ext_last_timestamp,omitempty"` + ExtSecondLastTimestamp uint64 `protobuf:"varint,4,opt,name=ext_second_last_timestamp,json=extSecondLastTimestamp,proto3" json:"ext_second_last_timestamp,omitempty"` + LastMarker bool `protobuf:"varint,5,opt,name=last_marker,json=lastMarker,proto3" json:"last_marker,omitempty"` + SecondLastMarker bool `protobuf:"varint,6,opt,name=second_last_marker,json=secondLastMarker,proto3" json:"second_last_marker,omitempty"` } func (x *RTPMungerState) Reset() { *x = RTPMungerState{} - mi := &file_livekit_models_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTPMungerState) String() string { @@ -4382,7 +4449,7 @@ func (*RTPMungerState) ProtoMessage() {} func (x *RTPMungerState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[32] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4440,23 +4507,26 @@ func (x *RTPMungerState) GetSecondLastMarker() bool { } type VP8MungerState struct { - state protoimpl.MessageState `protogen:"open.v1"` - ExtLastPictureId int32 `protobuf:"varint,1,opt,name=ext_last_picture_id,json=extLastPictureId,proto3" json:"ext_last_picture_id,omitempty"` - PictureIdUsed bool `protobuf:"varint,2,opt,name=picture_id_used,json=pictureIdUsed,proto3" json:"picture_id_used,omitempty"` - LastTl0PicIdx uint32 `protobuf:"varint,3,opt,name=last_tl0_pic_idx,json=lastTl0PicIdx,proto3" json:"last_tl0_pic_idx,omitempty"` - Tl0PicIdxUsed bool `protobuf:"varint,4,opt,name=tl0_pic_idx_used,json=tl0PicIdxUsed,proto3" json:"tl0_pic_idx_used,omitempty"` - TidUsed bool `protobuf:"varint,5,opt,name=tid_used,json=tidUsed,proto3" json:"tid_used,omitempty"` - LastKeyIdx uint32 `protobuf:"varint,6,opt,name=last_key_idx,json=lastKeyIdx,proto3" json:"last_key_idx,omitempty"` - KeyIdxUsed bool `protobuf:"varint,7,opt,name=key_idx_used,json=keyIdxUsed,proto3" json:"key_idx_used,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExtLastPictureId int32 `protobuf:"varint,1,opt,name=ext_last_picture_id,json=extLastPictureId,proto3" json:"ext_last_picture_id,omitempty"` + PictureIdUsed bool `protobuf:"varint,2,opt,name=picture_id_used,json=pictureIdUsed,proto3" json:"picture_id_used,omitempty"` + LastTl0PicIdx uint32 `protobuf:"varint,3,opt,name=last_tl0_pic_idx,json=lastTl0PicIdx,proto3" json:"last_tl0_pic_idx,omitempty"` + Tl0PicIdxUsed bool `protobuf:"varint,4,opt,name=tl0_pic_idx_used,json=tl0PicIdxUsed,proto3" json:"tl0_pic_idx_used,omitempty"` + TidUsed bool `protobuf:"varint,5,opt,name=tid_used,json=tidUsed,proto3" json:"tid_used,omitempty"` + LastKeyIdx uint32 `protobuf:"varint,6,opt,name=last_key_idx,json=lastKeyIdx,proto3" json:"last_key_idx,omitempty"` + KeyIdxUsed bool `protobuf:"varint,7,opt,name=key_idx_used,json=keyIdxUsed,proto3" json:"key_idx_used,omitempty"` } func (x *VP8MungerState) Reset() { *x = VP8MungerState{} - mi := &file_livekit_models_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *VP8MungerState) String() string { @@ -4467,7 +4537,7 @@ func (*VP8MungerState) ProtoMessage() {} func (x *VP8MungerState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[33] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4532,18 +4602,21 @@ func (x *VP8MungerState) GetKeyIdxUsed() bool { } type TimedVersion struct { - state protoimpl.MessageState `protogen:"open.v1"` - UnixMicro int64 `protobuf:"varint,1,opt,name=unix_micro,json=unixMicro,proto3" json:"unix_micro,omitempty"` - Ticks int32 `protobuf:"varint,2,opt,name=ticks,proto3" json:"ticks,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UnixMicro int64 `protobuf:"varint,1,opt,name=unix_micro,json=unixMicro,proto3" json:"unix_micro,omitempty"` + Ticks int32 `protobuf:"varint,2,opt,name=ticks,proto3" json:"ticks,omitempty"` } func (x *TimedVersion) Reset() { *x = TimedVersion{} - mi := &file_livekit_models_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TimedVersion) String() string { @@ -4554,7 +4627,7 @@ func (*TimedVersion) ProtoMessage() {} func (x *TimedVersion) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[34] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4584,16 +4657,18 @@ func (x *TimedVersion) GetTicks() int32 { } type DataStream struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *DataStream) Reset() { *x = DataStream{} - mi := &file_livekit_models_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataStream) String() string { @@ -4604,7 +4679,7 @@ func (*DataStream) ProtoMessage() {} func (x *DataStream) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[35] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4621,21 +4696,24 @@ func (*DataStream) Descriptor() ([]byte, []int) { // header properties specific to text streams type DataStream_TextHeader struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + OperationType DataStream_OperationType `protobuf:"varint,1,opt,name=operation_type,json=operationType,proto3,enum=livekit.DataStream_OperationType" json:"operation_type,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // Optional: Version for updates/edits ReplyToStreamId string `protobuf:"bytes,3,opt,name=reply_to_stream_id,json=replyToStreamId,proto3" json:"reply_to_stream_id,omitempty"` // Optional: Reply to specific message AttachedStreamIds []string `protobuf:"bytes,4,rep,name=attached_stream_ids,json=attachedStreamIds,proto3" json:"attached_stream_ids,omitempty"` // file attachments for text streams Generated bool `protobuf:"varint,5,opt,name=generated,proto3" json:"generated,omitempty"` // true if the text has been generated by an agent from a participant's audio transcription - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *DataStream_TextHeader) Reset() { *x = DataStream_TextHeader{} - mi := &file_livekit_models_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataStream_TextHeader) String() string { @@ -4646,7 +4724,7 @@ func (*DataStream_TextHeader) ProtoMessage() {} func (x *DataStream_TextHeader) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[38] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4698,17 +4776,20 @@ func (x *DataStream_TextHeader) GetGenerated() bool { // header properties specific to byte or file streams type DataStream_ByteHeader struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *DataStream_ByteHeader) Reset() { *x = DataStream_ByteHeader{} - mi := &file_livekit_models_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataStream_ByteHeader) String() string { @@ -4719,7 +4800,7 @@ func (*DataStream_ByteHeader) ProtoMessage() {} func (x *DataStream_ByteHeader) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[39] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4743,30 +4824,33 @@ func (x *DataStream_ByteHeader) GetName() string { // main DataStream.Header that contains a oneof for specific headers type DataStream_Header struct { - state protoimpl.MessageState `protogen:"open.v1"` - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // using int64 for Unix timestamp - Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` - MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - TotalLength *uint64 `protobuf:"varint,5,opt,name=total_length,json=totalLength,proto3,oneof" json:"total_length,omitempty"` // only populated for finite streams, if it's a stream of unknown size this stays empty - EncryptionType Encryption_Type `protobuf:"varint,7,opt,name=encryption_type,json=encryptionType,proto3,enum=livekit.Encryption_Type" json:"encryption_type,omitempty"` // defaults to NONE - Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // user defined attributes map that can carry additional info + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // using int64 for Unix timestamp + Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` + MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + TotalLength *uint64 `protobuf:"varint,5,opt,name=total_length,json=totalLength,proto3,oneof" json:"total_length,omitempty"` // only populated for finite streams, if it's a stream of unknown size this stays empty + EncryptionType Encryption_Type `protobuf:"varint,7,opt,name=encryption_type,json=encryptionType,proto3,enum=livekit.Encryption_Type" json:"encryption_type,omitempty"` // defaults to NONE + Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // user defined attributes map that can carry additional info // oneof to choose between specific header types // - // Types that are valid to be assigned to ContentHeader: + // Types that are assignable to ContentHeader: // // *DataStream_Header_TextHeader // *DataStream_Header_ByteHeader ContentHeader isDataStream_Header_ContentHeader `protobuf_oneof:"content_header"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *DataStream_Header) Reset() { *x = DataStream_Header{} - mi := &file_livekit_models_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataStream_Header) String() string { @@ -4777,7 +4861,7 @@ func (*DataStream_Header) ProtoMessage() {} func (x *DataStream_Header) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[40] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4841,27 +4925,23 @@ func (x *DataStream_Header) GetAttributes() map[string]string { return nil } -func (x *DataStream_Header) GetContentHeader() isDataStream_Header_ContentHeader { - if x != nil { - return x.ContentHeader +func (m *DataStream_Header) GetContentHeader() isDataStream_Header_ContentHeader { + if m != nil { + return m.ContentHeader } return nil } func (x *DataStream_Header) GetTextHeader() *DataStream_TextHeader { - if x != nil { - if x, ok := x.ContentHeader.(*DataStream_Header_TextHeader); ok { - return x.TextHeader - } + if x, ok := x.GetContentHeader().(*DataStream_Header_TextHeader); ok { + return x.TextHeader } return nil } func (x *DataStream_Header) GetByteHeader() *DataStream_ByteHeader { - if x != nil { - if x, ok := x.ContentHeader.(*DataStream_Header_ByteHeader); ok { - return x.ByteHeader - } + if x, ok := x.GetContentHeader().(*DataStream_Header_ByteHeader); ok { + return x.ByteHeader } return nil } @@ -4883,21 +4963,24 @@ func (*DataStream_Header_TextHeader) isDataStream_Header_ContentHeader() {} func (*DataStream_Header_ByteHeader) isDataStream_Header_ContentHeader() {} type DataStream_Chunk struct { - state protoimpl.MessageState `protogen:"open.v1"` - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream to map it to the correct header - ChunkIndex uint64 `protobuf:"varint,2,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"` - Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // content as binary (bytes) - Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` // a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced - Iv []byte `protobuf:"bytes,5,opt,name=iv,proto3,oneof" json:"iv,omitempty"` // optional, initialization vector for AES-GCM encryption - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream to map it to the correct header + ChunkIndex uint64 `protobuf:"varint,2,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"` + Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // content as binary (bytes) + Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` // a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced + Iv []byte `protobuf:"bytes,5,opt,name=iv,proto3,oneof" json:"iv,omitempty"` // optional, initialization vector for AES-GCM encryption } func (x *DataStream_Chunk) Reset() { *x = DataStream_Chunk{} - mi := &file_livekit_models_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataStream_Chunk) String() string { @@ -4908,7 +4991,7 @@ func (*DataStream_Chunk) ProtoMessage() {} func (x *DataStream_Chunk) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[41] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4959,19 +5042,22 @@ func (x *DataStream_Chunk) GetIv() []byte { } type DataStream_Trailer struct { - state protoimpl.MessageState `protogen:"open.v1"` - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream - Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end) - Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // finalizing updates for the stream, can also include additional insights for errors or endTime for transcription - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream + Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end) + Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // finalizing updates for the stream, can also include additional insights for errors or endTime for transcription } func (x *DataStream_Trailer) Reset() { *x = DataStream_Trailer{} - mi := &file_livekit_models_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataStream_Trailer) String() string { @@ -4982,7 +5068,7 @@ func (*DataStream_Trailer) ProtoMessage() {} func (x *DataStream_Trailer) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[42] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5020,7 +5106,7 @@ func (x *DataStream_Trailer) GetAttributes() map[string]string { var File_livekit_models_proto protoreflect.FileDescriptor -var file_livekit_models_proto_rawDesc = string([]byte{ +var file_livekit_models_proto_rawDesc = []byte{ 0x0a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, @@ -5855,23 +5941,23 @@ var file_livekit_models_proto_rawDesc = string([]byte{ 0x76, 0x65, 0x6b, 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_models_proto_rawDescOnce sync.Once - file_livekit_models_proto_rawDescData []byte + file_livekit_models_proto_rawDescData = file_livekit_models_proto_rawDesc ) func file_livekit_models_proto_rawDescGZIP() []byte { file_livekit_models_proto_rawDescOnce.Do(func() { - file_livekit_models_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_models_proto_rawDesc), len(file_livekit_models_proto_rawDesc))) + file_livekit_models_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_models_proto_rawDescData) }) return file_livekit_models_proto_rawDescData } var file_livekit_models_proto_enumTypes = make([]protoimpl.EnumInfo, 20) var file_livekit_models_proto_msgTypes = make([]protoimpl.MessageInfo, 45) -var file_livekit_models_proto_goTypes = []any{ +var file_livekit_models_proto_goTypes = []interface{}{ (AudioCodec)(0), // 0: livekit.AudioCodec (VideoCodec)(0), // 1: livekit.VideoCodec (ImageCodec)(0), // 2: livekit.ImageCodec @@ -6021,7 +6107,501 @@ func file_livekit_models_proto_init() { return } file_livekit_metrics_proto_init() - file_livekit_models_proto_msgTypes[10].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_models_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Pagination); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Room); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Codec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlayoutDelay); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParticipantPermission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParticipantInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Encryption); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SimulcastCodecInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoLayer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataPacket); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActiveSpeakerUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpeakerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserPacket); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SipDTMF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Transcription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TranscriptionSegment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChatMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RpcRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RpcAck); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RpcResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RpcError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParticipantTracks); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientConfiguration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoConfiguration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisabledCodecs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RTPDrift); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RTPStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RTCPSenderReportState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RTPForwarderState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RTPMungerState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VP8MungerState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimedVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataStream); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataStream_TextHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataStream_ByteHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataStream_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataStream_Chunk); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataStream_Trailer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_models_proto_msgTypes[10].OneofWrappers = []interface{}{ (*DataPacket_User)(nil), (*DataPacket_Speaker)(nil), (*DataPacket_SipDtmf)(nil), @@ -6035,25 +6615,25 @@ func file_livekit_models_proto_init() { (*DataPacket_StreamChunk)(nil), (*DataPacket_StreamTrailer)(nil), } - file_livekit_models_proto_msgTypes[13].OneofWrappers = []any{} - file_livekit_models_proto_msgTypes[17].OneofWrappers = []any{} - file_livekit_models_proto_msgTypes[20].OneofWrappers = []any{ + file_livekit_models_proto_msgTypes[13].OneofWrappers = []interface{}{} + file_livekit_models_proto_msgTypes[17].OneofWrappers = []interface{}{} + file_livekit_models_proto_msgTypes[20].OneofWrappers = []interface{}{ (*RpcResponse_Payload)(nil), (*RpcResponse_Error)(nil), } - file_livekit_models_proto_msgTypes[31].OneofWrappers = []any{ + file_livekit_models_proto_msgTypes[31].OneofWrappers = []interface{}{ (*RTPForwarderState_Vp8Munger)(nil), } - file_livekit_models_proto_msgTypes[40].OneofWrappers = []any{ + file_livekit_models_proto_msgTypes[40].OneofWrappers = []interface{}{ (*DataStream_Header_TextHeader)(nil), (*DataStream_Header_ByteHeader)(nil), } - file_livekit_models_proto_msgTypes[41].OneofWrappers = []any{} + file_livekit_models_proto_msgTypes[41].OneofWrappers = []interface{}{} 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)), + RawDescriptor: file_livekit_models_proto_rawDesc, NumEnums: 20, NumMessages: 45, NumExtensions: 0, @@ -6065,6 +6645,7 @@ func file_livekit_models_proto_init() { MessageInfos: file_livekit_models_proto_msgTypes, }.Build() File_livekit_models_proto = out.File + file_livekit_models_proto_rawDesc = nil file_livekit_models_proto_goTypes = nil file_livekit_models_proto_depIdxs = nil } diff --git a/livekit/livekit_room.pb.go b/livekit/livekit_room.pb.go index ce291ccd1..4e5bb0a0d 100644 --- a/livekit/livekit_room.pb.go +++ b/livekit/livekit_room.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_room.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -36,7 +35,10 @@ const ( ) type CreateRoomRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // name of the room Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // configuration to use for this room parameters. Setting parameters below override the config defaults. @@ -62,16 +64,16 @@ type CreateRoomRequest struct { // replay ReplayEnabled bool `protobuf:"varint,13,opt,name=replay_enabled,json=replayEnabled,proto3" json:"replay_enabled,omitempty"` // Define agents that should be dispatched to this room - Agents []*RoomAgentDispatch `protobuf:"bytes,14,rep,name=agents,proto3" json:"agents,omitempty"` // NEXT-ID: 15 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Agents []*RoomAgentDispatch `protobuf:"bytes,14,rep,name=agents,proto3" json:"agents,omitempty"` // NEXT-ID: 15 } func (x *CreateRoomRequest) Reset() { *x = CreateRoomRequest{} - mi := &file_livekit_room_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateRoomRequest) String() string { @@ -82,7 +84,7 @@ func (*CreateRoomRequest) ProtoMessage() {} func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -189,19 +191,22 @@ func (x *CreateRoomRequest) GetAgents() []*RoomAgentDispatch { } type RoomEgress struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room *RoomCompositeEgressRequest `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Participant *AutoParticipantEgress `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` - Tracks *AutoTrackEgress `protobuf:"bytes,2,opt,name=tracks,proto3" json:"tracks,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room *RoomCompositeEgressRequest `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Participant *AutoParticipantEgress `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` + Tracks *AutoTrackEgress `protobuf:"bytes,2,opt,name=tracks,proto3" json:"tracks,omitempty"` } func (x *RoomEgress) Reset() { *x = RoomEgress{} - mi := &file_livekit_room_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomEgress) String() string { @@ -212,7 +217,7 @@ func (*RoomEgress) ProtoMessage() {} func (x *RoomEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -249,17 +254,20 @@ func (x *RoomEgress) GetTracks() *AutoTrackEgress { } type RoomAgent struct { - state protoimpl.MessageState `protogen:"open.v1"` - Dispatches []*RoomAgentDispatch `protobuf:"bytes,1,rep,name=dispatches,proto3" json:"dispatches,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Dispatches []*RoomAgentDispatch `protobuf:"bytes,1,rep,name=dispatches,proto3" json:"dispatches,omitempty"` } func (x *RoomAgent) Reset() { *x = RoomAgent{} - mi := &file_livekit_room_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomAgent) String() string { @@ -270,7 +278,7 @@ func (*RoomAgent) ProtoMessage() {} func (x *RoomAgent) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -293,18 +301,21 @@ func (x *RoomAgent) GetDispatches() []*RoomAgentDispatch { } type ListRoomsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // when set, will only return rooms with name match - Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // when set, will only return rooms with name match + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` } func (x *ListRoomsRequest) Reset() { *x = ListRoomsRequest{} - mi := &file_livekit_room_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListRoomsRequest) String() string { @@ -315,7 +326,7 @@ func (*ListRoomsRequest) ProtoMessage() {} func (x *ListRoomsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -338,17 +349,20 @@ func (x *ListRoomsRequest) GetNames() []string { } type ListRoomsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` } func (x *ListRoomsResponse) Reset() { *x = ListRoomsResponse{} - mi := &file_livekit_room_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListRoomsResponse) String() string { @@ -359,7 +373,7 @@ func (*ListRoomsResponse) ProtoMessage() {} func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -382,18 +396,21 @@ func (x *ListRoomsResponse) GetRooms() []*Room { } type DeleteRoomRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // name of the room - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name of the room + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` } func (x *DeleteRoomRequest) Reset() { *x = DeleteRoomRequest{} - mi := &file_livekit_room_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRoomRequest) String() string { @@ -404,7 +421,7 @@ func (*DeleteRoomRequest) ProtoMessage() {} func (x *DeleteRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -427,16 +444,18 @@ func (x *DeleteRoomRequest) GetRoom() string { } type DeleteRoomResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *DeleteRoomResponse) Reset() { *x = DeleteRoomResponse{} - mi := &file_livekit_room_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRoomResponse) String() string { @@ -447,7 +466,7 @@ func (*DeleteRoomResponse) ProtoMessage() {} func (x *DeleteRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -463,18 +482,21 @@ func (*DeleteRoomResponse) Descriptor() ([]byte, []int) { } type ListParticipantsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // name of the room - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name of the room + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` } func (x *ListParticipantsRequest) Reset() { *x = ListParticipantsRequest{} - mi := &file_livekit_room_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListParticipantsRequest) String() string { @@ -485,7 +507,7 @@ func (*ListParticipantsRequest) ProtoMessage() {} func (x *ListParticipantsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -508,17 +530,20 @@ func (x *ListParticipantsRequest) GetRoom() string { } type ListParticipantsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` } func (x *ListParticipantsResponse) Reset() { *x = ListParticipantsResponse{} - mi := &file_livekit_room_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListParticipantsResponse) String() string { @@ -529,7 +554,7 @@ func (*ListParticipantsResponse) ProtoMessage() {} func (x *ListParticipantsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -552,20 +577,23 @@ func (x *ListParticipantsResponse) GetParticipants() []*ParticipantInfo { } type RoomParticipantIdentity struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // name of the room Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // identity of the participant - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` } func (x *RoomParticipantIdentity) Reset() { *x = RoomParticipantIdentity{} - mi := &file_livekit_room_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomParticipantIdentity) String() string { @@ -576,7 +604,7 @@ func (*RoomParticipantIdentity) ProtoMessage() {} func (x *RoomParticipantIdentity) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -606,16 +634,18 @@ func (x *RoomParticipantIdentity) GetIdentity() string { } type RemoveParticipantResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *RemoveParticipantResponse) Reset() { *x = RemoveParticipantResponse{} - mi := &file_livekit_room_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveParticipantResponse) String() string { @@ -626,7 +656,7 @@ func (*RemoveParticipantResponse) ProtoMessage() {} func (x *RemoveParticipantResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -642,23 +672,26 @@ func (*RemoveParticipantResponse) Descriptor() ([]byte, []int) { } type MuteRoomTrackRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // name of the room Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // sid of the track to mute TrackSid string `protobuf:"bytes,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` // set to true to mute, false to unmute - Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` } func (x *MuteRoomTrackRequest) Reset() { *x = MuteRoomTrackRequest{} - mi := &file_livekit_room_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MuteRoomTrackRequest) String() string { @@ -669,7 +702,7 @@ func (*MuteRoomTrackRequest) ProtoMessage() {} func (x *MuteRoomTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -713,17 +746,20 @@ func (x *MuteRoomTrackRequest) GetMuted() bool { } type MuteRoomTrackResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Track *TrackInfo `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Track *TrackInfo `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"` } func (x *MuteRoomTrackResponse) Reset() { *x = MuteRoomTrackResponse{} - mi := &file_livekit_room_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MuteRoomTrackResponse) String() string { @@ -734,7 +770,7 @@ func (*MuteRoomTrackResponse) ProtoMessage() {} func (x *MuteRoomTrackResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -757,9 +793,12 @@ func (x *MuteRoomTrackResponse) GetTrack() *TrackInfo { } type UpdateParticipantRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // metadata to update. skipping updates if left empty Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // set to update the participant's permissions @@ -768,16 +807,16 @@ type UpdateParticipantRequest struct { Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // attributes to update. it only updates attributes that have been set // to delete attributes, set the value to an empty string - Attributes map[string]string `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Attributes map[string]string `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *UpdateParticipantRequest) Reset() { *x = UpdateParticipantRequest{} - mi := &file_livekit_room_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateParticipantRequest) String() string { @@ -788,7 +827,7 @@ func (*UpdateParticipantRequest) ProtoMessage() {} func (x *UpdateParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -846,24 +885,27 @@ func (x *UpdateParticipantRequest) GetAttributes() map[string]string { } type UpdateSubscriptionsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // list of sids of tracks TrackSids []string `protobuf:"bytes,3,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` // set to true to subscribe, false to unsubscribe from tracks Subscribe bool `protobuf:"varint,4,opt,name=subscribe,proto3" json:"subscribe,omitempty"` // list of participants and their tracks ParticipantTracks []*ParticipantTracks `protobuf:"bytes,5,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *UpdateSubscriptionsRequest) Reset() { *x = UpdateSubscriptionsRequest{} - mi := &file_livekit_room_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateSubscriptionsRequest) String() string { @@ -874,7 +916,7 @@ func (*UpdateSubscriptionsRequest) ProtoMessage() {} func (x *UpdateSubscriptionsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -925,16 +967,18 @@ func (x *UpdateSubscriptionsRequest) GetParticipantTracks() []*ParticipantTracks } type UpdateSubscriptionsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *UpdateSubscriptionsResponse) Reset() { *x = UpdateSubscriptionsResponse{} - mi := &file_livekit_room_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateSubscriptionsResponse) String() string { @@ -945,7 +989,7 @@ func (*UpdateSubscriptionsResponse) ProtoMessage() {} func (x *UpdateSubscriptionsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -961,10 +1005,13 @@ func (*UpdateSubscriptionsResponse) Descriptor() ([]byte, []int) { } type SendDataRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Kind DataPacket_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + Kind DataPacket_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"` // mark deprecated // // Deprecated: Marked as deprecated in livekit_room.proto. @@ -973,16 +1020,16 @@ type SendDataRequest struct { DestinationIdentities []string `protobuf:"bytes,6,rep,name=destination_identities,json=destinationIdentities,proto3" json:"destination_identities,omitempty"` Topic *string `protobuf:"bytes,5,opt,name=topic,proto3,oneof" json:"topic,omitempty"` // added by SDK to enable de-duping of messages, for INTERNAL USE ONLY - Nonce []byte `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Nonce []byte `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"` } func (x *SendDataRequest) Reset() { *x = SendDataRequest{} - mi := &file_livekit_room_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SendDataRequest) String() string { @@ -993,7 +1040,7 @@ func (*SendDataRequest) ProtoMessage() {} func (x *SendDataRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1059,16 +1106,18 @@ func (x *SendDataRequest) GetNonce() []byte { } type SendDataResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *SendDataResponse) Reset() { *x = SendDataResponse{} - mi := &file_livekit_room_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SendDataResponse) String() string { @@ -1079,7 +1128,7 @@ func (*SendDataResponse) ProtoMessage() {} func (x *SendDataResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1095,19 +1144,22 @@ func (*SendDataResponse) Descriptor() ([]byte, []int) { } type UpdateRoomMetadataRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - // metadata to update. skipping updates if left empty - Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + // metadata to update. skipping updates if left empty + Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *UpdateRoomMetadataRequest) Reset() { *x = UpdateRoomMetadataRequest{} - mi := &file_livekit_room_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateRoomMetadataRequest) String() string { @@ -1118,7 +1170,7 @@ func (*UpdateRoomMetadataRequest) ProtoMessage() {} func (x *UpdateRoomMetadataRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1148,8 +1200,11 @@ func (x *UpdateRoomMetadataRequest) GetMetadata() string { } type RoomConfiguration struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Used as ID, must be unique + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Used as ID, must be unique // number of seconds to keep the room open if no one joins EmptyTimeout uint32 `protobuf:"varint,2,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` // number of seconds to keep the room open after everyone leaves @@ -1165,16 +1220,16 @@ type RoomConfiguration struct { // so not recommended for rooms with frequent subscription changes SyncStreams bool `protobuf:"varint,9,opt,name=sync_streams,json=syncStreams,proto3" json:"sync_streams,omitempty"` // Define agents that should be dispatched to this room - Agents []*RoomAgentDispatch `protobuf:"bytes,10,rep,name=agents,proto3" json:"agents,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Agents []*RoomAgentDispatch `protobuf:"bytes,10,rep,name=agents,proto3" json:"agents,omitempty"` } func (x *RoomConfiguration) Reset() { *x = RoomConfiguration{} - mi := &file_livekit_room_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomConfiguration) String() string { @@ -1185,7 +1240,7 @@ func (*RoomConfiguration) ProtoMessage() {} func (x *RoomConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1265,7 +1320,7 @@ func (x *RoomConfiguration) GetAgents() []*RoomAgentDispatch { var File_livekit_room_proto protoreflect.FileDescriptor -var file_livekit_room_proto_rawDesc = string([]byte{ +var file_livekit_room_proto_rawDesc = []byte{ 0x0a, 0x12, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, @@ -1501,22 +1556,22 @@ var file_livekit_room_proto_rawDesc = string([]byte{ 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_room_proto_rawDescOnce sync.Once - file_livekit_room_proto_rawDescData []byte + file_livekit_room_proto_rawDescData = file_livekit_room_proto_rawDesc ) func file_livekit_room_proto_rawDescGZIP() []byte { file_livekit_room_proto_rawDescOnce.Do(func() { - file_livekit_room_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_room_proto_rawDesc), len(file_livekit_room_proto_rawDesc))) + file_livekit_room_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_room_proto_rawDescData) }) return file_livekit_room_proto_rawDescData } var file_livekit_room_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_livekit_room_proto_goTypes = []any{ +var file_livekit_room_proto_goTypes = []interface{}{ (*CreateRoomRequest)(nil), // 0: livekit.CreateRoomRequest (*RoomEgress)(nil), // 1: livekit.RoomEgress (*RoomAgent)(nil), // 2: livekit.RoomAgent @@ -1602,12 +1657,254 @@ func file_livekit_room_proto_init() { file_livekit_models_proto_init() file_livekit_egress_proto_init() file_livekit_agent_dispatch_proto_init() - file_livekit_room_proto_msgTypes[16].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_livekit_room_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRoomRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomEgress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomAgent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRoomsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRoomsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRoomRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRoomResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListParticipantsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListParticipantsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomParticipantIdentity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveParticipantResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MuteRoomTrackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MuteRoomTrackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateSubscriptionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateSubscriptionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendDataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendDataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRoomMetadataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomConfiguration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_room_proto_msgTypes[16].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_room_proto_rawDesc), len(file_livekit_room_proto_rawDesc)), + RawDescriptor: file_livekit_room_proto_rawDesc, NumEnums: 0, NumMessages: 21, NumExtensions: 0, @@ -1618,6 +1915,7 @@ func file_livekit_room_proto_init() { MessageInfos: file_livekit_room_proto_msgTypes, }.Build() File_livekit_room_proto = out.File + file_livekit_room_proto_rawDesc = nil file_livekit_room_proto_goTypes = nil file_livekit_room_proto_depIdxs = nil } diff --git a/livekit/livekit_rtc.pb.go b/livekit/livekit_rtc.pb.go index 1593fc88b..aceabb553 100644 --- a/livekit/livekit_rtc.pb.go +++ b/livekit/livekit_rtc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_rtc.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -279,8 +278,11 @@ func (RequestResponse_Reason) EnumDescriptor() ([]byte, []int) { } type SignalRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Message: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Message: // // *SignalRequest_Offer // *SignalRequest_Answer @@ -299,16 +301,16 @@ type SignalRequest struct { // *SignalRequest_PingReq // *SignalRequest_UpdateAudioTrack // *SignalRequest_UpdateVideoTrack - Message isSignalRequest_Message `protobuf_oneof:"message"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Message isSignalRequest_Message `protobuf_oneof:"message"` } func (x *SignalRequest) Reset() { *x = SignalRequest{} - mi := &file_livekit_rtc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SignalRequest) String() string { @@ -319,7 +321,7 @@ func (*SignalRequest) ProtoMessage() {} func (x *SignalRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -334,163 +336,129 @@ func (*SignalRequest) Descriptor() ([]byte, []int) { return file_livekit_rtc_proto_rawDescGZIP(), []int{0} } -func (x *SignalRequest) GetMessage() isSignalRequest_Message { - if x != nil { - return x.Message +func (m *SignalRequest) GetMessage() isSignalRequest_Message { + if m != nil { + return m.Message } return nil } func (x *SignalRequest) GetOffer() *SessionDescription { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Offer); ok { - return x.Offer - } + if x, ok := x.GetMessage().(*SignalRequest_Offer); ok { + return x.Offer } return nil } func (x *SignalRequest) GetAnswer() *SessionDescription { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Answer); ok { - return x.Answer - } + if x, ok := x.GetMessage().(*SignalRequest_Answer); ok { + return x.Answer } return nil } func (x *SignalRequest) GetTrickle() *TrickleRequest { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Trickle); ok { - return x.Trickle - } + if x, ok := x.GetMessage().(*SignalRequest_Trickle); ok { + return x.Trickle } return nil } func (x *SignalRequest) GetAddTrack() *AddTrackRequest { - if x != nil { - if x, ok := x.Message.(*SignalRequest_AddTrack); ok { - return x.AddTrack - } + if x, ok := x.GetMessage().(*SignalRequest_AddTrack); ok { + return x.AddTrack } return nil } func (x *SignalRequest) GetMute() *MuteTrackRequest { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Mute); ok { - return x.Mute - } + if x, ok := x.GetMessage().(*SignalRequest_Mute); ok { + return x.Mute } return nil } func (x *SignalRequest) GetSubscription() *UpdateSubscription { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Subscription); ok { - return x.Subscription - } + if x, ok := x.GetMessage().(*SignalRequest_Subscription); ok { + return x.Subscription } return nil } func (x *SignalRequest) GetTrackSetting() *UpdateTrackSettings { - if x != nil { - if x, ok := x.Message.(*SignalRequest_TrackSetting); ok { - return x.TrackSetting - } + if x, ok := x.GetMessage().(*SignalRequest_TrackSetting); ok { + return x.TrackSetting } return nil } func (x *SignalRequest) GetLeave() *LeaveRequest { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Leave); ok { - return x.Leave - } + if x, ok := x.GetMessage().(*SignalRequest_Leave); ok { + return x.Leave } return nil } // Deprecated: Marked as deprecated in livekit_rtc.proto. func (x *SignalRequest) GetUpdateLayers() *UpdateVideoLayers { - if x != nil { - if x, ok := x.Message.(*SignalRequest_UpdateLayers); ok { - return x.UpdateLayers - } + if x, ok := x.GetMessage().(*SignalRequest_UpdateLayers); ok { + return x.UpdateLayers } return nil } func (x *SignalRequest) GetSubscriptionPermission() *SubscriptionPermission { - if x != nil { - if x, ok := x.Message.(*SignalRequest_SubscriptionPermission); ok { - return x.SubscriptionPermission - } + if x, ok := x.GetMessage().(*SignalRequest_SubscriptionPermission); ok { + return x.SubscriptionPermission } return nil } func (x *SignalRequest) GetSyncState() *SyncState { - if x != nil { - if x, ok := x.Message.(*SignalRequest_SyncState); ok { - return x.SyncState - } + if x, ok := x.GetMessage().(*SignalRequest_SyncState); ok { + return x.SyncState } return nil } func (x *SignalRequest) GetSimulate() *SimulateScenario { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Simulate); ok { - return x.Simulate - } + if x, ok := x.GetMessage().(*SignalRequest_Simulate); ok { + return x.Simulate } return nil } func (x *SignalRequest) GetPing() int64 { - if x != nil { - if x, ok := x.Message.(*SignalRequest_Ping); ok { - return x.Ping - } + if x, ok := x.GetMessage().(*SignalRequest_Ping); ok { + return x.Ping } return 0 } func (x *SignalRequest) GetUpdateMetadata() *UpdateParticipantMetadata { - if x != nil { - if x, ok := x.Message.(*SignalRequest_UpdateMetadata); ok { - return x.UpdateMetadata - } + if x, ok := x.GetMessage().(*SignalRequest_UpdateMetadata); ok { + return x.UpdateMetadata } return nil } func (x *SignalRequest) GetPingReq() *Ping { - if x != nil { - if x, ok := x.Message.(*SignalRequest_PingReq); ok { - return x.PingReq - } + if x, ok := x.GetMessage().(*SignalRequest_PingReq); ok { + return x.PingReq } return nil } func (x *SignalRequest) GetUpdateAudioTrack() *UpdateLocalAudioTrack { - if x != nil { - if x, ok := x.Message.(*SignalRequest_UpdateAudioTrack); ok { - return x.UpdateAudioTrack - } + if x, ok := x.GetMessage().(*SignalRequest_UpdateAudioTrack); ok { + return x.UpdateAudioTrack } return nil } func (x *SignalRequest) GetUpdateVideoTrack() *UpdateLocalVideoTrack { - if x != nil { - if x, ok := x.Message.(*SignalRequest_UpdateVideoTrack); ok { - return x.UpdateVideoTrack - } + if x, ok := x.GetMessage().(*SignalRequest_UpdateVideoTrack); ok { + return x.UpdateVideoTrack } return nil } @@ -619,8 +587,11 @@ func (*SignalRequest_UpdateAudioTrack) isSignalRequest_Message() {} func (*SignalRequest_UpdateVideoTrack) isSignalRequest_Message() {} type SignalResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Message: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Message: // // *SignalResponse_Join // *SignalResponse_Answer @@ -644,16 +615,16 @@ type SignalResponse struct { // *SignalResponse_SubscriptionResponse // *SignalResponse_RequestResponse // *SignalResponse_TrackSubscribed - Message isSignalResponse_Message `protobuf_oneof:"message"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Message isSignalResponse_Message `protobuf_oneof:"message"` } func (x *SignalResponse) Reset() { *x = SignalResponse{} - mi := &file_livekit_rtc_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SignalResponse) String() string { @@ -664,7 +635,7 @@ func (*SignalResponse) ProtoMessage() {} func (x *SignalResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -679,207 +650,163 @@ func (*SignalResponse) Descriptor() ([]byte, []int) { return file_livekit_rtc_proto_rawDescGZIP(), []int{1} } -func (x *SignalResponse) GetMessage() isSignalResponse_Message { - if x != nil { - return x.Message +func (m *SignalResponse) GetMessage() isSignalResponse_Message { + if m != nil { + return m.Message } return nil } func (x *SignalResponse) GetJoin() *JoinResponse { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Join); ok { - return x.Join - } + if x, ok := x.GetMessage().(*SignalResponse_Join); ok { + return x.Join } return nil } func (x *SignalResponse) GetAnswer() *SessionDescription { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Answer); ok { - return x.Answer - } + if x, ok := x.GetMessage().(*SignalResponse_Answer); ok { + return x.Answer } return nil } func (x *SignalResponse) GetOffer() *SessionDescription { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Offer); ok { - return x.Offer - } + if x, ok := x.GetMessage().(*SignalResponse_Offer); ok { + return x.Offer } return nil } func (x *SignalResponse) GetTrickle() *TrickleRequest { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Trickle); ok { - return x.Trickle - } + if x, ok := x.GetMessage().(*SignalResponse_Trickle); ok { + return x.Trickle } return nil } func (x *SignalResponse) GetUpdate() *ParticipantUpdate { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Update); ok { - return x.Update - } + if x, ok := x.GetMessage().(*SignalResponse_Update); ok { + return x.Update } return nil } func (x *SignalResponse) GetTrackPublished() *TrackPublishedResponse { - if x != nil { - if x, ok := x.Message.(*SignalResponse_TrackPublished); ok { - return x.TrackPublished - } + if x, ok := x.GetMessage().(*SignalResponse_TrackPublished); ok { + return x.TrackPublished } return nil } func (x *SignalResponse) GetLeave() *LeaveRequest { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Leave); ok { - return x.Leave - } + if x, ok := x.GetMessage().(*SignalResponse_Leave); ok { + return x.Leave } return nil } func (x *SignalResponse) GetMute() *MuteTrackRequest { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Mute); ok { - return x.Mute - } + if x, ok := x.GetMessage().(*SignalResponse_Mute); ok { + return x.Mute } return nil } func (x *SignalResponse) GetSpeakersChanged() *SpeakersChanged { - if x != nil { - if x, ok := x.Message.(*SignalResponse_SpeakersChanged); ok { - return x.SpeakersChanged - } + if x, ok := x.GetMessage().(*SignalResponse_SpeakersChanged); ok { + return x.SpeakersChanged } return nil } func (x *SignalResponse) GetRoomUpdate() *RoomUpdate { - if x != nil { - if x, ok := x.Message.(*SignalResponse_RoomUpdate); ok { - return x.RoomUpdate - } + if x, ok := x.GetMessage().(*SignalResponse_RoomUpdate); ok { + return x.RoomUpdate } return nil } func (x *SignalResponse) GetConnectionQuality() *ConnectionQualityUpdate { - if x != nil { - if x, ok := x.Message.(*SignalResponse_ConnectionQuality); ok { - return x.ConnectionQuality - } + if x, ok := x.GetMessage().(*SignalResponse_ConnectionQuality); ok { + return x.ConnectionQuality } return nil } func (x *SignalResponse) GetStreamStateUpdate() *StreamStateUpdate { - if x != nil { - if x, ok := x.Message.(*SignalResponse_StreamStateUpdate); ok { - return x.StreamStateUpdate - } + if x, ok := x.GetMessage().(*SignalResponse_StreamStateUpdate); ok { + return x.StreamStateUpdate } return nil } func (x *SignalResponse) GetSubscribedQualityUpdate() *SubscribedQualityUpdate { - if x != nil { - if x, ok := x.Message.(*SignalResponse_SubscribedQualityUpdate); ok { - return x.SubscribedQualityUpdate - } + if x, ok := x.GetMessage().(*SignalResponse_SubscribedQualityUpdate); ok { + return x.SubscribedQualityUpdate } return nil } func (x *SignalResponse) GetSubscriptionPermissionUpdate() *SubscriptionPermissionUpdate { - if x != nil { - if x, ok := x.Message.(*SignalResponse_SubscriptionPermissionUpdate); ok { - return x.SubscriptionPermissionUpdate - } + if x, ok := x.GetMessage().(*SignalResponse_SubscriptionPermissionUpdate); ok { + return x.SubscriptionPermissionUpdate } return nil } func (x *SignalResponse) GetRefreshToken() string { - if x != nil { - if x, ok := x.Message.(*SignalResponse_RefreshToken); ok { - return x.RefreshToken - } + if x, ok := x.GetMessage().(*SignalResponse_RefreshToken); ok { + return x.RefreshToken } return "" } func (x *SignalResponse) GetTrackUnpublished() *TrackUnpublishedResponse { - if x != nil { - if x, ok := x.Message.(*SignalResponse_TrackUnpublished); ok { - return x.TrackUnpublished - } + if x, ok := x.GetMessage().(*SignalResponse_TrackUnpublished); ok { + return x.TrackUnpublished } return nil } func (x *SignalResponse) GetPong() int64 { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Pong); ok { - return x.Pong - } + if x, ok := x.GetMessage().(*SignalResponse_Pong); ok { + return x.Pong } return 0 } func (x *SignalResponse) GetReconnect() *ReconnectResponse { - if x != nil { - if x, ok := x.Message.(*SignalResponse_Reconnect); ok { - return x.Reconnect - } + if x, ok := x.GetMessage().(*SignalResponse_Reconnect); ok { + return x.Reconnect } return nil } func (x *SignalResponse) GetPongResp() *Pong { - if x != nil { - if x, ok := x.Message.(*SignalResponse_PongResp); ok { - return x.PongResp - } + if x, ok := x.GetMessage().(*SignalResponse_PongResp); ok { + return x.PongResp } return nil } func (x *SignalResponse) GetSubscriptionResponse() *SubscriptionResponse { - if x != nil { - if x, ok := x.Message.(*SignalResponse_SubscriptionResponse); ok { - return x.SubscriptionResponse - } + if x, ok := x.GetMessage().(*SignalResponse_SubscriptionResponse); ok { + return x.SubscriptionResponse } return nil } func (x *SignalResponse) GetRequestResponse() *RequestResponse { - if x != nil { - if x, ok := x.Message.(*SignalResponse_RequestResponse); ok { - return x.RequestResponse - } + if x, ok := x.GetMessage().(*SignalResponse_RequestResponse); ok { + return x.RequestResponse } return nil } func (x *SignalResponse) GetTrackSubscribed() *TrackSubscribed { - if x != nil { - if x, ok := x.Message.(*SignalResponse_TrackSubscribed); ok { - return x.TrackSubscribed - } + if x, ok := x.GetMessage().(*SignalResponse_TrackSubscribed); ok { + return x.TrackSubscribed } return nil } @@ -1044,18 +971,21 @@ func (*SignalResponse_RequestResponse) isSignalResponse_Message() {} func (*SignalResponse_TrackSubscribed) isSignalResponse_Message() {} type SimulcastCodec struct { - state protoimpl.MessageState `protogen:"open.v1"` - Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` - Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` + Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` } func (x *SimulcastCodec) Reset() { *x = SimulcastCodec{} - mi := &file_livekit_rtc_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulcastCodec) String() string { @@ -1066,7 +996,7 @@ func (*SimulcastCodec) ProtoMessage() {} func (x *SimulcastCodec) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1096,7 +1026,10 @@ func (x *SimulcastCodec) GetCid() string { } type AddTrackRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // client ID of track, to match it when RTC track is received Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -1121,15 +1054,15 @@ type AddTrackRequest struct { // if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together Stream string `protobuf:"bytes,15,opt,name=stream,proto3" json:"stream,omitempty"` BackupCodecPolicy BackupCodecPolicy `protobuf:"varint,16,opt,name=backup_codec_policy,json=backupCodecPolicy,proto3,enum=livekit.BackupCodecPolicy" json:"backup_codec_policy,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *AddTrackRequest) Reset() { *x = AddTrackRequest{} - mi := &file_livekit_rtc_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddTrackRequest) String() string { @@ -1140,7 +1073,7 @@ func (*AddTrackRequest) ProtoMessage() {} func (x *AddTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1268,19 +1201,22 @@ func (x *AddTrackRequest) GetBackupCodecPolicy() BackupCodecPolicy { } type TrickleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - CandidateInit string `protobuf:"bytes,1,opt,name=candidateInit,proto3" json:"candidateInit,omitempty"` - Target SignalTarget `protobuf:"varint,2,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` - Final bool `protobuf:"varint,3,opt,name=final,proto3" json:"final,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CandidateInit string `protobuf:"bytes,1,opt,name=candidateInit,proto3" json:"candidateInit,omitempty"` + Target SignalTarget `protobuf:"varint,2,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` + Final bool `protobuf:"varint,3,opt,name=final,proto3" json:"final,omitempty"` } func (x *TrickleRequest) Reset() { *x = TrickleRequest{} - mi := &file_livekit_rtc_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrickleRequest) String() string { @@ -1291,7 +1227,7 @@ func (*TrickleRequest) ProtoMessage() {} func (x *TrickleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1328,18 +1264,21 @@ func (x *TrickleRequest) GetFinal() bool { } type MuteTrackRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Muted bool `protobuf:"varint,2,opt,name=muted,proto3" json:"muted,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Muted bool `protobuf:"varint,2,opt,name=muted,proto3" json:"muted,omitempty"` } func (x *MuteTrackRequest) Reset() { *x = MuteTrackRequest{} - mi := &file_livekit_rtc_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MuteTrackRequest) String() string { @@ -1350,7 +1289,7 @@ func (*MuteTrackRequest) ProtoMessage() {} func (x *MuteTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1380,10 +1319,13 @@ func (x *MuteTrackRequest) GetMuted() bool { } type JoinResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Participant *ParticipantInfo `protobuf:"bytes,2,opt,name=participant,proto3" json:"participant,omitempty"` - OtherParticipants []*ParticipantInfo `protobuf:"bytes,3,rep,name=other_participants,json=otherParticipants,proto3" json:"other_participants,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Participant *ParticipantInfo `protobuf:"bytes,2,opt,name=participant,proto3" json:"participant,omitempty"` + OtherParticipants []*ParticipantInfo `protobuf:"bytes,3,rep,name=other_participants,json=otherParticipants,proto3" json:"other_participants,omitempty"` // deprecated. use server_info.version instead. ServerVersion string `protobuf:"bytes,4,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` IceServers []*ICEServer `protobuf:"bytes,5,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` @@ -1402,16 +1344,16 @@ type JoinResponse struct { SifTrailer []byte `protobuf:"bytes,13,opt,name=sif_trailer,json=sifTrailer,proto3" json:"sif_trailer,omitempty"` EnabledPublishCodecs []*Codec `protobuf:"bytes,14,rep,name=enabled_publish_codecs,json=enabledPublishCodecs,proto3" json:"enabled_publish_codecs,omitempty"` // when set, client should attempt to establish publish peer connection when joining room to speed up publishing - FastPublish bool `protobuf:"varint,15,opt,name=fast_publish,json=fastPublish,proto3" json:"fast_publish,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + FastPublish bool `protobuf:"varint,15,opt,name=fast_publish,json=fastPublish,proto3" json:"fast_publish,omitempty"` } func (x *JoinResponse) Reset() { *x = JoinResponse{} - mi := &file_livekit_rtc_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JoinResponse) String() string { @@ -1422,7 +1364,7 @@ func (*JoinResponse) ProtoMessage() {} func (x *JoinResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1543,18 +1485,21 @@ func (x *JoinResponse) GetFastPublish() bool { } type ReconnectResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - IceServers []*ICEServer `protobuf:"bytes,1,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` - ClientConfiguration *ClientConfiguration `protobuf:"bytes,2,opt,name=client_configuration,json=clientConfiguration,proto3" json:"client_configuration,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IceServers []*ICEServer `protobuf:"bytes,1,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` + ClientConfiguration *ClientConfiguration `protobuf:"bytes,2,opt,name=client_configuration,json=clientConfiguration,proto3" json:"client_configuration,omitempty"` } func (x *ReconnectResponse) Reset() { *x = ReconnectResponse{} - mi := &file_livekit_rtc_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ReconnectResponse) String() string { @@ -1565,7 +1510,7 @@ func (*ReconnectResponse) ProtoMessage() {} func (x *ReconnectResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1595,18 +1540,21 @@ func (x *ReconnectResponse) GetClientConfiguration() *ClientConfiguration { } type TrackPublishedResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` - Track *TrackInfo `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` + Track *TrackInfo `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"` } func (x *TrackPublishedResponse) Reset() { *x = TrackPublishedResponse{} - mi := &file_livekit_rtc_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackPublishedResponse) String() string { @@ -1617,7 +1565,7 @@ func (*TrackPublishedResponse) ProtoMessage() {} func (x *TrackPublishedResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1647,17 +1595,20 @@ func (x *TrackPublishedResponse) GetTrack() *TrackInfo { } type TrackUnpublishedResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` } func (x *TrackUnpublishedResponse) Reset() { *x = TrackUnpublishedResponse{} - mi := &file_livekit_rtc_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackUnpublishedResponse) String() string { @@ -1668,7 +1619,7 @@ func (*TrackUnpublishedResponse) ProtoMessage() {} func (x *TrackUnpublishedResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1691,18 +1642,21 @@ func (x *TrackUnpublishedResponse) GetTrackSid() string { } type SessionDescription struct { - state protoimpl.MessageState `protogen:"open.v1"` - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "answer" | "offer" | "pranswer" | "rollback" - Sdp string `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "answer" | "offer" | "pranswer" | "rollback" + Sdp string `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` } func (x *SessionDescription) Reset() { *x = SessionDescription{} - mi := &file_livekit_rtc_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SessionDescription) String() string { @@ -1713,7 +1667,7 @@ func (*SessionDescription) ProtoMessage() {} func (x *SessionDescription) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1743,17 +1697,20 @@ func (x *SessionDescription) GetSdp() string { } type ParticipantUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` } func (x *ParticipantUpdate) Reset() { *x = ParticipantUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantUpdate) String() string { @@ -1764,7 +1721,7 @@ func (*ParticipantUpdate) ProtoMessage() {} func (x *ParticipantUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1787,19 +1744,22 @@ func (x *ParticipantUpdate) GetParticipants() []*ParticipantInfo { } type UpdateSubscription struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` - Subscribe bool `protobuf:"varint,2,opt,name=subscribe,proto3" json:"subscribe,omitempty"` - ParticipantTracks []*ParticipantTracks `protobuf:"bytes,3,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` + Subscribe bool `protobuf:"varint,2,opt,name=subscribe,proto3" json:"subscribe,omitempty"` + ParticipantTracks []*ParticipantTracks `protobuf:"bytes,3,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` } func (x *UpdateSubscription) Reset() { *x = UpdateSubscription{} - mi := &file_livekit_rtc_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateSubscription) String() string { @@ -1810,7 +1770,7 @@ func (*UpdateSubscription) ProtoMessage() {} func (x *UpdateSubscription) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1847,8 +1807,11 @@ func (x *UpdateSubscription) GetParticipantTracks() []*ParticipantTracks { } 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"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` // when true, the track is placed in a paused state, with no new data returned Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"` // deprecated in favor of width & height @@ -1865,16 +1828,16 @@ type UpdateTrackSettings struct { // pause the lowest priority tracks // 2. when the network is congested, server will assign available bandwidth to // higher priority tracks first. lowest priority tracks can be paused - Priority uint32 `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Priority uint32 `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"` } func (x *UpdateTrackSettings) Reset() { *x = UpdateTrackSettings{} - mi := &file_livekit_rtc_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateTrackSettings) String() string { @@ -1885,7 +1848,7 @@ func (*UpdateTrackSettings) ProtoMessage() {} func (x *UpdateTrackSettings) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1950,18 +1913,21 @@ func (x *UpdateTrackSettings) GetPriority() uint32 { } type UpdateLocalAudioTrack struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Features []AudioTrackFeature `protobuf:"varint,2,rep,packed,name=features,proto3,enum=livekit.AudioTrackFeature" json:"features,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Features []AudioTrackFeature `protobuf:"varint,2,rep,packed,name=features,proto3,enum=livekit.AudioTrackFeature" json:"features,omitempty"` } func (x *UpdateLocalAudioTrack) Reset() { *x = UpdateLocalAudioTrack{} - mi := &file_livekit_rtc_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateLocalAudioTrack) String() string { @@ -1972,7 +1938,7 @@ func (*UpdateLocalAudioTrack) ProtoMessage() {} func (x *UpdateLocalAudioTrack) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2002,19 +1968,22 @@ func (x *UpdateLocalAudioTrack) GetFeatures() []AudioTrackFeature { } type UpdateLocalVideoTrack struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` - Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` } func (x *UpdateLocalVideoTrack) Reset() { *x = UpdateLocalVideoTrack{} - mi := &file_livekit_rtc_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateLocalVideoTrack) String() string { @@ -2025,7 +1994,7 @@ func (*UpdateLocalVideoTrack) ProtoMessage() {} func (x *UpdateLocalVideoTrack) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2062,23 +2031,26 @@ func (x *UpdateLocalVideoTrack) GetHeight() uint32 { } type LeaveRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // sent when server initiates the disconnect due to server-restart // indicates clients should attempt full-reconnect sequence // NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13 - CanReconnect bool `protobuf:"varint,1,opt,name=can_reconnect,json=canReconnect,proto3" json:"can_reconnect,omitempty"` - Reason DisconnectReason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.DisconnectReason" json:"reason,omitempty"` - Action LeaveRequest_Action `protobuf:"varint,3,opt,name=action,proto3,enum=livekit.LeaveRequest_Action" json:"action,omitempty"` - Regions *RegionSettings `protobuf:"bytes,4,opt,name=regions,proto3" json:"regions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + CanReconnect bool `protobuf:"varint,1,opt,name=can_reconnect,json=canReconnect,proto3" json:"can_reconnect,omitempty"` + Reason DisconnectReason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.DisconnectReason" json:"reason,omitempty"` + Action LeaveRequest_Action `protobuf:"varint,3,opt,name=action,proto3,enum=livekit.LeaveRequest_Action" json:"action,omitempty"` + Regions *RegionSettings `protobuf:"bytes,4,opt,name=regions,proto3" json:"regions,omitempty"` } func (x *LeaveRequest) Reset() { *x = LeaveRequest{} - mi := &file_livekit_rtc_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LeaveRequest) String() string { @@ -2089,7 +2061,7 @@ func (*LeaveRequest) ProtoMessage() {} func (x *LeaveRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2136,18 +2108,21 @@ func (x *LeaveRequest) GetRegions() *RegionSettings { // // Deprecated: Marked as deprecated in livekit_rtc.proto. type UpdateVideoLayers struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Layers []*VideoLayer `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Layers []*VideoLayer `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` } func (x *UpdateVideoLayers) Reset() { *x = UpdateVideoLayers{} - mi := &file_livekit_rtc_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateVideoLayers) String() string { @@ -2158,7 +2133,7 @@ func (*UpdateVideoLayers) ProtoMessage() {} func (x *UpdateVideoLayers) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2188,22 +2163,25 @@ func (x *UpdateVideoLayers) GetLayers() []*VideoLayer { } type UpdateParticipantMetadata struct { - state protoimpl.MessageState `protogen:"open.v1"` - Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // attributes to update. it only updates attributes that have been set // to delete attributes, set the value to an empty string - Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - RequestId uint32 `protobuf:"varint,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + RequestId uint32 `protobuf:"varint,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } func (x *UpdateParticipantMetadata) Reset() { *x = UpdateParticipantMetadata{} - mi := &file_livekit_rtc_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateParticipantMetadata) String() string { @@ -2214,7 +2192,7 @@ func (*UpdateParticipantMetadata) ProtoMessage() {} func (x *UpdateParticipantMetadata) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2258,19 +2236,22 @@ func (x *UpdateParticipantMetadata) GetRequestId() uint32 { } type ICEServer struct { - state protoimpl.MessageState `protogen:"open.v1"` - Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - Credential string `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + Credential string `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"` } func (x *ICEServer) Reset() { *x = ICEServer{} - mi := &file_livekit_rtc_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ICEServer) String() string { @@ -2281,7 +2262,7 @@ func (*ICEServer) ProtoMessage() {} func (x *ICEServer) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2318,17 +2299,20 @@ func (x *ICEServer) GetCredential() string { } type SpeakersChanged struct { - state protoimpl.MessageState `protogen:"open.v1"` - Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` } func (x *SpeakersChanged) Reset() { *x = SpeakersChanged{} - mi := &file_livekit_rtc_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SpeakersChanged) String() string { @@ -2339,7 +2323,7 @@ func (*SpeakersChanged) ProtoMessage() {} func (x *SpeakersChanged) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2362,17 +2346,20 @@ func (x *SpeakersChanged) GetSpeakers() []*SpeakerInfo { } type RoomUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` } func (x *RoomUpdate) Reset() { *x = RoomUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomUpdate) String() string { @@ -2383,7 +2370,7 @@ func (*RoomUpdate) ProtoMessage() {} func (x *RoomUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2406,19 +2393,22 @@ func (x *RoomUpdate) GetRoom() *Room { } type ConnectionQualityInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` - Quality ConnectionQuality `protobuf:"varint,2,opt,name=quality,proto3,enum=livekit.ConnectionQuality" json:"quality,omitempty"` - Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` + Quality ConnectionQuality `protobuf:"varint,2,opt,name=quality,proto3,enum=livekit.ConnectionQuality" json:"quality,omitempty"` + Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` } func (x *ConnectionQualityInfo) Reset() { *x = ConnectionQualityInfo{} - mi := &file_livekit_rtc_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ConnectionQualityInfo) String() string { @@ -2429,7 +2419,7 @@ func (*ConnectionQualityInfo) ProtoMessage() {} func (x *ConnectionQualityInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2466,17 +2456,20 @@ func (x *ConnectionQualityInfo) GetScore() float32 { } type ConnectionQualityUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - Updates []*ConnectionQualityInfo `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Updates []*ConnectionQualityInfo `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` } func (x *ConnectionQualityUpdate) Reset() { *x = ConnectionQualityUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ConnectionQualityUpdate) String() string { @@ -2487,7 +2480,7 @@ func (*ConnectionQualityUpdate) ProtoMessage() {} func (x *ConnectionQualityUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2510,19 +2503,22 @@ func (x *ConnectionQualityUpdate) GetUpdates() []*ConnectionQualityInfo { } type StreamStateInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` - TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - State StreamState `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.StreamState" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` + TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + State StreamState `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.StreamState" json:"state,omitempty"` } func (x *StreamStateInfo) Reset() { *x = StreamStateInfo{} - mi := &file_livekit_rtc_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamStateInfo) String() string { @@ -2533,7 +2529,7 @@ func (*StreamStateInfo) ProtoMessage() {} func (x *StreamStateInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2570,17 +2566,20 @@ func (x *StreamStateInfo) GetState() StreamState { } type StreamStateUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - StreamStates []*StreamStateInfo `protobuf:"bytes,1,rep,name=stream_states,json=streamStates,proto3" json:"stream_states,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StreamStates []*StreamStateInfo `protobuf:"bytes,1,rep,name=stream_states,json=streamStates,proto3" json:"stream_states,omitempty"` } func (x *StreamStateUpdate) Reset() { *x = StreamStateUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamStateUpdate) String() string { @@ -2591,7 +2590,7 @@ func (*StreamStateUpdate) ProtoMessage() {} func (x *StreamStateUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2614,18 +2613,21 @@ func (x *StreamStateUpdate) GetStreamStates() []*StreamStateInfo { } type SubscribedQuality struct { - state protoimpl.MessageState `protogen:"open.v1"` - Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"` - Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"` + Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` } func (x *SubscribedQuality) Reset() { *x = SubscribedQuality{} - mi := &file_livekit_rtc_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscribedQuality) String() string { @@ -2636,7 +2638,7 @@ func (*SubscribedQuality) ProtoMessage() {} func (x *SubscribedQuality) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2666,18 +2668,21 @@ func (x *SubscribedQuality) GetEnabled() bool { } type SubscribedCodec struct { - state protoimpl.MessageState `protogen:"open.v1"` - Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` - Qualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=qualities,proto3" json:"qualities,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` + Qualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=qualities,proto3" json:"qualities,omitempty"` } func (x *SubscribedCodec) Reset() { *x = SubscribedCodec{} - mi := &file_livekit_rtc_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscribedCodec) String() string { @@ -2688,7 +2693,7 @@ func (*SubscribedCodec) ProtoMessage() {} func (x *SubscribedCodec) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2718,19 +2723,22 @@ func (x *SubscribedCodec) GetQualities() []*SubscribedQuality { } type SubscribedQualityUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - SubscribedQualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=subscribed_qualities,json=subscribedQualities,proto3" json:"subscribed_qualities,omitempty"` - SubscribedCodecs []*SubscribedCodec `protobuf:"bytes,3,rep,name=subscribed_codecs,json=subscribedCodecs,proto3" json:"subscribed_codecs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + SubscribedQualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=subscribed_qualities,json=subscribedQualities,proto3" json:"subscribed_qualities,omitempty"` + SubscribedCodecs []*SubscribedCodec `protobuf:"bytes,3,rep,name=subscribed_codecs,json=subscribedCodecs,proto3" json:"subscribed_codecs,omitempty"` } func (x *SubscribedQualityUpdate) Reset() { *x = SubscribedQualityUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscribedQualityUpdate) String() string { @@ -2741,7 +2749,7 @@ func (*SubscribedQualityUpdate) ProtoMessage() {} func (x *SubscribedQualityUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2778,21 +2786,24 @@ func (x *SubscribedQualityUpdate) GetSubscribedCodecs() []*SubscribedCodec { } type TrackPermission struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // permission could be granted either by participant sid or identity ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` AllTracks bool `protobuf:"varint,2,opt,name=all_tracks,json=allTracks,proto3" json:"all_tracks,omitempty"` TrackSids []string `protobuf:"bytes,3,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *TrackPermission) Reset() { *x = TrackPermission{} - mi := &file_livekit_rtc_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackPermission) String() string { @@ -2803,7 +2814,7 @@ func (*TrackPermission) ProtoMessage() {} func (x *TrackPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[29] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2847,18 +2858,21 @@ func (x *TrackPermission) GetParticipantIdentity() string { } type SubscriptionPermission struct { - state protoimpl.MessageState `protogen:"open.v1"` - AllParticipants bool `protobuf:"varint,1,opt,name=all_participants,json=allParticipants,proto3" json:"all_participants,omitempty"` - TrackPermissions []*TrackPermission `protobuf:"bytes,2,rep,name=track_permissions,json=trackPermissions,proto3" json:"track_permissions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AllParticipants bool `protobuf:"varint,1,opt,name=all_participants,json=allParticipants,proto3" json:"all_participants,omitempty"` + TrackPermissions []*TrackPermission `protobuf:"bytes,2,rep,name=track_permissions,json=trackPermissions,proto3" json:"track_permissions,omitempty"` } func (x *SubscriptionPermission) Reset() { *x = SubscriptionPermission{} - mi := &file_livekit_rtc_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscriptionPermission) String() string { @@ -2869,7 +2883,7 @@ func (*SubscriptionPermission) ProtoMessage() {} func (x *SubscriptionPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[30] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2899,19 +2913,22 @@ func (x *SubscriptionPermission) GetTrackPermissions() []*TrackPermission { } type SubscriptionPermissionUpdate struct { - state protoimpl.MessageState `protogen:"open.v1"` - ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` - TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Allowed bool `protobuf:"varint,3,opt,name=allowed,proto3" json:"allowed,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` + TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Allowed bool `protobuf:"varint,3,opt,name=allowed,proto3" json:"allowed,omitempty"` } func (x *SubscriptionPermissionUpdate) Reset() { *x = SubscriptionPermissionUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscriptionPermissionUpdate) String() string { @@ -2922,7 +2939,7 @@ func (*SubscriptionPermissionUpdate) ProtoMessage() {} func (x *SubscriptionPermissionUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[31] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2959,7 +2976,10 @@ func (x *SubscriptionPermissionUpdate) GetAllowed() bool { } type SyncState struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // last subscribe answer before reconnecting Answer *SessionDescription `protobuf:"bytes,1,opt,name=answer,proto3" json:"answer,omitempty"` Subscription *UpdateSubscription `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"` @@ -2968,15 +2988,15 @@ type SyncState struct { // last received server side offer before reconnecting Offer *SessionDescription `protobuf:"bytes,5,opt,name=offer,proto3" json:"offer,omitempty"` TrackSidsDisabled []string `protobuf:"bytes,6,rep,name=track_sids_disabled,json=trackSidsDisabled,proto3" json:"track_sids_disabled,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *SyncState) Reset() { *x = SyncState{} - mi := &file_livekit_rtc_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SyncState) String() string { @@ -2987,7 +3007,7 @@ func (*SyncState) ProtoMessage() {} func (x *SyncState) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[32] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3045,19 +3065,22 @@ func (x *SyncState) GetTrackSidsDisabled() []string { } type DataChannelInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` - Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` - Target SignalTarget `protobuf:"varint,3,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` + Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` + Target SignalTarget `protobuf:"varint,3,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` } func (x *DataChannelInfo) Reset() { *x = DataChannelInfo{} - mi := &file_livekit_rtc_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataChannelInfo) String() string { @@ -3068,7 +3091,7 @@ func (*DataChannelInfo) ProtoMessage() {} func (x *DataChannelInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[33] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3105,8 +3128,11 @@ func (x *DataChannelInfo) GetTarget() SignalTarget { } type SimulateScenario struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Scenario: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Scenario: // // *SimulateScenario_SpeakerUpdate // *SimulateScenario_NodeFailure @@ -3117,16 +3143,16 @@ type SimulateScenario struct { // *SimulateScenario_DisconnectSignalOnResume // *SimulateScenario_DisconnectSignalOnResumeNoMessages // *SimulateScenario_LeaveRequestFullReconnect - Scenario isSimulateScenario_Scenario `protobuf_oneof:"scenario"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Scenario isSimulateScenario_Scenario `protobuf_oneof:"scenario"` } func (x *SimulateScenario) Reset() { *x = SimulateScenario{} - mi := &file_livekit_rtc_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulateScenario) String() string { @@ -3137,7 +3163,7 @@ func (*SimulateScenario) ProtoMessage() {} func (x *SimulateScenario) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[34] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3152,90 +3178,72 @@ func (*SimulateScenario) Descriptor() ([]byte, []int) { return file_livekit_rtc_proto_rawDescGZIP(), []int{34} } -func (x *SimulateScenario) GetScenario() isSimulateScenario_Scenario { - if x != nil { - return x.Scenario +func (m *SimulateScenario) GetScenario() isSimulateScenario_Scenario { + if m != nil { + return m.Scenario } return nil } func (x *SimulateScenario) GetSpeakerUpdate() int32 { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_SpeakerUpdate); ok { - return x.SpeakerUpdate - } + if x, ok := x.GetScenario().(*SimulateScenario_SpeakerUpdate); ok { + return x.SpeakerUpdate } return 0 } func (x *SimulateScenario) GetNodeFailure() bool { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_NodeFailure); ok { - return x.NodeFailure - } + if x, ok := x.GetScenario().(*SimulateScenario_NodeFailure); ok { + return x.NodeFailure } return false } func (x *SimulateScenario) GetMigration() bool { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_Migration); ok { - return x.Migration - } + if x, ok := x.GetScenario().(*SimulateScenario_Migration); ok { + return x.Migration } return false } func (x *SimulateScenario) GetServerLeave() bool { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_ServerLeave); ok { - return x.ServerLeave - } + if x, ok := x.GetScenario().(*SimulateScenario_ServerLeave); ok { + return x.ServerLeave } return false } func (x *SimulateScenario) GetSwitchCandidateProtocol() CandidateProtocol { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_SwitchCandidateProtocol); ok { - return x.SwitchCandidateProtocol - } + if x, ok := x.GetScenario().(*SimulateScenario_SwitchCandidateProtocol); ok { + return x.SwitchCandidateProtocol } return CandidateProtocol_UDP } func (x *SimulateScenario) GetSubscriberBandwidth() int64 { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_SubscriberBandwidth); ok { - return x.SubscriberBandwidth - } + if x, ok := x.GetScenario().(*SimulateScenario_SubscriberBandwidth); ok { + return x.SubscriberBandwidth } return 0 } func (x *SimulateScenario) GetDisconnectSignalOnResume() bool { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_DisconnectSignalOnResume); ok { - return x.DisconnectSignalOnResume - } + if x, ok := x.GetScenario().(*SimulateScenario_DisconnectSignalOnResume); ok { + return x.DisconnectSignalOnResume } return false } func (x *SimulateScenario) GetDisconnectSignalOnResumeNoMessages() bool { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_DisconnectSignalOnResumeNoMessages); ok { - return x.DisconnectSignalOnResumeNoMessages - } + if x, ok := x.GetScenario().(*SimulateScenario_DisconnectSignalOnResumeNoMessages); ok { + return x.DisconnectSignalOnResumeNoMessages } return false } func (x *SimulateScenario) GetLeaveRequestFullReconnect() bool { - if x != nil { - if x, ok := x.Scenario.(*SimulateScenario_LeaveRequestFullReconnect); ok { - return x.LeaveRequestFullReconnect - } + if x, ok := x.GetScenario().(*SimulateScenario_LeaveRequestFullReconnect); ok { + return x.LeaveRequestFullReconnect } return false } @@ -3309,19 +3317,22 @@ func (*SimulateScenario_DisconnectSignalOnResumeNoMessages) isSimulateScenario_S func (*SimulateScenario_LeaveRequestFullReconnect) isSimulateScenario_Scenario() {} type Ping struct { - state protoimpl.MessageState `protogen:"open.v1"` - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // rtt in milliseconds calculated by client - Rtt int64 `protobuf:"varint,2,opt,name=rtt,proto3" json:"rtt,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + // rtt in milliseconds calculated by client + Rtt int64 `protobuf:"varint,2,opt,name=rtt,proto3" json:"rtt,omitempty"` } func (x *Ping) Reset() { *x = Ping{} - mi := &file_livekit_rtc_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Ping) String() string { @@ -3332,7 +3343,7 @@ func (*Ping) ProtoMessage() {} func (x *Ping) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[35] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3362,19 +3373,22 @@ func (x *Ping) GetRtt() int64 { } type Pong struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // timestamp field of last received ping request LastPingTimestamp int64 `protobuf:"varint,1,opt,name=last_ping_timestamp,json=lastPingTimestamp,proto3" json:"last_ping_timestamp,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *Pong) Reset() { *x = Pong{} - mi := &file_livekit_rtc_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Pong) String() string { @@ -3385,7 +3399,7 @@ func (*Pong) ProtoMessage() {} func (x *Pong) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[36] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3415,17 +3429,20 @@ func (x *Pong) GetTimestamp() int64 { } type RegionSettings struct { - state protoimpl.MessageState `protogen:"open.v1"` - Regions []*RegionInfo `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Regions []*RegionInfo `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` } func (x *RegionSettings) Reset() { *x = RegionSettings{} - mi := &file_livekit_rtc_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegionSettings) String() string { @@ -3436,7 +3453,7 @@ func (*RegionSettings) ProtoMessage() {} func (x *RegionSettings) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[37] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3459,19 +3476,22 @@ func (x *RegionSettings) GetRegions() []*RegionInfo { } type RegionInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - Distance int64 `protobuf:"varint,3,opt,name=distance,proto3" json:"distance,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Distance int64 `protobuf:"varint,3,opt,name=distance,proto3" json:"distance,omitempty"` } func (x *RegionInfo) Reset() { *x = RegionInfo{} - mi := &file_livekit_rtc_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegionInfo) String() string { @@ -3482,7 +3502,7 @@ func (*RegionInfo) ProtoMessage() {} func (x *RegionInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[38] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3519,18 +3539,21 @@ func (x *RegionInfo) GetDistance() int64 { } type SubscriptionResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Err SubscriptionError `protobuf:"varint,2,opt,name=err,proto3,enum=livekit.SubscriptionError" json:"err,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Err SubscriptionError `protobuf:"varint,2,opt,name=err,proto3,enum=livekit.SubscriptionError" json:"err,omitempty"` } func (x *SubscriptionResponse) Reset() { *x = SubscriptionResponse{} - mi := &file_livekit_rtc_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscriptionResponse) String() string { @@ -3541,7 +3564,7 @@ func (*SubscriptionResponse) ProtoMessage() {} func (x *SubscriptionResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[39] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3571,19 +3594,22 @@ func (x *SubscriptionResponse) GetErr() SubscriptionError { } type RequestResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - RequestId uint32 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - Reason RequestResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.RequestResponse_Reason" json:"reason,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestId uint32 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + Reason RequestResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.RequestResponse_Reason" json:"reason,omitempty"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` } func (x *RequestResponse) Reset() { *x = RequestResponse{} - mi := &file_livekit_rtc_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RequestResponse) String() string { @@ -3594,7 +3620,7 @@ func (*RequestResponse) ProtoMessage() {} func (x *RequestResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[40] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3631,17 +3657,20 @@ func (x *RequestResponse) GetMessage() string { } 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"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` } func (x *TrackSubscribed) Reset() { *x = TrackSubscribed{} - mi := &file_livekit_rtc_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackSubscribed) String() string { @@ -3652,7 +3681,7 @@ func (*TrackSubscribed) ProtoMessage() {} func (x *TrackSubscribed) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[41] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3676,7 +3705,7 @@ func (x *TrackSubscribed) GetTrackSid() string { var File_livekit_rtc_proto protoreflect.FileDescriptor -var file_livekit_rtc_proto_rawDesc = string([]byte{ +var file_livekit_rtc_proto_rawDesc = []byte{ 0x0a, 0x11, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x72, 0x74, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, @@ -4249,23 +4278,23 @@ var file_livekit_rtc_proto_rawDesc = string([]byte{ 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_rtc_proto_rawDescOnce sync.Once - file_livekit_rtc_proto_rawDescData []byte + file_livekit_rtc_proto_rawDescData = file_livekit_rtc_proto_rawDesc ) func file_livekit_rtc_proto_rawDescGZIP() []byte { file_livekit_rtc_proto_rawDescOnce.Do(func() { - file_livekit_rtc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_rtc_proto_rawDesc), len(file_livekit_rtc_proto_rawDesc))) + file_livekit_rtc_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_rtc_proto_rawDescData) }) return file_livekit_rtc_proto_rawDescData } var file_livekit_rtc_proto_enumTypes = make([]protoimpl.EnumInfo, 5) var file_livekit_rtc_proto_msgTypes = make([]protoimpl.MessageInfo, 43) -var file_livekit_rtc_proto_goTypes = []any{ +var file_livekit_rtc_proto_goTypes = []interface{}{ (SignalTarget)(0), // 0: livekit.SignalTarget (StreamState)(0), // 1: livekit.StreamState (CandidateProtocol)(0), // 2: livekit.CandidateProtocol @@ -4430,7 +4459,513 @@ func file_livekit_rtc_proto_init() { return } file_livekit_models_proto_init() - file_livekit_rtc_proto_msgTypes[0].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_rtc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SimulcastCodec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTrackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrickleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MuteTrackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JoinResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReconnectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackPublishedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackUnpublishedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SessionDescription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParticipantUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateSubscription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateTrackSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateLocalAudioTrack); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateLocalVideoTrack); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LeaveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateVideoLayers); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateParticipantMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ICEServer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpeakersChanged); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoomUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionQualityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionQualityUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamStateInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamStateUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscribedQuality); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscribedCodec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscribedQualityUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackPermission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscriptionPermission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscriptionPermissionUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataChannelInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SimulateScenario); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Ping); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Pong); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegionSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscriptionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackSubscribed); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_rtc_proto_msgTypes[0].OneofWrappers = []interface{}{ (*SignalRequest_Offer)(nil), (*SignalRequest_Answer)(nil), (*SignalRequest_Trickle)(nil), @@ -4449,7 +4984,7 @@ func file_livekit_rtc_proto_init() { (*SignalRequest_UpdateAudioTrack)(nil), (*SignalRequest_UpdateVideoTrack)(nil), } - file_livekit_rtc_proto_msgTypes[1].OneofWrappers = []any{ + file_livekit_rtc_proto_msgTypes[1].OneofWrappers = []interface{}{ (*SignalResponse_Join)(nil), (*SignalResponse_Answer)(nil), (*SignalResponse_Offer)(nil), @@ -4473,7 +5008,7 @@ func file_livekit_rtc_proto_init() { (*SignalResponse_RequestResponse)(nil), (*SignalResponse_TrackSubscribed)(nil), } - file_livekit_rtc_proto_msgTypes[34].OneofWrappers = []any{ + file_livekit_rtc_proto_msgTypes[34].OneofWrappers = []interface{}{ (*SimulateScenario_SpeakerUpdate)(nil), (*SimulateScenario_NodeFailure)(nil), (*SimulateScenario_Migration)(nil), @@ -4488,7 +5023,7 @@ func file_livekit_rtc_proto_init() { 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)), + RawDescriptor: file_livekit_rtc_proto_rawDesc, NumEnums: 5, NumMessages: 43, NumExtensions: 0, @@ -4500,6 +5035,7 @@ func file_livekit_rtc_proto_init() { MessageInfos: file_livekit_rtc_proto_msgTypes, }.Build() File_livekit_rtc_proto = out.File + file_livekit_rtc_proto_rawDesc = nil file_livekit_rtc_proto_goTypes = nil file_livekit_rtc_proto_depIdxs = nil } diff --git a/livekit/livekit_sip.pb.go b/livekit/livekit_sip.pb.go index 651f65e63..954bf0ba5 100644 --- a/livekit/livekit_sip.pb.go +++ b/livekit/livekit_sip.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_sip.proto package livekit @@ -27,7 +27,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -575,18 +574,21 @@ func (SIPTrunkInfo_TrunkKind) EnumDescriptor() ([]byte, []int) { // SIPStatus is returned as an error detail in CreateSIPParticipant. type SIPStatus struct { - state protoimpl.MessageState `protogen:"open.v1"` - Code SIPStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=livekit.SIPStatusCode" json:"code,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code SIPStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=livekit.SIPStatusCode" json:"code,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` } func (x *SIPStatus) Reset() { *x = SIPStatus{} - mi := &file_livekit_sip_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPStatus) String() string { @@ -597,7 +599,7 @@ func (*SIPStatus) ProtoMessage() {} func (x *SIPStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -628,7 +630,10 @@ func (x *SIPStatus) GetStatus() string { // Deprecated: Marked as deprecated in livekit_sip.proto. type CreateSIPTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // CIDR or IPs that traffic is accepted from // An empty list means all inbound traffic is accepted. InboundAddresses []string `protobuf:"bytes,1,rep,name=inbound_addresses,json=inboundAddresses,proto3" json:"inbound_addresses,omitempty"` @@ -651,16 +656,16 @@ type CreateSIPTrunkRequest struct { // Optional human-readable name for the Trunk. Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` // Optional user-defined metadata for the Trunk. - Metadata string `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Metadata string `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *CreateSIPTrunkRequest) Reset() { *x = CreateSIPTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPTrunkRequest) String() string { @@ -671,7 +676,7 @@ func (*CreateSIPTrunkRequest) ProtoMessage() {} func (x *CreateSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -766,7 +771,10 @@ func (x *CreateSIPTrunkRequest) GetMetadata() string { // Deprecated: Marked as deprecated in livekit_sip.proto. type SIPTrunkInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` Kind SIPTrunkInfo_TrunkKind `protobuf:"varint,14,opt,name=kind,proto3,enum=livekit.SIPTrunkInfo_TrunkKind" json:"kind,omitempty"` // CIDR or IPs that traffic is accepted from @@ -793,16 +801,16 @@ type SIPTrunkInfo struct { // Human-readable name for the Trunk. Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"` // User-defined metadata for the Trunk. - Metadata string `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Metadata string `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"` } func (x *SIPTrunkInfo) Reset() { *x = SIPTrunkInfo{} - mi := &file_livekit_sip_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPTrunkInfo) String() string { @@ -813,7 +821,7 @@ func (*SIPTrunkInfo) ProtoMessage() {} func (x *SIPTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -928,17 +936,20 @@ func (x *SIPTrunkInfo) GetMetadata() string { } type CreateSIPInboundTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored } func (x *CreateSIPInboundTrunkRequest) Reset() { *x = CreateSIPInboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPInboundTrunkRequest) String() string { @@ -949,7 +960,7 @@ func (*CreateSIPInboundTrunkRequest) ProtoMessage() {} func (x *CreateSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -972,8 +983,11 @@ func (x *CreateSIPInboundTrunkRequest) GetTrunk() *SIPInboundTrunkInfo { } type SIPInboundTrunkInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` // Human-readable name for the Trunk. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // User-defined metadata for the Trunk. @@ -992,12 +1006,12 @@ type SIPInboundTrunkInfo struct { AuthUsername string `protobuf:"bytes,7,opt,name=auth_username,json=authUsername,proto3" json:"auth_username,omitempty"` AuthPassword string `protobuf:"bytes,8,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` // Include these SIP X-* headers in 200 OK responses. - Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP X-* headers from INVITE to SIP participant attributes. - HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,14,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + AttributesToHeaders map[string]string `protobuf:"bytes,14,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP headers from INVITE to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -1011,15 +1025,15 @@ type SIPInboundTrunkInfo struct { MaxCallDuration *durationpb.Duration `protobuf:"bytes,12,opt,name=max_call_duration,json=maxCallDuration,proto3" json:"max_call_duration,omitempty"` KrispEnabled bool `protobuf:"varint,13,opt,name=krisp_enabled,json=krispEnabled,proto3" json:"krisp_enabled,omitempty"` MediaEncryption SIPMediaEncryption `protobuf:"varint,16,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *SIPInboundTrunkInfo) Reset() { *x = SIPInboundTrunkInfo{} - mi := &file_livekit_sip_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPInboundTrunkInfo) String() string { @@ -1030,7 +1044,7 @@ func (*SIPInboundTrunkInfo) ProtoMessage() {} func (x *SIPInboundTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1158,17 +1172,20 @@ func (x *SIPInboundTrunkInfo) GetMediaEncryption() SIPMediaEncryption { } type CreateSIPOutboundTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored } func (x *CreateSIPOutboundTrunkRequest) Reset() { *x = CreateSIPOutboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPOutboundTrunkRequest) String() string { @@ -1179,7 +1196,7 @@ func (*CreateSIPOutboundTrunkRequest) ProtoMessage() {} func (x *CreateSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1202,8 +1219,11 @@ func (x *CreateSIPOutboundTrunkRequest) GetTrunk() *SIPOutboundTrunkInfo { } type SIPOutboundTrunkInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` // Human-readable name for the Trunk. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // User-defined metadata for the Trunk. @@ -1221,13 +1241,13 @@ type SIPOutboundTrunkInfo struct { AuthPassword string `protobuf:"bytes,8,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` // Include these SIP X-* headers in INVITE request. // These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. - Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP X-* headers from 200 OK to SIP participant attributes. // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,11,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + AttributesToHeaders map[string]string `protobuf:"bytes,11,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP headers from 200 OK to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -1236,15 +1256,15 @@ type SIPOutboundTrunkInfo struct { // lowercase header names should be used, for example: sip.h.x-custom-header. IncludeHeaders SIPHeaderOptions `protobuf:"varint,12,opt,name=include_headers,json=includeHeaders,proto3,enum=livekit.SIPHeaderOptions" json:"include_headers,omitempty"` MediaEncryption SIPMediaEncryption `protobuf:"varint,13,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *SIPOutboundTrunkInfo) Reset() { *x = SIPOutboundTrunkInfo{} - mi := &file_livekit_sip_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPOutboundTrunkInfo) String() string { @@ -1255,7 +1275,7 @@ func (*SIPOutboundTrunkInfo) ProtoMessage() {} func (x *SIPOutboundTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1362,17 +1382,20 @@ func (x *SIPOutboundTrunkInfo) GetMediaEncryption() SIPMediaEncryption { } type GetSIPInboundTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` } func (x *GetSIPInboundTrunkRequest) Reset() { *x = GetSIPInboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPInboundTrunkRequest) String() string { @@ -1383,7 +1406,7 @@ func (*GetSIPInboundTrunkRequest) ProtoMessage() {} func (x *GetSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1406,17 +1429,20 @@ func (x *GetSIPInboundTrunkRequest) GetSipTrunkId() string { } type GetSIPInboundTrunkResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` } func (x *GetSIPInboundTrunkResponse) Reset() { *x = GetSIPInboundTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPInboundTrunkResponse) String() string { @@ -1427,7 +1453,7 @@ func (*GetSIPInboundTrunkResponse) ProtoMessage() {} func (x *GetSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1450,17 +1476,20 @@ func (x *GetSIPInboundTrunkResponse) GetTrunk() *SIPInboundTrunkInfo { } type GetSIPOutboundTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` } func (x *GetSIPOutboundTrunkRequest) Reset() { *x = GetSIPOutboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPOutboundTrunkRequest) String() string { @@ -1471,7 +1500,7 @@ func (*GetSIPOutboundTrunkRequest) ProtoMessage() {} func (x *GetSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1494,17 +1523,20 @@ func (x *GetSIPOutboundTrunkRequest) GetSipTrunkId() string { } type GetSIPOutboundTrunkResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` } func (x *GetSIPOutboundTrunkResponse) Reset() { *x = GetSIPOutboundTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPOutboundTrunkResponse) String() string { @@ -1515,7 +1547,7 @@ func (*GetSIPOutboundTrunkResponse) ProtoMessage() {} func (x *GetSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1539,17 +1571,20 @@ func (x *GetSIPOutboundTrunkResponse) GetTrunk() *SIPOutboundTrunkInfo { // Deprecated: Marked as deprecated in livekit_sip.proto. type ListSIPTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Page *Pagination `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Page *Pagination `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` } func (x *ListSIPTrunkRequest) Reset() { *x = ListSIPTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPTrunkRequest) String() string { @@ -1560,7 +1595,7 @@ func (*ListSIPTrunkRequest) ProtoMessage() {} func (x *ListSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1584,17 +1619,20 @@ func (x *ListSIPTrunkRequest) GetPage() *Pagination { // Deprecated: Marked as deprecated in livekit_sip.proto. type ListSIPTrunkResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*SIPTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Items []*SIPTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *ListSIPTrunkResponse) Reset() { *x = ListSIPTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPTrunkResponse) String() string { @@ -1605,7 +1643,7 @@ func (*ListSIPTrunkResponse) ProtoMessage() {} func (x *ListSIPTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1629,22 +1667,25 @@ func (x *ListSIPTrunkResponse) GetItems() []*SIPTrunkInfo { // ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed. type ListSIPInboundTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // Trunk IDs to list. If this option is set, the response will contains trunks in the same order. // If any of the trunks is missing, a nil item in that position will be sent in the response. TrunkIds []string `protobuf:"bytes,1,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` // Only list trunks that contain one of the numbers, including wildcard trunks. - Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` } func (x *ListSIPInboundTrunkRequest) Reset() { *x = ListSIPInboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPInboundTrunkRequest) String() string { @@ -1655,7 +1696,7 @@ func (*ListSIPInboundTrunkRequest) ProtoMessage() {} func (x *ListSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1692,17 +1733,20 @@ func (x *ListSIPInboundTrunkRequest) GetNumbers() []string { } type ListSIPInboundTrunkResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*SIPInboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Items []*SIPInboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *ListSIPInboundTrunkResponse) Reset() { *x = ListSIPInboundTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPInboundTrunkResponse) String() string { @@ -1713,7 +1757,7 @@ func (*ListSIPInboundTrunkResponse) ProtoMessage() {} func (x *ListSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1737,22 +1781,25 @@ func (x *ListSIPInboundTrunkResponse) GetItems() []*SIPInboundTrunkInfo { // ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed. type ListSIPOutboundTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // Trunk IDs to list. If this option is set, the response will contains trunks in the same order. // If any of the trunks is missing, a nil item in that position will be sent in the response. TrunkIds []string `protobuf:"bytes,1,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` // Only list trunks that contain one of the numbers, including wildcard trunks. - Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` } func (x *ListSIPOutboundTrunkRequest) Reset() { *x = ListSIPOutboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPOutboundTrunkRequest) String() string { @@ -1763,7 +1810,7 @@ func (*ListSIPOutboundTrunkRequest) ProtoMessage() {} func (x *ListSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1800,17 +1847,20 @@ func (x *ListSIPOutboundTrunkRequest) GetNumbers() []string { } type ListSIPOutboundTrunkResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*SIPOutboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Items []*SIPOutboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *ListSIPOutboundTrunkResponse) Reset() { *x = ListSIPOutboundTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPOutboundTrunkResponse) String() string { @@ -1821,7 +1871,7 @@ func (*ListSIPOutboundTrunkResponse) ProtoMessage() {} func (x *ListSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1844,17 +1894,20 @@ func (x *ListSIPOutboundTrunkResponse) GetItems() []*SIPOutboundTrunkInfo { } type DeleteSIPTrunkRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` } func (x *DeleteSIPTrunkRequest) Reset() { *x = DeleteSIPTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteSIPTrunkRequest) String() string { @@ -1865,7 +1918,7 @@ func (*DeleteSIPTrunkRequest) ProtoMessage() {} func (x *DeleteSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1888,20 +1941,23 @@ func (x *DeleteSIPTrunkRequest) GetSipTrunkId() string { } type SIPDispatchRuleDirect struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // What room should call be directed into RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // Optional pin required to enter room - Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` } func (x *SIPDispatchRuleDirect) Reset() { *x = SIPDispatchRuleDirect{} - mi := &file_livekit_sip_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRuleDirect) String() string { @@ -1912,7 +1968,7 @@ func (*SIPDispatchRuleDirect) ProtoMessage() {} func (x *SIPDispatchRuleDirect) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1942,20 +1998,23 @@ func (x *SIPDispatchRuleDirect) GetPin() string { } type SIPDispatchRuleIndividual struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Prefix used on new room name RoomPrefix string `protobuf:"bytes,1,opt,name=room_prefix,json=roomPrefix,proto3" json:"room_prefix,omitempty"` // Optional pin required to enter room - Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` } func (x *SIPDispatchRuleIndividual) Reset() { *x = SIPDispatchRuleIndividual{} - mi := &file_livekit_sip_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRuleIndividual) String() string { @@ -1966,7 +2025,7 @@ func (*SIPDispatchRuleIndividual) ProtoMessage() {} func (x *SIPDispatchRuleIndividual) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1996,22 +2055,25 @@ func (x *SIPDispatchRuleIndividual) GetPin() string { } type SIPDispatchRuleCallee struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Prefix used on new room name RoomPrefix string `protobuf:"bytes,1,opt,name=room_prefix,json=roomPrefix,proto3" json:"room_prefix,omitempty"` // Optional pin required to enter room Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` // Optionally append random suffix - Randomize bool `protobuf:"varint,3,opt,name=randomize,proto3" json:"randomize,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Randomize bool `protobuf:"varint,3,opt,name=randomize,proto3" json:"randomize,omitempty"` } func (x *SIPDispatchRuleCallee) Reset() { *x = SIPDispatchRuleCallee{} - mi := &file_livekit_sip_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRuleCallee) String() string { @@ -2022,7 +2084,7 @@ func (*SIPDispatchRuleCallee) ProtoMessage() {} func (x *SIPDispatchRuleCallee) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2059,22 +2121,25 @@ func (x *SIPDispatchRuleCallee) GetRandomize() bool { } type SIPDispatchRule struct { - state protoimpl.MessageState `protogen:"open.v1"` - // Types that are valid to be assigned to Rule: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Rule: // // *SIPDispatchRule_DispatchRuleDirect // *SIPDispatchRule_DispatchRuleIndividual // *SIPDispatchRule_DispatchRuleCallee - Rule isSIPDispatchRule_Rule `protobuf_oneof:"rule"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Rule isSIPDispatchRule_Rule `protobuf_oneof:"rule"` } func (x *SIPDispatchRule) Reset() { *x = SIPDispatchRule{} - mi := &file_livekit_sip_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRule) String() string { @@ -2085,7 +2150,7 @@ func (*SIPDispatchRule) ProtoMessage() {} func (x *SIPDispatchRule) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2100,36 +2165,30 @@ func (*SIPDispatchRule) Descriptor() ([]byte, []int) { return file_livekit_sip_proto_rawDescGZIP(), []int{21} } -func (x *SIPDispatchRule) GetRule() isSIPDispatchRule_Rule { - if x != nil { - return x.Rule +func (m *SIPDispatchRule) GetRule() isSIPDispatchRule_Rule { + if m != nil { + return m.Rule } return nil } func (x *SIPDispatchRule) GetDispatchRuleDirect() *SIPDispatchRuleDirect { - if x != nil { - if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleDirect); ok { - return x.DispatchRuleDirect - } + if x, ok := x.GetRule().(*SIPDispatchRule_DispatchRuleDirect); ok { + return x.DispatchRuleDirect } return nil } func (x *SIPDispatchRule) GetDispatchRuleIndividual() *SIPDispatchRuleIndividual { - if x != nil { - if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleIndividual); ok { - return x.DispatchRuleIndividual - } + if x, ok := x.GetRule().(*SIPDispatchRule_DispatchRuleIndividual); ok { + return x.DispatchRuleIndividual } return nil } func (x *SIPDispatchRule) GetDispatchRuleCallee() *SIPDispatchRuleCallee { - if x != nil { - if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleCallee); ok { - return x.DispatchRuleCallee - } + if x, ok := x.GetRule().(*SIPDispatchRule_DispatchRuleCallee); ok { + return x.DispatchRuleCallee } return nil } @@ -2162,8 +2221,11 @@ func (*SIPDispatchRule_DispatchRuleIndividual) isSIPDispatchRule_Rule() {} func (*SIPDispatchRule_DispatchRuleCallee) isSIPDispatchRule_Rule() {} type CreateSIPDispatchRuleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Rule *SIPDispatchRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Rule *SIPDispatchRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` // What trunks are accepted for this dispatch rule // If empty all trunks will match this dispatch rule TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` @@ -2179,20 +2241,20 @@ type CreateSIPDispatchRuleRequest struct { Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // User-defined attributes for the Dispatch Rule. // Participants created by this rule will inherit these attributes. - Attributes map[string]string `protobuf:"bytes,7,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Attributes map[string]string `protobuf:"bytes,7,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Cloud-only, config preset to use RoomPreset string `protobuf:"bytes,8,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"` // RoomConfiguration to use if the participant initiates the room - RoomConfig *RoomConfiguration `protobuf:"bytes,9,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + RoomConfig *RoomConfiguration `protobuf:"bytes,9,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` } func (x *CreateSIPDispatchRuleRequest) Reset() { *x = CreateSIPDispatchRuleRequest{} - mi := &file_livekit_sip_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPDispatchRuleRequest) String() string { @@ -2203,7 +2265,7 @@ func (*CreateSIPDispatchRuleRequest) ProtoMessage() {} func (x *CreateSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2282,11 +2344,14 @@ func (x *CreateSIPDispatchRuleRequest) GetRoomConfig() *RoomConfiguration { } type SIPDispatchRuleInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` - Rule *SIPDispatchRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` - TrunkIds []string `protobuf:"bytes,3,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` - HidePhoneNumber bool `protobuf:"varint,4,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` + Rule *SIPDispatchRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` + TrunkIds []string `protobuf:"bytes,3,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` + HidePhoneNumber bool `protobuf:"varint,4,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"` // Dispatch Rule will only accept a call made to these numbers (if set). InboundNumbers []string `protobuf:"bytes,7,rep,name=inbound_numbers,json=inboundNumbers,proto3" json:"inbound_numbers,omitempty"` // Human-readable name for the Dispatch Rule. @@ -2296,22 +2361,22 @@ type SIPDispatchRuleInfo struct { Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // User-defined attributes for the Dispatch Rule. // Participants created by this rule will inherit these attributes. - Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Cloud-only, config preset to use RoomPreset string `protobuf:"bytes,9,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"` // RoomConfiguration to use if the participant initiates the room RoomConfig *RoomConfiguration `protobuf:"bytes,10,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` KrispEnabled bool `protobuf:"varint,11,opt,name=krisp_enabled,json=krispEnabled,proto3" json:"krisp_enabled,omitempty"` MediaEncryption SIPMediaEncryption `protobuf:"varint,12,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` // NEXT ID: 13 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *SIPDispatchRuleInfo) Reset() { *x = SIPDispatchRuleInfo{} - mi := &file_livekit_sip_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRuleInfo) String() string { @@ -2322,7 +2387,7 @@ func (*SIPDispatchRuleInfo) ProtoMessage() {} func (x *SIPDispatchRuleInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2423,22 +2488,25 @@ func (x *SIPDispatchRuleInfo) GetMediaEncryption() SIPMediaEncryption { // ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed. type ListSIPDispatchRuleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // Rule IDs to list. If this option is set, the response will contains rules in the same order. // If any of the rules is missing, a nil item in that position will be sent in the response. DispatchRuleIds []string `protobuf:"bytes,1,rep,name=dispatch_rule_ids,json=dispatchRuleIds,proto3" json:"dispatch_rule_ids,omitempty"` // Only list rules that contain one of the Trunk IDs, including wildcard rules. - TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` } func (x *ListSIPDispatchRuleRequest) Reset() { *x = ListSIPDispatchRuleRequest{} - mi := &file_livekit_sip_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPDispatchRuleRequest) String() string { @@ -2449,7 +2517,7 @@ func (*ListSIPDispatchRuleRequest) ProtoMessage() {} func (x *ListSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2486,17 +2554,20 @@ func (x *ListSIPDispatchRuleRequest) GetTrunkIds() []string { } type ListSIPDispatchRuleResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Items []*SIPDispatchRuleInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Items []*SIPDispatchRuleInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *ListSIPDispatchRuleResponse) Reset() { *x = ListSIPDispatchRuleResponse{} - mi := &file_livekit_sip_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPDispatchRuleResponse) String() string { @@ -2507,7 +2578,7 @@ func (*ListSIPDispatchRuleResponse) ProtoMessage() {} func (x *ListSIPDispatchRuleResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2530,17 +2601,20 @@ func (x *ListSIPDispatchRuleResponse) GetItems() []*SIPDispatchRuleInfo { } type DeleteSIPDispatchRuleRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` } func (x *DeleteSIPDispatchRuleRequest) Reset() { *x = DeleteSIPDispatchRuleRequest{} - mi := &file_livekit_sip_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteSIPDispatchRuleRequest) String() string { @@ -2551,7 +2625,7 @@ func (*DeleteSIPDispatchRuleRequest) ProtoMessage() {} func (x *DeleteSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2574,7 +2648,10 @@ func (x *DeleteSIPDispatchRuleRequest) GetSipDispatchRuleId() string { } type SIPOutboundConfig struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // SIP server address Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // SIP Transport used for outbound call. @@ -2585,19 +2662,19 @@ type SIPOutboundConfig struct { AuthPassword string `protobuf:"bytes,4,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` // Map SIP X-* headers from 200 OK to SIP participant attributes. // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - HeadersToAttributes map[string]string `protobuf:"bytes,5,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + HeadersToAttributes map[string]string `protobuf:"bytes,5,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,6,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + AttributesToHeaders map[string]string `protobuf:"bytes,6,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *SIPOutboundConfig) Reset() { *x = SIPOutboundConfig{} - mi := &file_livekit_sip_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPOutboundConfig) String() string { @@ -2608,7 +2685,7 @@ func (*SIPOutboundConfig) ProtoMessage() {} func (x *SIPOutboundConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2668,7 +2745,10 @@ func (x *SIPOutboundConfig) GetAttributesToHeaders() map[string]string { // A SIP Participant is a singular SIP session connected to a LiveKit room via // a SIP Trunk into a SIP DispatchRule type CreateSIPParticipantRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // What SIP Trunk should be used to dial the user SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` Trunk *SIPOutboundConfig `protobuf:"bytes,20,opt,name=trunk,proto3" json:"trunk,omitempty"` @@ -2685,7 +2765,7 @@ type CreateSIPParticipantRequest struct { // Optional user-defined metadata. Will be attached to a created Participant in the room. ParticipantMetadata string `protobuf:"bytes,8,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` // Optional user-defined attributes. Will be attached to a created Participant in the room. - ParticipantAttributes map[string]string `protobuf:"bytes,9,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + ParticipantAttributes map[string]string `protobuf:"bytes,9,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Optionally send following DTMF digits (extension codes) when making a call. // Character 'w' can be used to add a 0.5 sec delay. Dtmf string `protobuf:"bytes,5,opt,name=dtmf,proto3" json:"dtmf,omitempty"` @@ -2698,7 +2778,7 @@ type CreateSIPParticipantRequest struct { // If true, a random value for identity will be used and numbers will be omitted from attributes. HidePhoneNumber bool `protobuf:"varint,10,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"` // These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. - Headers map[string]string `protobuf:"bytes,16,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Headers map[string]string `protobuf:"bytes,16,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP headers from 200 OK to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -2715,15 +2795,15 @@ type CreateSIPParticipantRequest struct { MediaEncryption SIPMediaEncryption `protobuf:"varint,18,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` // Wait for the answer for the call before returning. WaitUntilAnswered bool `protobuf:"varint,19,opt,name=wait_until_answered,json=waitUntilAnswered,proto3" json:"wait_until_answered,omitempty"` // NEXT ID: 21 - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *CreateSIPParticipantRequest) Reset() { *x = CreateSIPParticipantRequest{} - mi := &file_livekit_sip_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPParticipantRequest) String() string { @@ -2734,7 +2814,7 @@ func (*CreateSIPParticipantRequest) ProtoMessage() {} func (x *CreateSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2891,20 +2971,23 @@ func (x *CreateSIPParticipantRequest) GetWaitUntilAnswered() bool { } type SIPParticipantInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` - ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - SipCallId string `protobuf:"bytes,4,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` + ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + SipCallId string `protobuf:"bytes,4,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` } func (x *SIPParticipantInfo) Reset() { *x = SIPParticipantInfo{} - mi := &file_livekit_sip_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPParticipantInfo) String() string { @@ -2915,7 +2998,7 @@ func (*SIPParticipantInfo) ProtoMessage() {} func (x *SIPParticipantInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[29] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2959,23 +3042,26 @@ func (x *SIPParticipantInfo) GetSipCallId() string { } type TransferSIPParticipantRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - ParticipantIdentity string `protobuf:"bytes,1,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - TransferTo string `protobuf:"bytes,3,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParticipantIdentity string `protobuf:"bytes,1,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + TransferTo string `protobuf:"bytes,3,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` // Optionally play dialtone to the SIP participant as an audible indicator of being transferred PlayDialtone bool `protobuf:"varint,4,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` // Add the following headers to the REFER SIP request. - Headers map[string]string `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Headers map[string]string `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *TransferSIPParticipantRequest) Reset() { *x = TransferSIPParticipantRequest{} - mi := &file_livekit_sip_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TransferSIPParticipantRequest) String() string { @@ -2986,7 +3072,7 @@ func (*TransferSIPParticipantRequest) ProtoMessage() {} func (x *TransferSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[30] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3037,31 +3123,34 @@ func (x *TransferSIPParticipantRequest) GetHeaders() map[string]string { } type SIPCallInfo struct { - state protoimpl.MessageState `protogen:"open.v1"` - CallId string `protobuf:"bytes,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` - TrunkId string `protobuf:"bytes,2,opt,name=trunk_id,json=trunkId,proto3" json:"trunk_id,omitempty"` - RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to - ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - FromUri *SIPUri `protobuf:"bytes,6,opt,name=from_uri,json=fromUri,proto3" json:"from_uri,omitempty"` - ToUri *SIPUri `protobuf:"bytes,7,opt,name=to_uri,json=toUri,proto3" json:"to_uri,omitempty"` - EnabledFeatures []SIPFeature `protobuf:"varint,14,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=livekit.SIPFeature" json:"enabled_features,omitempty"` - CallDirection SIPCallDirection `protobuf:"varint,15,opt,name=call_direction,json=callDirection,proto3,enum=livekit.SIPCallDirection" json:"call_direction,omitempty"` - CallStatus SIPCallStatus `protobuf:"varint,8,opt,name=call_status,json=callStatus,proto3,enum=livekit.SIPCallStatus" json:"call_status,omitempty"` - CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - DisconnectReason DisconnectReason `protobuf:"varint,12,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"` - Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CallId string `protobuf:"bytes,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` + TrunkId string `protobuf:"bytes,2,opt,name=trunk_id,json=trunkId,proto3" json:"trunk_id,omitempty"` + RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to + ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + FromUri *SIPUri `protobuf:"bytes,6,opt,name=from_uri,json=fromUri,proto3" json:"from_uri,omitempty"` + ToUri *SIPUri `protobuf:"bytes,7,opt,name=to_uri,json=toUri,proto3" json:"to_uri,omitempty"` + EnabledFeatures []SIPFeature `protobuf:"varint,14,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=livekit.SIPFeature" json:"enabled_features,omitempty"` + CallDirection SIPCallDirection `protobuf:"varint,15,opt,name=call_direction,json=callDirection,proto3,enum=livekit.SIPCallDirection" json:"call_direction,omitempty"` + CallStatus SIPCallStatus `protobuf:"varint,8,opt,name=call_status,json=callStatus,proto3,enum=livekit.SIPCallStatus" json:"call_status,omitempty"` + CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + DisconnectReason DisconnectReason `protobuf:"varint,12,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"` + Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"` } func (x *SIPCallInfo) Reset() { *x = SIPCallInfo{} - mi := &file_livekit_sip_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPCallInfo) String() string { @@ -3072,7 +3161,7 @@ func (*SIPCallInfo) ProtoMessage() {} func (x *SIPCallInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[31] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3193,21 +3282,24 @@ func (x *SIPCallInfo) GetError() string { } type SIPUri struct { - state protoimpl.MessageState `protogen:"open.v1"` - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` - Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` - Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` - Transport SIPTransport `protobuf:"varint,5,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` + Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` + Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` + Transport SIPTransport `protobuf:"varint,5,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"` } func (x *SIPUri) Reset() { *x = SIPUri{} - mi := &file_livekit_sip_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPUri) String() string { @@ -3218,7 +3310,7 @@ func (*SIPUri) ProtoMessage() {} func (x *SIPUri) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[32] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3270,7 +3362,7 @@ func (x *SIPUri) GetTransport() SIPTransport { var File_livekit_sip_proto protoreflect.FileDescriptor -var file_livekit_sip_proto_rawDesc = string([]byte{ +var file_livekit_sip_proto_rawDesc = []byte{ 0x0a, 0x11, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x73, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, @@ -4078,23 +4170,23 @@ var file_livekit_sip_proto_rawDesc = string([]byte{ 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_sip_proto_rawDescOnce sync.Once - file_livekit_sip_proto_rawDescData []byte + file_livekit_sip_proto_rawDescData = file_livekit_sip_proto_rawDesc ) func file_livekit_sip_proto_rawDescGZIP() []byte { file_livekit_sip_proto_rawDescOnce.Do(func() { - file_livekit_sip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_sip_proto_rawDesc), len(file_livekit_sip_proto_rawDesc))) + file_livekit_sip_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_sip_proto_rawDescData) }) return file_livekit_sip_proto_rawDescData } var file_livekit_sip_proto_enumTypes = make([]protoimpl.EnumInfo, 8) var file_livekit_sip_proto_msgTypes = make([]protoimpl.MessageInfo, 46) -var file_livekit_sip_proto_goTypes = []any{ +var file_livekit_sip_proto_goTypes = []interface{}{ (SIPStatusCode)(0), // 0: livekit.SIPStatusCode (SIPTransport)(0), // 1: livekit.SIPTransport (SIPHeaderOptions)(0), // 2: livekit.SIPHeaderOptions @@ -4252,7 +4344,405 @@ func file_livekit_sip_proto_init() { } file_livekit_models_proto_init() file_livekit_room_proto_init() - file_livekit_sip_proto_msgTypes[21].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_livekit_sip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSIPTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPTrunkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSIPInboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPInboundTrunkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSIPOutboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPOutboundTrunkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSIPInboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSIPInboundTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSIPOutboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSIPOutboundTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPInboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPInboundTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPOutboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPOutboundTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteSIPTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPDispatchRuleDirect); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPDispatchRuleIndividual); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPDispatchRuleCallee); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPDispatchRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSIPDispatchRuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPDispatchRuleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPDispatchRuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSIPDispatchRuleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteSIPDispatchRuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPOutboundConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSIPParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPParticipantInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransferSIPParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPCallInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SIPUri); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_livekit_sip_proto_msgTypes[21].OneofWrappers = []interface{}{ (*SIPDispatchRule_DispatchRuleDirect)(nil), (*SIPDispatchRule_DispatchRuleIndividual)(nil), (*SIPDispatchRule_DispatchRuleCallee)(nil), @@ -4261,7 +4751,7 @@ func file_livekit_sip_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_sip_proto_rawDesc), len(file_livekit_sip_proto_rawDesc)), + RawDescriptor: file_livekit_sip_proto_rawDesc, NumEnums: 8, NumMessages: 46, NumExtensions: 0, @@ -4273,6 +4763,7 @@ func file_livekit_sip_proto_init() { MessageInfos: file_livekit_sip_proto_msgTypes, }.Build() File_livekit_sip_proto = out.File + file_livekit_sip_proto_rawDesc = nil file_livekit_sip_proto_goTypes = nil file_livekit_sip_proto_depIdxs = nil } diff --git a/livekit/livekit_webhook.pb.go b/livekit/livekit_webhook.pb.go index 1f56d9981..f39c8b9c0 100644 --- a/livekit/livekit_webhook.pb.go +++ b/livekit/livekit_webhook.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: livekit_webhook.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -36,7 +35,10 @@ const ( ) type WebhookEvent struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // one of room_started, room_finished, participant_joined, participant_left, // track_published, track_unpublished, egress_started, egress_updated, egress_ended, // ingress_started, ingress_ended @@ -53,17 +55,17 @@ type WebhookEvent struct { // unique event uuid Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` // timestamp in seconds - CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - NumDropped int32 `protobuf:"varint,11,opt,name=num_dropped,json=numDropped,proto3" json:"num_dropped,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + NumDropped int32 `protobuf:"varint,11,opt,name=num_dropped,json=numDropped,proto3" json:"num_dropped,omitempty"` } func (x *WebhookEvent) Reset() { *x = WebhookEvent{} - mi := &file_livekit_webhook_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_webhook_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WebhookEvent) String() string { @@ -74,7 +76,7 @@ func (*WebhookEvent) ProtoMessage() {} func (x *WebhookEvent) ProtoReflect() protoreflect.Message { mi := &file_livekit_webhook_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -154,7 +156,7 @@ func (x *WebhookEvent) GetNumDropped() int32 { var File_livekit_webhook_proto protoreflect.FileDescriptor -var file_livekit_webhook_proto_rawDesc = string([]byte{ +var file_livekit_webhook_proto_rawDesc = []byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, @@ -190,22 +192,22 @@ var file_livekit_webhook_proto_rawDesc = string([]byte{ 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_livekit_webhook_proto_rawDescOnce sync.Once - file_livekit_webhook_proto_rawDescData []byte + file_livekit_webhook_proto_rawDescData = file_livekit_webhook_proto_rawDesc ) func file_livekit_webhook_proto_rawDescGZIP() []byte { file_livekit_webhook_proto_rawDescOnce.Do(func() { - file_livekit_webhook_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_webhook_proto_rawDesc), len(file_livekit_webhook_proto_rawDesc))) + file_livekit_webhook_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_webhook_proto_rawDescData) }) return file_livekit_webhook_proto_rawDescData } var file_livekit_webhook_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_livekit_webhook_proto_goTypes = []any{ +var file_livekit_webhook_proto_goTypes = []interface{}{ (*WebhookEvent)(nil), // 0: livekit.WebhookEvent (*Room)(nil), // 1: livekit.Room (*ParticipantInfo)(nil), // 2: livekit.ParticipantInfo @@ -234,11 +236,25 @@ func file_livekit_webhook_proto_init() { file_livekit_models_proto_init() file_livekit_egress_proto_init() file_livekit_ingress_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_webhook_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WebhookEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_webhook_proto_rawDesc), len(file_livekit_webhook_proto_rawDesc)), + RawDescriptor: file_livekit_webhook_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -249,6 +265,7 @@ func file_livekit_webhook_proto_init() { MessageInfos: file_livekit_webhook_proto_msgTypes, }.Build() File_livekit_webhook_proto = out.File + file_livekit_webhook_proto_rawDesc = nil file_livekit_webhook_proto_goTypes = nil file_livekit_webhook_proto_depIdxs = nil } diff --git a/protobufs/livekit_egress.proto b/protobufs/livekit_egress.proto index 9aecf429b..95fd10cd6 100644 --- a/protobufs/livekit_egress.proto +++ b/protobufs/livekit_egress.proto @@ -264,7 +264,6 @@ enum AudioMixing { DEFAULT_MIXING = 0; // all users are mixed together DUAL_CHANNEL_AGENT = 1; // agent audio in the left channel, all other audio in the right channel DUAL_CHANNEL_ALTERNATE = 2; // each new audio track alternates between left and right channels - MULTI_CHANNEL = 3; // every audio track is mixed into a new channel, max 255 channels } message EncodingOptions { diff --git a/rpc/agent.pb.go b/rpc/agent.pb.go index 39162d2fb..846f8abd0 100644 --- a/rpc/agent.pb.go +++ b/rpc/agent.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/agent.proto package rpc @@ -28,7 +28,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -85,16 +84,18 @@ func (JobTerminateReason) EnumDescriptor() ([]byte, []int) { } type CheckEnabledRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *CheckEnabledRequest) Reset() { *x = CheckEnabledRequest{} - mi := &file_rpc_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CheckEnabledRequest) String() string { @@ -105,7 +106,7 @@ func (*CheckEnabledRequest) ProtoMessage() {} func (x *CheckEnabledRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -121,21 +122,24 @@ func (*CheckEnabledRequest) Descriptor() ([]byte, []int) { } type CheckEnabledResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomEnabled bool `protobuf:"varint,1,opt,name=room_enabled,json=roomEnabled,proto3" json:"room_enabled,omitempty"` - PublisherEnabled bool `protobuf:"varint,2,opt,name=publisher_enabled,json=publisherEnabled,proto3" json:"publisher_enabled,omitempty"` - // Deprecated: Marked as deprecated in rpc/agent.proto. - Namespaces []string `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"` - AgentNames []string `protobuf:"bytes,4,rep,name=agent_names,json=agentNames,proto3" json:"agent_names,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoomEnabled bool `protobuf:"varint,1,opt,name=room_enabled,json=roomEnabled,proto3" json:"room_enabled,omitempty"` + PublisherEnabled bool `protobuf:"varint,2,opt,name=publisher_enabled,json=publisherEnabled,proto3" json:"publisher_enabled,omitempty"` + // Deprecated: Marked as deprecated in rpc/agent.proto. + Namespaces []string `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"` + AgentNames []string `protobuf:"bytes,4,rep,name=agent_names,json=agentNames,proto3" json:"agent_names,omitempty"` } func (x *CheckEnabledResponse) Reset() { *x = CheckEnabledResponse{} - mi := &file_rpc_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CheckEnabledResponse) String() string { @@ -146,7 +150,7 @@ func (*CheckEnabledResponse) ProtoMessage() {} func (x *CheckEnabledResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -191,17 +195,20 @@ func (x *CheckEnabledResponse) GetAgentNames() []string { } type JobRequestResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` } func (x *JobRequestResponse) Reset() { *x = JobRequestResponse{} - mi := &file_rpc_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobRequestResponse) String() string { @@ -212,7 +219,7 @@ func (*JobRequestResponse) ProtoMessage() {} func (x *JobRequestResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -235,18 +242,21 @@ func (x *JobRequestResponse) GetState() *livekit.JobState { } type JobTerminateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - Reason JobTerminateReason `protobuf:"varint,2,opt,name=reason,proto3,enum=rpc.JobTerminateReason" json:"reason,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + Reason JobTerminateReason `protobuf:"varint,2,opt,name=reason,proto3,enum=rpc.JobTerminateReason" json:"reason,omitempty"` } func (x *JobTerminateRequest) Reset() { *x = JobTerminateRequest{} - mi := &file_rpc_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobTerminateRequest) String() string { @@ -257,7 +267,7 @@ func (*JobTerminateRequest) ProtoMessage() {} func (x *JobTerminateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -287,17 +297,20 @@ func (x *JobTerminateRequest) GetReason() JobTerminateReason { } type JobTerminateResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` } func (x *JobTerminateResponse) Reset() { *x = JobTerminateResponse{} - mi := &file_rpc_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobTerminateResponse) String() string { @@ -308,7 +321,7 @@ func (*JobTerminateResponse) ProtoMessage() {} func (x *JobTerminateResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -332,7 +345,7 @@ func (x *JobTerminateResponse) GetState() *livekit.JobState { var File_rpc_agent_proto protoreflect.FileDescriptor -var file_rpc_agent_proto_rawDesc = string([]byte{ +var file_rpc_agent_proto_rawDesc = []byte{ 0x0a, 0x0f, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, @@ -395,23 +408,23 @@ var file_rpc_agent_proto_rawDesc = string([]byte{ 0x28, 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_agent_proto_rawDescOnce sync.Once - file_rpc_agent_proto_rawDescData []byte + file_rpc_agent_proto_rawDescData = file_rpc_agent_proto_rawDesc ) func file_rpc_agent_proto_rawDescGZIP() []byte { file_rpc_agent_proto_rawDescOnce.Do(func() { - file_rpc_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_agent_proto_rawDesc), len(file_rpc_agent_proto_rawDesc))) + file_rpc_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_agent_proto_rawDescData) }) return file_rpc_agent_proto_rawDescData } var file_rpc_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_rpc_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_rpc_agent_proto_goTypes = []any{ +var file_rpc_agent_proto_goTypes = []interface{}{ (JobTerminateReason)(0), // 0: rpc.JobTerminateReason (*CheckEnabledRequest)(nil), // 1: rpc.CheckEnabledRequest (*CheckEnabledResponse)(nil), // 2: rpc.CheckEnabledResponse @@ -446,11 +459,73 @@ func file_rpc_agent_proto_init() { if File_rpc_agent_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckEnabledRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckEnabledResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobRequestResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobTerminateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobTerminateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_agent_proto_rawDesc), len(file_rpc_agent_proto_rawDesc)), + RawDescriptor: file_rpc_agent_proto_rawDesc, NumEnums: 1, NumMessages: 5, NumExtensions: 0, @@ -462,6 +537,7 @@ func file_rpc_agent_proto_init() { MessageInfos: file_rpc_agent_proto_msgTypes, }.Build() File_rpc_agent_proto = out.File + file_rpc_agent_proto_rawDesc = nil file_rpc_agent_proto_goTypes = nil file_rpc_agent_proto_depIdxs = nil } diff --git a/rpc/agent_dispatch.pb.go b/rpc/agent_dispatch.pb.go index 385e169f1..f55c77a3a 100644 --- a/rpc/agent_dispatch.pb.go +++ b/rpc/agent_dispatch.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/agent_dispatch.proto package rpc @@ -26,7 +26,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_agent_dispatch_proto protoreflect.FileDescriptor -var file_rpc_agent_dispatch_proto_rawDesc = string([]byte{ +var file_rpc_agent_dispatch_proto_rawDesc = []byte{ 0x0a, 0x18, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, @@ -68,9 +67,9 @@ var file_rpc_agent_dispatch_proto_rawDesc = string([]byte{ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} -var file_rpc_agent_dispatch_proto_goTypes = []any{ +var file_rpc_agent_dispatch_proto_goTypes = []interface{}{ (*livekit.AgentDispatch)(nil), // 0: livekit.AgentDispatch (*livekit.DeleteAgentDispatchRequest)(nil), // 1: livekit.DeleteAgentDispatchRequest (*livekit.ListAgentDispatchRequest)(nil), // 2: livekit.ListAgentDispatchRequest @@ -99,7 +98,7 @@ func file_rpc_agent_dispatch_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_agent_dispatch_proto_rawDesc), len(file_rpc_agent_dispatch_proto_rawDesc)), + RawDescriptor: file_rpc_agent_dispatch_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -109,6 +108,7 @@ func file_rpc_agent_dispatch_proto_init() { DependencyIndexes: file_rpc_agent_dispatch_proto_depIdxs, }.Build() File_rpc_agent_dispatch_proto = out.File + file_rpc_agent_dispatch_proto_rawDesc = nil file_rpc_agent_dispatch_proto_goTypes = nil file_rpc_agent_dispatch_proto_depIdxs = nil } diff --git a/rpc/analytics.pb.go b/rpc/analytics.pb.go index adddb3bc1..3062d26e7 100644 --- a/rpc/analytics.pb.go +++ b/rpc/analytics.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/analytics.proto package rpc @@ -26,7 +26,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_analytics_proto protoreflect.FileDescriptor -var file_rpc_analytics_proto_rawDesc = string([]byte{ +var file_rpc_analytics_proto_rawDesc = []byte{ 0x0a, 0x13, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, @@ -63,9 +62,9 @@ var file_rpc_analytics_proto_rawDesc = string([]byte{ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} -var file_rpc_analytics_proto_goTypes = []any{ +var file_rpc_analytics_proto_goTypes = []interface{}{ (*livekit.AnalyticsStats)(nil), // 0: livekit.AnalyticsStats (*livekit.AnalyticsEvents)(nil), // 1: livekit.AnalyticsEvents (*livekit.AnalyticsNodeRooms)(nil), // 2: livekit.AnalyticsNodeRooms @@ -94,7 +93,7 @@ func file_rpc_analytics_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_analytics_proto_rawDesc), len(file_rpc_analytics_proto_rawDesc)), + RawDescriptor: file_rpc_analytics_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -104,6 +103,7 @@ func file_rpc_analytics_proto_init() { DependencyIndexes: file_rpc_analytics_proto_depIdxs, }.Build() File_rpc_analytics_proto = out.File + file_rpc_analytics_proto_rawDesc = nil file_rpc_analytics_proto_goTypes = nil file_rpc_analytics_proto_depIdxs = nil } diff --git a/rpc/analytics_grpc.pb.go b/rpc/analytics_grpc.pb.go index 6217bb431..a1b53c1a5 100644 --- a/rpc/analytics_grpc.pb.go +++ b/rpc/analytics_grpc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.5.1 -// - protoc v4.23.4 +// - protoc-gen-go-grpc v1.3.0 +// - protoc v4.25.3 // source: rpc/analytics.proto package rpc @@ -31,8 +31,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.64.0 or later. -const _ = grpc.SupportPackageIsVersion9 +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 const ( AnalyticsRecorderService_IngestStats_FullMethodName = "/livekit.AnalyticsRecorderService/IngestStats" @@ -44,9 +44,9 @@ const ( // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type AnalyticsRecorderServiceClient interface { - IngestStats(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsStats, emptypb.Empty], error) - IngestEvents(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsEvents, emptypb.Empty], error) - IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsNodeRooms, emptypb.Empty], error) + IngestStats(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestStatsClient, error) + IngestEvents(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestEventsClient, error) + IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestNodeRoomStatesClient, error) } type analyticsRecorderServiceClient struct { @@ -57,74 +57,133 @@ func NewAnalyticsRecorderServiceClient(cc grpc.ClientConnInterface) AnalyticsRec return &analyticsRecorderServiceClient{cc} } -func (c *analyticsRecorderServiceClient) IngestStats(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsStats, emptypb.Empty], error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[0], AnalyticsRecorderService_IngestStats_FullMethodName, cOpts...) +func (c *analyticsRecorderServiceClient) IngestStats(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestStatsClient, error) { + stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[0], AnalyticsRecorderService_IngestStats_FullMethodName, opts...) if err != nil { return nil, err } - x := &grpc.GenericClientStream[livekit.AnalyticsStats, emptypb.Empty]{ClientStream: stream} + x := &analyticsRecorderServiceIngestStatsClient{stream} return x, nil } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type AnalyticsRecorderService_IngestStatsClient = grpc.ClientStreamingClient[livekit.AnalyticsStats, emptypb.Empty] +type AnalyticsRecorderService_IngestStatsClient interface { + Send(*livekit.AnalyticsStats) error + CloseAndRecv() (*emptypb.Empty, error) + grpc.ClientStream +} + +type analyticsRecorderServiceIngestStatsClient struct { + grpc.ClientStream +} + +func (x *analyticsRecorderServiceIngestStatsClient) Send(m *livekit.AnalyticsStats) error { + return x.ClientStream.SendMsg(m) +} + +func (x *analyticsRecorderServiceIngestStatsClient) CloseAndRecv() (*emptypb.Empty, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(emptypb.Empty) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} -func (c *analyticsRecorderServiceClient) IngestEvents(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsEvents, emptypb.Empty], error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[1], AnalyticsRecorderService_IngestEvents_FullMethodName, cOpts...) +func (c *analyticsRecorderServiceClient) IngestEvents(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestEventsClient, error) { + stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[1], AnalyticsRecorderService_IngestEvents_FullMethodName, opts...) if err != nil { return nil, err } - x := &grpc.GenericClientStream[livekit.AnalyticsEvents, emptypb.Empty]{ClientStream: stream} + x := &analyticsRecorderServiceIngestEventsClient{stream} return x, nil } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type AnalyticsRecorderService_IngestEventsClient = grpc.ClientStreamingClient[livekit.AnalyticsEvents, emptypb.Empty] +type AnalyticsRecorderService_IngestEventsClient interface { + Send(*livekit.AnalyticsEvents) error + CloseAndRecv() (*emptypb.Empty, error) + grpc.ClientStream +} + +type analyticsRecorderServiceIngestEventsClient struct { + grpc.ClientStream +} + +func (x *analyticsRecorderServiceIngestEventsClient) Send(m *livekit.AnalyticsEvents) error { + return x.ClientStream.SendMsg(m) +} + +func (x *analyticsRecorderServiceIngestEventsClient) CloseAndRecv() (*emptypb.Empty, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(emptypb.Empty) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} -func (c *analyticsRecorderServiceClient) IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsNodeRooms, emptypb.Empty], error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[2], AnalyticsRecorderService_IngestNodeRoomStates_FullMethodName, cOpts...) +func (c *analyticsRecorderServiceClient) IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestNodeRoomStatesClient, error) { + stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[2], AnalyticsRecorderService_IngestNodeRoomStates_FullMethodName, opts...) if err != nil { return nil, err } - x := &grpc.GenericClientStream[livekit.AnalyticsNodeRooms, emptypb.Empty]{ClientStream: stream} + x := &analyticsRecorderServiceIngestNodeRoomStatesClient{stream} return x, nil } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type AnalyticsRecorderService_IngestNodeRoomStatesClient = grpc.ClientStreamingClient[livekit.AnalyticsNodeRooms, emptypb.Empty] +type AnalyticsRecorderService_IngestNodeRoomStatesClient interface { + Send(*livekit.AnalyticsNodeRooms) error + CloseAndRecv() (*emptypb.Empty, error) + grpc.ClientStream +} + +type analyticsRecorderServiceIngestNodeRoomStatesClient struct { + grpc.ClientStream +} + +func (x *analyticsRecorderServiceIngestNodeRoomStatesClient) Send(m *livekit.AnalyticsNodeRooms) error { + return x.ClientStream.SendMsg(m) +} + +func (x *analyticsRecorderServiceIngestNodeRoomStatesClient) CloseAndRecv() (*emptypb.Empty, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(emptypb.Empty) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} // AnalyticsRecorderServiceServer is the server API for AnalyticsRecorderService service. // All implementations must embed UnimplementedAnalyticsRecorderServiceServer -// for forward compatibility. +// for forward compatibility type AnalyticsRecorderServiceServer interface { - IngestStats(grpc.ClientStreamingServer[livekit.AnalyticsStats, emptypb.Empty]) error - IngestEvents(grpc.ClientStreamingServer[livekit.AnalyticsEvents, emptypb.Empty]) error - IngestNodeRoomStates(grpc.ClientStreamingServer[livekit.AnalyticsNodeRooms, emptypb.Empty]) error + IngestStats(AnalyticsRecorderService_IngestStatsServer) error + IngestEvents(AnalyticsRecorderService_IngestEventsServer) error + IngestNodeRoomStates(AnalyticsRecorderService_IngestNodeRoomStatesServer) error mustEmbedUnimplementedAnalyticsRecorderServiceServer() } -// UnimplementedAnalyticsRecorderServiceServer must be embedded to have -// forward compatible implementations. -// -// NOTE: this should be embedded by value instead of pointer to avoid a nil -// pointer dereference when methods are called. -type UnimplementedAnalyticsRecorderServiceServer struct{} +// UnimplementedAnalyticsRecorderServiceServer must be embedded to have forward compatible implementations. +type UnimplementedAnalyticsRecorderServiceServer struct { +} -func (UnimplementedAnalyticsRecorderServiceServer) IngestStats(grpc.ClientStreamingServer[livekit.AnalyticsStats, emptypb.Empty]) error { +func (UnimplementedAnalyticsRecorderServiceServer) IngestStats(AnalyticsRecorderService_IngestStatsServer) error { return status.Errorf(codes.Unimplemented, "method IngestStats not implemented") } -func (UnimplementedAnalyticsRecorderServiceServer) IngestEvents(grpc.ClientStreamingServer[livekit.AnalyticsEvents, emptypb.Empty]) error { +func (UnimplementedAnalyticsRecorderServiceServer) IngestEvents(AnalyticsRecorderService_IngestEventsServer) error { return status.Errorf(codes.Unimplemented, "method IngestEvents not implemented") } -func (UnimplementedAnalyticsRecorderServiceServer) IngestNodeRoomStates(grpc.ClientStreamingServer[livekit.AnalyticsNodeRooms, emptypb.Empty]) error { +func (UnimplementedAnalyticsRecorderServiceServer) IngestNodeRoomStates(AnalyticsRecorderService_IngestNodeRoomStatesServer) error { return status.Errorf(codes.Unimplemented, "method IngestNodeRoomStates not implemented") } func (UnimplementedAnalyticsRecorderServiceServer) mustEmbedUnimplementedAnalyticsRecorderServiceServer() { } -func (UnimplementedAnalyticsRecorderServiceServer) testEmbeddedByValue() {} // UnsafeAnalyticsRecorderServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to AnalyticsRecorderServiceServer will @@ -134,36 +193,86 @@ type UnsafeAnalyticsRecorderServiceServer interface { } func RegisterAnalyticsRecorderServiceServer(s grpc.ServiceRegistrar, srv AnalyticsRecorderServiceServer) { - // If the following call pancis, it indicates UnimplementedAnalyticsRecorderServiceServer was - // embedded by pointer and is nil. This will cause panics if an - // unimplemented method is ever invoked, so we test this at initialization - // time to prevent it from happening at runtime later due to I/O. - if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { - t.testEmbeddedByValue() - } s.RegisterService(&AnalyticsRecorderService_ServiceDesc, srv) } func _AnalyticsRecorderService_IngestStats_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestStats(&grpc.GenericServerStream[livekit.AnalyticsStats, emptypb.Empty]{ServerStream: stream}) + return srv.(AnalyticsRecorderServiceServer).IngestStats(&analyticsRecorderServiceIngestStatsServer{stream}) +} + +type AnalyticsRecorderService_IngestStatsServer interface { + SendAndClose(*emptypb.Empty) error + Recv() (*livekit.AnalyticsStats, error) + grpc.ServerStream +} + +type analyticsRecorderServiceIngestStatsServer struct { + grpc.ServerStream } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type AnalyticsRecorderService_IngestStatsServer = grpc.ClientStreamingServer[livekit.AnalyticsStats, emptypb.Empty] +func (x *analyticsRecorderServiceIngestStatsServer) SendAndClose(m *emptypb.Empty) error { + return x.ServerStream.SendMsg(m) +} + +func (x *analyticsRecorderServiceIngestStatsServer) Recv() (*livekit.AnalyticsStats, error) { + m := new(livekit.AnalyticsStats) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} func _AnalyticsRecorderService_IngestEvents_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestEvents(&grpc.GenericServerStream[livekit.AnalyticsEvents, emptypb.Empty]{ServerStream: stream}) + return srv.(AnalyticsRecorderServiceServer).IngestEvents(&analyticsRecorderServiceIngestEventsServer{stream}) +} + +type AnalyticsRecorderService_IngestEventsServer interface { + SendAndClose(*emptypb.Empty) error + Recv() (*livekit.AnalyticsEvents, error) + grpc.ServerStream } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type AnalyticsRecorderService_IngestEventsServer = grpc.ClientStreamingServer[livekit.AnalyticsEvents, emptypb.Empty] +type analyticsRecorderServiceIngestEventsServer struct { + grpc.ServerStream +} + +func (x *analyticsRecorderServiceIngestEventsServer) SendAndClose(m *emptypb.Empty) error { + return x.ServerStream.SendMsg(m) +} + +func (x *analyticsRecorderServiceIngestEventsServer) Recv() (*livekit.AnalyticsEvents, error) { + m := new(livekit.AnalyticsEvents) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} func _AnalyticsRecorderService_IngestNodeRoomStates_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestNodeRoomStates(&grpc.GenericServerStream[livekit.AnalyticsNodeRooms, emptypb.Empty]{ServerStream: stream}) + return srv.(AnalyticsRecorderServiceServer).IngestNodeRoomStates(&analyticsRecorderServiceIngestNodeRoomStatesServer{stream}) +} + +type AnalyticsRecorderService_IngestNodeRoomStatesServer interface { + SendAndClose(*emptypb.Empty) error + Recv() (*livekit.AnalyticsNodeRooms, error) + grpc.ServerStream } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type AnalyticsRecorderService_IngestNodeRoomStatesServer = grpc.ClientStreamingServer[livekit.AnalyticsNodeRooms, emptypb.Empty] +type analyticsRecorderServiceIngestNodeRoomStatesServer struct { + grpc.ServerStream +} + +func (x *analyticsRecorderServiceIngestNodeRoomStatesServer) SendAndClose(m *emptypb.Empty) error { + return x.ServerStream.SendMsg(m) +} + +func (x *analyticsRecorderServiceIngestNodeRoomStatesServer) Recv() (*livekit.AnalyticsNodeRooms, error) { + m := new(livekit.AnalyticsNodeRooms) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} // AnalyticsRecorderService_ServiceDesc is the grpc.ServiceDesc for AnalyticsRecorderService service. // It's only intended for direct use with grpc.RegisterService, diff --git a/rpc/egress.pb.go b/rpc/egress.pb.go index a17b4b0cb..72affa4cf 100644 --- a/rpc/egress.pb.go +++ b/rpc/egress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/egress.proto package rpc @@ -27,7 +27,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -38,12 +37,15 @@ const ( ) type StartEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // request metadata EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // request // - // Types that are valid to be assigned to Request: + // Types that are assignable to Request: // // *StartEgressRequest_RoomComposite // *StartEgressRequest_Web @@ -58,15 +60,15 @@ type StartEgressRequest struct { // cloud only CloudBackupEnabled bool `protobuf:"varint,10,opt,name=cloud_backup_enabled,json=cloudBackupEnabled,proto3" json:"cloud_backup_enabled,omitempty"` EstimatedCpu float64 `protobuf:"fixed64,14,opt,name=estimated_cpu,json=estimatedCpu,proto3" json:"estimated_cpu,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *StartEgressRequest) Reset() { *x = StartEgressRequest{} - mi := &file_rpc_egress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_egress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartEgressRequest) String() string { @@ -77,7 +79,7 @@ func (*StartEgressRequest) ProtoMessage() {} func (x *StartEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -99,54 +101,44 @@ func (x *StartEgressRequest) GetEgressId() string { return "" } -func (x *StartEgressRequest) GetRequest() isStartEgressRequest_Request { - if x != nil { - return x.Request +func (m *StartEgressRequest) GetRequest() isStartEgressRequest_Request { + if m != nil { + return m.Request } return nil } func (x *StartEgressRequest) GetRoomComposite() *livekit.RoomCompositeEgressRequest { - if x != nil { - if x, ok := x.Request.(*StartEgressRequest_RoomComposite); ok { - return x.RoomComposite - } + if x, ok := x.GetRequest().(*StartEgressRequest_RoomComposite); ok { + return x.RoomComposite } return nil } func (x *StartEgressRequest) GetWeb() *livekit.WebEgressRequest { - if x != nil { - if x, ok := x.Request.(*StartEgressRequest_Web); ok { - return x.Web - } + if x, ok := x.GetRequest().(*StartEgressRequest_Web); ok { + return x.Web } return nil } func (x *StartEgressRequest) GetParticipant() *livekit.ParticipantEgressRequest { - if x != nil { - if x, ok := x.Request.(*StartEgressRequest_Participant); ok { - return x.Participant - } + if x, ok := x.GetRequest().(*StartEgressRequest_Participant); ok { + return x.Participant } return nil } func (x *StartEgressRequest) GetTrackComposite() *livekit.TrackCompositeEgressRequest { - if x != nil { - if x, ok := x.Request.(*StartEgressRequest_TrackComposite); ok { - return x.TrackComposite - } + if x, ok := x.GetRequest().(*StartEgressRequest_TrackComposite); ok { + return x.TrackComposite } return nil } func (x *StartEgressRequest) GetTrack() *livekit.TrackEgressRequest { - if x != nil { - if x, ok := x.Request.(*StartEgressRequest_Track); ok { - return x.Track - } + if x, ok := x.GetRequest().(*StartEgressRequest_Track); ok { + return x.Track } return nil } @@ -221,16 +213,18 @@ func (*StartEgressRequest_TrackComposite) isStartEgressRequest_Request() {} func (*StartEgressRequest_Track) isStartEgressRequest_Request() {} type ListActiveEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *ListActiveEgressRequest) Reset() { *x = ListActiveEgressRequest{} - mi := &file_rpc_egress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_egress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListActiveEgressRequest) String() string { @@ -241,7 +235,7 @@ func (*ListActiveEgressRequest) ProtoMessage() {} func (x *ListActiveEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -257,17 +251,20 @@ func (*ListActiveEgressRequest) Descriptor() ([]byte, []int) { } type ListActiveEgressResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - EgressIds []string `protobuf:"bytes,1,rep,name=egress_ids,json=egressIds,proto3" json:"egress_ids,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EgressIds []string `protobuf:"bytes,1,rep,name=egress_ids,json=egressIds,proto3" json:"egress_ids,omitempty"` } func (x *ListActiveEgressResponse) Reset() { *x = ListActiveEgressResponse{} - mi := &file_rpc_egress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_egress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListActiveEgressResponse) String() string { @@ -278,7 +275,7 @@ func (*ListActiveEgressResponse) ProtoMessage() {} func (x *ListActiveEgressResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -302,7 +299,7 @@ func (x *ListActiveEgressResponse) GetEgressIds() []string { var File_rpc_egress_proto protoreflect.FileDescriptor -var file_rpc_egress_proto_rawDesc = string([]byte{ +var file_rpc_egress_proto_rawDesc = []byte{ 0x0a, 0x10, 0x72, 0x70, 0x63, 0x2f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, @@ -371,22 +368,22 @@ var file_rpc_egress_proto_rawDesc = string([]byte{ 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_egress_proto_rawDescOnce sync.Once - file_rpc_egress_proto_rawDescData []byte + file_rpc_egress_proto_rawDescData = file_rpc_egress_proto_rawDesc ) func file_rpc_egress_proto_rawDescGZIP() []byte { file_rpc_egress_proto_rawDescOnce.Do(func() { - file_rpc_egress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_egress_proto_rawDesc), len(file_rpc_egress_proto_rawDesc))) + file_rpc_egress_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_egress_proto_rawDescData) }) return file_rpc_egress_proto_rawDescData } var file_rpc_egress_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_rpc_egress_proto_goTypes = []any{ +var file_rpc_egress_proto_goTypes = []interface{}{ (*StartEgressRequest)(nil), // 0: rpc.StartEgressRequest (*ListActiveEgressRequest)(nil), // 1: rpc.ListActiveEgressRequest (*ListActiveEgressResponse)(nil), // 2: rpc.ListActiveEgressResponse @@ -425,7 +422,45 @@ func file_rpc_egress_proto_init() { if File_rpc_egress_proto != nil { return } - file_rpc_egress_proto_msgTypes[0].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_rpc_egress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_egress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListActiveEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_egress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListActiveEgressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_rpc_egress_proto_msgTypes[0].OneofWrappers = []interface{}{ (*StartEgressRequest_RoomComposite)(nil), (*StartEgressRequest_Web)(nil), (*StartEgressRequest_Participant)(nil), @@ -436,7 +471,7 @@ func file_rpc_egress_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_egress_proto_rawDesc), len(file_rpc_egress_proto_rawDesc)), + RawDescriptor: file_rpc_egress_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -447,6 +482,7 @@ func file_rpc_egress_proto_init() { MessageInfos: file_rpc_egress_proto_msgTypes, }.Build() File_rpc_egress_proto = out.File + file_rpc_egress_proto_rawDesc = nil file_rpc_egress_proto_goTypes = nil file_rpc_egress_proto_depIdxs = nil } diff --git a/rpc/ingress.pb.go b/rpc/ingress.pb.go index e1fb4ec94..eae4a13bf 100644 --- a/rpc/ingress.pb.go +++ b/rpc/ingress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/ingress.proto package rpc @@ -28,7 +28,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -39,16 +38,18 @@ const ( ) type ListActiveIngressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *ListActiveIngressRequest) Reset() { *x = ListActiveIngressRequest{} - mi := &file_rpc_ingress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListActiveIngressRequest) String() string { @@ -59,7 +60,7 @@ func (*ListActiveIngressRequest) ProtoMessage() {} func (x *ListActiveIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -75,19 +76,22 @@ func (*ListActiveIngressRequest) Descriptor() ([]byte, []int) { } type ListActiveIngressResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Deprecated: Marked as deprecated in rpc/ingress.proto. IngressIds []string `protobuf:"bytes,1,rep,name=ingress_ids,json=ingressIds,proto3" json:"ingress_ids,omitempty"` IngressSessions []*IngressSession `protobuf:"bytes,2,rep,name=ingress_sessions,json=ingressSessions,proto3" json:"ingress_sessions,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *ListActiveIngressResponse) Reset() { *x = ListActiveIngressResponse{} - mi := &file_rpc_ingress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListActiveIngressResponse) String() string { @@ -98,7 +102,7 @@ func (*ListActiveIngressResponse) ProtoMessage() {} func (x *ListActiveIngressResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -129,18 +133,21 @@ func (x *ListActiveIngressResponse) GetIngressSessions() []*IngressSession { } type DeleteWHIPResourceRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` } func (x *DeleteWHIPResourceRequest) Reset() { *x = DeleteWHIPResourceRequest{} - mi := &file_rpc_ingress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteWHIPResourceRequest) String() string { @@ -151,7 +158,7 @@ func (*DeleteWHIPResourceRequest) ProtoMessage() {} func (x *DeleteWHIPResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -181,21 +188,24 @@ func (x *DeleteWHIPResourceRequest) GetStreamKey() string { } type ICERestartWHIPResourceRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` - UserFragment string `protobuf:"bytes,3,opt,name=user_fragment,json=userFragment,proto3" json:"user_fragment,omitempty"` - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` - Candidates []string `protobuf:"bytes,5,rep,name=candidates,proto3" json:"candidates,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` + UserFragment string `protobuf:"bytes,3,opt,name=user_fragment,json=userFragment,proto3" json:"user_fragment,omitempty"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + Candidates []string `protobuf:"bytes,5,rep,name=candidates,proto3" json:"candidates,omitempty"` } func (x *ICERestartWHIPResourceRequest) Reset() { *x = ICERestartWHIPResourceRequest{} - mi := &file_rpc_ingress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ICERestartWHIPResourceRequest) String() string { @@ -206,7 +216,7 @@ func (*ICERestartWHIPResourceRequest) ProtoMessage() {} func (x *ICERestartWHIPResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -257,17 +267,20 @@ func (x *ICERestartWHIPResourceRequest) GetCandidates() []string { } type ICERestartWHIPResourceResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - TrickleIceSdpfrag string `protobuf:"bytes,1,opt,name=trickle_ice_sdpfrag,json=trickleIceSdpfrag,proto3" json:"trickle_ice_sdpfrag,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TrickleIceSdpfrag string `protobuf:"bytes,1,opt,name=trickle_ice_sdpfrag,json=trickleIceSdpfrag,proto3" json:"trickle_ice_sdpfrag,omitempty"` } func (x *ICERestartWHIPResourceResponse) Reset() { *x = ICERestartWHIPResourceResponse{} - mi := &file_rpc_ingress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ICERestartWHIPResourceResponse) String() string { @@ -278,7 +291,7 @@ func (*ICERestartWHIPResourceResponse) ProtoMessage() {} func (x *ICERestartWHIPResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -301,20 +314,23 @@ func (x *ICERestartWHIPResourceResponse) GetTrickleIceSdpfrag() string { } type StartIngressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` - LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` + WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` + LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *StartIngressRequest) Reset() { *x = StartIngressRequest{} - mi := &file_rpc_ingress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartIngressRequest) String() string { @@ -325,7 +341,7 @@ func (*StartIngressRequest) ProtoMessage() {} func (x *StartIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -369,18 +385,21 @@ func (x *StartIngressRequest) GetLoggingFields() map[string]string { } type IngressSession struct { - state protoimpl.MessageState `protogen:"open.v1"` - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` } func (x *IngressSession) Reset() { *x = IngressSession{} - mi := &file_rpc_ingress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressSession) String() string { @@ -391,7 +410,7 @@ func (*IngressSession) ProtoMessage() {} func (x *IngressSession) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -421,17 +440,20 @@ func (x *IngressSession) GetResourceId() string { } type KillIngressSessionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Session *IngressSession `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Session *IngressSession `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` } func (x *KillIngressSessionRequest) Reset() { *x = KillIngressSessionRequest{} - mi := &file_rpc_ingress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *KillIngressSessionRequest) String() string { @@ -442,7 +464,7 @@ func (*KillIngressSessionRequest) ProtoMessage() {} func (x *KillIngressSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -466,7 +488,7 @@ func (x *KillIngressSessionRequest) GetSession() *IngressSession { var File_rpc_ingress_proto protoreflect.FileDescriptor -var file_rpc_ingress_proto_rawDesc = string([]byte{ +var file_rpc_ingress_proto_rawDesc = []byte{ 0x0a, 0x11, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, @@ -577,22 +599,22 @@ var file_rpc_ingress_proto_rawDesc = string([]byte{ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_ingress_proto_rawDescOnce sync.Once - file_rpc_ingress_proto_rawDescData []byte + file_rpc_ingress_proto_rawDescData = file_rpc_ingress_proto_rawDesc ) func file_rpc_ingress_proto_rawDescGZIP() []byte { file_rpc_ingress_proto_rawDescOnce.Do(func() { - file_rpc_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_ingress_proto_rawDesc), len(file_rpc_ingress_proto_rawDesc))) + file_rpc_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_ingress_proto_rawDescData) }) return file_rpc_ingress_proto_rawDescData } var file_rpc_ingress_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_rpc_ingress_proto_goTypes = []any{ +var file_rpc_ingress_proto_goTypes = []interface{}{ (*ListActiveIngressRequest)(nil), // 0: rpc.ListActiveIngressRequest (*ListActiveIngressResponse)(nil), // 1: rpc.ListActiveIngressResponse (*DeleteWHIPResourceRequest)(nil), // 2: rpc.DeleteWHIPResourceRequest @@ -639,11 +661,109 @@ func file_rpc_ingress_proto_init() { if File_rpc_ingress_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_ingress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListActiveIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListActiveIngressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteWHIPResourceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ICERestartWHIPResourceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ICERestartWHIPResourceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IngressSession); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KillIngressSessionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_ingress_proto_rawDesc), len(file_rpc_ingress_proto_rawDesc)), + RawDescriptor: file_rpc_ingress_proto_rawDesc, NumEnums: 0, NumMessages: 9, NumExtensions: 0, @@ -654,6 +774,7 @@ func file_rpc_ingress_proto_init() { MessageInfos: file_rpc_ingress_proto_msgTypes, }.Build() File_rpc_ingress_proto = out.File + file_rpc_ingress_proto_rawDesc = nil file_rpc_ingress_proto_goTypes = nil file_rpc_ingress_proto_depIdxs = nil } diff --git a/rpc/io.pb.go b/rpc/io.pb.go index b47b4b5f4..fb33a943f 100644 --- a/rpc/io.pb.go +++ b/rpc/io.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/io.proto package rpc @@ -28,7 +28,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -94,17 +93,20 @@ func (SIPDispatchResult) EnumDescriptor() ([]byte, []int) { } type GetEgressRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` } func (x *GetEgressRequest) Reset() { *x = GetEgressRequest{} - mi := &file_rpc_io_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetEgressRequest) String() string { @@ -115,7 +117,7 @@ func (*GetEgressRequest) ProtoMessage() {} func (x *GetEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -138,19 +140,22 @@ func (x *GetEgressRequest) GetEgressId() string { } type UpdateMetricsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Info *livekit.EgressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - AvgCpuUsage float32 `protobuf:"fixed32,3,opt,name=avg_cpu_usage,json=avgCpuUsage,proto3" json:"avg_cpu_usage,omitempty"` - MaxCpuUsage float32 `protobuf:"fixed32,4,opt,name=max_cpu_usage,json=maxCpuUsage,proto3" json:"max_cpu_usage,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *livekit.EgressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` + AvgCpuUsage float32 `protobuf:"fixed32,3,opt,name=avg_cpu_usage,json=avgCpuUsage,proto3" json:"avg_cpu_usage,omitempty"` + MaxCpuUsage float32 `protobuf:"fixed32,4,opt,name=max_cpu_usage,json=maxCpuUsage,proto3" json:"max_cpu_usage,omitempty"` } func (x *UpdateMetricsRequest) Reset() { *x = UpdateMetricsRequest{} - mi := &file_rpc_io_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateMetricsRequest) String() string { @@ -161,7 +166,7 @@ func (*UpdateMetricsRequest) ProtoMessage() {} func (x *UpdateMetricsRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -199,18 +204,21 @@ func (x *UpdateMetricsRequest) GetMaxCpuUsage() float32 { // Query an ingress info from an ingress ID or stream key type GetIngressInfoRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` } func (x *GetIngressInfoRequest) Reset() { *x = GetIngressInfoRequest{} - mi := &file_rpc_io_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetIngressInfoRequest) String() string { @@ -221,7 +229,7 @@ func (*GetIngressInfoRequest) ProtoMessage() {} func (x *GetIngressInfoRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -251,20 +259,23 @@ func (x *GetIngressInfoRequest) GetStreamKey() string { } type GetIngressInfoResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` - LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` + WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` + LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *GetIngressInfoResponse) Reset() { *x = GetIngressInfoResponse{} - mi := &file_rpc_io_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetIngressInfoResponse) String() string { @@ -275,7 +286,7 @@ func (*GetIngressInfoResponse) ProtoMessage() {} func (x *GetIngressInfoResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -320,18 +331,21 @@ func (x *GetIngressInfoResponse) GetLoggingFields() map[string]string { // Request to store an update to the ingress state ingress -> service type UpdateIngressStateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - State *livekit.IngressState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + State *livekit.IngressState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` } func (x *UpdateIngressStateRequest) Reset() { *x = UpdateIngressStateRequest{} - mi := &file_rpc_io_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateIngressStateRequest) String() string { @@ -342,7 +356,7 @@ func (*UpdateIngressStateRequest) ProtoMessage() {} func (x *UpdateIngressStateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -372,8 +386,11 @@ func (x *UpdateIngressStateRequest) GetState() *livekit.IngressState { } type GetSIPTrunkAuthenticationRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipCallId string `protobuf:"bytes,6,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipCallId string `protobuf:"bytes,6,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` // What Number is calling From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // What Number was called @@ -381,16 +398,16 @@ type GetSIPTrunkAuthenticationRequest struct { // What is the IP address of the called number SrcAddress string `protobuf:"bytes,4,opt,name=src_address,json=srcAddress,proto3" json:"src_address,omitempty"` // What Host was called - ToHost string `protobuf:"bytes,5,opt,name=to_host,json=toHost,proto3" json:"to_host,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + ToHost string `protobuf:"bytes,5,opt,name=to_host,json=toHost,proto3" json:"to_host,omitempty"` } func (x *GetSIPTrunkAuthenticationRequest) Reset() { *x = GetSIPTrunkAuthenticationRequest{} - mi := &file_rpc_io_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPTrunkAuthenticationRequest) String() string { @@ -401,7 +418,7 @@ func (*GetSIPTrunkAuthenticationRequest) ProtoMessage() {} func (x *GetSIPTrunkAuthenticationRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -452,7 +469,10 @@ func (x *GetSIPTrunkAuthenticationRequest) GetToHost() string { } type GetSIPTrunkAuthenticationResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Expected username and password Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` @@ -460,16 +480,16 @@ type GetSIPTrunkAuthenticationResponse struct { // Trunk used to fulfill this request SipTrunkId string `protobuf:"bytes,4,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` // Used in Cloud only - ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } func (x *GetSIPTrunkAuthenticationResponse) Reset() { *x = GetSIPTrunkAuthenticationResponse{} - mi := &file_rpc_io_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPTrunkAuthenticationResponse) String() string { @@ -480,7 +500,7 @@ func (*GetSIPTrunkAuthenticationResponse) ProtoMessage() {} func (x *GetSIPTrunkAuthenticationResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -531,8 +551,11 @@ func (x *GetSIPTrunkAuthenticationResponse) GetProjectId() string { } type EvaluateSIPDispatchRulesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipCallId string `protobuf:"bytes,8,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipCallId string `protobuf:"bytes,8,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` // Deprecated: Marked as deprecated in rpc/io.proto. SipParticipantId string `protobuf:"bytes,1,opt,name=sip_participant_id,json=sipParticipantId,proto3" json:"sip_participant_id,omitempty"` // Trunk from the auth response, if any @@ -551,16 +574,16 @@ type EvaluateSIPDispatchRulesRequest struct { CalledHost string `protobuf:"bytes,7,opt,name=called_host,json=calledHost,proto3" json:"called_host,omitempty"` // Extra participant attributes added for this call. // Usually include provider-specific metadata. - ExtraAttributes map[string]string `protobuf:"bytes,9,rep,name=extra_attributes,json=extraAttributes,proto3" json:"extra_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + ExtraAttributes map[string]string `protobuf:"bytes,9,rep,name=extra_attributes,json=extraAttributes,proto3" json:"extra_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *EvaluateSIPDispatchRulesRequest) Reset() { *x = EvaluateSIPDispatchRulesRequest{} - mi := &file_rpc_io_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EvaluateSIPDispatchRulesRequest) String() string { @@ -571,7 +594,7 @@ func (*EvaluateSIPDispatchRulesRequest) ProtoMessage() {} func (x *EvaluateSIPDispatchRulesRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -658,7 +681,10 @@ func (x *EvaluateSIPDispatchRulesRequest) GetExtraAttributes() map[string]string } type EvaluateSIPDispatchRulesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // non-empty string if SIPParticipant should be placed a room RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // What should be used for the LiveKit participant identity @@ -668,7 +694,7 @@ type EvaluateSIPDispatchRulesResponse struct { // What should be used for the LiveKit participant metadata ParticipantMetadata string `protobuf:"bytes,8,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` // What should be used for the LiveKit participant attributes - ParticipantAttributes map[string]string `protobuf:"bytes,11,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + ParticipantAttributes map[string]string `protobuf:"bytes,11,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Deprecated: Marked as deprecated in rpc/io.proto. RequestPin bool `protobuf:"varint,3,opt,name=request_pin,json=requestPin,proto3" json:"request_pin,omitempty"` // see result // optional token that should be used when creating LiveKit participant @@ -684,13 +710,13 @@ type EvaluateSIPDispatchRulesResponse struct { ProjectId string `protobuf:"bytes,12,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Include these SIP X-* headers in 200 OK response to INVITE. // These headers are included as-is and may help identify triggered LiveKit Dispatch Rule for the other SIP endpoint. - Headers map[string]string `protobuf:"bytes,13,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Headers map[string]string `protobuf:"bytes,13,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP X-* headers from INVITE to SIP participant attributes. // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - HeadersToAttributes map[string]string `protobuf:"bytes,14,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + HeadersToAttributes map[string]string `protobuf:"bytes,14,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,18,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + AttributesToHeaders map[string]string `protobuf:"bytes,18,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP headers from INVITE to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -709,15 +735,15 @@ type EvaluateSIPDispatchRulesResponse struct { RoomPreset string `protobuf:"bytes,20,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"` RoomConfig *livekit.RoomConfiguration `protobuf:"bytes,21,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` MediaEncryption livekit.SIPMediaEncryption `protobuf:"varint,22,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *EvaluateSIPDispatchRulesResponse) Reset() { *x = EvaluateSIPDispatchRulesResponse{} - mi := &file_rpc_io_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EvaluateSIPDispatchRulesResponse) String() string { @@ -728,7 +754,7 @@ func (*EvaluateSIPDispatchRulesResponse) ProtoMessage() {} func (x *EvaluateSIPDispatchRulesResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -899,17 +925,20 @@ func (x *EvaluateSIPDispatchRulesResponse) GetMediaEncryption() livekit.SIPMedia } type UpdateSIPCallStateRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - CallInfo *livekit.SIPCallInfo `protobuf:"bytes,1,opt,name=call_info,json=callInfo,proto3" json:"call_info,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CallInfo *livekit.SIPCallInfo `protobuf:"bytes,1,opt,name=call_info,json=callInfo,proto3" json:"call_info,omitempty"` } func (x *UpdateSIPCallStateRequest) Reset() { *x = UpdateSIPCallStateRequest{} - mi := &file_rpc_io_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateSIPCallStateRequest) String() string { @@ -920,7 +949,7 @@ func (*UpdateSIPCallStateRequest) ProtoMessage() {} func (x *UpdateSIPCallStateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -944,7 +973,7 @@ func (x *UpdateSIPCallStateRequest) GetCallInfo() *livekit.SIPCallInfo { var File_rpc_io_proto protoreflect.FileDescriptor -var file_rpc_io_proto_rawDesc = string([]byte{ +var file_rpc_io_proto_rawDesc = []byte{ 0x0a, 0x0c, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, @@ -1215,23 +1244,23 @@ var file_rpc_io_proto_rawDesc = string([]byte{ 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_io_proto_rawDescOnce sync.Once - file_rpc_io_proto_rawDescData []byte + file_rpc_io_proto_rawDescData = file_rpc_io_proto_rawDesc ) func file_rpc_io_proto_rawDescGZIP() []byte { file_rpc_io_proto_rawDescOnce.Do(func() { - file_rpc_io_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_io_proto_rawDesc), len(file_rpc_io_proto_rawDesc))) + file_rpc_io_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_io_proto_rawDescData) }) return file_rpc_io_proto_rawDescData } var file_rpc_io_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_rpc_io_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_rpc_io_proto_goTypes = []any{ +var file_rpc_io_proto_goTypes = []interface{}{ (SIPDispatchResult)(0), // 0: rpc.SIPDispatchResult (*GetEgressRequest)(nil), // 1: rpc.GetEgressRequest (*UpdateMetricsRequest)(nil), // 2: rpc.UpdateMetricsRequest @@ -1314,11 +1343,133 @@ func file_rpc_io_proto_init() { if File_rpc_io_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_io_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateMetricsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetIngressInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetIngressInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateIngressStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSIPTrunkAuthenticationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSIPTrunkAuthenticationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvaluateSIPDispatchRulesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EvaluateSIPDispatchRulesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateSIPCallStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_io_proto_rawDesc), len(file_rpc_io_proto_rawDesc)), + RawDescriptor: file_rpc_io_proto_rawDesc, NumEnums: 1, NumMessages: 16, NumExtensions: 0, @@ -1330,6 +1481,7 @@ func file_rpc_io_proto_init() { MessageInfos: file_rpc_io_proto_msgTypes, }.Build() File_rpc_io_proto = out.File + file_rpc_io_proto_rawDesc = nil file_rpc_io_proto_goTypes = nil file_rpc_io_proto_depIdxs = nil } diff --git a/rpc/keepalive.pb.go b/rpc/keepalive.pb.go index 29b8de691..2f7426eff 100644 --- a/rpc/keepalive.pb.go +++ b/rpc/keepalive.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/keepalive.proto package rpc @@ -26,7 +26,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -37,17 +36,20 @@ const ( ) type KeepalivePing struct { - state protoimpl.MessageState `protogen:"open.v1"` - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } func (x *KeepalivePing) Reset() { *x = KeepalivePing{} - mi := &file_rpc_keepalive_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_keepalive_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *KeepalivePing) String() string { @@ -58,7 +60,7 @@ func (*KeepalivePing) ProtoMessage() {} func (x *KeepalivePing) ProtoReflect() protoreflect.Message { mi := &file_rpc_keepalive_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -82,7 +84,7 @@ func (x *KeepalivePing) GetTimestamp() int64 { var File_rpc_keepalive_proto protoreflect.FileDescriptor -var file_rpc_keepalive_proto_rawDesc = string([]byte{ +var file_rpc_keepalive_proto_rawDesc = []byte{ 0x0a, 0x13, 0x72, 0x70, 0x63, 0x2f, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x0d, 0x4b, 0x65, 0x65, @@ -97,22 +99,22 @@ var file_rpc_keepalive_proto_rawDesc = string([]byte{ 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_keepalive_proto_rawDescOnce sync.Once - file_rpc_keepalive_proto_rawDescData []byte + file_rpc_keepalive_proto_rawDescData = file_rpc_keepalive_proto_rawDesc ) func file_rpc_keepalive_proto_rawDescGZIP() []byte { file_rpc_keepalive_proto_rawDescOnce.Do(func() { - file_rpc_keepalive_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_keepalive_proto_rawDesc), len(file_rpc_keepalive_proto_rawDesc))) + file_rpc_keepalive_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_keepalive_proto_rawDescData) }) return file_rpc_keepalive_proto_rawDescData } var file_rpc_keepalive_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_rpc_keepalive_proto_goTypes = []any{ +var file_rpc_keepalive_proto_goTypes = []interface{}{ (*KeepalivePing)(nil), // 0: rpc.KeepalivePing } var file_rpc_keepalive_proto_depIdxs = []int32{ @@ -130,11 +132,25 @@ func file_rpc_keepalive_proto_init() { if File_rpc_keepalive_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_keepalive_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeepalivePing); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_keepalive_proto_rawDesc), len(file_rpc_keepalive_proto_rawDesc)), + RawDescriptor: file_rpc_keepalive_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -145,6 +161,7 @@ func file_rpc_keepalive_proto_init() { MessageInfos: file_rpc_keepalive_proto_msgTypes, }.Build() File_rpc_keepalive_proto = out.File + file_rpc_keepalive_proto_rawDesc = nil file_rpc_keepalive_proto_goTypes = nil file_rpc_keepalive_proto_depIdxs = nil } diff --git a/rpc/participant.pb.go b/rpc/participant.pb.go index c6ea4931d..9e9b31ed3 100644 --- a/rpc/participant.pb.go +++ b/rpc/participant.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/participant.proto package rpc @@ -26,7 +26,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_participant_proto protoreflect.FileDescriptor -var file_rpc_participant_proto_rawDesc = string([]byte{ +var file_rpc_participant_proto_rawDesc = []byte{ 0x0a, 0x15, 0x72, 0x70, 0x63, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, @@ -80,9 +79,9 @@ var file_rpc_participant_proto_rawDesc = string([]byte{ 0x18, 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} -var file_rpc_participant_proto_goTypes = []any{ +var file_rpc_participant_proto_goTypes = []interface{}{ (*livekit.RoomParticipantIdentity)(nil), // 0: livekit.RoomParticipantIdentity (*livekit.MuteRoomTrackRequest)(nil), // 1: livekit.MuteRoomTrackRequest (*livekit.UpdateParticipantRequest)(nil), // 2: livekit.UpdateParticipantRequest @@ -117,7 +116,7 @@ func file_rpc_participant_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_participant_proto_rawDesc), len(file_rpc_participant_proto_rawDesc)), + RawDescriptor: file_rpc_participant_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -127,6 +126,7 @@ func file_rpc_participant_proto_init() { DependencyIndexes: file_rpc_participant_proto_depIdxs, }.Build() File_rpc_participant_proto = out.File + file_rpc_participant_proto_rawDesc = nil file_rpc_participant_proto_goTypes = nil file_rpc_participant_proto_depIdxs = nil } diff --git a/rpc/room.pb.go b/rpc/room.pb.go index 2ab094e9a..970650d63 100644 --- a/rpc/room.pb.go +++ b/rpc/room.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/room.proto package rpc @@ -26,7 +26,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_room_proto protoreflect.FileDescriptor -var file_rpc_room_proto_rawDesc = string([]byte{ +var file_rpc_room_proto_rawDesc = []byte{ 0x0a, 0x0e, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, @@ -65,9 +64,9 @@ var file_rpc_room_proto_rawDesc = string([]byte{ 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} -var file_rpc_room_proto_goTypes = []any{ +var file_rpc_room_proto_goTypes = []interface{}{ (*livekit.DeleteRoomRequest)(nil), // 0: livekit.DeleteRoomRequest (*livekit.SendDataRequest)(nil), // 1: livekit.SendDataRequest (*livekit.UpdateRoomMetadataRequest)(nil), // 2: livekit.UpdateRoomMetadataRequest @@ -98,7 +97,7 @@ func file_rpc_room_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_room_proto_rawDesc), len(file_rpc_room_proto_rawDesc)), + RawDescriptor: file_rpc_room_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -108,6 +107,7 @@ func file_rpc_room_proto_init() { DependencyIndexes: file_rpc_room_proto_depIdxs, }.Build() File_rpc_room_proto = out.File + file_rpc_room_proto_rawDesc = nil file_rpc_room_proto_goTypes = nil file_rpc_room_proto_depIdxs = nil } diff --git a/rpc/roommanager.pb.go b/rpc/roommanager.pb.go index 00f5ad4b2..39bfec550 100644 --- a/rpc/roommanager.pb.go +++ b/rpc/roommanager.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/roommanager.proto package rpc @@ -26,7 +26,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_roommanager_proto protoreflect.FileDescriptor -var file_rpc_roommanager_proto_rawDesc = string([]byte{ +var file_rpc_roommanager_proto_rawDesc = []byte{ 0x0a, 0x15, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, @@ -54,9 +53,9 @@ var file_rpc_roommanager_proto_rawDesc = string([]byte{ 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} -var file_rpc_roommanager_proto_goTypes = []any{ +var file_rpc_roommanager_proto_goTypes = []interface{}{ (*livekit.CreateRoomRequest)(nil), // 0: livekit.CreateRoomRequest (*livekit.Room)(nil), // 1: livekit.Room } @@ -79,7 +78,7 @@ func file_rpc_roommanager_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_roommanager_proto_rawDesc), len(file_rpc_roommanager_proto_rawDesc)), + RawDescriptor: file_rpc_roommanager_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -89,6 +88,7 @@ func file_rpc_roommanager_proto_init() { DependencyIndexes: file_rpc_roommanager_proto_depIdxs, }.Build() File_rpc_roommanager_proto = out.File + file_rpc_roommanager_proto_rawDesc = nil file_rpc_roommanager_proto_goTypes = nil file_rpc_roommanager_proto_depIdxs = nil } diff --git a/rpc/signal.pb.go b/rpc/signal.pb.go index c053c38d0..2a4361367 100644 --- a/rpc/signal.pb.go +++ b/rpc/signal.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/signal.proto package rpc @@ -27,7 +27,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -38,20 +37,23 @@ const ( ) type RelaySignalRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - StartSession *livekit.StartSession `protobuf:"bytes,1,opt,name=start_session,json=startSession,proto3" json:"start_session,omitempty"` - Requests []*livekit.SignalRequest `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"` - Seq uint64 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"` - Close bool `protobuf:"varint,5,opt,name=close,proto3" json:"close,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartSession *livekit.StartSession `protobuf:"bytes,1,opt,name=start_session,json=startSession,proto3" json:"start_session,omitempty"` + Requests []*livekit.SignalRequest `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"` + Seq uint64 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"` + Close bool `protobuf:"varint,5,opt,name=close,proto3" json:"close,omitempty"` } func (x *RelaySignalRequest) Reset() { *x = RelaySignalRequest{} - mi := &file_rpc_signal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_signal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RelaySignalRequest) String() string { @@ -62,7 +64,7 @@ func (*RelaySignalRequest) ProtoMessage() {} func (x *RelaySignalRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_signal_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -106,19 +108,22 @@ func (x *RelaySignalRequest) GetClose() bool { } type RelaySignalResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Responses []*livekit.SignalResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"` - Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` - Close bool `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"` - unknownFields protoimpl.UnknownFields + state protoimpl.MessageState sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Responses []*livekit.SignalResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"` + Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` + Close bool `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"` } func (x *RelaySignalResponse) Reset() { *x = RelaySignalResponse{} - mi := &file_rpc_signal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_signal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RelaySignalResponse) String() string { @@ -129,7 +134,7 @@ func (*RelaySignalResponse) ProtoMessage() {} func (x *RelaySignalResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_signal_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -167,7 +172,7 @@ func (x *RelaySignalResponse) GetClose() bool { var File_rpc_signal_proto protoreflect.FileDescriptor -var file_rpc_signal_proto_rawDesc = string([]byte{ +var file_rpc_signal_proto_rawDesc = []byte{ 0x0a, 0x10, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, @@ -201,22 +206,22 @@ var file_rpc_signal_proto_rawDesc = string([]byte{ 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_signal_proto_rawDescOnce sync.Once - file_rpc_signal_proto_rawDescData []byte + file_rpc_signal_proto_rawDescData = file_rpc_signal_proto_rawDesc ) func file_rpc_signal_proto_rawDescGZIP() []byte { file_rpc_signal_proto_rawDescOnce.Do(func() { - file_rpc_signal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_signal_proto_rawDesc), len(file_rpc_signal_proto_rawDesc))) + file_rpc_signal_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_signal_proto_rawDescData) }) return file_rpc_signal_proto_rawDescData } var file_rpc_signal_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_rpc_signal_proto_goTypes = []any{ +var file_rpc_signal_proto_goTypes = []interface{}{ (*RelaySignalRequest)(nil), // 0: rpc.RelaySignalRequest (*RelaySignalResponse)(nil), // 1: rpc.RelaySignalResponse (*livekit.StartSession)(nil), // 2: livekit.StartSession @@ -241,11 +246,37 @@ func file_rpc_signal_proto_init() { if File_rpc_signal_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_signal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RelaySignalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_signal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RelaySignalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_signal_proto_rawDesc), len(file_rpc_signal_proto_rawDesc)), + RawDescriptor: file_rpc_signal_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -256,6 +287,7 @@ func file_rpc_signal_proto_init() { MessageInfos: file_rpc_signal_proto_msgTypes, }.Build() File_rpc_signal_proto = out.File + file_rpc_signal_proto_rawDesc = nil file_rpc_signal_proto_goTypes = nil file_rpc_signal_proto_depIdxs = nil } diff --git a/rpc/sip.pb.go b/rpc/sip.pb.go index b681bd7af..f86ece570 100644 --- a/rpc/sip.pb.go +++ b/rpc/sip.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.31.0 +// protoc v4.25.3 // source: rpc/sip.proto package rpc @@ -29,7 +29,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -40,7 +39,10 @@ const ( ) type InternalCreateSIPParticipantRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Used in Cloud only ProjectId string `protobuf:"bytes,18,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` SipCallId string `protobuf:"bytes,13,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` @@ -60,7 +62,7 @@ type InternalCreateSIPParticipantRequest struct { ParticipantIdentity string `protobuf:"bytes,8,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` ParticipantName string `protobuf:"bytes,14,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` ParticipantMetadata string `protobuf:"bytes,15,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` - ParticipantAttributes map[string]string `protobuf:"bytes,17,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + ParticipantAttributes map[string]string `protobuf:"bytes,17,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // optional token that should be used when creating LiveKit participant Token string `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"` // optional websocket url that should be used when creating LiveKit participant @@ -70,11 +72,11 @@ type InternalCreateSIPParticipantRequest struct { Dtmf string `protobuf:"bytes,11,opt,name=dtmf,proto3" json:"dtmf,omitempty"` // Optionally play dialtone in the room as an audible indicator for existing participants PlayDialtone bool `protobuf:"varint,12,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` - Headers map[string]string `protobuf:"bytes,21,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - HeadersToAttributes map[string]string `protobuf:"bytes,22,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Headers map[string]string `protobuf:"bytes,21,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + HeadersToAttributes map[string]string `protobuf:"bytes,22,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,26,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + AttributesToHeaders map[string]string `protobuf:"bytes,26,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP headers from 200 OK to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -90,15 +92,15 @@ type InternalCreateSIPParticipantRequest struct { MediaEncryption livekit.SIPMediaEncryption `protobuf:"varint,28,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` // Wait for the answer for the call before returning. WaitUntilAnswered bool `protobuf:"varint,29,opt,name=wait_until_answered,json=waitUntilAnswered,proto3" json:"wait_until_answered,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache } func (x *InternalCreateSIPParticipantRequest) Reset() { *x = InternalCreateSIPParticipantRequest{} - mi := &file_rpc_sip_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_sip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InternalCreateSIPParticipantRequest) String() string { @@ -109,7 +111,7 @@ func (*InternalCreateSIPParticipantRequest) ProtoMessage() {} func (x *InternalCreateSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -321,19 +323,22 @@ func (x *InternalCreateSIPParticipantRequest) GetWaitUntilAnswered() bool { } type InternalCreateSIPParticipantResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` - ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - SipCallId string `protobuf:"bytes,3,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` + ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + SipCallId string `protobuf:"bytes,3,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` } func (x *InternalCreateSIPParticipantResponse) Reset() { *x = InternalCreateSIPParticipantResponse{} - mi := &file_rpc_sip_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_sip_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InternalCreateSIPParticipantResponse) String() string { @@ -344,7 +349,7 @@ func (*InternalCreateSIPParticipantResponse) ProtoMessage() {} func (x *InternalCreateSIPParticipantResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -381,22 +386,25 @@ func (x *InternalCreateSIPParticipantResponse) GetSipCallId() string { } type InternalTransferSIPParticipantRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - SipCallId string `protobuf:"bytes,1,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` - TransferTo string `protobuf:"bytes,2,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SipCallId string `protobuf:"bytes,1,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + TransferTo string `protobuf:"bytes,2,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` // Optionally play dialtone to the SIP participant as an audible indicator of being transferred PlayDialtone bool `protobuf:"varint,3,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` // Add the following headers to the REFER SIP request. - Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *InternalTransferSIPParticipantRequest) Reset() { *x = InternalTransferSIPParticipantRequest{} - mi := &file_rpc_sip_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_sip_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InternalTransferSIPParticipantRequest) String() string { @@ -407,7 +415,7 @@ func (*InternalTransferSIPParticipantRequest) ProtoMessage() {} func (x *InternalTransferSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -452,7 +460,7 @@ func (x *InternalTransferSIPParticipantRequest) GetHeaders() map[string]string { var File_rpc_sip_proto protoreflect.FileDescriptor -var file_rpc_sip_proto_rawDesc = string([]byte{ +var file_rpc_sip_proto_rawDesc = []byte{ 0x0a, 0x0d, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, @@ -616,22 +624,22 @@ var file_rpc_sip_proto_rawDesc = string([]byte{ 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_rpc_sip_proto_rawDescOnce sync.Once - file_rpc_sip_proto_rawDescData []byte + file_rpc_sip_proto_rawDescData = file_rpc_sip_proto_rawDesc ) func file_rpc_sip_proto_rawDescGZIP() []byte { file_rpc_sip_proto_rawDescOnce.Do(func() { - file_rpc_sip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc))) + file_rpc_sip_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_sip_proto_rawDescData) }) return file_rpc_sip_proto_rawDescData } var file_rpc_sip_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_rpc_sip_proto_goTypes = []any{ +var file_rpc_sip_proto_goTypes = []interface{}{ (*InternalCreateSIPParticipantRequest)(nil), // 0: rpc.InternalCreateSIPParticipantRequest (*InternalCreateSIPParticipantResponse)(nil), // 1: rpc.InternalCreateSIPParticipantResponse (*InternalTransferSIPParticipantRequest)(nil), // 2: rpc.InternalTransferSIPParticipantRequest @@ -675,11 +683,49 @@ func file_rpc_sip_proto_init() { if File_rpc_sip_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_sip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InternalCreateSIPParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_sip_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InternalCreateSIPParticipantResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_sip_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InternalTransferSIPParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc)), + RawDescriptor: file_rpc_sip_proto_rawDesc, NumEnums: 0, NumMessages: 8, NumExtensions: 0, @@ -690,6 +736,7 @@ func file_rpc_sip_proto_init() { MessageInfos: file_rpc_sip_proto_msgTypes, }.Build() File_rpc_sip_proto = out.File + file_rpc_sip_proto_rawDesc = nil file_rpc_sip_proto_goTypes = nil file_rpc_sip_proto_depIdxs = nil } From 5d45c95ed4f7c63d110d5088db130fec8653c9ae Mon Sep 17 00:00:00 2001 From: David Colburn Date: Wed, 12 Feb 2025 19:31:08 +0700 Subject: [PATCH 4/5] move audio mixing --- .changeset/shy-cooks-serve.md | 5 + livekit/livekit_egress.pb.go | 866 ++++++++++++++++---------------- livekit/livekit_egress.twirp.go | 398 +++++++-------- protobufs/livekit_egress.proto | 14 +- 4 files changed, 644 insertions(+), 639 deletions(-) create mode 100644 .changeset/shy-cooks-serve.md diff --git a/.changeset/shy-cooks-serve.md b/.changeset/shy-cooks-serve.md new file mode 100644 index 000000000..50a812f53 --- /dev/null +++ b/.changeset/shy-cooks-serve.md @@ -0,0 +1,5 @@ +--- +"github.com/livekit/protocol": minor +--- + +Add egress audio mixing options diff --git a/livekit/livekit_egress.pb.go b/livekit/livekit_egress.pb.go index a7777a80d..6030aec69 100644 --- a/livekit/livekit_egress.pb.go +++ b/livekit/livekit_egress.pb.go @@ -545,11 +545,12 @@ type RoomCompositeEgressRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` // (optional) - AudioOnly bool `protobuf:"varint,3,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` // (default false) - VideoOnly bool `protobuf:"varint,4,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` // (default false) - CustomBaseUrl string `protobuf:"bytes,5,opt,name=custom_base_url,json=customBaseUrl,proto3" json:"custom_base_url,omitempty"` // template base url (default https://recorder.livekit.io) + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` // (optional) + AudioOnly bool `protobuf:"varint,3,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` // (default false) + AudioMixing AudioMixing `protobuf:"varint,15,opt,name=audio_mixing,json=audioMixing,proto3,enum=livekit.AudioMixing" json:"audio_mixing,omitempty"` // only applies to audio_only egress (default DEFAULT_MIXING) + VideoOnly bool `protobuf:"varint,4,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` // (default false) + CustomBaseUrl string `protobuf:"bytes,5,opt,name=custom_base_url,json=customBaseUrl,proto3" json:"custom_base_url,omitempty"` // template base url (default https://recorder.livekit.io) // Types that are assignable to Output: // // *RoomCompositeEgressRequest_File @@ -620,6 +621,13 @@ func (x *RoomCompositeEgressRequest) GetAudioOnly() bool { return false } +func (x *RoomCompositeEgressRequest) GetAudioMixing() AudioMixing { + if x != nil { + return x.AudioMixing + } + return AudioMixing_DEFAULT_MIXING +} + func (x *RoomCompositeEgressRequest) GetVideoOnly() bool { if x != nil { return x.VideoOnly @@ -2444,19 +2452,18 @@ type EncodingOptions struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` // (default 1920) - Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // (default 1080) - Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // (default 24) - Framerate int32 `protobuf:"varint,4,opt,name=framerate,proto3" json:"framerate,omitempty"` // (default 30) - AudioCodec AudioCodec `protobuf:"varint,5,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` // (default OPUS) - AudioBitrate int32 `protobuf:"varint,6,opt,name=audio_bitrate,json=audioBitrate,proto3" json:"audio_bitrate,omitempty"` // (default 128) - AudioQuality int32 `protobuf:"varint,11,opt,name=audio_quality,json=audioQuality,proto3" json:"audio_quality,omitempty"` // quality setting on audio encoder - AudioFrequency int32 `protobuf:"varint,7,opt,name=audio_frequency,json=audioFrequency,proto3" json:"audio_frequency,omitempty"` // (default 44100) - AudioMixing AudioMixing `protobuf:"varint,13,opt,name=audio_mixing,json=audioMixing,proto3,enum=livekit.AudioMixing" json:"audio_mixing,omitempty"` // (default DEFAULT_MIXING) - VideoCodec VideoCodec `protobuf:"varint,8,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` // (default H264_MAIN) - VideoBitrate int32 `protobuf:"varint,9,opt,name=video_bitrate,json=videoBitrate,proto3" json:"video_bitrate,omitempty"` // (default 4500) - VideoQuality int32 `protobuf:"varint,12,opt,name=video_quality,json=videoQuality,proto3" json:"video_quality,omitempty"` // quality setting on video encoder - KeyFrameInterval float64 `protobuf:"fixed64,10,opt,name=key_frame_interval,json=keyFrameInterval,proto3" json:"key_frame_interval,omitempty"` // in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) + Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` // (default 1920) + Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // (default 1080) + Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // (default 24) + Framerate int32 `protobuf:"varint,4,opt,name=framerate,proto3" json:"framerate,omitempty"` // (default 30) + AudioCodec AudioCodec `protobuf:"varint,5,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` // (default OPUS) + AudioBitrate int32 `protobuf:"varint,6,opt,name=audio_bitrate,json=audioBitrate,proto3" json:"audio_bitrate,omitempty"` // (default 128) + AudioQuality int32 `protobuf:"varint,11,opt,name=audio_quality,json=audioQuality,proto3" json:"audio_quality,omitempty"` // quality setting on audio encoder + AudioFrequency int32 `protobuf:"varint,7,opt,name=audio_frequency,json=audioFrequency,proto3" json:"audio_frequency,omitempty"` // (default 44100) + VideoCodec VideoCodec `protobuf:"varint,8,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` // (default H264_MAIN) + VideoBitrate int32 `protobuf:"varint,9,opt,name=video_bitrate,json=videoBitrate,proto3" json:"video_bitrate,omitempty"` // (default 4500) + VideoQuality int32 `protobuf:"varint,12,opt,name=video_quality,json=videoQuality,proto3" json:"video_quality,omitempty"` // quality setting on video encoder + KeyFrameInterval float64 `protobuf:"fixed64,10,opt,name=key_frame_interval,json=keyFrameInterval,proto3" json:"key_frame_interval,omitempty"` // in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) } func (x *EncodingOptions) Reset() { @@ -2547,13 +2554,6 @@ func (x *EncodingOptions) GetAudioFrequency() int32 { return 0 } -func (x *EncodingOptions) GetAudioMixing() AudioMixing { - if x != nil { - return x.AudioMixing - } - return AudioMixing_DEFAULT_MIXING -} - func (x *EncodingOptions) GetVideoCodec() VideoCodec { if x != nil { return x.VideoCodec @@ -3810,373 +3810,373 @@ var file_livekit_egress_proto_rawDesc = []byte{ 0x0a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe8, 0x05, 0x0a, 0x1a, 0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x6f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x06, 0x0a, 0x1a, 0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, - 0x75, 0x64, 0x69, 0x6f, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x64, 0x65, - 0x6f, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x76, 0x69, - 0x64, 0x65, 0x6f, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x75, 0x73, 0x74, 0x6f, - 0x6d, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x42, 0x61, 0x73, 0x65, 0x55, 0x72, 0x6c, 0x12, - 0x34, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x46, - 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, - 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, 0x01, - 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x3e, 0x0a, 0x08, 0x73, 0x65, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, - 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, - 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, - 0x52, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x72, - 0x65, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x48, 0x01, 0x52, 0x06, 0x70, 0x72, - 0x65, 0x73, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x48, 0x01, 0x52, 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x0c, - 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, - 0x6f, 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0b, - 0x66, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0e, 0x73, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0c, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x65, - 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x65, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x52, 0x0e, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, - 0x12, 0x39, 0x0a, 0x0d, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, - 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0c, 0x69, - 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x6f, - 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0xc1, 0x05, 0x0a, 0x10, 0x57, 0x65, 0x62, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x64, 0x69, 0x6f, - 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x64, - 0x69, 0x6f, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, - 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x76, 0x69, 0x64, 0x65, - 0x6f, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x10, 0x61, 0x77, 0x61, 0x69, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x69, 0x67, - 0x6e, 0x61, 0x6c, 0x12, 0x34, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, - 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, - 0x01, 0x48, 0x00, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x72, - 0x65, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, - 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x3e, - 0x0a, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, - 0x18, 0x01, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x38, - 0x0a, 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, - 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, - 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x48, 0x01, - 0x52, 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x61, 0x64, 0x76, 0x61, - 0x6e, 0x63, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x01, 0x52, 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, - 0x12, 0x3d, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, - 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, + 0x75, 0x64, 0x69, 0x6f, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x37, 0x0a, 0x0c, 0x61, 0x75, 0x64, 0x69, + 0x6f, 0x5f, 0x6d, 0x69, 0x78, 0x69, 0x6e, 0x67, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4d, 0x69, + 0x78, 0x69, 0x6e, 0x67, 0x52, 0x0b, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x4d, 0x69, 0x78, 0x69, 0x6e, + 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x6e, 0x6c, 0x79, + 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, + 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, + 0x6d, 0x42, 0x61, 0x73, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x34, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, - 0x3c, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, - 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0d, - 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x45, 0x0a, - 0x0f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, - 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, - 0x74, 0x70, 0x75, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x0d, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x75, - 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, - 0x74, 0x52, 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x42, - 0x08, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xf2, 0x03, 0x0a, 0x18, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, - 0x70, 0x61, 0x6e, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, - 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x63, - 0x72, 0x65, 0x65, 0x6e, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0b, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x38, 0x0a, - 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x48, 0x00, 0x52, - 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, - 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, - 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x12, - 0x3d, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, - 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, - 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, - 0x74, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, - 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, - 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0d, 0x73, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x0f, - 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, - 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, + 0x75, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x33, + 0x0a, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x12, 0x3e, 0x0a, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x0d, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x52, 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x42, 0x09, - 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xb7, 0x05, 0x0a, 0x1b, 0x54, 0x72, - 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, - 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, - 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, - 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, - 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x61, 0x75, 0x64, 0x69, 0x6f, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, - 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x54, 0x72, 0x61, 0x63, 0x6b, - 0x49, 0x64, 0x12, 0x34, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, - 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, 0x01, - 0x48, 0x00, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x65, - 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, - 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x3e, 0x0a, - 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, + 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x65, + 0x73, 0x65, 0x74, 0x48, 0x01, 0x52, 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x12, 0x36, 0x0a, + 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, + 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x01, 0x52, 0x08, 0x61, 0x64, 0x76, + 0x61, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, + 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, + 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x6f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, + 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, + 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x0d, 0x69, 0x6d, 0x61, + 0x67, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x09, + 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc1, 0x05, 0x0a, 0x10, 0x57, 0x65, + 0x62, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, + 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x4f, 0x6e, 0x6c, 0x79, 0x12, + 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x09, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x2c, + 0x0a, 0x12, 0x61, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x61, 0x77, 0x61, 0x69, + 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x34, 0x0a, 0x04, + 0x66, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x04, 0x66, 0x69, + 0x6c, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, + 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x3e, 0x0a, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, + 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x08, 0x73, + 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, + 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x48, 0x01, 0x52, 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, + 0x74, 0x12, 0x36, 0x0a, 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, + 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x01, 0x52, + 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x66, 0x69, 0x6c, + 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, + 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0b, 0x66, 0x69, 0x6c, + 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, - 0x01, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x38, 0x0a, - 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x48, 0x01, 0x52, - 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, - 0x63, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, - 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x48, 0x01, 0x52, 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x12, - 0x3d, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, - 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, - 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, - 0x74, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, - 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, - 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0d, 0x73, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x0f, - 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, - 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, - 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x0d, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x52, 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x42, 0x08, - 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0xae, 0x01, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x45, 0x67, 0x72, + 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0e, 0x73, + 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x39, 0x0a, + 0x0d, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0d, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, + 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0c, 0x69, 0x6d, 0x61, 0x67, + 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xf2, 0x03, + 0x0a, 0x18, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, - 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x6b, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x6b, - 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x48, 0x00, 0x52, 0x04, 0x66, - 0x69, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x0d, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, - 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x77, 0x65, - 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x55, 0x72, 0x6c, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x75, - 0x74, 0x70, 0x75, 0x74, 0x22, 0xcb, 0x02, 0x0a, 0x11, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, - 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x66, 0x69, - 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x46, - 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x12, 0x29, 0x0a, + 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x5f, 0x73, 0x68, + 0x61, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x63, 0x72, 0x65, 0x65, + 0x6e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, + 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x48, 0x00, 0x52, 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, + 0x12, 0x36, 0x0a, 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, + 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x08, + 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, + 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, + 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0e, 0x73, 0x65, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x0d, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x09, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0xb7, 0x05, 0x0a, 0x1b, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x24, 0x0a, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x54, 0x72, + 0x61, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x74, + 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x76, + 0x69, 0x64, 0x65, 0x6f, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x04, 0x66, + 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x04, 0x66, 0x69, 0x6c, + 0x65, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x06, + 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x3e, 0x0a, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, + 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, + 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x48, 0x01, 0x52, 0x06, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, + 0x12, 0x36, 0x0a, 0x08, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, + 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x01, 0x52, 0x08, + 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, + 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, + 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0e, 0x73, 0x65, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x0d, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0e, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xae, 0x01, 0x0a, + 0x12, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x04, 0x66, + 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x48, 0x00, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x0d, + 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, + 0x55, 0x72, 0x6c, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0xcb, 0x02, + 0x0a, 0x11, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, + 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, + 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, + 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, + 0x74, 0x12, 0x23, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x33, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x48, 0x00, 0x52, 0x02, 0x73, 0x33, 0x12, 0x26, 0x0a, 0x03, 0x67, 0x63, 0x70, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x43, + 0x50, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x03, 0x67, 0x63, 0x70, 0x12, 0x30, + 0x0a, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, + 0x62, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, + 0x12, 0x2f, 0x0a, 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x6c, 0x69, 0x4f, 0x53, + 0x53, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, + 0x53, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0xa4, 0x04, 0x0a, 0x13, + 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x12, 0x3a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, + 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, + 0x27, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x66, + 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, + 0x6d, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x79, + 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, + 0x12, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x69, 0x76, 0x65, 0x50, + 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x73, + 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, + 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x52, 0x0e, 0x66, + 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, - 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, - 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x03, + 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x33, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x02, 0x73, 0x33, 0x12, 0x26, 0x0a, - 0x03, 0x67, 0x63, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x69, 0x76, + 0x03, 0x67, 0x63, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x43, 0x50, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, - 0x52, 0x03, 0x67, 0x63, 0x70, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x18, 0x05, + 0x52, 0x03, 0x67, 0x63, 0x70, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, - 0x53, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x53, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x22, 0xa4, 0x04, 0x0a, 0x13, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, - 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x3a, 0x0a, 0x08, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6c, - 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, - 0x46, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, - 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0e, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, - 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6c, 0x61, - 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x10, 0x6c, 0x69, 0x76, 0x65, 0x50, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x73, 0x65, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, - 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x75, - 0x66, 0x66, 0x69, 0x78, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x75, - 0x66, 0x66, 0x69, 0x78, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, - 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, - 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, - 0x23, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x33, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, - 0x52, 0x02, 0x73, 0x33, 0x12, 0x26, 0x0a, 0x03, 0x67, 0x63, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x43, 0x50, 0x55, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x03, 0x67, 0x63, 0x70, 0x12, 0x30, 0x0a, 0x05, - 0x61, 0x7a, 0x75, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x55, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x12, 0x2f, - 0x0a, 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, - 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x55, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x42, - 0x08, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0x93, 0x02, 0x0a, 0x10, 0x44, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x1a, - 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x69, - 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x6e, - 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x33, 0x55, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x02, 0x73, 0x33, 0x12, 0x26, 0x0a, 0x03, 0x67, 0x63, - 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, - 0x74, 0x2e, 0x47, 0x43, 0x50, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x03, 0x67, - 0x63, 0x70, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x7a, 0x75, 0x72, - 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x05, 0x61, - 0x7a, 0x75, 0x72, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, - 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x06, 0x61, - 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, - 0xed, 0x03, 0x0a, 0x0b, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, - 0x29, 0x0a, 0x10, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x61, 0x70, 0x74, 0x75, - 0x72, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, - 0x64, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, - 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, - 0x78, 0x12, 0x41, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x75, - 0x66, 0x66, 0x69, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x75, - 0x66, 0x66, 0x69, 0x78, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x75, - 0x66, 0x66, 0x69, 0x78, 0x12, 0x34, 0x0a, 0x0b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, - 0x64, 0x65, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, - 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x52, 0x0a, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x69, - 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x6e, - 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x33, 0x55, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x02, 0x73, 0x33, 0x12, 0x26, 0x0a, 0x03, 0x67, 0x63, - 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, - 0x74, 0x2e, 0x47, 0x43, 0x50, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x03, 0x67, - 0x63, 0x70, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x7a, 0x75, 0x72, - 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x05, 0x61, - 0x7a, 0x75, 0x72, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, - 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x06, 0x61, - 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, - 0xcd, 0x03, 0x0a, 0x08, 0x53, 0x33, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1d, 0x0a, 0x0a, - 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, - 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, - 0x63, 0x6b, 0x65, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, - 0x74, 0x68, 0x5f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, - 0x66, 0x6f, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x3b, - 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1f, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x33, 0x55, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x74, - 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, - 0x67, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, - 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x70, 0x72, 0x6f, - 0x78, 0x79, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, - 0x71, 0x0a, 0x09, 0x47, 0x43, 0x50, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x20, 0x0a, 0x0b, - 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x16, - 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, - 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x70, 0x72, 0x6f, - 0x78, 0x79, 0x22, 0x7c, 0x0a, 0x0f, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x55, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, - 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, - 0x22, 0x91, 0x01, 0x0a, 0x0c, 0x41, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x55, 0x70, 0x6c, 0x6f, 0x61, - 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, - 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, - 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, - 0x63, 0x6b, 0x65, 0x74, 0x22, 0x57, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x57, 0x0a, - 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x33, 0x0a, - 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x17, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x04, 0x75, 0x72, 0x6c, 0x73, 0x22, 0x83, 0x04, 0x0a, 0x0f, 0x45, 0x6e, 0x63, 0x6f, 0x64, - 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, - 0x64, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, - 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x70, 0x74, - 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x12, 0x1c, - 0x0a, 0x09, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x09, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x0b, - 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x75, 0x64, 0x69, - 0x6f, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x52, 0x0a, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x6f, 0x64, - 0x65, 0x63, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x62, 0x69, 0x74, 0x72, - 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x61, 0x75, 0x64, 0x69, 0x6f, - 0x42, 0x69, 0x74, 0x72, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x6f, - 0x5f, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, - 0x61, 0x75, 0x64, 0x69, 0x6f, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x0f, - 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x46, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x37, 0x0a, 0x0c, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x6d, - 0x69, 0x78, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4d, 0x69, 0x78, 0x69, 0x6e, - 0x67, 0x52, 0x0b, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x67, 0x12, 0x34, + 0x75, 0x74, 0x22, 0x93, 0x02, 0x0a, 0x10, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x46, 0x69, 0x6c, + 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x70, + 0x61, 0x74, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, + 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x23, + 0x0a, 0x02, 0x73, 0x33, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x33, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, + 0x02, 0x73, 0x33, 0x12, 0x26, 0x0a, 0x03, 0x67, 0x63, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x43, 0x50, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x03, 0x67, 0x63, 0x70, 0x12, 0x30, 0x0a, 0x05, 0x61, + 0x7a, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x12, 0x2f, 0x0a, + 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x42, 0x08, + 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0xed, 0x03, 0x0a, 0x0b, 0x49, 0x6d, 0x61, + 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x61, 0x70, 0x74, + 0x75, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x76, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x72, + 0x65, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x65, + 0x6e, 0x61, 0x6d, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x41, 0x0a, 0x0f, 0x66, 0x69, + 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x52, 0x0e, 0x66, + 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x34, 0x0a, + 0x0b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6d, 0x61, + 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x52, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, + 0x64, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, + 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x23, + 0x0a, 0x02, 0x73, 0x33, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x33, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, + 0x02, 0x73, 0x33, 0x12, 0x26, 0x0a, 0x03, 0x67, 0x63, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x43, 0x50, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x03, 0x67, 0x63, 0x70, 0x12, 0x30, 0x0a, 0x05, 0x61, + 0x7a, 0x75, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x12, 0x2f, 0x0a, + 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 0x06, 0x61, 0x6c, 0x69, 0x4f, 0x53, 0x53, 0x42, 0x08, + 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0xcd, 0x03, 0x0a, 0x08, 0x53, 0x33, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x28, 0x0a, + 0x10, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x73, 0x74, 0x79, 0x6c, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x50, 0x61, + 0x74, 0x68, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x33, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x2f, + 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x2a, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x71, 0x0a, 0x09, 0x47, 0x43, 0x50, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, + 0x2a, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x22, 0x7c, 0x0a, 0x0f, 0x41, + 0x7a, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x21, + 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, + 0x65, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x0c, 0x41, 0x6c, + 0x69, 0x4f, 0x53, 0x53, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x22, 0x57, 0x0a, + 0x0b, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1a, + 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x57, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x33, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, + 0x69, 0x74, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x75, + 0x72, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x75, 0x72, 0x6c, 0x73, 0x22, + 0xca, 0x03, 0x0a, 0x0f, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x72, 0x61, 0x6d, 0x65, + 0x72, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x66, 0x72, 0x61, 0x6d, + 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x0b, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x63, + 0x6f, 0x64, 0x65, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x52, + 0x0a, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x12, 0x23, 0x0a, 0x0d, 0x61, + 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x62, 0x69, 0x74, 0x72, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0c, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x42, 0x69, 0x74, 0x72, 0x61, 0x74, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, + 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x51, 0x75, + 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x66, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, + 0x61, 0x75, 0x64, 0x69, 0x6f, 0x46, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x34, 0x0a, 0x0b, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x52, 0x0a, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x43, @@ -4549,67 +4549,67 @@ var file_livekit_egress_proto_goTypes = []interface{}{ (VideoCodec)(0), // 42: livekit.VideoCodec } var file_livekit_egress_proto_depIdxs = []int32{ - 15, // 0: livekit.RoomCompositeEgressRequest.file:type_name -> livekit.EncodedFileOutput - 24, // 1: livekit.RoomCompositeEgressRequest.stream:type_name -> livekit.StreamOutput - 16, // 2: livekit.RoomCompositeEgressRequest.segments:type_name -> livekit.SegmentedFileOutput - 6, // 3: livekit.RoomCompositeEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset - 25, // 4: livekit.RoomCompositeEgressRequest.advanced:type_name -> livekit.EncodingOptions - 15, // 5: livekit.RoomCompositeEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput - 24, // 6: livekit.RoomCompositeEgressRequest.stream_outputs:type_name -> livekit.StreamOutput - 16, // 7: livekit.RoomCompositeEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput - 18, // 8: livekit.RoomCompositeEgressRequest.image_outputs:type_name -> livekit.ImageOutput - 15, // 9: livekit.WebEgressRequest.file:type_name -> livekit.EncodedFileOutput - 24, // 10: livekit.WebEgressRequest.stream:type_name -> livekit.StreamOutput - 16, // 11: livekit.WebEgressRequest.segments:type_name -> livekit.SegmentedFileOutput - 6, // 12: livekit.WebEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset - 25, // 13: livekit.WebEgressRequest.advanced:type_name -> livekit.EncodingOptions - 15, // 14: livekit.WebEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput - 24, // 15: livekit.WebEgressRequest.stream_outputs:type_name -> livekit.StreamOutput - 16, // 16: livekit.WebEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput - 18, // 17: livekit.WebEgressRequest.image_outputs:type_name -> livekit.ImageOutput - 6, // 18: livekit.ParticipantEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset - 25, // 19: livekit.ParticipantEgressRequest.advanced:type_name -> livekit.EncodingOptions - 15, // 20: livekit.ParticipantEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput - 24, // 21: livekit.ParticipantEgressRequest.stream_outputs:type_name -> livekit.StreamOutput - 16, // 22: livekit.ParticipantEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput - 18, // 23: livekit.ParticipantEgressRequest.image_outputs:type_name -> livekit.ImageOutput - 15, // 24: livekit.TrackCompositeEgressRequest.file:type_name -> livekit.EncodedFileOutput - 24, // 25: livekit.TrackCompositeEgressRequest.stream:type_name -> livekit.StreamOutput - 16, // 26: livekit.TrackCompositeEgressRequest.segments:type_name -> livekit.SegmentedFileOutput - 6, // 27: livekit.TrackCompositeEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset - 25, // 28: livekit.TrackCompositeEgressRequest.advanced:type_name -> livekit.EncodingOptions - 15, // 29: livekit.TrackCompositeEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput - 24, // 30: livekit.TrackCompositeEgressRequest.stream_outputs:type_name -> livekit.StreamOutput - 16, // 31: livekit.TrackCompositeEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput - 18, // 32: livekit.TrackCompositeEgressRequest.image_outputs:type_name -> livekit.ImageOutput - 17, // 33: livekit.TrackEgressRequest.file:type_name -> livekit.DirectFileOutput - 0, // 34: livekit.EncodedFileOutput.file_type:type_name -> livekit.EncodedFileType - 19, // 35: livekit.EncodedFileOutput.s3:type_name -> livekit.S3Upload - 20, // 36: livekit.EncodedFileOutput.gcp:type_name -> livekit.GCPUpload - 21, // 37: livekit.EncodedFileOutput.azure:type_name -> livekit.AzureBlobUpload - 22, // 38: livekit.EncodedFileOutput.aliOSS:type_name -> livekit.AliOSSUpload - 1, // 39: livekit.SegmentedFileOutput.protocol:type_name -> livekit.SegmentedFileProtocol - 2, // 40: livekit.SegmentedFileOutput.filename_suffix:type_name -> livekit.SegmentedFileSuffix - 19, // 41: livekit.SegmentedFileOutput.s3:type_name -> livekit.S3Upload - 20, // 42: livekit.SegmentedFileOutput.gcp:type_name -> livekit.GCPUpload - 21, // 43: livekit.SegmentedFileOutput.azure:type_name -> livekit.AzureBlobUpload - 22, // 44: livekit.SegmentedFileOutput.aliOSS:type_name -> livekit.AliOSSUpload - 19, // 45: livekit.DirectFileOutput.s3:type_name -> livekit.S3Upload - 20, // 46: livekit.DirectFileOutput.gcp:type_name -> livekit.GCPUpload - 21, // 47: livekit.DirectFileOutput.azure:type_name -> livekit.AzureBlobUpload - 22, // 48: livekit.DirectFileOutput.aliOSS:type_name -> livekit.AliOSSUpload - 3, // 49: livekit.ImageOutput.filename_suffix:type_name -> livekit.ImageFileSuffix - 40, // 50: livekit.ImageOutput.image_codec:type_name -> livekit.ImageCodec - 19, // 51: livekit.ImageOutput.s3:type_name -> livekit.S3Upload - 20, // 52: livekit.ImageOutput.gcp:type_name -> livekit.GCPUpload - 21, // 53: livekit.ImageOutput.azure:type_name -> livekit.AzureBlobUpload - 22, // 54: livekit.ImageOutput.aliOSS:type_name -> livekit.AliOSSUpload - 39, // 55: livekit.S3Upload.metadata:type_name -> livekit.S3Upload.MetadataEntry - 23, // 56: livekit.S3Upload.proxy:type_name -> livekit.ProxyConfig - 23, // 57: livekit.GCPUpload.proxy:type_name -> livekit.ProxyConfig - 4, // 58: livekit.StreamOutput.protocol:type_name -> livekit.StreamProtocol - 41, // 59: livekit.EncodingOptions.audio_codec:type_name -> livekit.AudioCodec - 5, // 60: livekit.EncodingOptions.audio_mixing:type_name -> livekit.AudioMixing + 5, // 0: livekit.RoomCompositeEgressRequest.audio_mixing:type_name -> livekit.AudioMixing + 15, // 1: livekit.RoomCompositeEgressRequest.file:type_name -> livekit.EncodedFileOutput + 24, // 2: livekit.RoomCompositeEgressRequest.stream:type_name -> livekit.StreamOutput + 16, // 3: livekit.RoomCompositeEgressRequest.segments:type_name -> livekit.SegmentedFileOutput + 6, // 4: livekit.RoomCompositeEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset + 25, // 5: livekit.RoomCompositeEgressRequest.advanced:type_name -> livekit.EncodingOptions + 15, // 6: livekit.RoomCompositeEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput + 24, // 7: livekit.RoomCompositeEgressRequest.stream_outputs:type_name -> livekit.StreamOutput + 16, // 8: livekit.RoomCompositeEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput + 18, // 9: livekit.RoomCompositeEgressRequest.image_outputs:type_name -> livekit.ImageOutput + 15, // 10: livekit.WebEgressRequest.file:type_name -> livekit.EncodedFileOutput + 24, // 11: livekit.WebEgressRequest.stream:type_name -> livekit.StreamOutput + 16, // 12: livekit.WebEgressRequest.segments:type_name -> livekit.SegmentedFileOutput + 6, // 13: livekit.WebEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset + 25, // 14: livekit.WebEgressRequest.advanced:type_name -> livekit.EncodingOptions + 15, // 15: livekit.WebEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput + 24, // 16: livekit.WebEgressRequest.stream_outputs:type_name -> livekit.StreamOutput + 16, // 17: livekit.WebEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput + 18, // 18: livekit.WebEgressRequest.image_outputs:type_name -> livekit.ImageOutput + 6, // 19: livekit.ParticipantEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset + 25, // 20: livekit.ParticipantEgressRequest.advanced:type_name -> livekit.EncodingOptions + 15, // 21: livekit.ParticipantEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput + 24, // 22: livekit.ParticipantEgressRequest.stream_outputs:type_name -> livekit.StreamOutput + 16, // 23: livekit.ParticipantEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput + 18, // 24: livekit.ParticipantEgressRequest.image_outputs:type_name -> livekit.ImageOutput + 15, // 25: livekit.TrackCompositeEgressRequest.file:type_name -> livekit.EncodedFileOutput + 24, // 26: livekit.TrackCompositeEgressRequest.stream:type_name -> livekit.StreamOutput + 16, // 27: livekit.TrackCompositeEgressRequest.segments:type_name -> livekit.SegmentedFileOutput + 6, // 28: livekit.TrackCompositeEgressRequest.preset:type_name -> livekit.EncodingOptionsPreset + 25, // 29: livekit.TrackCompositeEgressRequest.advanced:type_name -> livekit.EncodingOptions + 15, // 30: livekit.TrackCompositeEgressRequest.file_outputs:type_name -> livekit.EncodedFileOutput + 24, // 31: livekit.TrackCompositeEgressRequest.stream_outputs:type_name -> livekit.StreamOutput + 16, // 32: livekit.TrackCompositeEgressRequest.segment_outputs:type_name -> livekit.SegmentedFileOutput + 18, // 33: livekit.TrackCompositeEgressRequest.image_outputs:type_name -> livekit.ImageOutput + 17, // 34: livekit.TrackEgressRequest.file:type_name -> livekit.DirectFileOutput + 0, // 35: livekit.EncodedFileOutput.file_type:type_name -> livekit.EncodedFileType + 19, // 36: livekit.EncodedFileOutput.s3:type_name -> livekit.S3Upload + 20, // 37: livekit.EncodedFileOutput.gcp:type_name -> livekit.GCPUpload + 21, // 38: livekit.EncodedFileOutput.azure:type_name -> livekit.AzureBlobUpload + 22, // 39: livekit.EncodedFileOutput.aliOSS:type_name -> livekit.AliOSSUpload + 1, // 40: livekit.SegmentedFileOutput.protocol:type_name -> livekit.SegmentedFileProtocol + 2, // 41: livekit.SegmentedFileOutput.filename_suffix:type_name -> livekit.SegmentedFileSuffix + 19, // 42: livekit.SegmentedFileOutput.s3:type_name -> livekit.S3Upload + 20, // 43: livekit.SegmentedFileOutput.gcp:type_name -> livekit.GCPUpload + 21, // 44: livekit.SegmentedFileOutput.azure:type_name -> livekit.AzureBlobUpload + 22, // 45: livekit.SegmentedFileOutput.aliOSS:type_name -> livekit.AliOSSUpload + 19, // 46: livekit.DirectFileOutput.s3:type_name -> livekit.S3Upload + 20, // 47: livekit.DirectFileOutput.gcp:type_name -> livekit.GCPUpload + 21, // 48: livekit.DirectFileOutput.azure:type_name -> livekit.AzureBlobUpload + 22, // 49: livekit.DirectFileOutput.aliOSS:type_name -> livekit.AliOSSUpload + 3, // 50: livekit.ImageOutput.filename_suffix:type_name -> livekit.ImageFileSuffix + 40, // 51: livekit.ImageOutput.image_codec:type_name -> livekit.ImageCodec + 19, // 52: livekit.ImageOutput.s3:type_name -> livekit.S3Upload + 20, // 53: livekit.ImageOutput.gcp:type_name -> livekit.GCPUpload + 21, // 54: livekit.ImageOutput.azure:type_name -> livekit.AzureBlobUpload + 22, // 55: livekit.ImageOutput.aliOSS:type_name -> livekit.AliOSSUpload + 39, // 56: livekit.S3Upload.metadata:type_name -> livekit.S3Upload.MetadataEntry + 23, // 57: livekit.S3Upload.proxy:type_name -> livekit.ProxyConfig + 23, // 58: livekit.GCPUpload.proxy:type_name -> livekit.ProxyConfig + 4, // 59: livekit.StreamOutput.protocol:type_name -> livekit.StreamProtocol + 41, // 60: livekit.EncodingOptions.audio_codec:type_name -> livekit.AudioCodec 42, // 61: livekit.EncodingOptions.video_codec:type_name -> livekit.VideoCodec 31, // 62: livekit.ListEgressResponse.items:type_name -> livekit.EgressInfo 8, // 63: livekit.EgressInfo.source_type:type_name -> livekit.EgressSourceType diff --git a/livekit/livekit_egress.twirp.go b/livekit/livekit_egress.twirp.go index c610f1ee7..96c6fbc7f 100644 --- a/livekit/livekit_egress.twirp.go +++ b/livekit/livekit_egress.twirp.go @@ -2754,203 +2754,203 @@ func (s *egressServer) PathPrefix() string { } var twirpFileDescriptor1 = []byte{ - // 3158 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x1a, 0x4b, 0x6f, 0x1b, 0xc7, - 0x59, 0xcb, 0x37, 0x3f, 0x3e, 0xb4, 0x1a, 0xcb, 0x0e, 0x2d, 0xa7, 0xb1, 0x43, 0xe7, 0xe1, 0x28, - 0x89, 0xac, 0x5a, 0x8e, 0xe3, 0x38, 0x4d, 0x5a, 0x4a, 0x5a, 0x49, 0x4c, 0x28, 0x89, 0x5d, 0x52, - 0x71, 0xda, 0xcb, 0x62, 0xc5, 0x1d, 0x49, 0x0b, 0x91, 0xbb, 0xcc, 0xce, 0x50, 0x0e, 0x83, 0xde, - 0x7a, 0xe9, 0xb1, 0x8f, 0x5b, 0x51, 0xa0, 0x97, 0x9e, 0x8a, 0xa2, 0xd7, 0x9c, 0x7b, 0x2e, 0x8a, - 0x1e, 0xfa, 0x27, 0x8a, 0x02, 0xed, 0xa1, 0xbf, 0xa0, 0x98, 0xc7, 0x3e, 0xb8, 0x5c, 0xc9, 0x94, - 0x65, 0xa0, 0x87, 0xf6, 0xb6, 0xf3, 0xbd, 0xf8, 0xbd, 0xe6, 0x9b, 0xf9, 0xbe, 0x21, 0x2c, 0xf6, - 0xed, 0x33, 0x7c, 0x6a, 0x53, 0x03, 0x1f, 0x7b, 0x98, 0x90, 0x95, 0xa1, 0xe7, 0x52, 0x17, 0xe5, - 0x25, 0x74, 0x29, 0x40, 0x0f, 0x5c, 0x0b, 0xf7, 0x25, 0xba, 0xfe, 0xf7, 0x2c, 0x2c, 0xe9, 0xae, - 0x3b, 0xd8, 0x70, 0x07, 0x43, 0x97, 0xd8, 0x14, 0x6b, 0x9c, 0x59, 0xc7, 0x5f, 0x8d, 0x30, 0xa1, - 0xe8, 0x16, 0x14, 0x3d, 0xd7, 0x1d, 0x18, 0x8e, 0x39, 0xc0, 0x35, 0xe5, 0x8e, 0x72, 0xaf, 0xa8, - 0x17, 0x18, 0x60, 0xcf, 0x1c, 0x60, 0x74, 0x03, 0x72, 0x7d, 0x73, 0xec, 0x8e, 0x68, 0x2d, 0xc5, - 0x31, 0x72, 0x85, 0xbe, 0x03, 0x60, 0x8e, 0x2c, 0xdb, 0x35, 0x5c, 0xa7, 0x3f, 0xae, 0xa5, 0xef, - 0x28, 0xf7, 0x0a, 0x7a, 0x91, 0x43, 0xf6, 0x9d, 0xfe, 0x98, 0xa1, 0xcf, 0x6c, 0x0b, 0x4b, 0x74, - 0x46, 0xa0, 0x39, 0x84, 0xa3, 0xdf, 0x82, 0xf9, 0xde, 0x88, 0x50, 0x77, 0x60, 0x1c, 0x9a, 0x04, - 0x1b, 0x23, 0xaf, 0x5f, 0xcb, 0x72, 0xf1, 0x15, 0x01, 0x5e, 0x37, 0x09, 0x3e, 0xf0, 0xfa, 0xe8, - 0x21, 0x64, 0x8e, 0xec, 0x3e, 0xae, 0xe5, 0xee, 0x28, 0xf7, 0x4a, 0x0f, 0x96, 0x56, 0xa4, 0x79, - 0x2b, 0x9a, 0xd3, 0x73, 0x2d, 0x6c, 0x6d, 0xd9, 0x7d, 0xbc, 0x3f, 0xa2, 0xc3, 0x11, 0x5d, 0x4f, - 0xd5, 0x94, 0x9d, 0x39, 0x9d, 0x53, 0xa3, 0x35, 0xc8, 0x11, 0xea, 0x61, 0x73, 0x50, 0xcb, 0x73, - 0xbe, 0xeb, 0x01, 0x5f, 0x87, 0x83, 0x27, 0x58, 0x24, 0x29, 0xfa, 0x14, 0x0a, 0x04, 0x1f, 0x0f, - 0xb0, 0x43, 0x49, 0x0d, 0x38, 0xdb, 0xab, 0x21, 0x9b, 0x40, 0x24, 0xfc, 0x60, 0xc0, 0x83, 0x1e, - 0x43, 0x6e, 0xe8, 0x61, 0x82, 0x69, 0xad, 0x70, 0x47, 0xb9, 0x57, 0x7d, 0xf0, 0xda, 0xa4, 0xb2, - 0xb6, 0x73, 0xbc, 0x3f, 0xa4, 0xb6, 0xeb, 0x90, 0x36, 0xa7, 0xda, 0x51, 0x74, 0x49, 0x8f, 0x1e, - 0x41, 0xc1, 0xb4, 0xce, 0x4c, 0xa7, 0x87, 0xad, 0x5a, 0x91, 0xff, 0x72, 0xed, 0x3c, 0xde, 0x1d, - 0x45, 0x0f, 0x68, 0xd1, 0x27, 0x50, 0x66, 0xe6, 0x1a, 0x2e, 0x57, 0x88, 0xd4, 0x4a, 0x77, 0xd2, - 0x17, 0x3b, 0x49, 0x2f, 0x1d, 0x05, 0xdf, 0x04, 0x7d, 0x0f, 0xaa, 0xc2, 0xf4, 0x40, 0x40, 0x99, - 0x0b, 0x48, 0xf6, 0x96, 0x5e, 0x21, 0x91, 0x15, 0x41, 0x1a, 0xcc, 0x4b, 0xd3, 0x03, 0xf6, 0x0a, - 0x67, 0xbf, 0xd0, 0x6b, 0x7a, 0x55, 0x32, 0xf9, 0x62, 0x3e, 0x82, 0x8a, 0x3d, 0x30, 0x8f, 0x43, - 0x23, 0xaa, 0x5c, 0xc8, 0x62, 0x20, 0xa4, 0xc9, 0xb0, 0x92, 0xb9, 0x6c, 0x87, 0x0b, 0xb2, 0x5e, - 0x80, 0x9c, 0x60, 0x5a, 0x2f, 0x42, 0xde, 0x15, 0xfe, 0xa9, 0xff, 0x29, 0x0b, 0xea, 0x53, 0x7c, - 0x38, 0x99, 0xe0, 0x2a, 0xa4, 0x59, 0x86, 0x89, 0xd4, 0x66, 0x9f, 0xb1, 0xec, 0x4d, 0x5d, 0x9c, - 0xbd, 0xe9, 0x78, 0xf6, 0xbe, 0x07, 0xc8, 0x7c, 0x66, 0xda, 0xd4, 0x20, 0xd4, 0xf4, 0xa8, 0x41, - 0xec, 0x63, 0xc7, 0xec, 0xd7, 0xca, 0x9c, 0x4c, 0xe5, 0x98, 0x0e, 0x43, 0x74, 0x38, 0x3c, 0xc8, - 0xe1, 0xcc, 0x0b, 0xe6, 0x70, 0xf6, 0xc5, 0x72, 0x38, 0x77, 0xa5, 0x1c, 0xce, 0x5f, 0x21, 0x87, - 0x0b, 0x57, 0xc8, 0xe1, 0xe2, 0x55, 0x73, 0x18, 0xae, 0x96, 0xc3, 0xa5, 0x97, 0x91, 0xc3, 0x95, - 0xab, 0xe5, 0xf0, 0xbf, 0xd3, 0x50, 0x6b, 0x9b, 0x1e, 0xb5, 0x7b, 0xf6, 0xd0, 0x74, 0xe8, 0x25, - 0x8a, 0xf5, 0x12, 0x14, 0x6c, 0x0b, 0x3b, 0xd4, 0xa6, 0x63, 0x59, 0xae, 0x83, 0x35, 0x7a, 0x1d, - 0xca, 0xa4, 0xe7, 0x61, 0xec, 0x18, 0xe4, 0xc4, 0xf4, 0xb0, 0xcc, 0xea, 0x92, 0x80, 0x75, 0x18, - 0x28, 0x12, 0xfe, 0xcc, 0x4c, 0xe1, 0x9f, 0x4b, 0x0c, 0x7f, 0xf6, 0x39, 0xe1, 0x9f, 0xbb, 0x20, - 0xfc, 0xb9, 0xab, 0x86, 0x3f, 0x7f, 0xb5, 0xf0, 0x17, 0x5e, 0x46, 0xf8, 0x8b, 0x33, 0x87, 0x3f, - 0x12, 0xf4, 0x6f, 0xb3, 0x70, 0xab, 0xeb, 0x99, 0xbd, 0xd3, 0x17, 0x39, 0xa4, 0xdf, 0x80, 0xaa, - 0x28, 0x67, 0x94, 0x49, 0x30, 0x6c, 0x4b, 0x46, 0xbf, 0xcc, 0xa1, 0x5c, 0x6c, 0xd3, 0x62, 0x54, - 0xa2, 0xaa, 0x05, 0x54, 0x69, 0x41, 0xc5, 0xa1, 0x3e, 0xd5, 0x7f, 0xa9, 0x5c, 0x15, 0xae, 0x54, - 0xae, 0x72, 0x57, 0x28, 0x57, 0xf9, 0xff, 0x1f, 0xb9, 0x57, 0x2a, 0x57, 0x7f, 0x54, 0x00, 0xf1, - 0xe4, 0xb9, 0x44, 0xc2, 0xde, 0x84, 0x42, 0x2c, 0x55, 0xf3, 0x54, 0xe6, 0xdf, 0x7d, 0x99, 0x7f, - 0x69, 0x1e, 0x96, 0x9b, 0x81, 0x56, 0x9b, 0xb6, 0x87, 0x7b, 0x34, 0xb4, 0x2b, 0x48, 0xbd, 0x37, - 0xa1, 0xf2, 0x0c, 0x1f, 0x12, 0xb7, 0x77, 0x8a, 0x29, 0xbf, 0x49, 0xb2, 0xcc, 0x2d, 0xee, 0xcc, - 0xe9, 0xe5, 0x00, 0x7c, 0xe0, 0xf5, 0x43, 0xdd, 0xeb, 0x7f, 0x4e, 0xc1, 0xc2, 0x54, 0xa0, 0xd0, - 0x07, 0x50, 0xe4, 0xa1, 0xa5, 0xe3, 0xa1, 0xd0, 0xb7, 0x1a, 0xcf, 0x09, 0x41, 0xde, 0x1d, 0x0f, - 0xb1, 0x5e, 0x38, 0x92, 0x5f, 0xac, 0xe4, 0xb2, 0xef, 0xa1, 0x49, 0x4f, 0xfc, 0x92, 0xeb, 0xaf, - 0xd1, 0x3b, 0xa0, 0x5a, 0x36, 0x31, 0x0f, 0xfb, 0xd8, 0x18, 0x98, 0x8e, 0x7d, 0x84, 0x89, 0xc8, - 0xd4, 0x82, 0x3e, 0x2f, 0xe1, 0xbb, 0x12, 0x8c, 0xee, 0x42, 0x8a, 0xac, 0x49, 0x9b, 0x17, 0xc2, - 0x70, 0xae, 0x1d, 0x0c, 0xfb, 0xae, 0x69, 0xed, 0xcc, 0xe9, 0x29, 0xb2, 0x86, 0xde, 0x82, 0xf4, - 0x71, 0x6f, 0x28, 0x77, 0x26, 0x0a, 0xa8, 0xb6, 0x37, 0xda, 0x01, 0x19, 0x23, 0x40, 0xab, 0x90, - 0x35, 0xbf, 0x19, 0x79, 0x78, 0xaa, 0x14, 0x37, 0x18, 0x74, 0xbd, 0xef, 0x1e, 0x06, 0xf4, 0x82, - 0x10, 0xdd, 0x87, 0x9c, 0xd9, 0xb7, 0xf7, 0x3b, 0x9d, 0xa9, 0x1b, 0x73, 0x83, 0x83, 0x03, 0x7a, - 0x49, 0x16, 0xf1, 0xe6, 0xef, 0x32, 0x70, 0x2d, 0x21, 0xed, 0xd0, 0x13, 0x28, 0xf0, 0xee, 0xa3, - 0xe7, 0xf6, 0xa5, 0x3b, 0x5f, 0x4b, 0x4e, 0xd3, 0xb6, 0xa4, 0xd2, 0x03, 0x7a, 0xf4, 0x36, 0xcc, - 0x33, 0x27, 0xb2, 0xd4, 0x31, 0x86, 0x1e, 0x3e, 0xb2, 0xbf, 0x96, 0xbe, 0xad, 0xfa, 0xe0, 0x36, - 0x87, 0xa2, 0xbb, 0x50, 0x19, 0xf6, 0xcd, 0x71, 0xdf, 0x26, 0x54, 0x24, 0x9a, 0xac, 0x68, 0x3e, - 0x90, 0x27, 0xdb, 0x7b, 0x80, 0xd8, 0x0f, 0x1b, 0x93, 0x94, 0x25, 0x4e, 0xa9, 0x32, 0x4c, 0x3b, - 0x4a, 0xfd, 0x0e, 0xa8, 0xfe, 0x2e, 0xb3, 0x46, 0x9e, 0xc9, 0x72, 0x9c, 0x7b, 0xbc, 0xa2, 0xfb, - 0xbb, 0x6f, 0x53, 0x82, 0xd9, 0x86, 0x0c, 0xd4, 0x24, 0xa3, 0x23, 0xa6, 0x26, 0x70, 0x4b, 0xcf, - 0xd9, 0x90, 0x1d, 0x4e, 0x13, 0x1a, 0x21, 0xd6, 0x89, 0x69, 0x52, 0xb8, 0x28, 0x4d, 0xb2, 0x33, - 0xa5, 0x49, 0x6e, 0xe6, 0x34, 0xc9, 0x5f, 0x3e, 0x4d, 0x8a, 0x97, 0x4d, 0x93, 0x5f, 0xa5, 0x40, - 0x8d, 0x6f, 0xe1, 0x89, 0xcd, 0xa3, 0xcc, 0xb0, 0x79, 0xb2, 0x17, 0x79, 0x25, 0x35, 0x93, 0x57, - 0xd2, 0x33, 0x7b, 0x25, 0x73, 0x79, 0xaf, 0xe4, 0x2e, 0xeb, 0x95, 0x7f, 0xa6, 0xa1, 0x14, 0x29, - 0xb7, 0xcc, 0xe8, 0x9e, 0x39, 0xa4, 0x23, 0x0f, 0x1b, 0xb6, 0x43, 0xb1, 0x77, 0x66, 0x8a, 0xcd, - 0x53, 0xd1, 0xe7, 0x25, 0xbc, 0x29, 0xc1, 0x68, 0x11, 0xb2, 0xcf, 0x6c, 0x4b, 0x56, 0x9d, 0xac, - 0x2e, 0x16, 0xac, 0x5d, 0x3f, 0xc1, 0xf6, 0xf1, 0x09, 0xe5, 0x86, 0x66, 0x75, 0xb9, 0x4a, 0xda, - 0x51, 0x99, 0xc4, 0x1d, 0xd5, 0x98, 0xce, 0xe9, 0x6c, 0xac, 0x18, 0x72, 0x85, 0x2f, 0xc8, 0xe7, - 0x87, 0x50, 0x12, 0x07, 0x0c, 0xab, 0x99, 0x3d, 0x79, 0x36, 0x5f, 0x9b, 0x64, 0xdf, 0x60, 0x28, - 0x1d, 0xec, 0xe0, 0x3b, 0x31, 0xde, 0xf9, 0x8b, 0xe2, 0x5d, 0x98, 0x29, 0xde, 0xc5, 0x99, 0xe3, - 0x0d, 0x97, 0x8f, 0x77, 0xe9, 0xb2, 0xf1, 0xfe, 0x4b, 0x1a, 0x0a, 0xbe, 0x9e, 0xbc, 0x09, 0xed, - 0xf5, 0x30, 0x21, 0xc6, 0x29, 0x1e, 0xcb, 0xfc, 0x2f, 0x0a, 0xc8, 0xe7, 0x78, 0xcc, 0x42, 0x49, - 0x70, 0xcf, 0xc3, 0xc1, 0xe4, 0x45, 0xac, 0x58, 0xcd, 0x23, 0x98, 0x10, 0xdb, 0x75, 0x0c, 0xea, - 0x9e, 0x62, 0x47, 0x56, 0xb2, 0xb2, 0x04, 0x76, 0x19, 0x8c, 0x31, 0x7b, 0xf8, 0x98, 0xd5, 0x2e, - 0x51, 0x11, 0xe5, 0x8a, 0xed, 0x38, 0xec, 0x58, 0x43, 0xd7, 0x76, 0xa8, 0x4c, 0x80, 0x60, 0xcd, - 0x78, 0x0e, 0x47, 0xec, 0xb8, 0x94, 0xb3, 0x18, 0xb9, 0x42, 0xf7, 0x40, 0x3d, 0x72, 0xbd, 0x1e, - 0x36, 0xd8, 0xbe, 0x34, 0x08, 0x1d, 0xcb, 0x81, 0x4c, 0x41, 0xaf, 0x72, 0x78, 0xdb, 0xa4, 0x27, - 0x1d, 0x06, 0x45, 0x1f, 0x43, 0x61, 0x80, 0xa9, 0x69, 0x99, 0xd4, 0x94, 0x37, 0xf1, 0xdb, 0x53, - 0xe1, 0x59, 0xd9, 0x95, 0x14, 0x9a, 0x43, 0xbd, 0xb1, 0x1e, 0x30, 0xa0, 0x1a, 0xe4, 0xa9, 0x79, - 0x7c, 0x6c, 0x3b, 0xc7, 0x3c, 0xb4, 0xec, 0x4a, 0x20, 0x96, 0xe8, 0x3e, 0x5c, 0xeb, 0xb9, 0x0e, - 0xe5, 0x25, 0xd9, 0x26, 0xfc, 0x76, 0xcc, 0x2c, 0x2b, 0x72, 0x2a, 0x24, 0x51, 0x9b, 0x21, 0x06, - 0x2d, 0x43, 0x76, 0xe8, 0xb9, 0x5f, 0x8f, 0x65, 0x4c, 0xc3, 0xab, 0x4d, 0x9b, 0x41, 0x37, 0x5c, - 0xe7, 0xc8, 0x3e, 0xd6, 0x05, 0xc9, 0xd2, 0xc7, 0x50, 0x99, 0xd0, 0x08, 0xa9, 0x90, 0x0e, 0xe3, - 0xc1, 0x3e, 0xd9, 0x56, 0x3b, 0x33, 0xfb, 0x23, 0x2c, 0x03, 0x21, 0x16, 0x4f, 0x52, 0x8f, 0x95, - 0xfa, 0x57, 0x50, 0x0c, 0x12, 0x0a, 0xdd, 0x81, 0x52, 0xcf, 0xc3, 0xbc, 0xdf, 0x32, 0xfb, 0x44, - 0x0a, 0x88, 0x82, 0x22, 0x1e, 0x4e, 0x4d, 0x78, 0x38, 0xd0, 0x37, 0xfd, 0x5c, 0x7d, 0xeb, 0x3f, - 0x81, 0xf9, 0x58, 0x66, 0xb2, 0xd6, 0xce, 0xec, 0xf5, 0xdc, 0x91, 0x43, 0xa3, 0xb7, 0xad, 0x92, - 0x84, 0xf1, 0x53, 0xed, 0x36, 0xf8, 0x4b, 0x9e, 0x6c, 0xe2, 0xe7, 0x41, 0x82, 0x58, 0xb6, 0xbd, - 0x09, 0x55, 0xe6, 0x48, 0xd3, 0x76, 0xb0, 0x17, 0x3d, 0x4a, 0x2b, 0x01, 0x94, 0xc9, 0xa9, 0xff, - 0x42, 0x81, 0x72, 0x34, 0xcb, 0x5f, 0x34, 0x89, 0x5f, 0x62, 0x7e, 0xd6, 0x9f, 0x42, 0x29, 0xe2, - 0xa7, 0x84, 0x69, 0xcf, 0x12, 0x14, 0x46, 0x04, 0x7b, 0xdc, 0x2a, 0x79, 0x47, 0xf3, 0xd7, 0x0c, - 0x37, 0x34, 0x09, 0x79, 0xe6, 0x7a, 0x7e, 0x3b, 0x14, 0xac, 0xeb, 0x4f, 0xa1, 0x1c, 0xbd, 0x8f, - 0xa3, 0xb5, 0xa9, 0x2b, 0xcd, 0x2b, 0xb1, 0x8b, 0x7b, 0xc2, 0x5d, 0x06, 0x41, 0x66, 0xe4, 0xf5, - 0x49, 0x2d, 0x75, 0x27, 0x7d, 0xaf, 0xa8, 0xf3, 0xef, 0xfa, 0x4f, 0x33, 0x30, 0x1f, 0x6b, 0x33, - 0xc2, 0x7a, 0xae, 0x24, 0xd7, 0xf3, 0xd4, 0x44, 0x3d, 0x5f, 0x84, 0xac, 0x85, 0x87, 0xf4, 0x44, - 0x96, 0x79, 0xb1, 0x40, 0xaf, 0x42, 0xf1, 0xc8, 0x33, 0x07, 0xd8, 0x33, 0xa9, 0x38, 0xbf, 0xb2, - 0x7a, 0x08, 0x60, 0x75, 0x59, 0x74, 0x89, 0xa2, 0x2e, 0x67, 0x63, 0x75, 0xb9, 0xc1, 0x70, 0xb2, - 0x2e, 0x9b, 0xc1, 0x37, 0x2b, 0x37, 0x82, 0xeb, 0xd0, 0xa6, 0x5c, 0x6e, 0x8e, 0xcb, 0x15, 0xad, - 0xe5, 0xba, 0x80, 0x85, 0x44, 0x5f, 0x8d, 0xcc, 0xbe, 0x4d, 0xc7, 0xbc, 0x26, 0xf9, 0x44, 0x3f, - 0x14, 0x30, 0x76, 0x06, 0x09, 0xa2, 0x23, 0x8f, 0xf5, 0x08, 0x4e, 0x6f, 0xcc, 0x0b, 0x7c, 0x56, - 0x17, 0xcd, 0xeb, 0x96, 0x0f, 0x45, 0x1f, 0x82, 0x60, 0x34, 0x06, 0xf6, 0xd7, 0xac, 0x1c, 0x54, - 0xb8, 0xa6, 0x8b, 0x93, 0x9a, 0xee, 0x72, 0x9c, 0x2e, 0x4c, 0x12, 0x0b, 0x66, 0xa1, 0xe8, 0x70, - 0x85, 0x85, 0x85, 0x98, 0x85, 0x5f, 0x30, 0x9c, 0xb4, 0xf0, 0x2c, 0xf8, 0x66, 0xca, 0x0b, 0x2e, - 0xdf, 0xc2, 0xa2, 0x50, 0x9e, 0x03, 0x23, 0x16, 0x0a, 0x22, 0xdf, 0xc2, 0x72, 0x84, 0xc8, 0xb7, - 0xf0, 0x3d, 0x40, 0xa7, 0x78, 0x6c, 0x70, 0x97, 0x87, 0x07, 0x38, 0x2b, 0x42, 0x8a, 0xae, 0x9e, - 0xe2, 0xf1, 0x16, 0x43, 0xf8, 0x27, 0x78, 0xfd, 0x33, 0xb8, 0x76, 0x30, 0xb4, 0x4c, 0x8a, 0x5b, - 0x7c, 0xa4, 0x1e, 0x69, 0x9c, 0xc4, 0x70, 0x9f, 0x35, 0x47, 0xf2, 0x56, 0x24, 0x00, 0x4d, 0xeb, - 0xbc, 0x71, 0x7c, 0xfd, 0x67, 0x8a, 0x2f, 0x4c, 0x24, 0xe2, 0x4c, 0xc2, 0xde, 0x82, 0x79, 0xd3, - 0xb2, 0x64, 0x1f, 0x68, 0x44, 0xb2, 0xb4, 0x62, 0x5a, 0x96, 0xc8, 0xf9, 0x03, 0xaf, 0x4f, 0x98, - 0x59, 0x1e, 0x1e, 0xb8, 0x67, 0x78, 0x82, 0x34, 0xcd, 0x49, 0x55, 0x81, 0x09, 0xa9, 0xeb, 0x18, - 0x16, 0x5a, 0x36, 0xb9, 0xcc, 0xd8, 0x6a, 0x42, 0xc9, 0xd4, 0xb4, 0xc5, 0x66, 0x8f, 0xda, 0x67, - 0xfe, 0xc4, 0x4a, 0xae, 0xea, 0xdf, 0x07, 0x14, 0xfd, 0x19, 0x32, 0x74, 0x1d, 0xc2, 0x6e, 0xef, - 0x59, 0x9b, 0xe2, 0x01, 0xab, 0xbe, 0xec, 0xf8, 0x09, 0x63, 0x2f, 0xe8, 0x9a, 0xce, 0x91, 0xab, - 0x0b, 0x8a, 0xfa, 0x2a, 0x2c, 0x74, 0xa8, 0x3b, 0x9c, 0xd2, 0xf3, 0x5c, 0x7f, 0xd5, 0xbf, 0x2d, - 0x02, 0x84, 0x72, 0x2e, 0xf6, 0xed, 0x2b, 0x90, 0xe7, 0x06, 0x07, 0x16, 0xe5, 0xd8, 0xb2, 0x69, - 0x4d, 0x7a, 0xa2, 0x12, 0xf3, 0xc4, 0x13, 0x28, 0x11, 0x77, 0xc4, 0xce, 0x5a, 0xde, 0x86, 0x2e, - 0xf1, 0x04, 0xbe, 0x19, 0x33, 0xa2, 0xc3, 0x29, 0x78, 0x1f, 0x0a, 0x24, 0xf8, 0x46, 0xef, 0x43, - 0x8e, 0x50, 0x93, 0x8e, 0x08, 0x77, 0x54, 0x35, 0x72, 0x2d, 0x91, 0x6c, 0x1c, 0xa9, 0x4b, 0x22, - 0x56, 0xb8, 0xf9, 0xf8, 0x1a, 0x5b, 0x86, 0x49, 0x79, 0x8e, 0xa6, 0xf5, 0xa2, 0x84, 0x34, 0x28, - 0xeb, 0xd0, 0xb1, 0x63, 0x09, 0x64, 0x89, 0x23, 0xf3, 0x7c, 0xdd, 0xe0, 0x4f, 0x3f, 0x23, 0x9e, - 0x6a, 0x1c, 0x89, 0x04, 0xa7, 0x84, 0x34, 0x28, 0x3b, 0xc7, 0x2d, 0x4c, 0x4d, 0xbb, 0x4f, 0x6a, - 0xd7, 0xc5, 0x39, 0x2e, 0x97, 0xac, 0x68, 0x61, 0xcf, 0x73, 0x3d, 0x79, 0x72, 0x8b, 0x05, 0x13, - 0xc7, 0x3f, 0xf8, 0xa6, 0xad, 0xdd, 0x10, 0x55, 0x8b, 0x43, 0xd8, 0xf6, 0x44, 0x2d, 0xa8, 0x72, - 0x7f, 0xf5, 0xfc, 0xb9, 0x98, 0xbc, 0x98, 0xdf, 0x0d, 0xcc, 0x3b, 0xff, 0x69, 0x6b, 0x67, 0x4e, - 0xaf, 0x78, 0x51, 0x2c, 0x7a, 0x1f, 0xd2, 0xcf, 0xf0, 0x61, 0xad, 0x1a, 0x1b, 0x2e, 0xc4, 0x9f, - 0x0c, 0xd8, 0xe5, 0xf0, 0x19, 0x3e, 0x44, 0x1a, 0x94, 0x86, 0xe1, 0x24, 0xb6, 0x76, 0x8d, 0xb3, - 0xbd, 0x1e, 0x1e, 0xcf, 0xe7, 0x4c, 0x69, 0x77, 0xe6, 0xf4, 0x28, 0x1f, 0xda, 0x87, 0x79, 0x31, - 0xee, 0x08, 0x8d, 0x10, 0x3d, 0xdc, 0x1b, 0x81, 0xa8, 0x0b, 0x66, 0x7f, 0x3b, 0x73, 0x7a, 0x95, - 0x4e, 0xa0, 0xd1, 0x1a, 0x64, 0x39, 0x44, 0x76, 0x1c, 0xb7, 0x26, 0xc5, 0xc4, 0xb9, 0x05, 0x2d, - 0xfa, 0x20, 0xf6, 0x2c, 0x16, 0x3f, 0xbc, 0x58, 0x52, 0xb3, 0x2d, 0xc5, 0xe7, 0x6c, 0x4a, 0x30, - 0xa5, 0x7b, 0x57, 0x0e, 0x64, 0xe2, 0xf7, 0x6d, 0xd6, 0x01, 0x30, 0x16, 0x49, 0x2e, 0x86, 0x31, - 0x1f, 0x46, 0x46, 0x7a, 0xe5, 0xf8, 0x24, 0x50, 0x22, 0x22, 0x4c, 0xe1, 0x2c, 0xef, 0x49, 0x30, - 0x1a, 0xf3, 0x30, 0x19, 0xf5, 0x29, 0xa9, 0xcd, 0xc7, 0x76, 0x70, 0xa8, 0xa4, 0x3f, 0x18, 0xd3, - 0x05, 0x25, 0x7a, 0x28, 0xa7, 0x72, 0x3e, 0xa7, 0xca, 0x39, 0xa7, 0x35, 0x15, 0xc3, 0x38, 0x9f, - 0xeb, 0xd3, 0x70, 0x9c, 0xe6, 0x33, 0x2e, 0xc4, 0xa7, 0x71, 0x11, 0x8d, 0x83, 0x39, 0x9a, 0xcf, - 0xff, 0xd8, 0x9f, 0xa3, 0xf9, 0xdc, 0x8b, 0x31, 0x85, 0x79, 0xa3, 0x23, 0x78, 0xc5, 0x18, 0xcd, - 0xe7, 0x7c, 0x17, 0x16, 0xfc, 0x16, 0xc7, 0xe8, 0xbb, 0x3d, 0x31, 0x63, 0x78, 0x45, 0xcc, 0x23, - 0x7c, 0x44, 0x4b, 0xc2, 0xd1, 0x0a, 0x5c, 0x3b, 0x34, 0x7b, 0xa7, 0xa3, 0xa1, 0x41, 0xa8, 0xeb, - 0xb1, 0xdf, 0x1b, 0x11, 0x6c, 0xd5, 0x6e, 0xf2, 0x62, 0xb8, 0x20, 0x50, 0x1d, 0x81, 0x39, 0x20, - 0xd8, 0x5a, 0x2f, 0x42, 0xde, 0x13, 0x91, 0x67, 0x7d, 0x87, 0xd0, 0xad, 0xfe, 0x09, 0x54, 0x27, - 0x63, 0x8c, 0xde, 0x86, 0x8c, 0xed, 0x1c, 0xb9, 0x53, 0x75, 0x32, 0xe2, 0x65, 0x4e, 0xf0, 0x24, - 0x55, 0x53, 0xea, 0xff, 0x52, 0x00, 0x42, 0x44, 0xf2, 0x7b, 0x5a, 0xa4, 0x98, 0xa4, 0x2e, 0x2a, - 0x26, 0xe9, 0xc9, 0x62, 0xb2, 0x04, 0x85, 0x89, 0x31, 0x4b, 0x5a, 0x0f, 0xd6, 0xe8, 0x41, 0x50, - 0xd1, 0xc4, 0x5d, 0x65, 0x29, 0x41, 0xcb, 0x95, 0x58, 0x59, 0x0b, 0x6a, 0x4c, 0x2e, 0x52, 0x63, - 0xea, 0x2b, 0x90, 0x13, 0x74, 0x08, 0x20, 0xd7, 0xd8, 0xe8, 0x36, 0xbf, 0xd0, 0xd4, 0x39, 0x54, - 0x86, 0xc2, 0x56, 0x73, 0xaf, 0xd9, 0xd9, 0xd1, 0x36, 0x55, 0x85, 0x61, 0xb6, 0x1a, 0xcd, 0x96, - 0xb6, 0xa9, 0xa6, 0xea, 0x7f, 0x50, 0xa0, 0xe0, 0x67, 0x8d, 0x3f, 0xa5, 0x88, 0x1e, 0x5d, 0xfe, - 0xfa, 0x25, 0x19, 0x9e, 0x8b, 0x19, 0x8e, 0x20, 0x43, 0xec, 0x6f, 0xb0, 0x74, 0x08, 0xff, 0x66, - 0xf4, 0x41, 0xae, 0x88, 0xfb, 0x6f, 0xb0, 0xae, 0xff, 0x2d, 0x05, 0xe5, 0x68, 0xae, 0x4e, 0xcf, - 0xc5, 0x94, 0x99, 0xe7, 0x62, 0x85, 0x73, 0xe6, 0x62, 0x51, 0x7d, 0x53, 0xe7, 0xe8, 0x9b, 0x8e, - 0xe8, 0xfb, 0x2e, 0x2c, 0x04, 0x82, 0x03, 0xc5, 0xc5, 0x95, 0x5e, 0xf5, 0x11, 0x41, 0x92, 0x3f, - 0x84, 0x1b, 0x93, 0xaa, 0x04, 0x1c, 0xe2, 0xa8, 0x58, 0x8c, 0xaa, 0x13, 0x70, 0xf1, 0x4e, 0x58, - 0xec, 0x60, 0xde, 0xc7, 0x70, 0xbf, 0xa4, 0x59, 0x27, 0xcc, 0x81, 0x1b, 0x0c, 0x16, 0x8b, 0x50, - 0xee, 0xa2, 0x08, 0xe5, 0x27, 0x22, 0x54, 0xff, 0xb9, 0x02, 0x10, 0xee, 0xe1, 0xd9, 0x47, 0x28, - 0xb7, 0xc3, 0xf9, 0x07, 0x53, 0x4a, 0xe1, 0x52, 0xfd, 0x51, 0xc7, 0xb4, 0x4a, 0x97, 0x48, 0x9a, - 0xfa, 0xaf, 0x53, 0x70, 0xbd, 0x31, 0xa2, 0xee, 0xd4, 0xc1, 0x13, 0x79, 0x0b, 0x51, 0xae, 0xf0, - 0x76, 0x97, 0xba, 0xc2, 0xdb, 0x5d, 0xfa, 0x72, 0x6f, 0x21, 0x09, 0xaf, 0x19, 0x99, 0xcb, 0xbf, - 0x66, 0x44, 0x1f, 0x22, 0x7e, 0x99, 0x82, 0x79, 0xe6, 0x9c, 0xc8, 0x19, 0xf8, 0x3f, 0x3f, 0x61, - 0x5c, 0xfe, 0x48, 0x76, 0x9a, 0xe1, 0xe3, 0x05, 0x5a, 0x04, 0x75, 0x53, 0xdb, 0x6a, 0x1c, 0xb4, - 0xba, 0xc6, 0x56, 0xb3, 0xa5, 0x75, 0x7f, 0xd4, 0x66, 0xc5, 0x30, 0x0f, 0xe9, 0xdd, 0xf6, 0x43, - 0x55, 0x61, 0x1f, 0xfb, 0xdb, 0xdb, 0x6a, 0x6a, 0x79, 0x0f, 0xae, 0x27, 0x0e, 0xea, 0xd1, 0x5d, - 0xb8, 0xed, 0x0b, 0xe8, 0x68, 0xdb, 0xbb, 0xda, 0x5e, 0x57, 0xdb, 0xe4, 0xa2, 0x8c, 0xb6, 0xbe, - 0xdf, 0xdd, 0xdf, 0xd8, 0x6f, 0xa9, 0x73, 0x48, 0x85, 0xf2, 0x4e, 0xab, 0x13, 0x42, 0x94, 0xe5, - 0xfb, 0xb1, 0x87, 0x02, 0x39, 0x2e, 0x2c, 0x42, 0xb6, 0xb9, 0xb7, 0xa9, 0x7d, 0xa9, 0xce, 0xa1, - 0x0a, 0x14, 0xbb, 0xcd, 0x5d, 0xad, 0xd3, 0x6d, 0xec, 0xb6, 0x55, 0x65, 0x59, 0x83, 0xf9, 0xd8, - 0xac, 0x11, 0xdd, 0x00, 0xd4, 0xdc, 0x6d, 0x6c, 0x6b, 0x46, 0xe7, 0x60, 0x6b, 0xab, 0xf9, 0xa5, - 0xe1, 0x73, 0x2e, 0xc1, 0x8d, 0x09, 0x78, 0x54, 0xcc, 0x47, 0xfe, 0xe1, 0x17, 0x18, 0x10, 0xf1, - 0x40, 0x44, 0xe3, 0x02, 0x64, 0xf4, 0x2e, 0xe3, 0x60, 0x2e, 0xe8, 0xe8, 0x5d, 0x35, 0xb5, 0x7c, - 0x00, 0xa5, 0x48, 0xb3, 0x89, 0x10, 0x54, 0x7d, 0xbe, 0xdd, 0xe6, 0x97, 0xcd, 0xbd, 0x6d, 0x75, - 0x8e, 0x69, 0xb4, 0x79, 0xd0, 0x68, 0x19, 0x1b, 0x3b, 0x8d, 0xbd, 0x3d, 0xad, 0x65, 0x34, 0xb6, - 0xb5, 0xbd, 0xae, 0xaa, 0x30, 0x8d, 0x26, 0xe1, 0xad, 0xae, 0xa6, 0xef, 0x35, 0xba, 0x9a, 0x9a, - 0x5a, 0xfe, 0xab, 0x02, 0xd7, 0x13, 0xb7, 0x25, 0xf7, 0xda, 0x83, 0x47, 0x0f, 0x8d, 0x0f, 0x1f, - 0xac, 0xb6, 0x8d, 0xb5, 0x55, 0xe9, 0xc7, 0x00, 0xf2, 0x68, 0x55, 0x55, 0xd0, 0x02, 0x54, 0x38, - 0xe4, 0xbb, 0xab, 0x8f, 0x05, 0x51, 0x2a, 0x06, 0x7a, 0xb4, 0xaa, 0xa6, 0xd1, 0x4d, 0xb8, 0xde, - 0xde, 0xd7, 0xbb, 0x7a, 0xa3, 0xd9, 0x35, 0x26, 0x44, 0x66, 0xce, 0x41, 0x3d, 0x5a, 0x55, 0xb3, - 0x4c, 0xeb, 0x49, 0x54, 0xf0, 0x23, 0xb9, 0xf3, 0x70, 0x8f, 0x56, 0xd5, 0xfc, 0xf2, 0x6f, 0x15, - 0x28, 0x47, 0xdb, 0x0c, 0x74, 0x0d, 0xe6, 0xb5, 0x6d, 0x5d, 0xeb, 0x74, 0x8c, 0x4e, 0xb7, 0xa1, - 0x77, 0x85, 0xaf, 0x16, 0xa0, 0x22, 0x81, 0xf2, 0x0c, 0x56, 0x22, 0x20, 0x6d, 0x6f, 0x93, 0x51, - 0xa5, 0x22, 0xac, 0x1b, 0xfb, 0xbb, 0xed, 0x96, 0xd6, 0xd5, 0xd4, 0x74, 0x84, 0x4e, 0x1e, 0xd2, - 0x19, 0x16, 0x0d, 0x5f, 0xda, 0xfa, 0xbe, 0xde, 0xd5, 0x36, 0xd5, 0x2c, 0xaa, 0xc1, 0xa2, 0x84, - 0xb5, 0x9a, 0xbb, 0xcd, 0xae, 0xa1, 0x6b, 0x8d, 0x0d, 0x76, 0xbc, 0xe7, 0x96, 0x3f, 0x03, 0x35, - 0xde, 0x3e, 0x31, 0x8b, 0x7c, 0x25, 0xf7, 0x0f, 0xf4, 0x0d, 0xcd, 0x60, 0x7b, 0xc1, 0x78, 0xaa, - 0xad, 0x8b, 0x8c, 0x4a, 0xc0, 0x75, 0x36, 0x3f, 0x57, 0x95, 0x07, 0xbf, 0xc9, 0x42, 0x4e, 0x16, - 0x98, 0x2e, 0xd4, 0xf8, 0x9f, 0x7d, 0x12, 0x9a, 0x10, 0x34, 0x4b, 0x8b, 0xb2, 0x94, 0xd4, 0xa2, - 0xa2, 0x1f, 0xb0, 0x94, 0x35, 0x3d, 0x1a, 0xf4, 0x25, 0xe8, 0xfc, 0x5e, 0x25, 0x59, 0x42, 0x1b, - 0x6e, 0x70, 0x09, 0xd3, 0x27, 0xc5, 0xf3, 0xdb, 0x97, 0x64, 0x89, 0x5f, 0xc0, 0x4d, 0x2e, 0x31, - 0xa9, 0x53, 0x41, 0x33, 0x35, 0x32, 0xc9, 0x72, 0x37, 0x41, 0x0d, 0xe5, 0x4a, 0x71, 0x17, 0x35, - 0x34, 0xc9, 0x52, 0x1a, 0x50, 0x8e, 0x0e, 0x53, 0x50, 0x78, 0x8a, 0x24, 0xcc, 0x58, 0x9e, 0x23, - 0x42, 0x54, 0x8b, 0x29, 0x11, 0x13, 0x93, 0x95, 0x64, 0x11, 0x1a, 0x40, 0x38, 0x94, 0x40, 0xe1, - 0x59, 0x38, 0x35, 0x10, 0x59, 0xba, 0x95, 0x88, 0x93, 0x53, 0x8c, 0x4f, 0xd8, 0x75, 0xdb, 0x1f, - 0x4d, 0xa0, 0xe8, 0xb5, 0x37, 0x36, 0xaf, 0x48, 0xd4, 0x62, 0x7d, 0xeb, 0xc7, 0x77, 0x8f, 0x6d, - 0x7a, 0x32, 0x3a, 0x5c, 0xe9, 0xb9, 0x83, 0xfb, 0x92, 0xe0, 0xbe, 0x3f, 0x91, 0xf4, 0x01, 0xbf, - 0x4f, 0x55, 0x5a, 0xf6, 0x19, 0xfe, 0x5c, 0x8c, 0x99, 0xa9, 0xfb, 0x8f, 0x54, 0x55, 0xae, 0x9f, - 0x3c, 0xe1, 0x80, 0xc3, 0x1c, 0x67, 0x59, 0xfb, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xed, 0x07, - 0xc6, 0x15, 0x75, 0x2a, 0x00, 0x00, + // 3166 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x1a, 0xcb, 0x72, 0x1b, 0xc7, + 0x91, 0xbb, 0x20, 0x5e, 0x8d, 0x07, 0x97, 0x23, 0x4a, 0x86, 0x28, 0xc7, 0x92, 0x21, 0x3f, 0x64, + 0xda, 0xa6, 0x18, 0x51, 0x96, 0x65, 0x39, 0x76, 0x02, 0x92, 0x4b, 0x12, 0x36, 0x48, 0x22, 0x0b, + 0xd0, 0x72, 0x72, 0xd9, 0x5a, 0x62, 0x87, 0xe4, 0x16, 0x81, 0x5d, 0x78, 0x67, 0x40, 0x19, 0xae, + 0x7c, 0x40, 0x8e, 0x79, 0xdc, 0x52, 0xa9, 0x4a, 0xa5, 0x2a, 0xa7, 0x54, 0x2a, 0x57, 0x9f, 0x73, + 0x4d, 0x2a, 0x95, 0x43, 0xfe, 0x22, 0x55, 0xc9, 0x21, 0x5f, 0x90, 0x9a, 0xc7, 0x3e, 0xb0, 0x58, + 0x52, 0xa4, 0xa8, 0xaa, 0x1c, 0x92, 0xdb, 0x4c, 0xbf, 0xd0, 0xd3, 0xdd, 0xd3, 0x3d, 0xdd, 0x0b, + 0x58, 0xe8, 0x3b, 0xa7, 0xf8, 0xc4, 0xa1, 0x26, 0x3e, 0xf2, 0x31, 0x21, 0xcb, 0x43, 0xdf, 0xa3, + 0x1e, 0xca, 0x4b, 0xe8, 0x62, 0x88, 0x1e, 0x78, 0x36, 0xee, 0x4b, 0x74, 0xfd, 0xb7, 0x39, 0x58, + 0x34, 0x3c, 0x6f, 0xb0, 0xee, 0x0d, 0x86, 0x1e, 0x71, 0x28, 0xd6, 0x39, 0xb3, 0x81, 0xbf, 0x1a, + 0x61, 0x42, 0xd1, 0x2d, 0x28, 0xfa, 0x9e, 0x37, 0x30, 0x5d, 0x6b, 0x80, 0x6b, 0xca, 0x1d, 0xe5, + 0x5e, 0xd1, 0x28, 0x30, 0xc0, 0xae, 0x35, 0xc0, 0xe8, 0x06, 0xe4, 0xfa, 0xd6, 0xd8, 0x1b, 0xd1, + 0x9a, 0xca, 0x31, 0x72, 0x87, 0xbe, 0x03, 0x60, 0x8d, 0x6c, 0xc7, 0x33, 0x3d, 0xb7, 0x3f, 0xae, + 0x65, 0xee, 0x28, 0xf7, 0x0a, 0x46, 0x91, 0x43, 0xf6, 0xdc, 0xfe, 0x18, 0x7d, 0x08, 0x65, 0x81, + 0x1e, 0x38, 0x5f, 0x3b, 0xee, 0x51, 0x6d, 0xee, 0x8e, 0x72, 0xaf, 0xfa, 0x60, 0x61, 0x59, 0xea, + 0xb7, 0xdc, 0x60, 0xc8, 0x1d, 0x8e, 0x33, 0x4a, 0x56, 0xb4, 0x61, 0x72, 0x4f, 0x1d, 0x1b, 0x4b, + 0xb9, 0xb3, 0x42, 0x2e, 0x87, 0x70, 0xb9, 0x6f, 0xc1, 0x5c, 0x6f, 0x44, 0xa8, 0x37, 0x30, 0x0f, + 0x2c, 0x82, 0xcd, 0x91, 0xdf, 0xaf, 0x65, 0xb9, 0x5e, 0x15, 0x01, 0x5e, 0xb3, 0x08, 0xde, 0xf7, + 0xfb, 0xe8, 0x21, 0xcc, 0x1e, 0x3a, 0x7d, 0x5c, 0xcb, 0xdd, 0x51, 0xee, 0x95, 0x1e, 0x2c, 0x86, + 0xbf, 0xab, 0xbb, 0x3d, 0xcf, 0xc6, 0xf6, 0xa6, 0xd3, 0xc7, 0x7b, 0x23, 0x3a, 0x1c, 0xd1, 0x35, + 0xb5, 0xa6, 0x6c, 0xcf, 0x18, 0x9c, 0x1a, 0xad, 0x42, 0x8e, 0x50, 0x1f, 0x5b, 0x83, 0x5a, 0x9e, + 0xf3, 0x5d, 0x0f, 0xf9, 0x3a, 0x1c, 0x3c, 0xc1, 0x22, 0x49, 0xd1, 0xa7, 0x50, 0x20, 0xf8, 0x68, + 0x80, 0x5d, 0x4a, 0x6a, 0xc0, 0xd9, 0x5e, 0x8d, 0xd8, 0x04, 0x22, 0xe5, 0x07, 0x43, 0x1e, 0xf4, + 0x18, 0x72, 0x43, 0x1f, 0x13, 0x4c, 0x6b, 0x05, 0x6e, 0xa4, 0xd7, 0x26, 0x95, 0x75, 0xdc, 0xa3, + 0xbd, 0x21, 0x75, 0x3c, 0x97, 0xb4, 0x39, 0xd5, 0xb6, 0x62, 0x48, 0x7a, 0xf4, 0x08, 0x0a, 0x96, + 0x7d, 0x6a, 0xb9, 0x3d, 0x6c, 0xd7, 0x8a, 0xfc, 0x97, 0x6b, 0x67, 0xf1, 0x6e, 0x2b, 0x46, 0x48, + 0x8b, 0x3e, 0x81, 0x32, 0x3b, 0xae, 0xe9, 0x71, 0x85, 0x48, 0xad, 0x74, 0x27, 0x73, 0xbe, 0x91, + 0x8c, 0xd2, 0x61, 0xb8, 0x26, 0xe8, 0x7b, 0x50, 0x15, 0x47, 0x0f, 0x05, 0x94, 0xb9, 0x80, 0x74, + 0x6b, 0x19, 0x15, 0x12, 0xdb, 0x11, 0xa4, 0xc3, 0x9c, 0x3c, 0x7a, 0xc8, 0x5e, 0xe1, 0xec, 0xe7, + 0x5a, 0xcd, 0xa8, 0x4a, 0xa6, 0x40, 0xcc, 0x47, 0x50, 0x71, 0x06, 0xd6, 0x51, 0x74, 0x88, 0x2a, + 0x17, 0x12, 0x45, 0x58, 0x93, 0x61, 0x25, 0x73, 0xd9, 0x89, 0x36, 0x64, 0xad, 0x00, 0x39, 0xc1, + 0xb4, 0x56, 0x84, 0xbc, 0x27, 0xec, 0x53, 0xff, 0x53, 0x16, 0xb4, 0xa7, 0xf8, 0x60, 0xf2, 0x66, + 0x68, 0x90, 0x61, 0x11, 0x26, 0xee, 0x04, 0x5b, 0x26, 0xc2, 0x5e, 0x4d, 0x86, 0xfd, 0x64, 0xf4, + 0x66, 0x92, 0xd1, 0xfb, 0x1e, 0x20, 0xeb, 0x99, 0xe5, 0x50, 0x93, 0x50, 0xcb, 0xa7, 0x26, 0x71, + 0x8e, 0x5c, 0xab, 0x5f, 0x2b, 0x73, 0x32, 0x8d, 0x63, 0x3a, 0x0c, 0xd1, 0xe1, 0xf0, 0x30, 0x86, + 0x67, 0x5f, 0x30, 0x86, 0xb3, 0x2f, 0x16, 0xc3, 0xb9, 0x2b, 0xc5, 0x70, 0xfe, 0x0a, 0x31, 0x5c, + 0xb8, 0x42, 0x0c, 0x17, 0xaf, 0x1a, 0xc3, 0x70, 0xb5, 0x18, 0x2e, 0xbd, 0x8c, 0x18, 0xae, 0x5c, + 0x2d, 0x86, 0xff, 0x9d, 0x81, 0x5a, 0xdb, 0xf2, 0xa9, 0xd3, 0x73, 0x86, 0x96, 0x4b, 0x2f, 0x91, + 0xe5, 0x17, 0xa1, 0xe0, 0xd8, 0xd8, 0xa5, 0x0e, 0x1d, 0xcb, 0x3c, 0x1f, 0xee, 0xd1, 0xeb, 0x50, + 0x26, 0x3d, 0x1f, 0x63, 0xd7, 0x24, 0xc7, 0x96, 0x8f, 0x65, 0x54, 0x97, 0x04, 0xac, 0xc3, 0x40, + 0x31, 0xf7, 0xcf, 0x5e, 0xc8, 0xfd, 0x33, 0xa9, 0xee, 0xcf, 0x3e, 0xc7, 0xfd, 0x33, 0xe7, 0xb8, + 0x3f, 0x77, 0x55, 0xf7, 0xe7, 0xaf, 0xe6, 0xfe, 0xc2, 0xcb, 0x70, 0x7f, 0xf1, 0xc2, 0xee, 0x8f, + 0x39, 0xfd, 0xdb, 0x2c, 0xdc, 0xea, 0xfa, 0x56, 0xef, 0xe4, 0x45, 0xaa, 0xfb, 0x1b, 0x50, 0x15, + 0xe9, 0x8c, 0x32, 0x09, 0xa6, 0x63, 0x4b, 0xef, 0x8b, 0xe2, 0xcd, 0xc5, 0x36, 0x6d, 0x46, 0x25, + 0xb2, 0x5a, 0x48, 0x95, 0x11, 0x54, 0x1c, 0x1a, 0x50, 0xfd, 0x97, 0xd2, 0x55, 0xe1, 0x4a, 0xe9, + 0x2a, 0x77, 0x85, 0x74, 0x95, 0xff, 0x7f, 0xc9, 0xbd, 0x52, 0xba, 0xfa, 0xa3, 0x02, 0x88, 0x07, + 0xcf, 0x25, 0x02, 0xf6, 0x26, 0x14, 0x12, 0xa1, 0x9a, 0xa7, 0x32, 0xfe, 0xee, 0xcb, 0xf8, 0xcb, + 0x70, 0xb7, 0xdc, 0x0c, 0xb5, 0xda, 0x70, 0x7c, 0xdc, 0xa3, 0xd1, 0xb9, 0xc2, 0xd0, 0x7b, 0x13, + 0x2a, 0xcf, 0xf0, 0x01, 0xf1, 0x7a, 0x27, 0x98, 0xf2, 0x97, 0x24, 0x8b, 0xdc, 0xe2, 0xf6, 0x8c, + 0x51, 0x0e, 0xc1, 0xfb, 0x7e, 0x3f, 0xd2, 0xbd, 0xfe, 0x17, 0x15, 0xe6, 0xa7, 0x1c, 0x85, 0x3e, + 0x80, 0x22, 0x77, 0x2d, 0x1d, 0x0f, 0x85, 0xbe, 0xd5, 0x64, 0x4c, 0x08, 0xf2, 0xee, 0x78, 0x88, + 0x8d, 0xc2, 0xa1, 0x5c, 0xb1, 0x94, 0xcb, 0xd6, 0x43, 0x8b, 0x1e, 0x07, 0x29, 0x37, 0xd8, 0xa3, + 0x77, 0x40, 0xb3, 0x1d, 0x62, 0x1d, 0xf4, 0xb1, 0x39, 0xb0, 0x5c, 0xe7, 0x10, 0x13, 0x11, 0xa9, + 0x05, 0x63, 0x4e, 0xc2, 0x77, 0x24, 0x18, 0xdd, 0x05, 0x95, 0xac, 0xca, 0x33, 0xcf, 0x47, 0xee, + 0x5c, 0xdd, 0x1f, 0xf6, 0x3d, 0xcb, 0xde, 0x9e, 0x31, 0x54, 0xb2, 0x8a, 0xde, 0x82, 0xcc, 0x51, + 0x6f, 0x28, 0x6f, 0x26, 0x0a, 0xa9, 0xb6, 0xd6, 0xdb, 0x21, 0x19, 0x23, 0x40, 0x2b, 0x90, 0xb5, + 0xbe, 0x19, 0xf9, 0x78, 0x2a, 0x15, 0x37, 0x18, 0x74, 0xad, 0xef, 0x1d, 0x84, 0xf4, 0x82, 0x10, + 0xdd, 0x87, 0x9c, 0xd5, 0x77, 0xf6, 0x3a, 0x9d, 0xa9, 0x17, 0x73, 0x83, 0x83, 0x43, 0x7a, 0x49, + 0x16, 0xb3, 0xe6, 0xef, 0x66, 0xe1, 0x5a, 0x4a, 0xd8, 0xa1, 0x27, 0x50, 0xe0, 0x6d, 0x4b, 0xcf, + 0xeb, 0x4b, 0x73, 0xbe, 0x96, 0x1e, 0xa6, 0x6d, 0x49, 0x65, 0x84, 0xf4, 0xe8, 0x6d, 0x98, 0x63, + 0x46, 0x64, 0xa1, 0x63, 0x0e, 0x7d, 0x7c, 0xe8, 0x7c, 0x2d, 0x6d, 0x5b, 0x0d, 0xc0, 0x6d, 0x0e, + 0x45, 0x77, 0xa1, 0x32, 0xec, 0x5b, 0xe3, 0xbe, 0x43, 0xa8, 0x08, 0x34, 0x99, 0xd1, 0x02, 0x20, + 0x0f, 0xb6, 0xf7, 0x00, 0xb1, 0x1f, 0x36, 0x27, 0x29, 0x4b, 0x9c, 0x52, 0x63, 0x98, 0x76, 0x9c, + 0xfa, 0x1d, 0xd0, 0x82, 0x5b, 0x66, 0x8f, 0x7c, 0x8b, 0xc5, 0x38, 0xb7, 0x78, 0xc5, 0x08, 0x6e, + 0xdf, 0x86, 0x04, 0xb3, 0x0b, 0x19, 0xaa, 0x49, 0x46, 0x87, 0x4c, 0x4d, 0xe0, 0x27, 0x3d, 0xe3, + 0x42, 0x76, 0x38, 0x4d, 0x74, 0x08, 0xb1, 0x4f, 0x0d, 0x93, 0xc2, 0x79, 0x61, 0x92, 0xbd, 0x50, + 0x98, 0xe4, 0x2e, 0x1c, 0x26, 0xf9, 0xcb, 0x87, 0x49, 0xf1, 0xb2, 0x61, 0xf2, 0x4b, 0x15, 0xb4, + 0xe4, 0x15, 0x9e, 0xb8, 0x3c, 0xca, 0x05, 0x2e, 0x4f, 0xf6, 0x3c, 0xab, 0xa8, 0x17, 0xb2, 0x4a, + 0xe6, 0xc2, 0x56, 0x99, 0xbd, 0xbc, 0x55, 0x72, 0x97, 0xb5, 0xca, 0x3f, 0x33, 0x50, 0x8a, 0xa5, + 0x5b, 0x76, 0xe8, 0x9e, 0x35, 0xa4, 0x23, 0x1f, 0x9b, 0x8e, 0x4b, 0xb1, 0x7f, 0x6a, 0x89, 0xcb, + 0x53, 0x31, 0xe6, 0x24, 0xbc, 0x29, 0xc1, 0x68, 0x01, 0xb2, 0xcf, 0x1c, 0x5b, 0x66, 0x9d, 0xac, + 0x21, 0x36, 0xac, 0xcf, 0x3f, 0xc6, 0xce, 0xd1, 0x31, 0xe5, 0x07, 0xcd, 0x1a, 0x72, 0x97, 0x76, + 0xa3, 0x66, 0x53, 0x6f, 0x54, 0x63, 0x3a, 0xa6, 0xb3, 0x89, 0x64, 0xc8, 0x15, 0x3e, 0x27, 0x9e, + 0x1f, 0x42, 0x49, 0x14, 0x18, 0x96, 0x33, 0x7b, 0xb2, 0x36, 0x5f, 0x9b, 0x64, 0x5f, 0x67, 0x28, + 0x03, 0x9c, 0x70, 0x9d, 0xea, 0xef, 0xfc, 0x79, 0xfe, 0x2e, 0x5c, 0xc8, 0xdf, 0xc5, 0x0b, 0xfb, + 0x1b, 0x2e, 0xef, 0xef, 0xd2, 0x65, 0xfd, 0xfd, 0xd7, 0x0c, 0x14, 0x02, 0x3d, 0x79, 0x13, 0xda, + 0xeb, 0x61, 0x42, 0xcc, 0x13, 0x3c, 0x96, 0xf1, 0x5f, 0x14, 0x90, 0xcf, 0xf1, 0x98, 0xb9, 0x92, + 0xe0, 0x9e, 0x8f, 0xc3, 0x91, 0x8d, 0xd8, 0xb1, 0x9c, 0x47, 0x30, 0x21, 0x8e, 0xe7, 0x9a, 0xd4, + 0x3b, 0xc1, 0xae, 0xcc, 0x64, 0x65, 0x09, 0xec, 0x32, 0x18, 0x63, 0xf6, 0xf1, 0x11, 0xcb, 0x5d, + 0x22, 0x23, 0xca, 0x1d, 0xbb, 0x71, 0xd8, 0xb5, 0x87, 0x9e, 0xe3, 0x52, 0x19, 0x00, 0xe1, 0x9e, + 0xf1, 0x1c, 0x8c, 0x58, 0xb9, 0x94, 0xb3, 0x18, 0xb9, 0x43, 0xf7, 0x40, 0x3b, 0xf4, 0xfc, 0x1e, + 0x36, 0xd9, 0xbd, 0x34, 0x09, 0x1d, 0xcb, 0x81, 0x4c, 0xc1, 0xa8, 0x72, 0x78, 0xdb, 0xa2, 0xc7, + 0x1d, 0x06, 0x45, 0x1f, 0x43, 0x61, 0x80, 0xa9, 0x65, 0x5b, 0xd4, 0x92, 0x2f, 0xf1, 0xdb, 0x53, + 0xee, 0x59, 0xde, 0x91, 0x14, 0xba, 0x4b, 0xfd, 0xb1, 0x11, 0x32, 0xa0, 0x1a, 0xe4, 0xa9, 0x75, + 0x74, 0xe4, 0xb8, 0x47, 0xdc, 0xb5, 0xec, 0x49, 0x20, 0xb6, 0xe8, 0x3e, 0x5c, 0xeb, 0x79, 0x2e, + 0xe5, 0x29, 0xd9, 0x21, 0xfc, 0x75, 0xcc, 0x4e, 0x56, 0xe4, 0x54, 0x48, 0xa2, 0x36, 0x22, 0x0c, + 0x5a, 0x82, 0xec, 0xd0, 0xf7, 0xbe, 0x1e, 0x4b, 0x9f, 0x46, 0x4f, 0x9b, 0x36, 0x83, 0xae, 0x7b, + 0xee, 0xa1, 0x73, 0x64, 0x08, 0x92, 0xc5, 0x8f, 0xa1, 0x32, 0xa1, 0x11, 0xd2, 0x20, 0x13, 0xf9, + 0x83, 0x2d, 0xd9, 0x55, 0x3b, 0xb5, 0xfa, 0x23, 0x2c, 0x1d, 0x21, 0x36, 0x4f, 0xd4, 0xc7, 0x4a, + 0xfd, 0x2b, 0x28, 0x86, 0x01, 0x85, 0xee, 0x40, 0xa9, 0xe7, 0x63, 0xde, 0x6f, 0x59, 0x7d, 0x22, + 0x05, 0xc4, 0x41, 0x31, 0x0b, 0xab, 0x13, 0x16, 0x0e, 0xf5, 0xcd, 0x3c, 0x57, 0xdf, 0xfa, 0x4f, + 0x60, 0x2e, 0x11, 0x99, 0xac, 0xb5, 0xb3, 0x7a, 0x3d, 0x6f, 0xe4, 0xd2, 0xf8, 0x6b, 0xab, 0x24, + 0x61, 0xbc, 0xaa, 0xdd, 0x86, 0x60, 0xcb, 0x83, 0x4d, 0xfc, 0x3c, 0x48, 0x10, 0x8b, 0xb6, 0x37, + 0xa1, 0xca, 0x0c, 0x69, 0x39, 0x2e, 0xf6, 0xe3, 0xa5, 0xb4, 0x12, 0x42, 0x99, 0x9c, 0xfa, 0xcf, + 0x15, 0x28, 0xc7, 0xa3, 0xfc, 0x45, 0x83, 0xf8, 0x25, 0xc6, 0x67, 0xfd, 0x29, 0x94, 0x62, 0x76, + 0x4a, 0x99, 0xf6, 0x2c, 0x42, 0x61, 0x44, 0xb0, 0xcf, 0x4f, 0x25, 0xdf, 0x68, 0xc1, 0x9e, 0xe1, + 0x86, 0x16, 0x21, 0xcf, 0x3c, 0x3f, 0x68, 0x87, 0xc2, 0x7d, 0xfd, 0x29, 0x94, 0xe3, 0xef, 0x71, + 0xb4, 0x3a, 0xf5, 0xa4, 0x79, 0x25, 0xf1, 0x70, 0x4f, 0x79, 0xcb, 0x20, 0x98, 0x1d, 0xf9, 0x7d, + 0x52, 0x53, 0xef, 0x64, 0xee, 0x15, 0x0d, 0xbe, 0xae, 0xff, 0x39, 0x03, 0x73, 0x89, 0x36, 0x23, + 0xca, 0xe7, 0x4a, 0x7a, 0x3e, 0x57, 0x27, 0xf2, 0xf9, 0x02, 0x64, 0x6d, 0x3c, 0xa4, 0xc7, 0x32, + 0xcd, 0x8b, 0x0d, 0x7a, 0x15, 0x8a, 0x87, 0xbe, 0x35, 0xc0, 0xbe, 0x45, 0x45, 0xfd, 0xca, 0x1a, + 0x11, 0x80, 0xe5, 0x65, 0xd1, 0x25, 0x8a, 0xbc, 0x9c, 0x4d, 0xe4, 0x65, 0x3e, 0xcb, 0x95, 0x79, + 0xd9, 0x0a, 0xd7, 0x2c, 0xdd, 0x08, 0xae, 0x03, 0x87, 0x72, 0xb9, 0x39, 0x2e, 0x57, 0xb4, 0x96, + 0x6b, 0x02, 0x16, 0x11, 0x7d, 0x35, 0xb2, 0xfa, 0x0e, 0x1d, 0xf3, 0x9c, 0x14, 0x10, 0xfd, 0x50, + 0xc0, 0x58, 0x0d, 0x12, 0x44, 0x87, 0x3e, 0xeb, 0x11, 0xdc, 0xde, 0x98, 0x27, 0xf8, 0xac, 0x21, + 0x9a, 0xd7, 0xcd, 0x00, 0xca, 0x14, 0x15, 0x8d, 0xaa, 0x50, 0xb4, 0x90, 0x50, 0xf4, 0x0b, 0x86, + 0x93, 0x8a, 0x9e, 0x86, 0x6b, 0xa6, 0x83, 0xe0, 0x0a, 0x14, 0x2d, 0x0a, 0x1d, 0x38, 0x30, 0xa6, + 0xa8, 0x20, 0x0a, 0x14, 0x2d, 0xc7, 0x88, 0x02, 0x45, 0xdf, 0x03, 0x74, 0x82, 0xc7, 0x26, 0xb7, + 0x5c, 0x54, 0x87, 0x59, 0x2e, 0x51, 0x0c, 0xed, 0x04, 0x8f, 0x37, 0x19, 0x22, 0x28, 0xc4, 0xf5, + 0xcf, 0xe0, 0xda, 0xfe, 0xd0, 0xb6, 0x28, 0x6e, 0xf1, 0x91, 0x7a, 0xac, 0xff, 0x11, 0xc3, 0x7d, + 0xd6, 0xe3, 0xc8, 0xc7, 0x8d, 0x00, 0x34, 0xed, 0xb3, 0xc6, 0xf1, 0xf5, 0x9f, 0x2a, 0x81, 0x30, + 0x11, 0x4f, 0x17, 0x12, 0xf6, 0x16, 0xcc, 0x59, 0xb6, 0x2d, 0xdb, 0x39, 0x33, 0x16, 0x6c, 0x15, + 0xcb, 0xb6, 0x45, 0xe8, 0xee, 0xfb, 0x7d, 0xc2, 0x8e, 0xe5, 0xe3, 0x81, 0x77, 0x8a, 0x27, 0x48, + 0x33, 0x9c, 0x54, 0x13, 0x98, 0x88, 0xba, 0x8e, 0x61, 0xbe, 0xe5, 0x90, 0xcb, 0x4c, 0x9f, 0x26, + 0x94, 0x54, 0xa7, 0x4f, 0x6c, 0xf5, 0xa8, 0x73, 0x1a, 0x0c, 0x9e, 0xe4, 0xae, 0xfe, 0x7d, 0x40, + 0xf1, 0x9f, 0x21, 0x43, 0xcf, 0x25, 0xec, 0x11, 0x9e, 0x75, 0x28, 0x1e, 0xb0, 0x24, 0xca, 0xaa, + 0x48, 0xe4, 0x7b, 0x41, 0xd7, 0x74, 0x0f, 0x3d, 0x43, 0x50, 0xd4, 0x57, 0x60, 0xbe, 0x43, 0xbd, + 0xe1, 0x94, 0x9e, 0x67, 0xda, 0xab, 0xfe, 0x6d, 0x11, 0x20, 0x92, 0x73, 0xbe, 0x6d, 0x5f, 0x81, + 0x3c, 0x3f, 0x70, 0x78, 0xa2, 0x1c, 0xdb, 0x36, 0xed, 0x49, 0x4b, 0x54, 0x12, 0x96, 0x78, 0x02, + 0x25, 0xe2, 0x8d, 0x58, 0xc9, 0xe4, 0xdd, 0xe4, 0x22, 0x0f, 0xe0, 0x9b, 0x89, 0x43, 0x74, 0x38, + 0x05, 0x6f, 0x27, 0x81, 0x84, 0x6b, 0xf4, 0x3e, 0xe4, 0x08, 0xb5, 0xe8, 0x88, 0x70, 0x43, 0x55, + 0x63, 0xaf, 0x0b, 0xc9, 0xc6, 0x91, 0x86, 0x24, 0x62, 0xf9, 0x97, 0x4f, 0xa1, 0xb1, 0x6d, 0x5a, + 0x94, 0xc7, 0x68, 0xc6, 0x28, 0x4a, 0x48, 0x83, 0xb2, 0x46, 0x1b, 0xbb, 0xb6, 0x40, 0x96, 0x38, + 0x32, 0xcf, 0xf7, 0x0d, 0xfe, 0xe9, 0x67, 0xc4, 0x43, 0x8d, 0x23, 0x91, 0xe0, 0x94, 0x90, 0x06, + 0x65, 0xe5, 0xd8, 0xc6, 0xd4, 0x72, 0xfa, 0xa4, 0x76, 0x5d, 0x94, 0x63, 0xb9, 0x65, 0xb9, 0x07, + 0xfb, 0xbe, 0xe7, 0xcb, 0x02, 0x2c, 0x36, 0x4c, 0x1c, 0x5f, 0xf0, 0x4b, 0x5b, 0xbb, 0x21, 0x92, + 0x0f, 0x87, 0xb0, 0xeb, 0x89, 0x5a, 0x50, 0xe5, 0xf6, 0xea, 0x05, 0xe3, 0x2d, 0xf9, 0xbe, 0xbe, + 0x1b, 0x1e, 0xef, 0xec, 0x4f, 0x5b, 0xdb, 0x33, 0x46, 0xc5, 0x8f, 0x63, 0xd1, 0xfb, 0x90, 0x79, + 0x86, 0x0f, 0x6a, 0xd5, 0xc4, 0x8c, 0x20, 0x39, 0xf9, 0x67, 0x6f, 0xbc, 0x67, 0xf8, 0x00, 0xe9, + 0x50, 0x1a, 0x46, 0x03, 0xd5, 0xda, 0x35, 0xce, 0xf6, 0x7a, 0x54, 0x65, 0xcf, 0x18, 0xb6, 0x6e, + 0xcf, 0x18, 0x71, 0x3e, 0xb4, 0x07, 0x73, 0x62, 0x6a, 0x11, 0x1d, 0x42, 0xb4, 0x62, 0x6f, 0x84, + 0xa2, 0xce, 0x19, 0xe1, 0x6d, 0xcf, 0x18, 0x55, 0x3a, 0x81, 0x46, 0xab, 0x90, 0xe5, 0x10, 0xd9, + 0x38, 0xdc, 0x9a, 0x14, 0x93, 0xe4, 0x16, 0xb4, 0xe8, 0x83, 0xc4, 0xd7, 0xad, 0x64, 0x0d, 0x62, + 0x41, 0xcd, 0xae, 0x14, 0x1f, 0x97, 0x29, 0xe1, 0xb0, 0xed, 0x5d, 0x39, 0x57, 0x49, 0x3e, 0x9b, + 0xd9, 0x43, 0x9e, 0xb1, 0x48, 0x72, 0x31, 0x53, 0xf9, 0x30, 0x36, 0x99, 0x2b, 0x27, 0x07, 0x7a, + 0x12, 0x11, 0x63, 0x8a, 0x46, 0x72, 0x4f, 0xc2, 0x09, 0x97, 0x8f, 0xc9, 0xa8, 0x4f, 0x49, 0x6d, + 0x2e, 0x71, 0x83, 0x23, 0x25, 0x83, 0xf9, 0x96, 0x21, 0x28, 0xd1, 0x43, 0x39, 0x5c, 0x0b, 0x38, + 0x35, 0xce, 0x39, 0xad, 0xa9, 0x98, 0xa9, 0x05, 0x5c, 0x9f, 0x46, 0x53, 0xb1, 0x80, 0x71, 0x3e, + 0x39, 0x54, 0x8b, 0x69, 0x1c, 0x8e, 0xc3, 0x02, 0xfe, 0xc7, 0xc1, 0x38, 0x2c, 0xe0, 0x5e, 0x48, + 0x28, 0xcc, 0xfb, 0x15, 0xc1, 0x2b, 0xa6, 0x61, 0x01, 0xe7, 0xbb, 0x30, 0x1f, 0x74, 0x2a, 0x66, + 0xdf, 0xeb, 0x89, 0x51, 0xc1, 0x2b, 0x62, 0xac, 0x10, 0x20, 0x5a, 0x12, 0x8e, 0x96, 0xe1, 0xda, + 0x81, 0xd5, 0x3b, 0x19, 0x0d, 0x4d, 0x42, 0x3d, 0x9f, 0xfd, 0xde, 0x88, 0x60, 0xbb, 0x76, 0x93, + 0x27, 0xc3, 0x79, 0x81, 0xea, 0x08, 0xcc, 0x3e, 0xc1, 0xf6, 0x5a, 0x11, 0xf2, 0xbe, 0xf0, 0x3c, + 0x6b, 0x1f, 0x84, 0x6e, 0xf5, 0x4f, 0xa0, 0x3a, 0xe9, 0x63, 0xf4, 0x36, 0xcc, 0x3a, 0xee, 0xa1, + 0x37, 0x95, 0x27, 0x63, 0x56, 0xe6, 0x04, 0x4f, 0xd4, 0x9a, 0x52, 0xff, 0x97, 0x02, 0x10, 0x21, + 0xd2, 0x3f, 0x8b, 0xc5, 0x92, 0x89, 0x7a, 0x5e, 0x32, 0xc9, 0x4c, 0x26, 0x93, 0x45, 0x28, 0x4c, + 0x4c, 0x4b, 0x32, 0x46, 0xb8, 0x47, 0x0f, 0xc2, 0x8c, 0x26, 0x9e, 0x1c, 0x8b, 0x29, 0x5a, 0x2e, + 0x27, 0xd2, 0x5a, 0x98, 0x63, 0x72, 0xb1, 0x1c, 0x53, 0x5f, 0x86, 0x9c, 0xa0, 0x43, 0x00, 0xb9, + 0xc6, 0x7a, 0xb7, 0xf9, 0x85, 0xae, 0xcd, 0xa0, 0x32, 0x14, 0x36, 0x9b, 0xbb, 0xcd, 0xce, 0xb6, + 0xbe, 0xa1, 0x29, 0x0c, 0xb3, 0xd9, 0x68, 0xb6, 0xf4, 0x0d, 0x4d, 0xad, 0xff, 0x41, 0x81, 0x42, + 0x10, 0x35, 0xc1, 0xb0, 0x21, 0x5e, 0xba, 0x82, 0xfd, 0x4b, 0x3a, 0x78, 0x2e, 0x71, 0x70, 0x04, + 0xb3, 0xc4, 0xf9, 0x06, 0x4b, 0x83, 0xf0, 0x35, 0xa3, 0x0f, 0x63, 0x45, 0x3c, 0x63, 0xc3, 0x7d, + 0xfd, 0xef, 0x2a, 0x94, 0xe3, 0xb1, 0x3a, 0x3d, 0xde, 0x52, 0x2e, 0x3c, 0xde, 0x2a, 0x9c, 0x31, + 0xde, 0x8a, 0xeb, 0xab, 0x9e, 0xa1, 0x6f, 0x26, 0xa6, 0xef, 0xbb, 0x30, 0x1f, 0x0a, 0x0e, 0x15, + 0x17, 0x2f, 0x73, 0x2d, 0x40, 0x84, 0x41, 0xfe, 0x10, 0x6e, 0x4c, 0xaa, 0x12, 0x72, 0x88, 0x52, + 0xb1, 0x10, 0x57, 0x27, 0xe4, 0xe2, 0x0d, 0xad, 0xb8, 0xc1, 0xbc, 0x1d, 0xe1, 0x76, 0xc9, 0xb0, + 0x86, 0x96, 0x03, 0xd7, 0x19, 0x2c, 0xe1, 0xa1, 0xdc, 0x79, 0x1e, 0xca, 0x4f, 0x78, 0xa8, 0xfe, + 0x33, 0x05, 0x20, 0xba, 0xc3, 0x17, 0x9f, 0x84, 0xdc, 0x8e, 0xc6, 0x18, 0x4c, 0x29, 0x85, 0x4b, + 0x0d, 0x26, 0x16, 0xd3, 0x2a, 0x5d, 0x22, 0x68, 0xea, 0xbf, 0x52, 0xe1, 0x7a, 0x63, 0x44, 0xbd, + 0xa9, 0xc2, 0x13, 0xfb, 0xa4, 0xa1, 0x5c, 0xe1, 0x13, 0x9c, 0x7a, 0x85, 0x4f, 0x70, 0x99, 0xcb, + 0x7d, 0xd2, 0x48, 0xf9, 0x28, 0x31, 0x7b, 0xf9, 0x8f, 0x12, 0xf1, 0xef, 0x09, 0xbf, 0x50, 0x61, + 0x8e, 0x19, 0x27, 0x56, 0x03, 0xff, 0xe7, 0x07, 0x85, 0x4b, 0x1f, 0xc9, 0x86, 0x31, 0xfa, 0x06, + 0x81, 0x16, 0x40, 0xdb, 0xd0, 0x37, 0x1b, 0xfb, 0xad, 0xae, 0xb9, 0xd9, 0x6c, 0xe9, 0xdd, 0x1f, + 0xb5, 0x59, 0x32, 0xcc, 0x43, 0x66, 0xa7, 0xfd, 0x50, 0x53, 0xd8, 0x62, 0x6f, 0x6b, 0x4b, 0x53, + 0x97, 0x76, 0xe1, 0x7a, 0xea, 0xbc, 0x1d, 0xdd, 0x85, 0xdb, 0x81, 0x80, 0x8e, 0xbe, 0xb5, 0xa3, + 0xef, 0x76, 0xf5, 0x0d, 0x2e, 0xca, 0x6c, 0x1b, 0x7b, 0xdd, 0xbd, 0xf5, 0xbd, 0x96, 0x36, 0x83, + 0x34, 0x28, 0x6f, 0xb7, 0x3a, 0x11, 0x44, 0x59, 0xba, 0x9f, 0x98, 0xf7, 0xcb, 0xa9, 0x5f, 0x11, + 0xb2, 0xcd, 0xdd, 0x0d, 0xfd, 0x4b, 0x6d, 0x06, 0x55, 0xa0, 0xd8, 0x6d, 0xee, 0xe8, 0x9d, 0x6e, + 0x63, 0xa7, 0xad, 0x29, 0x4b, 0x3a, 0xcc, 0x25, 0x46, 0x86, 0xe8, 0x06, 0xa0, 0xe6, 0x4e, 0x63, + 0x4b, 0x37, 0x3b, 0xfb, 0x9b, 0x9b, 0xcd, 0x2f, 0xcd, 0x80, 0x73, 0x11, 0x6e, 0x4c, 0xc0, 0xe3, + 0x62, 0x3e, 0x0a, 0x8a, 0x5f, 0x78, 0x80, 0x98, 0x05, 0x62, 0x1a, 0x17, 0x60, 0xd6, 0xe8, 0x32, + 0x0e, 0x66, 0x82, 0x8e, 0xd1, 0xd5, 0xd4, 0xa5, 0x7d, 0x28, 0xc5, 0xfe, 0xa9, 0x84, 0x10, 0x54, + 0x03, 0xbe, 0x9d, 0xe6, 0x97, 0xcd, 0xdd, 0x2d, 0x6d, 0x86, 0x69, 0xb4, 0xb1, 0xdf, 0x68, 0x99, + 0xeb, 0xdb, 0x8d, 0xdd, 0x5d, 0xbd, 0x65, 0x36, 0xb6, 0xf4, 0xdd, 0xae, 0xa6, 0x30, 0x8d, 0x26, + 0xe1, 0xad, 0xae, 0x6e, 0xec, 0x36, 0xba, 0xba, 0xa6, 0x2e, 0xfd, 0x4d, 0x81, 0xeb, 0xa9, 0xd7, + 0x92, 0x5b, 0xed, 0xc1, 0xa3, 0x87, 0xe6, 0x87, 0x0f, 0x56, 0xda, 0xe6, 0xea, 0x8a, 0xb4, 0x63, + 0x08, 0x79, 0xb4, 0xa2, 0x29, 0x68, 0x1e, 0x2a, 0x1c, 0xf2, 0xdd, 0x95, 0xc7, 0x82, 0x48, 0x4d, + 0x80, 0x1e, 0xad, 0x68, 0x19, 0x74, 0x13, 0xae, 0xb7, 0xf7, 0x8c, 0xae, 0xd1, 0x68, 0x76, 0xcd, + 0x09, 0x91, 0xb3, 0x67, 0xa0, 0x1e, 0xad, 0x68, 0x59, 0xa6, 0xf5, 0x24, 0x2a, 0xfc, 0x91, 0xdc, + 0x59, 0xb8, 0x47, 0x2b, 0x5a, 0x7e, 0xe9, 0x37, 0x0a, 0x94, 0xe3, 0x6d, 0x06, 0xba, 0x06, 0x73, + 0xfa, 0x96, 0xa1, 0x77, 0x3a, 0x66, 0xa7, 0xdb, 0x30, 0xba, 0xc2, 0x56, 0xf3, 0x50, 0x91, 0x40, + 0x59, 0x83, 0x95, 0x18, 0x48, 0xdf, 0xdd, 0x60, 0x54, 0x6a, 0x8c, 0x75, 0x7d, 0x6f, 0xa7, 0xdd, + 0xd2, 0xbb, 0xba, 0x96, 0x89, 0xd1, 0xc9, 0x22, 0x3d, 0xcb, 0xbc, 0x11, 0x48, 0x5b, 0xdb, 0x33, + 0xba, 0xfa, 0x86, 0x96, 0x45, 0x35, 0x58, 0x90, 0xb0, 0x56, 0x73, 0xa7, 0xd9, 0x35, 0x0d, 0xbd, + 0xb1, 0xce, 0xca, 0x7b, 0x6e, 0xe9, 0x33, 0xd0, 0x92, 0xed, 0x13, 0x3b, 0x51, 0xa0, 0xe4, 0xde, + 0xbe, 0xb1, 0xae, 0x9b, 0xec, 0x2e, 0x98, 0x4f, 0xf5, 0x35, 0x11, 0x51, 0x29, 0xb8, 0xce, 0xc6, + 0xe7, 0x9a, 0xf2, 0xe0, 0xd7, 0x59, 0xc8, 0xc9, 0x04, 0xd3, 0x85, 0x1a, 0xff, 0xcf, 0x4e, 0x4a, + 0x13, 0x82, 0x2e, 0xd2, 0xa2, 0x2c, 0xa6, 0xb5, 0xa8, 0xe8, 0x07, 0x2c, 0x64, 0x2d, 0x9f, 0x86, + 0x7d, 0x09, 0x3a, 0xbb, 0x57, 0x49, 0x97, 0xd0, 0x86, 0x1b, 0x5c, 0xc2, 0x74, 0xa5, 0x78, 0x7e, + 0xfb, 0x92, 0x2e, 0xf1, 0x0b, 0xb8, 0xc9, 0x25, 0xa6, 0x75, 0x2a, 0xe8, 0x42, 0x8d, 0x4c, 0xba, + 0xdc, 0x0d, 0xd0, 0x22, 0xb9, 0x52, 0xdc, 0x79, 0x0d, 0x4d, 0xba, 0x94, 0x06, 0x94, 0xe3, 0xc3, + 0x14, 0x14, 0x55, 0x91, 0x94, 0x19, 0xcb, 0x73, 0x44, 0x88, 0x6c, 0x31, 0x25, 0x62, 0x62, 0xb2, + 0x92, 0x2e, 0x42, 0x07, 0x88, 0x86, 0x12, 0x28, 0xaa, 0x85, 0x53, 0x03, 0x91, 0xc5, 0x5b, 0xa9, + 0x38, 0x39, 0xc5, 0xf8, 0x84, 0x3d, 0xb7, 0x83, 0xd1, 0x04, 0x8a, 0x3f, 0x7b, 0x13, 0xf3, 0x8a, + 0x54, 0x2d, 0xd6, 0x36, 0x7f, 0x7c, 0xf7, 0xc8, 0xa1, 0xc7, 0xa3, 0x83, 0xe5, 0x9e, 0x37, 0xb8, + 0x2f, 0x09, 0xee, 0x07, 0x83, 0xc5, 0x00, 0xf0, 0x7b, 0xb5, 0xd2, 0x72, 0x4e, 0xf1, 0xe7, 0x62, + 0x5a, 0x4c, 0xbd, 0x7f, 0xa8, 0x55, 0xb9, 0x7f, 0xf2, 0x84, 0x03, 0x0e, 0x72, 0x9c, 0x65, 0xf5, + 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x46, 0xfb, 0x9b, 0x2f, 0x75, 0x2a, 0x00, 0x00, } diff --git a/protobufs/livekit_egress.proto b/protobufs/livekit_egress.proto index 95fd10cd6..e24c04d0a 100644 --- a/protobufs/livekit_egress.proto +++ b/protobufs/livekit_egress.proto @@ -45,12 +45,13 @@ service Egress { // composite using a web browser message RoomCompositeEgressRequest { - string room_name = 1; // required - string layout = 2; // (optional) - bool audio_only = 3; // (default false) - bool video_only = 4; // (default false) - string custom_base_url = 5; // template base url (default https://recorder.livekit.io) - oneof output { // deprecated (use _output fields) + string room_name = 1; // required + string layout = 2; // (optional) + bool audio_only = 3; // (default false) + AudioMixing audio_mixing = 15; // only applies to audio_only egress (default DEFAULT_MIXING) + bool video_only = 4; // (default false) + string custom_base_url = 5; // template base url (default https://recorder.livekit.io) + oneof output { // deprecated (use _output fields) EncodedFileOutput file = 6 [deprecated = true]; StreamOutput stream = 7 [deprecated = true]; SegmentedFileOutput segments = 10 [deprecated = true]; @@ -275,7 +276,6 @@ message EncodingOptions { int32 audio_bitrate = 6; // (default 128) int32 audio_quality = 11; // quality setting on audio encoder int32 audio_frequency = 7; // (default 44100) - AudioMixing audio_mixing = 13; // (default DEFAULT_MIXING) VideoCodec video_codec = 8; // (default H264_MAIN) int32 video_bitrate = 9; // (default 4500) int32 video_quality = 12; // quality setting on video encoder From f6d3d2197c6c01666f4f8896f43d7187704e5444 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 12 Feb 2025 12:33:06 +0000 Subject: [PATCH 5/5] generated protobuf --- infra/link.pb.go | 156 +-- infra/link_grpc.pb.go | 77 +- livekit/livekit_agent.pb.go | 664 ++++------ livekit/livekit_agent_dispatch.pb.go | 249 ++-- livekit/livekit_analytics.pb.go | 581 +++------ livekit/livekit_egress.pb.go | 1547 ++++++++++-------------- livekit/livekit_ingress.pb.go | 527 +++----- livekit/livekit_internal.pb.go | 189 +-- livekit/livekit_metrics.pb.go | 144 +-- livekit/livekit_models.pb.go | 1591 ++++++++---------------- livekit/livekit_room.pb.go | 632 +++------- livekit/livekit_rtc.pb.go | 1674 +++++++++----------------- livekit/livekit_sip.pb.go | 1127 +++++------------ livekit/livekit_webhook.pb.go | 53 +- rpc/agent.pb.go | 172 +-- rpc/agent_dispatch.pb.go | 14 +- rpc/analytics.pb.go | 14 +- rpc/analytics_grpc.pb.go | 219 +--- rpc/egress.pb.go | 144 +-- rpc/ingress.pb.go | 269 ++--- rpc/io.pb.go | 342 ++---- rpc/keepalive.pb.go | 49 +- rpc/participant.pb.go | 14 +- rpc/room.pb.go | 14 +- rpc/roommanager.pb.go | 14 +- rpc/signal.pb.go | 88 +- rpc/sip.pb.go | 127 +- 27 files changed, 3455 insertions(+), 7236 deletions(-) diff --git a/infra/link.pb.go b/infra/link.pb.go index a20ba5777..2749fa266 100644 --- a/infra/link.pb.go +++ b/infra/link.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: infra/link.proto package infra @@ -26,6 +26,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -36,18 +37,16 @@ const ( ) type WatchLocalLinksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WatchLocalLinksRequest) Reset() { *x = WatchLocalLinksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_infra_link_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_infra_link_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WatchLocalLinksRequest) String() string { @@ -58,7 +57,7 @@ func (*WatchLocalLinksRequest) ProtoMessage() {} func (x *WatchLocalLinksRequest) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -74,26 +73,23 @@ func (*WatchLocalLinksRequest) Descriptor() ([]byte, []int) { } type WatchLocalLinksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` + RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` + Rtt int64 `protobuf:"varint,3,opt,name=rtt,proto3" json:"rtt,omitempty"` + Jitter int64 `protobuf:"varint,4,opt,name=jitter,proto3" json:"jitter,omitempty"` + PacketLoss float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3" json:"packet_loss,omitempty"` + Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` + LastRead *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_read,json=lastRead,proto3" json:"last_read,omitempty"` unknownFields protoimpl.UnknownFields - - LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` - RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` - Rtt int64 `protobuf:"varint,3,opt,name=rtt,proto3" json:"rtt,omitempty"` - Jitter int64 `protobuf:"varint,4,opt,name=jitter,proto3" json:"jitter,omitempty"` - PacketLoss float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3" json:"packet_loss,omitempty"` - Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` - LastRead *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_read,json=lastRead,proto3" json:"last_read,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WatchLocalLinksResponse) Reset() { *x = WatchLocalLinksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_infra_link_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_infra_link_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WatchLocalLinksResponse) String() string { @@ -104,7 +100,7 @@ func (*WatchLocalLinksResponse) ProtoMessage() {} func (x *WatchLocalLinksResponse) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -169,26 +165,23 @@ func (x *WatchLocalLinksResponse) GetLastRead() *timestamppb.Timestamp { } type SimulateLinkStateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` + RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` + Rtt *int64 `protobuf:"varint,3,opt,name=rtt,proto3,oneof" json:"rtt,omitempty"` + Jitter *int64 `protobuf:"varint,4,opt,name=jitter,proto3,oneof" json:"jitter,omitempty"` + PacketLoss *float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3,oneof" json:"packet_loss,omitempty"` + Disabled *bool `protobuf:"varint,6,opt,name=disabled,proto3,oneof" json:"disabled,omitempty"` + Timeout int64 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` unknownFields protoimpl.UnknownFields - - LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` - RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` - Rtt *int64 `protobuf:"varint,3,opt,name=rtt,proto3,oneof" json:"rtt,omitempty"` - Jitter *int64 `protobuf:"varint,4,opt,name=jitter,proto3,oneof" json:"jitter,omitempty"` - PacketLoss *float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3,oneof" json:"packet_loss,omitempty"` - Disabled *bool `protobuf:"varint,6,opt,name=disabled,proto3,oneof" json:"disabled,omitempty"` - Timeout int64 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SimulateLinkStateRequest) Reset() { *x = SimulateLinkStateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_infra_link_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_infra_link_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulateLinkStateRequest) String() string { @@ -199,7 +192,7 @@ func (*SimulateLinkStateRequest) ProtoMessage() {} func (x *SimulateLinkStateRequest) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -264,18 +257,16 @@ func (x *SimulateLinkStateRequest) GetTimeout() int64 { } type SimulateLinkStateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SimulateLinkStateResponse) Reset() { *x = SimulateLinkStateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_infra_link_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_infra_link_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulateLinkStateResponse) String() string { @@ -286,7 +277,7 @@ func (*SimulateLinkStateResponse) ProtoMessage() {} func (x *SimulateLinkStateResponse) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -303,7 +294,7 @@ func (*SimulateLinkStateResponse) Descriptor() ([]byte, []int) { var File_infra_link_proto protoreflect.FileDescriptor -var file_infra_link_proto_rawDesc = []byte{ +var file_infra_link_proto_rawDesc = string([]byte{ 0x0a, 0x10, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, @@ -360,22 +351,22 @@ var file_infra_link_proto_rawDesc = []byte{ 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_infra_link_proto_rawDescOnce sync.Once - file_infra_link_proto_rawDescData = file_infra_link_proto_rawDesc + file_infra_link_proto_rawDescData []byte ) func file_infra_link_proto_rawDescGZIP() []byte { file_infra_link_proto_rawDescOnce.Do(func() { - file_infra_link_proto_rawDescData = protoimpl.X.CompressGZIP(file_infra_link_proto_rawDescData) + file_infra_link_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_infra_link_proto_rawDesc), len(file_infra_link_proto_rawDesc))) }) return file_infra_link_proto_rawDescData } var file_infra_link_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_infra_link_proto_goTypes = []interface{}{ +var file_infra_link_proto_goTypes = []any{ (*WatchLocalLinksRequest)(nil), // 0: rpc.WatchLocalLinksRequest (*WatchLocalLinksResponse)(nil), // 1: rpc.WatchLocalLinksResponse (*SimulateLinkStateRequest)(nil), // 2: rpc.SimulateLinkStateRequest @@ -400,62 +391,12 @@ func file_infra_link_proto_init() { if File_infra_link_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_infra_link_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WatchLocalLinksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_infra_link_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WatchLocalLinksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_infra_link_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SimulateLinkStateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_infra_link_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SimulateLinkStateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_infra_link_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_infra_link_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_infra_link_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_infra_link_proto_rawDesc), len(file_infra_link_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -466,7 +407,6 @@ func file_infra_link_proto_init() { MessageInfos: file_infra_link_proto_msgTypes, }.Build() File_infra_link_proto = out.File - file_infra_link_proto_rawDesc = nil file_infra_link_proto_goTypes = nil file_infra_link_proto_depIdxs = nil } diff --git a/infra/link_grpc.pb.go b/infra/link_grpc.pb.go index 155837771..281cec953 100644 --- a/infra/link_grpc.pb.go +++ b/infra/link_grpc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.25.3 +// - protoc-gen-go-grpc v1.5.1 +// - protoc v4.23.4 // source: infra/link.proto package infra @@ -29,8 +29,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( Link_WatchLocalLinks_FullMethodName = "/rpc.Link/WatchLocalLinks" @@ -41,7 +41,7 @@ const ( // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type LinkClient interface { - WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (Link_WatchLocalLinksClient, error) + WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchLocalLinksResponse], error) SimulateLinkState(ctx context.Context, in *SimulateLinkStateRequest, opts ...grpc.CallOption) (*SimulateLinkStateResponse, error) } @@ -53,12 +53,13 @@ func NewLinkClient(cc grpc.ClientConnInterface) LinkClient { return &linkClient{cc} } -func (c *linkClient) WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (Link_WatchLocalLinksClient, error) { - stream, err := c.cc.NewStream(ctx, &Link_ServiceDesc.Streams[0], Link_WatchLocalLinks_FullMethodName, opts...) +func (c *linkClient) WatchLocalLinks(ctx context.Context, in *WatchLocalLinksRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchLocalLinksResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &Link_ServiceDesc.Streams[0], Link_WatchLocalLinks_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &linkWatchLocalLinksClient{stream} + x := &grpc.GenericClientStream[WatchLocalLinksRequest, WatchLocalLinksResponse]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -68,26 +69,13 @@ func (c *linkClient) WatchLocalLinks(ctx context.Context, in *WatchLocalLinksReq return x, nil } -type Link_WatchLocalLinksClient interface { - Recv() (*WatchLocalLinksResponse, error) - grpc.ClientStream -} - -type linkWatchLocalLinksClient struct { - grpc.ClientStream -} - -func (x *linkWatchLocalLinksClient) Recv() (*WatchLocalLinksResponse, error) { - m := new(WatchLocalLinksResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type Link_WatchLocalLinksClient = grpc.ServerStreamingClient[WatchLocalLinksResponse] func (c *linkClient) SimulateLinkState(ctx context.Context, in *SimulateLinkStateRequest, opts ...grpc.CallOption) (*SimulateLinkStateResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SimulateLinkStateResponse) - err := c.cc.Invoke(ctx, Link_SimulateLinkState_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Link_SimulateLinkState_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -96,24 +84,28 @@ func (c *linkClient) SimulateLinkState(ctx context.Context, in *SimulateLinkStat // LinkServer is the server API for Link service. // All implementations must embed UnimplementedLinkServer -// for forward compatibility +// for forward compatibility. type LinkServer interface { - WatchLocalLinks(*WatchLocalLinksRequest, Link_WatchLocalLinksServer) error + WatchLocalLinks(*WatchLocalLinksRequest, grpc.ServerStreamingServer[WatchLocalLinksResponse]) error SimulateLinkState(context.Context, *SimulateLinkStateRequest) (*SimulateLinkStateResponse, error) mustEmbedUnimplementedLinkServer() } -// UnimplementedLinkServer must be embedded to have forward compatible implementations. -type UnimplementedLinkServer struct { -} +// UnimplementedLinkServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedLinkServer struct{} -func (UnimplementedLinkServer) WatchLocalLinks(*WatchLocalLinksRequest, Link_WatchLocalLinksServer) error { +func (UnimplementedLinkServer) WatchLocalLinks(*WatchLocalLinksRequest, grpc.ServerStreamingServer[WatchLocalLinksResponse]) error { return status.Errorf(codes.Unimplemented, "method WatchLocalLinks not implemented") } func (UnimplementedLinkServer) SimulateLinkState(context.Context, *SimulateLinkStateRequest) (*SimulateLinkStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SimulateLinkState not implemented") } func (UnimplementedLinkServer) mustEmbedUnimplementedLinkServer() {} +func (UnimplementedLinkServer) testEmbeddedByValue() {} // UnsafeLinkServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to LinkServer will @@ -123,6 +115,13 @@ type UnsafeLinkServer interface { } func RegisterLinkServer(s grpc.ServiceRegistrar, srv LinkServer) { + // If the following call pancis, it indicates UnimplementedLinkServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&Link_ServiceDesc, srv) } @@ -131,21 +130,11 @@ func _Link_WatchLocalLinks_Handler(srv interface{}, stream grpc.ServerStream) er if err := stream.RecvMsg(m); err != nil { return err } - return srv.(LinkServer).WatchLocalLinks(m, &linkWatchLocalLinksServer{stream}) -} - -type Link_WatchLocalLinksServer interface { - Send(*WatchLocalLinksResponse) error - grpc.ServerStream + return srv.(LinkServer).WatchLocalLinks(m, &grpc.GenericServerStream[WatchLocalLinksRequest, WatchLocalLinksResponse]{ServerStream: stream}) } -type linkWatchLocalLinksServer struct { - grpc.ServerStream -} - -func (x *linkWatchLocalLinksServer) Send(m *WatchLocalLinksResponse) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type Link_WatchLocalLinksServer = grpc.ServerStreamingServer[WatchLocalLinksResponse] func _Link_SimulateLinkState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SimulateLinkStateRequest) diff --git a/livekit/livekit_agent.pb.go b/livekit/livekit_agent.pb.go index b1937d49b..919ee8e7f 100644 --- a/livekit/livekit_agent.pb.go +++ b/livekit/livekit_agent.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_agent.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -179,29 +180,26 @@ func (JobStatus) EnumDescriptor() ([]byte, []int) { } type Job struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - DispatchId string `protobuf:"bytes,9,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` - Type JobType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` - Room *Room `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` - Participant *ParticipantInfo `protobuf:"bytes,4,opt,name=participant,proto3,oneof" json:"participant,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + DispatchId string `protobuf:"bytes,9,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` + Type JobType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` + Room *Room `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` + Participant *ParticipantInfo `protobuf:"bytes,4,opt,name=participant,proto3,oneof" json:"participant,omitempty"` // Deprecated: Marked as deprecated in livekit_agent.proto. - Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` - Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` - AgentName string `protobuf:"bytes,7,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - State *JobState `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"` + Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` + Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` + AgentName string `protobuf:"bytes,7,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + State *JobState `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Job) Reset() { *x = Job{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Job) String() string { @@ -212,7 +210,7 @@ func (*Job) ProtoMessage() {} func (x *Job) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -292,25 +290,22 @@ func (x *Job) GetState() *JobState { } type JobState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Status JobStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.JobStatus" json:"status,omitempty"` - Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - StartedAt int64 `protobuf:"varint,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,4,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - ParticipantIdentity string `protobuf:"bytes,6,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Status JobStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.JobStatus" json:"status,omitempty"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` + StartedAt int64 `protobuf:"varint,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,4,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + ParticipantIdentity string `protobuf:"bytes,6,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JobState) Reset() { *x = JobState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobState) String() string { @@ -321,7 +316,7 @@ func (*JobState) ProtoMessage() {} func (x *JobState) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -380,11 +375,8 @@ func (x *JobState) GetParticipantIdentity() string { // from Worker to Server type WorkerMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Message: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Message: // // *WorkerMessage_Register // *WorkerMessage_Availability @@ -393,16 +385,16 @@ type WorkerMessage struct { // *WorkerMessage_Ping // *WorkerMessage_SimulateJob // *WorkerMessage_MigrateJob - Message isWorkerMessage_Message `protobuf_oneof:"message"` + Message isWorkerMessage_Message `protobuf_oneof:"message"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WorkerMessage) Reset() { *x = WorkerMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorkerMessage) String() string { @@ -413,7 +405,7 @@ func (*WorkerMessage) ProtoMessage() {} func (x *WorkerMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -428,58 +420,72 @@ func (*WorkerMessage) Descriptor() ([]byte, []int) { return file_livekit_agent_proto_rawDescGZIP(), []int{2} } -func (m *WorkerMessage) GetMessage() isWorkerMessage_Message { - if m != nil { - return m.Message +func (x *WorkerMessage) GetMessage() isWorkerMessage_Message { + if x != nil { + return x.Message } return nil } func (x *WorkerMessage) GetRegister() *RegisterWorkerRequest { - if x, ok := x.GetMessage().(*WorkerMessage_Register); ok { - return x.Register + if x != nil { + if x, ok := x.Message.(*WorkerMessage_Register); ok { + return x.Register + } } return nil } func (x *WorkerMessage) GetAvailability() *AvailabilityResponse { - if x, ok := x.GetMessage().(*WorkerMessage_Availability); ok { - return x.Availability + if x != nil { + if x, ok := x.Message.(*WorkerMessage_Availability); ok { + return x.Availability + } } return nil } func (x *WorkerMessage) GetUpdateWorker() *UpdateWorkerStatus { - if x, ok := x.GetMessage().(*WorkerMessage_UpdateWorker); ok { - return x.UpdateWorker + if x != nil { + if x, ok := x.Message.(*WorkerMessage_UpdateWorker); ok { + return x.UpdateWorker + } } return nil } func (x *WorkerMessage) GetUpdateJob() *UpdateJobStatus { - if x, ok := x.GetMessage().(*WorkerMessage_UpdateJob); ok { - return x.UpdateJob + if x != nil { + if x, ok := x.Message.(*WorkerMessage_UpdateJob); ok { + return x.UpdateJob + } } return nil } func (x *WorkerMessage) GetPing() *WorkerPing { - if x, ok := x.GetMessage().(*WorkerMessage_Ping); ok { - return x.Ping + if x != nil { + if x, ok := x.Message.(*WorkerMessage_Ping); ok { + return x.Ping + } } return nil } func (x *WorkerMessage) GetSimulateJob() *SimulateJobRequest { - if x, ok := x.GetMessage().(*WorkerMessage_SimulateJob); ok { - return x.SimulateJob + if x != nil { + if x, ok := x.Message.(*WorkerMessage_SimulateJob); ok { + return x.SimulateJob + } } return nil } func (x *WorkerMessage) GetMigrateJob() *MigrateJobRequest { - if x, ok := x.GetMessage().(*WorkerMessage_MigrateJob); ok { - return x.MigrateJob + if x != nil { + if x, ok := x.Message.(*WorkerMessage_MigrateJob); ok { + return x.MigrateJob + } } return nil } @@ -536,27 +542,24 @@ func (*WorkerMessage_MigrateJob) isWorkerMessage_Message() {} // from Server to Worker type ServerMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Message: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Message: // // *ServerMessage_Register // *ServerMessage_Availability // *ServerMessage_Assignment // *ServerMessage_Termination // *ServerMessage_Pong - Message isServerMessage_Message `protobuf_oneof:"message"` + Message isServerMessage_Message `protobuf_oneof:"message"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerMessage) Reset() { *x = ServerMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServerMessage) String() string { @@ -567,7 +570,7 @@ func (*ServerMessage) ProtoMessage() {} func (x *ServerMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -582,44 +585,54 @@ func (*ServerMessage) Descriptor() ([]byte, []int) { return file_livekit_agent_proto_rawDescGZIP(), []int{3} } -func (m *ServerMessage) GetMessage() isServerMessage_Message { - if m != nil { - return m.Message +func (x *ServerMessage) GetMessage() isServerMessage_Message { + if x != nil { + return x.Message } return nil } func (x *ServerMessage) GetRegister() *RegisterWorkerResponse { - if x, ok := x.GetMessage().(*ServerMessage_Register); ok { - return x.Register + if x != nil { + if x, ok := x.Message.(*ServerMessage_Register); ok { + return x.Register + } } return nil } func (x *ServerMessage) GetAvailability() *AvailabilityRequest { - if x, ok := x.GetMessage().(*ServerMessage_Availability); ok { - return x.Availability + if x != nil { + if x, ok := x.Message.(*ServerMessage_Availability); ok { + return x.Availability + } } return nil } func (x *ServerMessage) GetAssignment() *JobAssignment { - if x, ok := x.GetMessage().(*ServerMessage_Assignment); ok { - return x.Assignment + if x != nil { + if x, ok := x.Message.(*ServerMessage_Assignment); ok { + return x.Assignment + } } return nil } func (x *ServerMessage) GetTermination() *JobTermination { - if x, ok := x.GetMessage().(*ServerMessage_Termination); ok { - return x.Termination + if x != nil { + if x, ok := x.Message.(*ServerMessage_Termination); ok { + return x.Termination + } } return nil } func (x *ServerMessage) GetPong() *WorkerPong { - if x, ok := x.GetMessage().(*ServerMessage_Pong); ok { - return x.Pong + if x != nil { + if x, ok := x.Message.(*ServerMessage_Pong); ok { + return x.Pong + } } return nil } @@ -661,22 +674,19 @@ func (*ServerMessage_Termination) isServerMessage_Message() {} func (*ServerMessage_Pong) isServerMessage_Message() {} type SimulateJobRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` + Room *Room `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` + Participant *ParticipantInfo `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` unknownFields protoimpl.UnknownFields - - Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` - Room *Room `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` - Participant *ParticipantInfo `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SimulateJobRequest) Reset() { *x = SimulateJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulateJobRequest) String() string { @@ -687,7 +697,7 @@ func (*SimulateJobRequest) ProtoMessage() {} func (x *SimulateJobRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -724,20 +734,17 @@ func (x *SimulateJobRequest) GetParticipant() *ParticipantInfo { } type WorkerPing struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorkerPing) Reset() { *x = WorkerPing{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorkerPing) String() string { @@ -748,7 +755,7 @@ func (*WorkerPing) ProtoMessage() {} func (x *WorkerPing) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -771,21 +778,18 @@ func (x *WorkerPing) GetTimestamp() int64 { } type WorkerPong struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + LastTimestamp int64 `protobuf:"varint,1,opt,name=last_timestamp,json=lastTimestamp,proto3" json:"last_timestamp,omitempty"` + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - LastTimestamp int64 `protobuf:"varint,1,opt,name=last_timestamp,json=lastTimestamp,proto3" json:"last_timestamp,omitempty"` - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WorkerPong) Reset() { *x = WorkerPong{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorkerPong) String() string { @@ -796,7 +800,7 @@ func (*WorkerPong) ProtoMessage() {} func (x *WorkerPong) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -826,27 +830,24 @@ func (x *WorkerPong) GetTimestamp() int64 { } type RegisterWorkerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` - AgentName string `protobuf:"bytes,8,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` + AgentName string `protobuf:"bytes,8,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` // string worker_id = 2; Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // string name = 4 [deprecated = true]; PingInterval uint32 `protobuf:"varint,5,opt,name=ping_interval,json=pingInterval,proto3" json:"ping_interval,omitempty"` Namespace *string `protobuf:"bytes,6,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` AllowedPermissions *ParticipantPermission `protobuf:"bytes,7,opt,name=allowed_permissions,json=allowedPermissions,proto3" json:"allowed_permissions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RegisterWorkerRequest) Reset() { *x = RegisterWorkerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegisterWorkerRequest) String() string { @@ -857,7 +858,7 @@ func (*RegisterWorkerRequest) ProtoMessage() {} func (x *RegisterWorkerRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -915,21 +916,18 @@ func (x *RegisterWorkerRequest) GetAllowedPermissions() *ParticipantPermission { } type RegisterWorkerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` + ServerInfo *ServerInfo `protobuf:"bytes,3,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"` unknownFields protoimpl.UnknownFields - - WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"` - ServerInfo *ServerInfo `protobuf:"bytes,3,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RegisterWorkerResponse) Reset() { *x = RegisterWorkerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegisterWorkerResponse) String() string { @@ -940,7 +938,7 @@ func (*RegisterWorkerResponse) ProtoMessage() {} func (x *RegisterWorkerResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -970,21 +968,18 @@ func (x *RegisterWorkerResponse) GetServerInfo() *ServerInfo { } type MigrateJobRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // string job_id = 1 [deprecated = true]; - JobIds []string `protobuf:"bytes,2,rep,name=job_ids,json=jobIds,proto3" json:"job_ids,omitempty"` + JobIds []string `protobuf:"bytes,2,rep,name=job_ids,json=jobIds,proto3" json:"job_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MigrateJobRequest) Reset() { *x = MigrateJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MigrateJobRequest) String() string { @@ -995,7 +990,7 @@ func (*MigrateJobRequest) ProtoMessage() {} func (x *MigrateJobRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1018,23 +1013,20 @@ func (x *MigrateJobRequest) GetJobIds() []string { } type AvailabilityRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` // True when the job was previously assigned to another worker but has been // migrated due to different reasons (e.g. worker failure, job migration) - Resuming bool `protobuf:"varint,2,opt,name=resuming,proto3" json:"resuming,omitempty"` + Resuming bool `protobuf:"varint,2,opt,name=resuming,proto3" json:"resuming,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AvailabilityRequest) Reset() { *x = AvailabilityRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AvailabilityRequest) String() string { @@ -1045,7 +1037,7 @@ func (*AvailabilityRequest) ProtoMessage() {} func (x *AvailabilityRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1075,26 +1067,23 @@ func (x *AvailabilityRequest) GetResuming() bool { } type AvailabilityResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - Available bool `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` - SupportsResume bool `protobuf:"varint,3,opt,name=supports_resume,json=supportsResume,proto3" json:"supports_resume,omitempty"` - ParticipantName string `protobuf:"bytes,4,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` - ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - ParticipantMetadata string `protobuf:"bytes,6,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` - ParticipantAttributes map[string]string `protobuf:"bytes,7,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + state protoimpl.MessageState `protogen:"open.v1"` + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + Available bool `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` + SupportsResume bool `protobuf:"varint,3,opt,name=supports_resume,json=supportsResume,proto3" json:"supports_resume,omitempty"` + ParticipantName string `protobuf:"bytes,4,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` + ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + ParticipantMetadata string `protobuf:"bytes,6,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` + ParticipantAttributes map[string]string `protobuf:"bytes,7,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AvailabilityResponse) Reset() { *x = AvailabilityResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AvailabilityResponse) String() string { @@ -1105,7 +1094,7 @@ func (*AvailabilityResponse) ProtoMessage() {} func (x *AvailabilityResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1170,24 +1159,21 @@ func (x *AvailabilityResponse) GetParticipantAttributes() map[string]string { } type UpdateJobStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // The worker can indicate the job end by either specifying SUCCESS or FAILED Status JobStatus `protobuf:"varint,2,opt,name=status,proto3,enum=livekit.JobStatus" json:"status,omitempty"` // metadata shown on the dashboard, useful for debugging - Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateJobStatus) Reset() { *x = UpdateJobStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateJobStatus) String() string { @@ -1198,7 +1184,7 @@ func (*UpdateJobStatus) ProtoMessage() {} func (x *UpdateJobStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1235,23 +1221,20 @@ func (x *UpdateJobStatus) GetError() string { } type UpdateWorkerStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Status *WorkerStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.WorkerStatus,oneof" json:"status,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Status *WorkerStatus `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.WorkerStatus,oneof" json:"status,omitempty"` // optional string metadata = 2 [deprecated=true]; - Load float32 `protobuf:"fixed32,3,opt,name=load,proto3" json:"load,omitempty"` - JobCount uint32 `protobuf:"varint,4,opt,name=job_count,json=jobCount,proto3" json:"job_count,omitempty"` + Load float32 `protobuf:"fixed32,3,opt,name=load,proto3" json:"load,omitempty"` + JobCount uint32 `protobuf:"varint,4,opt,name=job_count,json=jobCount,proto3" json:"job_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateWorkerStatus) Reset() { *x = UpdateWorkerStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateWorkerStatus) String() string { @@ -1262,7 +1245,7 @@ func (*UpdateWorkerStatus) ProtoMessage() {} func (x *UpdateWorkerStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1299,22 +1282,19 @@ func (x *UpdateWorkerStatus) GetJobCount() uint32 { } type JobAssignment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` + Url *string `protobuf:"bytes,2,opt,name=url,proto3,oneof" json:"url,omitempty"` + Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` unknownFields protoimpl.UnknownFields - - Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` - Url *string `protobuf:"bytes,2,opt,name=url,proto3,oneof" json:"url,omitempty"` - Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobAssignment) Reset() { *x = JobAssignment{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobAssignment) String() string { @@ -1325,7 +1305,7 @@ func (*JobAssignment) ProtoMessage() {} func (x *JobAssignment) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1362,20 +1342,17 @@ func (x *JobAssignment) GetToken() string { } type JobTermination struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` unknownFields protoimpl.UnknownFields - - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobTermination) Reset() { *x = JobTermination{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobTermination) String() string { @@ -1386,7 +1363,7 @@ func (*JobTermination) ProtoMessage() {} func (x *JobTermination) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1410,7 +1387,7 @@ func (x *JobTermination) GetJobId() string { var File_livekit_agent_proto protoreflect.FileDescriptor -var file_livekit_agent_proto_rawDesc = []byte{ +var file_livekit_agent_proto_rawDesc = string([]byte{ 0x0a, 0x13, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, @@ -1617,23 +1594,23 @@ var file_livekit_agent_proto_rawDesc = []byte{ 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_agent_proto_rawDescOnce sync.Once - file_livekit_agent_proto_rawDescData = file_livekit_agent_proto_rawDesc + file_livekit_agent_proto_rawDescData []byte ) func file_livekit_agent_proto_rawDescGZIP() []byte { file_livekit_agent_proto_rawDescOnce.Do(func() { - file_livekit_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_agent_proto_rawDescData) + file_livekit_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_agent_proto_rawDesc), len(file_livekit_agent_proto_rawDesc))) }) return file_livekit_agent_proto_rawDescData } var file_livekit_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_livekit_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_livekit_agent_proto_goTypes = []interface{}{ +var file_livekit_agent_proto_goTypes = []any{ (JobType)(0), // 0: livekit.JobType (WorkerStatus)(0), // 1: livekit.WorkerStatus (JobStatus)(0), // 2: livekit.JobStatus @@ -1701,202 +1678,8 @@ func file_livekit_agent_proto_init() { return } file_livekit_models_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Job); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkerMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SimulateJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkerPing); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorkerPong); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegisterWorkerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegisterWorkerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MigrateJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AvailabilityRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AvailabilityResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateJobStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateWorkerStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobAssignment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobTermination); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_agent_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_livekit_agent_proto_msgTypes[2].OneofWrappers = []interface{}{ + file_livekit_agent_proto_msgTypes[0].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[2].OneofWrappers = []any{ (*WorkerMessage_Register)(nil), (*WorkerMessage_Availability)(nil), (*WorkerMessage_UpdateWorker)(nil), @@ -1905,21 +1688,21 @@ func file_livekit_agent_proto_init() { (*WorkerMessage_SimulateJob)(nil), (*WorkerMessage_MigrateJob)(nil), } - file_livekit_agent_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_livekit_agent_proto_msgTypes[3].OneofWrappers = []any{ (*ServerMessage_Register)(nil), (*ServerMessage_Availability)(nil), (*ServerMessage_Assignment)(nil), (*ServerMessage_Termination)(nil), (*ServerMessage_Pong)(nil), } - file_livekit_agent_proto_msgTypes[7].OneofWrappers = []interface{}{} - file_livekit_agent_proto_msgTypes[13].OneofWrappers = []interface{}{} - file_livekit_agent_proto_msgTypes[14].OneofWrappers = []interface{}{} + file_livekit_agent_proto_msgTypes[7].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[13].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[14].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_agent_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_agent_proto_rawDesc), len(file_livekit_agent_proto_rawDesc)), NumEnums: 3, NumMessages: 17, NumExtensions: 0, @@ -1931,7 +1714,6 @@ func file_livekit_agent_proto_init() { MessageInfos: file_livekit_agent_proto_msgTypes, }.Build() File_livekit_agent_proto = out.File - file_livekit_agent_proto_rawDesc = nil file_livekit_agent_proto_goTypes = nil file_livekit_agent_proto_depIdxs = nil } diff --git a/livekit/livekit_agent_dispatch.pb.go b/livekit/livekit_agent_dispatch.pb.go index 8314df751..e0218f944 100644 --- a/livekit/livekit_agent_dispatch.pb.go +++ b/livekit/livekit_agent_dispatch.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_agent_dispatch.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -35,22 +36,19 @@ const ( ) type CreateAgentDispatchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` + Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` unknownFields protoimpl.UnknownFields - - AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` - Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateAgentDispatchRequest) Reset() { *x = CreateAgentDispatchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAgentDispatchRequest) String() string { @@ -61,7 +59,7 @@ func (*CreateAgentDispatchRequest) ProtoMessage() {} func (x *CreateAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -98,21 +96,18 @@ func (x *CreateAgentDispatchRequest) GetMetadata() string { } type RoomAgentDispatch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` unknownFields protoimpl.UnknownFields - - AgentName string `protobuf:"bytes,1,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RoomAgentDispatch) Reset() { *x = RoomAgentDispatch{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomAgentDispatch) String() string { @@ -123,7 +118,7 @@ func (*RoomAgentDispatch) ProtoMessage() {} func (x *RoomAgentDispatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -153,21 +148,18 @@ func (x *RoomAgentDispatch) GetMetadata() string { } type DeleteAgentDispatchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` + Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields - - DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` - Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteAgentDispatchRequest) Reset() { *x = DeleteAgentDispatchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteAgentDispatchRequest) String() string { @@ -178,7 +170,7 @@ func (*DeleteAgentDispatchRequest) ProtoMessage() {} func (x *DeleteAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -208,21 +200,18 @@ func (x *DeleteAgentDispatchRequest) GetRoom() string { } type ListAgentDispatchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` // if set, only the dispatch whose id is given will be returned + Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` // name of the room to list agents for. Must be set. unknownFields protoimpl.UnknownFields - - DispatchId string `protobuf:"bytes,1,opt,name=dispatch_id,json=dispatchId,proto3" json:"dispatch_id,omitempty"` // if set, only the dispatch whose id is given will be returned - Room string `protobuf:"bytes,2,opt,name=room,proto3" json:"room,omitempty"` // name of the room to list agents for. Must be set. + sizeCache protoimpl.SizeCache } func (x *ListAgentDispatchRequest) Reset() { *x = ListAgentDispatchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListAgentDispatchRequest) String() string { @@ -233,7 +222,7 @@ func (*ListAgentDispatchRequest) ProtoMessage() {} func (x *ListAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -263,20 +252,17 @@ func (x *ListAgentDispatchRequest) GetRoom() string { } type ListAgentDispatchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AgentDispatches []*AgentDispatch `protobuf:"bytes,1,rep,name=agent_dispatches,json=agentDispatches,proto3" json:"agent_dispatches,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + AgentDispatches []*AgentDispatch `protobuf:"bytes,1,rep,name=agent_dispatches,json=agentDispatches,proto3" json:"agent_dispatches,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAgentDispatchResponse) Reset() { *x = ListAgentDispatchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListAgentDispatchResponse) String() string { @@ -287,7 +273,7 @@ func (*ListAgentDispatchResponse) ProtoMessage() {} func (x *ListAgentDispatchResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -310,24 +296,21 @@ func (x *ListAgentDispatchResponse) GetAgentDispatches() []*AgentDispatch { } type AgentDispatch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + Room string `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` + Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` + State *AgentDispatchState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` - Room string `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` - Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` - State *AgentDispatchState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AgentDispatch) Reset() { *x = AgentDispatch{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AgentDispatch) String() string { @@ -338,7 +321,7 @@ func (*AgentDispatch) ProtoMessage() {} func (x *AgentDispatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -389,24 +372,21 @@ func (x *AgentDispatch) GetState() *AgentDispatchState { } type AgentDispatchState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // For dispatches of tyoe JT_ROOM, there will be at most 1 job. // For dispatches of type JT_PUBLISHER, there will be 1 per publisher. - Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` - CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - DeletedAt int64 `protobuf:"varint,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` + Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` + CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + DeletedAt int64 `protobuf:"varint,3,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AgentDispatchState) Reset() { *x = AgentDispatchState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AgentDispatchState) String() string { @@ -417,7 +397,7 @@ func (*AgentDispatchState) ProtoMessage() {} func (x *AgentDispatchState) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -455,7 +435,7 @@ func (x *AgentDispatchState) GetDeletedAt() int64 { var File_livekit_agent_dispatch_proto protoreflect.FileDescriptor -var file_livekit_agent_dispatch_proto_rawDesc = []byte{ +var file_livekit_agent_dispatch_proto_rawDesc = string([]byte{ 0x0a, 0x1c, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x13, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, @@ -528,22 +508,22 @@ var file_livekit_agent_dispatch_proto_rawDesc = []byte{ 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_agent_dispatch_proto_rawDescOnce sync.Once - file_livekit_agent_dispatch_proto_rawDescData = file_livekit_agent_dispatch_proto_rawDesc + file_livekit_agent_dispatch_proto_rawDescData []byte ) func file_livekit_agent_dispatch_proto_rawDescGZIP() []byte { file_livekit_agent_dispatch_proto_rawDescOnce.Do(func() { - file_livekit_agent_dispatch_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_agent_dispatch_proto_rawDescData) + file_livekit_agent_dispatch_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_agent_dispatch_proto_rawDesc), len(file_livekit_agent_dispatch_proto_rawDesc))) }) return file_livekit_agent_dispatch_proto_rawDescData } var file_livekit_agent_dispatch_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_livekit_agent_dispatch_proto_goTypes = []interface{}{ +var file_livekit_agent_dispatch_proto_goTypes = []any{ (*CreateAgentDispatchRequest)(nil), // 0: livekit.CreateAgentDispatchRequest (*RoomAgentDispatch)(nil), // 1: livekit.RoomAgentDispatch (*DeleteAgentDispatchRequest)(nil), // 2: livekit.DeleteAgentDispatchRequest @@ -576,97 +556,11 @@ func file_livekit_agent_dispatch_proto_init() { return } file_livekit_agent_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_agent_dispatch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateAgentDispatchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_dispatch_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomAgentDispatch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_dispatch_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteAgentDispatchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_dispatch_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAgentDispatchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_dispatch_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAgentDispatchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_dispatch_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AgentDispatch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_agent_dispatch_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AgentDispatchState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_agent_dispatch_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_agent_dispatch_proto_rawDesc), len(file_livekit_agent_dispatch_proto_rawDesc)), NumEnums: 0, NumMessages: 7, NumExtensions: 0, @@ -677,7 +571,6 @@ func file_livekit_agent_dispatch_proto_init() { MessageInfos: file_livekit_agent_dispatch_proto_msgTypes, }.Build() File_livekit_agent_dispatch_proto = out.File - file_livekit_agent_dispatch_proto_rawDesc = nil file_livekit_agent_dispatch_proto_goTypes = nil file_livekit_agent_dispatch_proto_depIdxs = nil } diff --git a/livekit/livekit_analytics.pb.go b/livekit/livekit_analytics.pb.go index 6a56aafb1..ad196bb60 100644 --- a/livekit/livekit_analytics.pb.go +++ b/livekit/livekit_analytics.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_analytics.proto package livekit @@ -26,6 +26,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -288,23 +289,20 @@ func (FeatureUsageInfo_Feature) EnumDescriptor() ([]byte, []int) { } type AnalyticsVideoLayer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Layer int32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` + Packets uint32 `protobuf:"varint,2,opt,name=packets,proto3" json:"packets,omitempty"` + Bytes uint64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"` + Frames uint32 `protobuf:"varint,4,opt,name=frames,proto3" json:"frames,omitempty"` unknownFields protoimpl.UnknownFields - - Layer int32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` - Packets uint32 `protobuf:"varint,2,opt,name=packets,proto3" json:"packets,omitempty"` - Bytes uint64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"` - Frames uint32 `protobuf:"varint,4,opt,name=frames,proto3" json:"frames,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AnalyticsVideoLayer) Reset() { *x = AnalyticsVideoLayer{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsVideoLayer) String() string { @@ -315,7 +313,7 @@ func (*AnalyticsVideoLayer) ProtoMessage() {} func (x *AnalyticsVideoLayer) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -359,10 +357,7 @@ func (x *AnalyticsVideoLayer) GetFrames() uint32 { } type AnalyticsStream struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Ssrc uint32 `protobuf:"varint,1,opt,name=ssrc,proto3" json:"ssrc,omitempty"` PrimaryPackets uint32 `protobuf:"varint,2,opt,name=primary_packets,json=primaryPackets,proto3" json:"primary_packets,omitempty"` PrimaryBytes uint64 `protobuf:"varint,3,opt,name=primary_bytes,json=primaryBytes,proto3" json:"primary_bytes,omitempty"` @@ -381,15 +376,15 @@ type AnalyticsStream struct { StartTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` PacketsOutOfOrder uint32 `protobuf:"varint,19,opt,name=packets_out_of_order,json=packetsOutOfOrder,proto3" json:"packets_out_of_order,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AnalyticsStream) Reset() { *x = AnalyticsStream{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsStream) String() string { @@ -400,7 +395,7 @@ func (*AnalyticsStream) ProtoMessage() {} func (x *AnalyticsStream) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -542,10 +537,7 @@ func (x *AnalyticsStream) GetPacketsOutOfOrder() uint32 { } type AnalyticsStat struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // unique id for this stat Id string `protobuf:"bytes,14,opt,name=id,proto3" json:"id,omitempty"` AnalyticsKey string `protobuf:"bytes,1,opt,name=analytics_key,json=analyticsKey,proto3" json:"analytics_key,omitempty"` @@ -561,15 +553,15 @@ type AnalyticsStat struct { Mime string `protobuf:"bytes,11,opt,name=mime,proto3" json:"mime,omitempty"` MinScore float32 `protobuf:"fixed32,12,opt,name=min_score,json=minScore,proto3" json:"min_score,omitempty"` MedianScore float32 `protobuf:"fixed32,13,opt,name=median_score,json=medianScore,proto3" json:"median_score,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AnalyticsStat) Reset() { *x = AnalyticsStat{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsStat) String() string { @@ -580,7 +572,7 @@ func (*AnalyticsStat) ProtoMessage() {} func (x *AnalyticsStat) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -694,20 +686,17 @@ func (x *AnalyticsStat) GetMedianScore() float32 { } type AnalyticsStats struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Stats []*AnalyticsStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` unknownFields protoimpl.UnknownFields - - Stats []*AnalyticsStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AnalyticsStats) Reset() { *x = AnalyticsStats{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsStats) String() string { @@ -718,7 +707,7 @@ func (*AnalyticsStats) ProtoMessage() {} func (x *AnalyticsStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -741,29 +730,26 @@ func (x *AnalyticsStats) GetStats() []*AnalyticsStat { } type AnalyticsClientMeta struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` - Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` - ClientAddr string `protobuf:"bytes,3,opt,name=client_addr,json=clientAddr,proto3" json:"client_addr,omitempty"` - ClientConnectTime uint32 `protobuf:"varint,4,opt,name=client_connect_time,json=clientConnectTime,proto3" json:"client_connect_time,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` + Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` + ClientAddr string `protobuf:"bytes,3,opt,name=client_addr,json=clientAddr,proto3" json:"client_addr,omitempty"` + ClientConnectTime uint32 `protobuf:"varint,4,opt,name=client_connect_time,json=clientConnectTime,proto3" json:"client_connect_time,omitempty"` // udp, tcp, turn ConnectionType string `protobuf:"bytes,5,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"` ReconnectReason ReconnectReason `protobuf:"varint,6,opt,name=reconnect_reason,json=reconnectReason,proto3,enum=livekit.ReconnectReason" json:"reconnect_reason,omitempty"` GeoHash *string `protobuf:"bytes,7,opt,name=geo_hash,json=geoHash,proto3,oneof" json:"geo_hash,omitempty"` Country *string `protobuf:"bytes,8,opt,name=country,proto3,oneof" json:"country,omitempty"` IspAsn *uint32 `protobuf:"varint,9,opt,name=isp_asn,json=ispAsn,proto3,oneof" json:"isp_asn,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AnalyticsClientMeta) Reset() { *x = AnalyticsClientMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsClientMeta) String() string { @@ -774,7 +760,7 @@ func (*AnalyticsClientMeta) ProtoMessage() {} func (x *AnalyticsClientMeta) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -853,10 +839,7 @@ func (x *AnalyticsClientMeta) GetIspAsn() uint32 { } type AnalyticsEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // unique id for this event Id string `protobuf:"bytes,25,opt,name=id,proto3" json:"id,omitempty"` Type AnalyticsEventType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.AnalyticsEventType" json:"type,omitempty"` @@ -890,15 +873,15 @@ type AnalyticsEvent struct { SipDispatchRule *SIPDispatchRuleInfo `protobuf:"bytes,32,opt,name=sip_dispatch_rule,json=sipDispatchRule,proto3" json:"sip_dispatch_rule,omitempty"` Report *ReportInfo `protobuf:"bytes,33,opt,name=report,proto3" json:"report,omitempty"` ApiCall *APICallInfo `protobuf:"bytes,34,opt,name=api_call,json=apiCall,proto3" json:"api_call,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AnalyticsEvent) Reset() { *x = AnalyticsEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsEvent) String() string { @@ -909,7 +892,7 @@ func (*AnalyticsEvent) ProtoMessage() {} func (x *AnalyticsEvent) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1149,20 +1132,17 @@ func (x *AnalyticsEvent) GetApiCall() *APICallInfo { } type AnalyticsEvents struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Events []*AnalyticsEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` unknownFields protoimpl.UnknownFields - - Events []*AnalyticsEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AnalyticsEvents) Reset() { *x = AnalyticsEvents{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsEvents) String() string { @@ -1173,7 +1153,7 @@ func (*AnalyticsEvents) ProtoMessage() {} func (x *AnalyticsEvents) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1196,24 +1176,21 @@ func (x *AnalyticsEvents) GetEvents() []*AnalyticsEvent { } type AnalyticsRoomParticipant struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + State ParticipantInfo_State `protobuf:"varint,4,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` + JoinedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - State ParticipantInfo_State `protobuf:"varint,4,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` - JoinedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AnalyticsRoomParticipant) Reset() { *x = AnalyticsRoomParticipant{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsRoomParticipant) String() string { @@ -1224,7 +1201,7 @@ func (*AnalyticsRoomParticipant) ProtoMessage() {} func (x *AnalyticsRoomParticipant) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1275,24 +1252,21 @@ func (x *AnalyticsRoomParticipant) GetJoinedAt() *timestamppb.Timestamp { } type AnalyticsRoom struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + Participants []*AnalyticsRoomParticipant `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - Participants []*AnalyticsRoomParticipant `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AnalyticsRoom) Reset() { *x = AnalyticsRoom{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsRoom) String() string { @@ -1303,7 +1277,7 @@ func (*AnalyticsRoom) ProtoMessage() {} func (x *AnalyticsRoom) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1354,23 +1328,20 @@ func (x *AnalyticsRoom) GetParticipants() []*AnalyticsRoomParticipant { } type AnalyticsNodeRooms struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` SequenceNumber uint64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Rooms []*AnalyticsRoom `protobuf:"bytes,4,rep,name=rooms,proto3" json:"rooms,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AnalyticsNodeRooms) Reset() { *x = AnalyticsNodeRooms{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsNodeRooms) String() string { @@ -1381,7 +1352,7 @@ func (*AnalyticsNodeRooms) ProtoMessage() {} func (x *AnalyticsNodeRooms) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1425,23 +1396,20 @@ func (x *AnalyticsNodeRooms) GetRooms() []*AnalyticsRoom { } type ReportInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Message: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Message: // // *ReportInfo_FeatureUsage - Message isReportInfo_Message `protobuf_oneof:"message"` + Message isReportInfo_Message `protobuf_oneof:"message"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReportInfo) Reset() { *x = ReportInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReportInfo) String() string { @@ -1452,7 +1420,7 @@ func (*ReportInfo) ProtoMessage() {} func (x *ReportInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1467,16 +1435,18 @@ func (*ReportInfo) Descriptor() ([]byte, []int) { return file_livekit_analytics_proto_rawDescGZIP(), []int{10} } -func (m *ReportInfo) GetMessage() isReportInfo_Message { - if m != nil { - return m.Message +func (x *ReportInfo) GetMessage() isReportInfo_Message { + if x != nil { + return x.Message } return nil } func (x *ReportInfo) GetFeatureUsage() *FeatureUsageInfo { - if x, ok := x.GetMessage().(*ReportInfo_FeatureUsage); ok { - return x.FeatureUsage + if x != nil { + if x, ok := x.Message.(*ReportInfo_FeatureUsage); ok { + return x.FeatureUsage + } } return nil } @@ -1492,21 +1462,18 @@ type ReportInfo_FeatureUsage struct { func (*ReportInfo_FeatureUsage) isReportInfo_Message() {} type TimeRange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StartedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` unknownFields protoimpl.UnknownFields - - StartedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TimeRange) Reset() { *x = TimeRange{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimeRange) String() string { @@ -1517,7 +1484,7 @@ func (*TimeRange) ProtoMessage() {} func (x *TimeRange) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1547,10 +1514,7 @@ func (x *TimeRange) GetEndedAt() *timestamppb.Timestamp { } type FeatureUsageInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Feature FeatureUsageInfo_Feature `protobuf:"varint,1,opt,name=feature,proto3,enum=livekit.FeatureUsageInfo_Feature" json:"feature,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` @@ -1561,16 +1525,16 @@ type FeatureUsageInfo struct { // time ranges during which the feature was enabled. // for e. g., noise cancellation may not be applied when a media track is paused/muted, // this allows reporting only periods during which a feature is avtive. - TimeRanges []*TimeRange `protobuf:"bytes,8,rep,name=time_ranges,json=timeRanges,proto3" json:"time_ranges,omitempty"` + TimeRanges []*TimeRange `protobuf:"bytes,8,rep,name=time_ranges,json=timeRanges,proto3" json:"time_ranges,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FeatureUsageInfo) Reset() { *x = FeatureUsageInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FeatureUsageInfo) String() string { @@ -1581,7 +1545,7 @@ func (*FeatureUsageInfo) ProtoMessage() {} func (x *FeatureUsageInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1653,11 +1617,8 @@ func (x *FeatureUsageInfo) GetTimeRanges() []*TimeRange { } type APICallRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Message: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Message: // // *APICallRequest_CreateRoomRequest // *APICallRequest_ListRoomsRequest @@ -1669,16 +1630,16 @@ type APICallRequest struct { // *APICallRequest_UpdateSubscriptionsRequest // *APICallRequest_SendDataRequest // *APICallRequest_UpdateRoomMetadataRequest - Message isAPICallRequest_Message `protobuf_oneof:"message"` + Message isAPICallRequest_Message `protobuf_oneof:"message"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *APICallRequest) Reset() { *x = APICallRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *APICallRequest) String() string { @@ -1689,7 +1650,7 @@ func (*APICallRequest) ProtoMessage() {} func (x *APICallRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1704,79 +1665,99 @@ func (*APICallRequest) Descriptor() ([]byte, []int) { return file_livekit_analytics_proto_rawDescGZIP(), []int{13} } -func (m *APICallRequest) GetMessage() isAPICallRequest_Message { - if m != nil { - return m.Message +func (x *APICallRequest) GetMessage() isAPICallRequest_Message { + if x != nil { + return x.Message } return nil } func (x *APICallRequest) GetCreateRoomRequest() *CreateRoomRequest { - if x, ok := x.GetMessage().(*APICallRequest_CreateRoomRequest); ok { - return x.CreateRoomRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_CreateRoomRequest); ok { + return x.CreateRoomRequest + } } return nil } func (x *APICallRequest) GetListRoomsRequest() *ListRoomsRequest { - if x, ok := x.GetMessage().(*APICallRequest_ListRoomsRequest); ok { - return x.ListRoomsRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_ListRoomsRequest); ok { + return x.ListRoomsRequest + } } return nil } func (x *APICallRequest) GetDeleteRoomRequest() *DeleteRoomRequest { - if x, ok := x.GetMessage().(*APICallRequest_DeleteRoomRequest); ok { - return x.DeleteRoomRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_DeleteRoomRequest); ok { + return x.DeleteRoomRequest + } } return nil } func (x *APICallRequest) GetListParticipantsRequest() *ListParticipantsRequest { - if x, ok := x.GetMessage().(*APICallRequest_ListParticipantsRequest); ok { - return x.ListParticipantsRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_ListParticipantsRequest); ok { + return x.ListParticipantsRequest + } } return nil } func (x *APICallRequest) GetRoomParticipantIdentity() *RoomParticipantIdentity { - if x, ok := x.GetMessage().(*APICallRequest_RoomParticipantIdentity); ok { - return x.RoomParticipantIdentity + if x != nil { + if x, ok := x.Message.(*APICallRequest_RoomParticipantIdentity); ok { + return x.RoomParticipantIdentity + } } return nil } func (x *APICallRequest) GetMuteRoomTrackRequest() *MuteRoomTrackRequest { - if x, ok := x.GetMessage().(*APICallRequest_MuteRoomTrackRequest); ok { - return x.MuteRoomTrackRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_MuteRoomTrackRequest); ok { + return x.MuteRoomTrackRequest + } } return nil } func (x *APICallRequest) GetUpdateParticipantRequest() *UpdateParticipantRequest { - if x, ok := x.GetMessage().(*APICallRequest_UpdateParticipantRequest); ok { - return x.UpdateParticipantRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_UpdateParticipantRequest); ok { + return x.UpdateParticipantRequest + } } return nil } func (x *APICallRequest) GetUpdateSubscriptionsRequest() *UpdateSubscriptionsRequest { - if x, ok := x.GetMessage().(*APICallRequest_UpdateSubscriptionsRequest); ok { - return x.UpdateSubscriptionsRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_UpdateSubscriptionsRequest); ok { + return x.UpdateSubscriptionsRequest + } } return nil } func (x *APICallRequest) GetSendDataRequest() *SendDataRequest { - if x, ok := x.GetMessage().(*APICallRequest_SendDataRequest); ok { - return x.SendDataRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_SendDataRequest); ok { + return x.SendDataRequest + } } return nil } func (x *APICallRequest) GetUpdateRoomMetadataRequest() *UpdateRoomMetadataRequest { - if x, ok := x.GetMessage().(*APICallRequest_UpdateRoomMetadataRequest); ok { - return x.UpdateRoomMetadataRequest + if x != nil { + if x, ok := x.Message.(*APICallRequest_UpdateRoomMetadataRequest); ok { + return x.UpdateRoomMetadataRequest + } } return nil } @@ -1846,10 +1827,7 @@ func (*APICallRequest_SendDataRequest) isAPICallRequest_Message() {} func (*APICallRequest_UpdateRoomMetadataRequest) isAPICallRequest_Message() {} type APICallInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Request *APICallRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` @@ -1865,15 +1843,15 @@ type APICallInfo struct { TrackId string `protobuf:"bytes,13,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` StartedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` DurationNs int64 `protobuf:"varint,15,opt,name=duration_ns,json=durationNs,proto3" json:"duration_ns,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *APICallInfo) Reset() { *x = APICallInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *APICallInfo) String() string { @@ -1884,7 +1862,7 @@ func (*APICallInfo) ProtoMessage() {} func (x *APICallInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2006,7 +1984,7 @@ func (x *APICallInfo) GetDurationNs() int64 { var File_livekit_analytics_proto protoreflect.FileDescriptor -var file_livekit_analytics_proto_rawDesc = []byte{ +var file_livekit_analytics_proto_rawDesc = string([]byte{ 0x0a, 0x17, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -2459,23 +2437,23 @@ var file_livekit_analytics_proto_rawDesc = []byte{ 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_analytics_proto_rawDescOnce sync.Once - file_livekit_analytics_proto_rawDescData = file_livekit_analytics_proto_rawDesc + file_livekit_analytics_proto_rawDescData []byte ) func file_livekit_analytics_proto_rawDescGZIP() []byte { file_livekit_analytics_proto_rawDescOnce.Do(func() { - file_livekit_analytics_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_analytics_proto_rawDescData) + file_livekit_analytics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_analytics_proto_rawDesc), len(file_livekit_analytics_proto_rawDesc))) }) return file_livekit_analytics_proto_rawDescData } var file_livekit_analytics_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_livekit_analytics_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_livekit_analytics_proto_goTypes = []interface{}{ +var file_livekit_analytics_proto_goTypes = []any{ (StreamType)(0), // 0: livekit.StreamType (AnalyticsEventType)(0), // 1: livekit.AnalyticsEventType (FeatureUsageInfo_Feature)(0), // 2: livekit.FeatureUsageInfo.Feature @@ -2588,193 +2566,11 @@ func file_livekit_analytics_proto_init() { file_livekit_ingress_proto_init() file_livekit_sip_proto_init() file_livekit_room_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_analytics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsVideoLayer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsStream); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsStat); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsStats); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsClientMeta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsEvents); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsRoomParticipant); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsRoom); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnalyticsNodeRooms); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeRange); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FeatureUsageInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*APICallRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_analytics_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*APICallInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_analytics_proto_msgTypes[4].OneofWrappers = []interface{}{} - file_livekit_analytics_proto_msgTypes[10].OneofWrappers = []interface{}{ + file_livekit_analytics_proto_msgTypes[4].OneofWrappers = []any{} + file_livekit_analytics_proto_msgTypes[10].OneofWrappers = []any{ (*ReportInfo_FeatureUsage)(nil), } - file_livekit_analytics_proto_msgTypes[13].OneofWrappers = []interface{}{ + file_livekit_analytics_proto_msgTypes[13].OneofWrappers = []any{ (*APICallRequest_CreateRoomRequest)(nil), (*APICallRequest_ListRoomsRequest)(nil), (*APICallRequest_DeleteRoomRequest)(nil), @@ -2790,7 +2586,7 @@ func file_livekit_analytics_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_analytics_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_analytics_proto_rawDesc), len(file_livekit_analytics_proto_rawDesc)), NumEnums: 3, NumMessages: 15, NumExtensions: 0, @@ -2802,7 +2598,6 @@ func file_livekit_analytics_proto_init() { MessageInfos: file_livekit_analytics_proto_msgTypes, }.Build() File_livekit_analytics_proto = out.File - file_livekit_analytics_proto_rawDesc = nil file_livekit_analytics_proto_goTypes = nil file_livekit_analytics_proto_depIdxs = nil } diff --git a/livekit/livekit_egress.pb.go b/livekit/livekit_egress.pb.go index 6030aec69..650e54d72 100644 --- a/livekit/livekit_egress.pb.go +++ b/livekit/livekit_egress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_egress.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -541,23 +542,20 @@ func (StreamInfo_Status) EnumDescriptor() ([]byte, []int) { // composite using a web browser type RoomCompositeEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` // (optional) - AudioOnly bool `protobuf:"varint,3,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` // (default false) - AudioMixing AudioMixing `protobuf:"varint,15,opt,name=audio_mixing,json=audioMixing,proto3,enum=livekit.AudioMixing" json:"audio_mixing,omitempty"` // only applies to audio_only egress (default DEFAULT_MIXING) - VideoOnly bool `protobuf:"varint,4,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` // (default false) - CustomBaseUrl string `protobuf:"bytes,5,opt,name=custom_base_url,json=customBaseUrl,proto3" json:"custom_base_url,omitempty"` // template base url (default https://recorder.livekit.io) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` // (optional) + AudioOnly bool `protobuf:"varint,3,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` // (default false) + AudioMixing AudioMixing `protobuf:"varint,15,opt,name=audio_mixing,json=audioMixing,proto3,enum=livekit.AudioMixing" json:"audio_mixing,omitempty"` // only applies to audio_only egress (default DEFAULT_MIXING) + VideoOnly bool `protobuf:"varint,4,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` // (default false) + CustomBaseUrl string `protobuf:"bytes,5,opt,name=custom_base_url,json=customBaseUrl,proto3" json:"custom_base_url,omitempty"` // template base url (default https://recorder.livekit.io) + // Types that are valid to be assigned to Output: // // *RoomCompositeEgressRequest_File // *RoomCompositeEgressRequest_Stream // *RoomCompositeEgressRequest_Segments Output isRoomCompositeEgressRequest_Output `protobuf_oneof:"output"` - // Types that are assignable to Options: + // Types that are valid to be assigned to Options: // // *RoomCompositeEgressRequest_Preset // *RoomCompositeEgressRequest_Advanced @@ -566,15 +564,15 @@ type RoomCompositeEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,12,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,13,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,14,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RoomCompositeEgressRequest) Reset() { *x = RoomCompositeEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomCompositeEgressRequest) String() string { @@ -585,7 +583,7 @@ func (*RoomCompositeEgressRequest) ProtoMessage() {} func (x *RoomCompositeEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -642,54 +640,64 @@ func (x *RoomCompositeEgressRequest) GetCustomBaseUrl() string { return "" } -func (m *RoomCompositeEgressRequest) GetOutput() isRoomCompositeEgressRequest_Output { - if m != nil { - return m.Output +func (x *RoomCompositeEgressRequest) GetOutput() isRoomCompositeEgressRequest_Output { + if x != nil { + return x.Output } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *RoomCompositeEgressRequest) GetFile() *EncodedFileOutput { - if x, ok := x.GetOutput().(*RoomCompositeEgressRequest_File); ok { - return x.File + if x != nil { + if x, ok := x.Output.(*RoomCompositeEgressRequest_File); ok { + return x.File + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *RoomCompositeEgressRequest) GetStream() *StreamOutput { - if x, ok := x.GetOutput().(*RoomCompositeEgressRequest_Stream); ok { - return x.Stream + if x != nil { + if x, ok := x.Output.(*RoomCompositeEgressRequest_Stream); ok { + return x.Stream + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *RoomCompositeEgressRequest) GetSegments() *SegmentedFileOutput { - if x, ok := x.GetOutput().(*RoomCompositeEgressRequest_Segments); ok { - return x.Segments + if x != nil { + if x, ok := x.Output.(*RoomCompositeEgressRequest_Segments); ok { + return x.Segments + } } return nil } -func (m *RoomCompositeEgressRequest) GetOptions() isRoomCompositeEgressRequest_Options { - if m != nil { - return m.Options +func (x *RoomCompositeEgressRequest) GetOptions() isRoomCompositeEgressRequest_Options { + if x != nil { + return x.Options } return nil } func (x *RoomCompositeEgressRequest) GetPreset() EncodingOptionsPreset { - if x, ok := x.GetOptions().(*RoomCompositeEgressRequest_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.Options.(*RoomCompositeEgressRequest_Preset); ok { + return x.Preset + } } return EncodingOptionsPreset_H264_720P_30 } func (x *RoomCompositeEgressRequest) GetAdvanced() *EncodingOptions { - if x, ok := x.GetOptions().(*RoomCompositeEgressRequest_Advanced); ok { - return x.Advanced + if x != nil { + if x, ok := x.Options.(*RoomCompositeEgressRequest_Advanced); ok { + return x.Advanced + } } return nil } @@ -765,21 +773,18 @@ func (*RoomCompositeEgressRequest_Advanced) isRoomCompositeEgressRequest_Options // record any website type WebEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - AudioOnly bool `protobuf:"varint,2,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` - VideoOnly bool `protobuf:"varint,3,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` - AwaitStartSignal bool `protobuf:"varint,12,opt,name=await_start_signal,json=awaitStartSignal,proto3" json:"await_start_signal,omitempty"` - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + AudioOnly bool `protobuf:"varint,2,opt,name=audio_only,json=audioOnly,proto3" json:"audio_only,omitempty"` + VideoOnly bool `protobuf:"varint,3,opt,name=video_only,json=videoOnly,proto3" json:"video_only,omitempty"` + AwaitStartSignal bool `protobuf:"varint,12,opt,name=await_start_signal,json=awaitStartSignal,proto3" json:"await_start_signal,omitempty"` + // Types that are valid to be assigned to Output: // // *WebEgressRequest_File // *WebEgressRequest_Stream // *WebEgressRequest_Segments Output isWebEgressRequest_Output `protobuf_oneof:"output"` - // Types that are assignable to Options: + // Types that are valid to be assigned to Options: // // *WebEgressRequest_Preset // *WebEgressRequest_Advanced @@ -788,15 +793,15 @@ type WebEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,10,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,11,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,13,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WebEgressRequest) Reset() { *x = WebEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WebEgressRequest) String() string { @@ -807,7 +812,7 @@ func (*WebEgressRequest) ProtoMessage() {} func (x *WebEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -850,54 +855,64 @@ func (x *WebEgressRequest) GetAwaitStartSignal() bool { return false } -func (m *WebEgressRequest) GetOutput() isWebEgressRequest_Output { - if m != nil { - return m.Output +func (x *WebEgressRequest) GetOutput() isWebEgressRequest_Output { + if x != nil { + return x.Output } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *WebEgressRequest) GetFile() *EncodedFileOutput { - if x, ok := x.GetOutput().(*WebEgressRequest_File); ok { - return x.File + if x != nil { + if x, ok := x.Output.(*WebEgressRequest_File); ok { + return x.File + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *WebEgressRequest) GetStream() *StreamOutput { - if x, ok := x.GetOutput().(*WebEgressRequest_Stream); ok { - return x.Stream + if x != nil { + if x, ok := x.Output.(*WebEgressRequest_Stream); ok { + return x.Stream + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *WebEgressRequest) GetSegments() *SegmentedFileOutput { - if x, ok := x.GetOutput().(*WebEgressRequest_Segments); ok { - return x.Segments + if x != nil { + if x, ok := x.Output.(*WebEgressRequest_Segments); ok { + return x.Segments + } } return nil } -func (m *WebEgressRequest) GetOptions() isWebEgressRequest_Options { - if m != nil { - return m.Options +func (x *WebEgressRequest) GetOptions() isWebEgressRequest_Options { + if x != nil { + return x.Options } return nil } func (x *WebEgressRequest) GetPreset() EncodingOptionsPreset { - if x, ok := x.GetOptions().(*WebEgressRequest_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.Options.(*WebEgressRequest_Preset); ok { + return x.Preset + } } return EncodingOptionsPreset_H264_720P_30 } func (x *WebEgressRequest) GetAdvanced() *EncodingOptions { - if x, ok := x.GetOptions().(*WebEgressRequest_Advanced); ok { - return x.Advanced + if x != nil { + if x, ok := x.Options.(*WebEgressRequest_Advanced); ok { + return x.Advanced + } } return nil } @@ -973,14 +988,11 @@ func (*WebEgressRequest_Advanced) isWebEgressRequest_Options() {} // record audio and video from a single participant type ParticipantEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // required - ScreenShare bool `protobuf:"varint,3,opt,name=screen_share,json=screenShare,proto3" json:"screen_share,omitempty"` // (default false) - // Types that are assignable to Options: + state protoimpl.MessageState `protogen:"open.v1"` + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // required + ScreenShare bool `protobuf:"varint,3,opt,name=screen_share,json=screenShare,proto3" json:"screen_share,omitempty"` // (default false) + // Types that are valid to be assigned to Options: // // *ParticipantEgressRequest_Preset // *ParticipantEgressRequest_Advanced @@ -989,15 +1001,15 @@ type ParticipantEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,7,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,8,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,9,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ParticipantEgressRequest) Reset() { *x = ParticipantEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantEgressRequest) String() string { @@ -1008,7 +1020,7 @@ func (*ParticipantEgressRequest) ProtoMessage() {} func (x *ParticipantEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1044,23 +1056,27 @@ func (x *ParticipantEgressRequest) GetScreenShare() bool { return false } -func (m *ParticipantEgressRequest) GetOptions() isParticipantEgressRequest_Options { - if m != nil { - return m.Options +func (x *ParticipantEgressRequest) GetOptions() isParticipantEgressRequest_Options { + if x != nil { + return x.Options } return nil } func (x *ParticipantEgressRequest) GetPreset() EncodingOptionsPreset { - if x, ok := x.GetOptions().(*ParticipantEgressRequest_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.Options.(*ParticipantEgressRequest_Preset); ok { + return x.Preset + } } return EncodingOptionsPreset_H264_720P_30 } func (x *ParticipantEgressRequest) GetAdvanced() *EncodingOptions { - if x, ok := x.GetOptions().(*ParticipantEgressRequest_Advanced); ok { - return x.Advanced + if x != nil { + if x, ok := x.Options.(*ParticipantEgressRequest_Advanced); ok { + return x.Advanced + } } return nil } @@ -1111,20 +1127,17 @@ func (*ParticipantEgressRequest_Advanced) isParticipantEgressRequest_Options() { // containerize up to one audio and one video track type TrackCompositeEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - AudioTrackId string `protobuf:"bytes,2,opt,name=audio_track_id,json=audioTrackId,proto3" json:"audio_track_id,omitempty"` // (optional) - VideoTrackId string `protobuf:"bytes,3,opt,name=video_track_id,json=videoTrackId,proto3" json:"video_track_id,omitempty"` // (optional) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + AudioTrackId string `protobuf:"bytes,2,opt,name=audio_track_id,json=audioTrackId,proto3" json:"audio_track_id,omitempty"` // (optional) + VideoTrackId string `protobuf:"bytes,3,opt,name=video_track_id,json=videoTrackId,proto3" json:"video_track_id,omitempty"` // (optional) + // Types that are valid to be assigned to Output: // // *TrackCompositeEgressRequest_File // *TrackCompositeEgressRequest_Stream // *TrackCompositeEgressRequest_Segments Output isTrackCompositeEgressRequest_Output `protobuf_oneof:"output"` - // Types that are assignable to Options: + // Types that are valid to be assigned to Options: // // *TrackCompositeEgressRequest_Preset // *TrackCompositeEgressRequest_Advanced @@ -1133,15 +1146,15 @@ type TrackCompositeEgressRequest struct { StreamOutputs []*StreamOutput `protobuf:"bytes,12,rep,name=stream_outputs,json=streamOutputs,proto3" json:"stream_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,13,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` ImageOutputs []*ImageOutput `protobuf:"bytes,14,rep,name=image_outputs,json=imageOutputs,proto3" json:"image_outputs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TrackCompositeEgressRequest) Reset() { *x = TrackCompositeEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackCompositeEgressRequest) String() string { @@ -1152,7 +1165,7 @@ func (*TrackCompositeEgressRequest) ProtoMessage() {} func (x *TrackCompositeEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1188,54 +1201,64 @@ func (x *TrackCompositeEgressRequest) GetVideoTrackId() string { return "" } -func (m *TrackCompositeEgressRequest) GetOutput() isTrackCompositeEgressRequest_Output { - if m != nil { - return m.Output +func (x *TrackCompositeEgressRequest) GetOutput() isTrackCompositeEgressRequest_Output { + if x != nil { + return x.Output } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *TrackCompositeEgressRequest) GetFile() *EncodedFileOutput { - if x, ok := x.GetOutput().(*TrackCompositeEgressRequest_File); ok { - return x.File + if x != nil { + if x, ok := x.Output.(*TrackCompositeEgressRequest_File); ok { + return x.File + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *TrackCompositeEgressRequest) GetStream() *StreamOutput { - if x, ok := x.GetOutput().(*TrackCompositeEgressRequest_Stream); ok { - return x.Stream + if x != nil { + if x, ok := x.Output.(*TrackCompositeEgressRequest_Stream); ok { + return x.Stream + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *TrackCompositeEgressRequest) GetSegments() *SegmentedFileOutput { - if x, ok := x.GetOutput().(*TrackCompositeEgressRequest_Segments); ok { - return x.Segments + if x != nil { + if x, ok := x.Output.(*TrackCompositeEgressRequest_Segments); ok { + return x.Segments + } } return nil } -func (m *TrackCompositeEgressRequest) GetOptions() isTrackCompositeEgressRequest_Options { - if m != nil { - return m.Options +func (x *TrackCompositeEgressRequest) GetOptions() isTrackCompositeEgressRequest_Options { + if x != nil { + return x.Options } return nil } func (x *TrackCompositeEgressRequest) GetPreset() EncodingOptionsPreset { - if x, ok := x.GetOptions().(*TrackCompositeEgressRequest_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.Options.(*TrackCompositeEgressRequest_Preset); ok { + return x.Preset + } } return EncodingOptionsPreset_H264_720P_30 } func (x *TrackCompositeEgressRequest) GetAdvanced() *EncodingOptions { - if x, ok := x.GetOptions().(*TrackCompositeEgressRequest_Advanced); ok { - return x.Advanced + if x != nil { + if x, ok := x.Options.(*TrackCompositeEgressRequest_Advanced); ok { + return x.Advanced + } } return nil } @@ -1311,26 +1334,23 @@ func (*TrackCompositeEgressRequest_Advanced) isTrackCompositeEgressRequest_Optio // record tracks individually, without transcoding type TrackEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required - TrackId string `protobuf:"bytes,2,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` // required - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // required + TrackId string `protobuf:"bytes,2,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` // required + // Types that are valid to be assigned to Output: // // *TrackEgressRequest_File // *TrackEgressRequest_WebsocketUrl - Output isTrackEgressRequest_Output `protobuf_oneof:"output"` + Output isTrackEgressRequest_Output `protobuf_oneof:"output"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TrackEgressRequest) Reset() { *x = TrackEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackEgressRequest) String() string { @@ -1341,7 +1361,7 @@ func (*TrackEgressRequest) ProtoMessage() {} func (x *TrackEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1370,23 +1390,27 @@ func (x *TrackEgressRequest) GetTrackId() string { return "" } -func (m *TrackEgressRequest) GetOutput() isTrackEgressRequest_Output { - if m != nil { - return m.Output +func (x *TrackEgressRequest) GetOutput() isTrackEgressRequest_Output { + if x != nil { + return x.Output } return nil } func (x *TrackEgressRequest) GetFile() *DirectFileOutput { - if x, ok := x.GetOutput().(*TrackEgressRequest_File); ok { - return x.File + if x != nil { + if x, ok := x.Output.(*TrackEgressRequest_File); ok { + return x.File + } } return nil } func (x *TrackEgressRequest) GetWebsocketUrl() string { - if x, ok := x.GetOutput().(*TrackEgressRequest_WebsocketUrl); ok { - return x.WebsocketUrl + if x != nil { + if x, ok := x.Output.(*TrackEgressRequest_WebsocketUrl); ok { + return x.WebsocketUrl + } } return "" } @@ -1408,29 +1432,26 @@ func (*TrackEgressRequest_File) isTrackEgressRequest_Output() {} func (*TrackEgressRequest_WebsocketUrl) isTrackEgressRequest_Output() {} type EncodedFileOutput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FileType EncodedFileType `protobuf:"varint,1,opt,name=file_type,json=fileType,proto3,enum=livekit.EncodedFileType" json:"file_type,omitempty"` // (optional) - Filepath string `protobuf:"bytes,2,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {room_name}-{time}) - DisableManifest bool `protobuf:"varint,6,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + FileType EncodedFileType `protobuf:"varint,1,opt,name=file_type,json=fileType,proto3,enum=livekit.EncodedFileType" json:"file_type,omitempty"` // (optional) + Filepath string `protobuf:"bytes,2,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {room_name}-{time}) + DisableManifest bool `protobuf:"varint,6,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are valid to be assigned to Output: // // *EncodedFileOutput_S3 // *EncodedFileOutput_Gcp // *EncodedFileOutput_Azure // *EncodedFileOutput_AliOSS - Output isEncodedFileOutput_Output `protobuf_oneof:"output"` + Output isEncodedFileOutput_Output `protobuf_oneof:"output"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EncodedFileOutput) Reset() { *x = EncodedFileOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EncodedFileOutput) String() string { @@ -1441,7 +1462,7 @@ func (*EncodedFileOutput) ProtoMessage() {} func (x *EncodedFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1477,37 +1498,45 @@ func (x *EncodedFileOutput) GetDisableManifest() bool { return false } -func (m *EncodedFileOutput) GetOutput() isEncodedFileOutput_Output { - if m != nil { - return m.Output +func (x *EncodedFileOutput) GetOutput() isEncodedFileOutput_Output { + if x != nil { + return x.Output } return nil } func (x *EncodedFileOutput) GetS3() *S3Upload { - if x, ok := x.GetOutput().(*EncodedFileOutput_S3); ok { - return x.S3 + if x != nil { + if x, ok := x.Output.(*EncodedFileOutput_S3); ok { + return x.S3 + } } return nil } func (x *EncodedFileOutput) GetGcp() *GCPUpload { - if x, ok := x.GetOutput().(*EncodedFileOutput_Gcp); ok { - return x.Gcp + if x != nil { + if x, ok := x.Output.(*EncodedFileOutput_Gcp); ok { + return x.Gcp + } } return nil } func (x *EncodedFileOutput) GetAzure() *AzureBlobUpload { - if x, ok := x.GetOutput().(*EncodedFileOutput_Azure); ok { - return x.Azure + if x != nil { + if x, ok := x.Output.(*EncodedFileOutput_Azure); ok { + return x.Azure + } } return nil } func (x *EncodedFileOutput) GetAliOSS() *AliOSSUpload { - if x, ok := x.GetOutput().(*EncodedFileOutput_AliOSS); ok { - return x.AliOSS + if x != nil { + if x, ok := x.Output.(*EncodedFileOutput_AliOSS); ok { + return x.AliOSS + } } return nil } @@ -1542,33 +1571,30 @@ func (*EncodedFileOutput_AliOSS) isEncodedFileOutput_Output() {} // Used to generate HLS segments or other kind of segmented output type SegmentedFileOutput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Protocol SegmentedFileProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.SegmentedFileProtocol" json:"protocol,omitempty"` // (optional) - FilenamePrefix string `protobuf:"bytes,2,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) - PlaylistName string `protobuf:"bytes,3,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` // (optional) - LivePlaylistName string `protobuf:"bytes,11,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` // (optional, disabled if not provided). Path of a live playlist - SegmentDuration uint32 `protobuf:"varint,4,opt,name=segment_duration,json=segmentDuration,proto3" json:"segment_duration,omitempty"` // in seconds (optional) - FilenameSuffix SegmentedFileSuffix `protobuf:"varint,10,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.SegmentedFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) - DisableManifest bool `protobuf:"varint,8,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + Protocol SegmentedFileProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.SegmentedFileProtocol" json:"protocol,omitempty"` // (optional) + FilenamePrefix string `protobuf:"bytes,2,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) + PlaylistName string `protobuf:"bytes,3,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` // (optional) + LivePlaylistName string `protobuf:"bytes,11,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` // (optional, disabled if not provided). Path of a live playlist + SegmentDuration uint32 `protobuf:"varint,4,opt,name=segment_duration,json=segmentDuration,proto3" json:"segment_duration,omitempty"` // in seconds (optional) + FilenameSuffix SegmentedFileSuffix `protobuf:"varint,10,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.SegmentedFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) + DisableManifest bool `protobuf:"varint,8,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are valid to be assigned to Output: // // *SegmentedFileOutput_S3 // *SegmentedFileOutput_Gcp // *SegmentedFileOutput_Azure // *SegmentedFileOutput_AliOSS - Output isSegmentedFileOutput_Output `protobuf_oneof:"output"` + Output isSegmentedFileOutput_Output `protobuf_oneof:"output"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SegmentedFileOutput) Reset() { *x = SegmentedFileOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SegmentedFileOutput) String() string { @@ -1579,7 +1605,7 @@ func (*SegmentedFileOutput) ProtoMessage() {} func (x *SegmentedFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1643,37 +1669,45 @@ func (x *SegmentedFileOutput) GetDisableManifest() bool { return false } -func (m *SegmentedFileOutput) GetOutput() isSegmentedFileOutput_Output { - if m != nil { - return m.Output +func (x *SegmentedFileOutput) GetOutput() isSegmentedFileOutput_Output { + if x != nil { + return x.Output } return nil } func (x *SegmentedFileOutput) GetS3() *S3Upload { - if x, ok := x.GetOutput().(*SegmentedFileOutput_S3); ok { - return x.S3 + if x != nil { + if x, ok := x.Output.(*SegmentedFileOutput_S3); ok { + return x.S3 + } } return nil } func (x *SegmentedFileOutput) GetGcp() *GCPUpload { - if x, ok := x.GetOutput().(*SegmentedFileOutput_Gcp); ok { - return x.Gcp + if x != nil { + if x, ok := x.Output.(*SegmentedFileOutput_Gcp); ok { + return x.Gcp + } } return nil } func (x *SegmentedFileOutput) GetAzure() *AzureBlobUpload { - if x, ok := x.GetOutput().(*SegmentedFileOutput_Azure); ok { - return x.Azure + if x != nil { + if x, ok := x.Output.(*SegmentedFileOutput_Azure); ok { + return x.Azure + } } return nil } func (x *SegmentedFileOutput) GetAliOSS() *AliOSSUpload { - if x, ok := x.GetOutput().(*SegmentedFileOutput_AliOSS); ok { - return x.AliOSS + if x != nil { + if x, ok := x.Output.(*SegmentedFileOutput_AliOSS); ok { + return x.AliOSS + } } return nil } @@ -1707,28 +1741,25 @@ func (*SegmentedFileOutput_Azure) isSegmentedFileOutput_Output() {} func (*SegmentedFileOutput_AliOSS) isSegmentedFileOutput_Output() {} type DirectFileOutput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {track_id}-{time}) - DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see egress docs for templating (default {track_id}-{time}) + DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are valid to be assigned to Output: // // *DirectFileOutput_S3 // *DirectFileOutput_Gcp // *DirectFileOutput_Azure // *DirectFileOutput_AliOSS - Output isDirectFileOutput_Output `protobuf_oneof:"output"` + Output isDirectFileOutput_Output `protobuf_oneof:"output"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DirectFileOutput) Reset() { *x = DirectFileOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DirectFileOutput) String() string { @@ -1739,7 +1770,7 @@ func (*DirectFileOutput) ProtoMessage() {} func (x *DirectFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1768,37 +1799,45 @@ func (x *DirectFileOutput) GetDisableManifest() bool { return false } -func (m *DirectFileOutput) GetOutput() isDirectFileOutput_Output { - if m != nil { - return m.Output +func (x *DirectFileOutput) GetOutput() isDirectFileOutput_Output { + if x != nil { + return x.Output } return nil } func (x *DirectFileOutput) GetS3() *S3Upload { - if x, ok := x.GetOutput().(*DirectFileOutput_S3); ok { - return x.S3 + if x != nil { + if x, ok := x.Output.(*DirectFileOutput_S3); ok { + return x.S3 + } } return nil } func (x *DirectFileOutput) GetGcp() *GCPUpload { - if x, ok := x.GetOutput().(*DirectFileOutput_Gcp); ok { - return x.Gcp + if x != nil { + if x, ok := x.Output.(*DirectFileOutput_Gcp); ok { + return x.Gcp + } } return nil } func (x *DirectFileOutput) GetAzure() *AzureBlobUpload { - if x, ok := x.GetOutput().(*DirectFileOutput_Azure); ok { - return x.Azure + if x != nil { + if x, ok := x.Output.(*DirectFileOutput_Azure); ok { + return x.Azure + } } return nil } func (x *DirectFileOutput) GetAliOSS() *AliOSSUpload { - if x, ok := x.GetOutput().(*DirectFileOutput_AliOSS); ok { - return x.AliOSS + if x != nil { + if x, ok := x.Output.(*DirectFileOutput_AliOSS); ok { + return x.AliOSS + } } return nil } @@ -1832,33 +1871,30 @@ func (*DirectFileOutput_Azure) isDirectFileOutput_Output() {} func (*DirectFileOutput_AliOSS) isDirectFileOutput_Output() {} type ImageOutput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CaptureInterval uint32 `protobuf:"varint,1,opt,name=capture_interval,json=captureInterval,proto3" json:"capture_interval,omitempty"` // in seconds (required) - Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` // (optional, defaults to track width) - Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // (optional, defaults to track height) - FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) - FilenameSuffix ImageFileSuffix `protobuf:"varint,5,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.ImageFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) - ImageCodec ImageCodec `protobuf:"varint,6,opt,name=image_codec,json=imageCodec,proto3,enum=livekit.ImageCodec" json:"image_codec,omitempty"` // (optional) - DisableManifest bool `protobuf:"varint,7,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + CaptureInterval uint32 `protobuf:"varint,1,opt,name=capture_interval,json=captureInterval,proto3" json:"capture_interval,omitempty"` // in seconds (required) + Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` // (optional, defaults to track width) + Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // (optional, defaults to track height) + FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` // (optional) + FilenameSuffix ImageFileSuffix `protobuf:"varint,5,opt,name=filename_suffix,json=filenameSuffix,proto3,enum=livekit.ImageFileSuffix" json:"filename_suffix,omitempty"` // (optional, default INDEX) + ImageCodec ImageCodec `protobuf:"varint,6,opt,name=image_codec,json=imageCodec,proto3,enum=livekit.ImageCodec" json:"image_codec,omitempty"` // (optional) + DisableManifest bool `protobuf:"varint,7,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disable upload of manifest file (default false) + // Types that are valid to be assigned to Output: // // *ImageOutput_S3 // *ImageOutput_Gcp // *ImageOutput_Azure // *ImageOutput_AliOSS - Output isImageOutput_Output `protobuf_oneof:"output"` + Output isImageOutput_Output `protobuf_oneof:"output"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ImageOutput) Reset() { *x = ImageOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImageOutput) String() string { @@ -1869,7 +1905,7 @@ func (*ImageOutput) ProtoMessage() {} func (x *ImageOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1933,37 +1969,45 @@ func (x *ImageOutput) GetDisableManifest() bool { return false } -func (m *ImageOutput) GetOutput() isImageOutput_Output { - if m != nil { - return m.Output +func (x *ImageOutput) GetOutput() isImageOutput_Output { + if x != nil { + return x.Output } return nil } func (x *ImageOutput) GetS3() *S3Upload { - if x, ok := x.GetOutput().(*ImageOutput_S3); ok { - return x.S3 + if x != nil { + if x, ok := x.Output.(*ImageOutput_S3); ok { + return x.S3 + } } return nil } func (x *ImageOutput) GetGcp() *GCPUpload { - if x, ok := x.GetOutput().(*ImageOutput_Gcp); ok { - return x.Gcp + if x != nil { + if x, ok := x.Output.(*ImageOutput_Gcp); ok { + return x.Gcp + } } return nil } func (x *ImageOutput) GetAzure() *AzureBlobUpload { - if x, ok := x.GetOutput().(*ImageOutput_Azure); ok { - return x.Azure + if x != nil { + if x, ok := x.Output.(*ImageOutput_Azure); ok { + return x.Azure + } } return nil } func (x *ImageOutput) GetAliOSS() *AliOSSUpload { - if x, ok := x.GetOutput().(*ImageOutput_AliOSS); ok { - return x.AliOSS + if x != nil { + if x, ok := x.Output.(*ImageOutput_AliOSS); ok { + return x.AliOSS + } } return nil } @@ -1997,30 +2041,27 @@ func (*ImageOutput_Azure) isImageOutput_Output() {} func (*ImageOutput_AliOSS) isImageOutput_Output() {} type S3Upload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` - Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` - SessionToken string `protobuf:"bytes,11,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` - Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` - Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` - ForcePathStyle bool `protobuf:"varint,6,opt,name=force_path_style,json=forcePathStyle,proto3" json:"force_path_style,omitempty"` - Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Tagging string `protobuf:"bytes,8,opt,name=tagging,proto3" json:"tagging,omitempty"` - ContentDisposition string `protobuf:"bytes,9,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"` // Content-Disposition header - Proxy *ProxyConfig `protobuf:"bytes,10,opt,name=proxy,proto3" json:"proxy,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` + Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + SessionToken string `protobuf:"bytes,11,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` + Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` + Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` + ForcePathStyle bool `protobuf:"varint,6,opt,name=force_path_style,json=forcePathStyle,proto3" json:"force_path_style,omitempty"` + Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Tagging string `protobuf:"bytes,8,opt,name=tagging,proto3" json:"tagging,omitempty"` + ContentDisposition string `protobuf:"bytes,9,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"` // Content-Disposition header + Proxy *ProxyConfig `protobuf:"bytes,10,opt,name=proxy,proto3" json:"proxy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *S3Upload) Reset() { *x = S3Upload{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *S3Upload) String() string { @@ -2031,7 +2072,7 @@ func (*S3Upload) ProtoMessage() {} func (x *S3Upload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2124,23 +2165,20 @@ func (x *S3Upload) GetProxy() *ProxyConfig { } type GCPUpload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // service account credentials serialized in JSON "credentials.json" - Credentials string `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"` - Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` - Proxy *ProxyConfig `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty"` + Credentials string `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"` + Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` + Proxy *ProxyConfig `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GCPUpload) Reset() { *x = GCPUpload{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GCPUpload) String() string { @@ -2151,7 +2189,7 @@ func (*GCPUpload) ProtoMessage() {} func (x *GCPUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2188,22 +2226,19 @@ func (x *GCPUpload) GetProxy() *ProxyConfig { } type AzureBlobUpload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` + AccountKey string `protobuf:"bytes,2,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"` + ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` unknownFields protoimpl.UnknownFields - - AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` - AccountKey string `protobuf:"bytes,2,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"` - ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AzureBlobUpload) Reset() { *x = AzureBlobUpload{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AzureBlobUpload) String() string { @@ -2214,7 +2249,7 @@ func (*AzureBlobUpload) ProtoMessage() {} func (x *AzureBlobUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2251,24 +2286,21 @@ func (x *AzureBlobUpload) GetContainerName() string { } type AliOSSUpload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` + Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` + Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` unknownFields protoimpl.UnknownFields - - AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` - Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` - Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` - Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AliOSSUpload) Reset() { *x = AliOSSUpload{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AliOSSUpload) String() string { @@ -2279,7 +2311,7 @@ func (*AliOSSUpload) ProtoMessage() {} func (x *AliOSSUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2330,22 +2362,19 @@ func (x *AliOSSUpload) GetBucket() string { } type ProxyConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProxyConfig) Reset() { *x = ProxyConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProxyConfig) String() string { @@ -2356,7 +2385,7 @@ func (*ProxyConfig) ProtoMessage() {} func (x *ProxyConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2393,21 +2422,18 @@ func (x *ProxyConfig) GetPassword() string { } type StreamOutput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Protocol StreamProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.StreamProtocol" json:"protocol,omitempty"` // required + Urls []string `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"` // required unknownFields protoimpl.UnknownFields - - Protocol StreamProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=livekit.StreamProtocol" json:"protocol,omitempty"` // required - Urls []string `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"` // required + sizeCache protoimpl.SizeCache } func (x *StreamOutput) Reset() { *x = StreamOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamOutput) String() string { @@ -2418,7 +2444,7 @@ func (*StreamOutput) ProtoMessage() {} func (x *StreamOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2448,31 +2474,28 @@ func (x *StreamOutput) GetUrls() []string { } type EncodingOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` // (default 1920) - Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // (default 1080) - Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // (default 24) - Framerate int32 `protobuf:"varint,4,opt,name=framerate,proto3" json:"framerate,omitempty"` // (default 30) - AudioCodec AudioCodec `protobuf:"varint,5,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` // (default OPUS) - AudioBitrate int32 `protobuf:"varint,6,opt,name=audio_bitrate,json=audioBitrate,proto3" json:"audio_bitrate,omitempty"` // (default 128) - AudioQuality int32 `protobuf:"varint,11,opt,name=audio_quality,json=audioQuality,proto3" json:"audio_quality,omitempty"` // quality setting on audio encoder - AudioFrequency int32 `protobuf:"varint,7,opt,name=audio_frequency,json=audioFrequency,proto3" json:"audio_frequency,omitempty"` // (default 44100) - VideoCodec VideoCodec `protobuf:"varint,8,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` // (default H264_MAIN) - VideoBitrate int32 `protobuf:"varint,9,opt,name=video_bitrate,json=videoBitrate,proto3" json:"video_bitrate,omitempty"` // (default 4500) - VideoQuality int32 `protobuf:"varint,12,opt,name=video_quality,json=videoQuality,proto3" json:"video_quality,omitempty"` // quality setting on video encoder - KeyFrameInterval float64 `protobuf:"fixed64,10,opt,name=key_frame_interval,json=keyFrameInterval,proto3" json:"key_frame_interval,omitempty"` // in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) + state protoimpl.MessageState `protogen:"open.v1"` + Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` // (default 1920) + Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // (default 1080) + Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // (default 24) + Framerate int32 `protobuf:"varint,4,opt,name=framerate,proto3" json:"framerate,omitempty"` // (default 30) + AudioCodec AudioCodec `protobuf:"varint,5,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` // (default OPUS) + AudioBitrate int32 `protobuf:"varint,6,opt,name=audio_bitrate,json=audioBitrate,proto3" json:"audio_bitrate,omitempty"` // (default 128) + AudioQuality int32 `protobuf:"varint,11,opt,name=audio_quality,json=audioQuality,proto3" json:"audio_quality,omitempty"` // quality setting on audio encoder + AudioFrequency int32 `protobuf:"varint,7,opt,name=audio_frequency,json=audioFrequency,proto3" json:"audio_frequency,omitempty"` // (default 44100) + VideoCodec VideoCodec `protobuf:"varint,8,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` // (default H264_MAIN) + VideoBitrate int32 `protobuf:"varint,9,opt,name=video_bitrate,json=videoBitrate,proto3" json:"video_bitrate,omitempty"` // (default 4500) + VideoQuality int32 `protobuf:"varint,12,opt,name=video_quality,json=videoQuality,proto3" json:"video_quality,omitempty"` // quality setting on video encoder + KeyFrameInterval float64 `protobuf:"fixed64,10,opt,name=key_frame_interval,json=keyFrameInterval,proto3" json:"key_frame_interval,omitempty"` // in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EncodingOptions) Reset() { *x = EncodingOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EncodingOptions) String() string { @@ -2483,7 +2506,7 @@ func (*EncodingOptions) ProtoMessage() {} func (x *EncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2583,21 +2606,18 @@ func (x *EncodingOptions) GetKeyFrameInterval() float64 { } type UpdateLayoutRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` unknownFields protoimpl.UnknownFields - - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - Layout string `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateLayoutRequest) Reset() { *x = UpdateLayoutRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateLayoutRequest) String() string { @@ -2608,7 +2628,7 @@ func (*UpdateLayoutRequest) ProtoMessage() {} func (x *UpdateLayoutRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2638,22 +2658,19 @@ func (x *UpdateLayoutRequest) GetLayout() string { } type UpdateStreamRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - AddOutputUrls []string `protobuf:"bytes,2,rep,name=add_output_urls,json=addOutputUrls,proto3" json:"add_output_urls,omitempty"` - RemoveOutputUrls []string `protobuf:"bytes,3,rep,name=remove_output_urls,json=removeOutputUrls,proto3" json:"remove_output_urls,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + AddOutputUrls []string `protobuf:"bytes,2,rep,name=add_output_urls,json=addOutputUrls,proto3" json:"add_output_urls,omitempty"` + RemoveOutputUrls []string `protobuf:"bytes,3,rep,name=remove_output_urls,json=removeOutputUrls,proto3" json:"remove_output_urls,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateStreamRequest) Reset() { *x = UpdateStreamRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateStreamRequest) String() string { @@ -2664,7 +2681,7 @@ func (*UpdateStreamRequest) ProtoMessage() {} func (x *UpdateStreamRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2701,22 +2718,19 @@ func (x *UpdateStreamRequest) GetRemoveOutputUrls() []string { } type ListEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) + EgressId string `protobuf:"bytes,2,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // (optional, filter by egress ID) + Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` // (optional, list active egress only) unknownFields protoimpl.UnknownFields - - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) - EgressId string `protobuf:"bytes,2,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // (optional, filter by egress ID) - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` // (optional, list active egress only) + sizeCache protoimpl.SizeCache } func (x *ListEgressRequest) Reset() { *x = ListEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListEgressRequest) String() string { @@ -2727,7 +2741,7 @@ func (*ListEgressRequest) ProtoMessage() {} func (x *ListEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2764,20 +2778,17 @@ func (x *ListEgressRequest) GetActive() bool { } type ListEgressResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*EgressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*EgressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListEgressResponse) Reset() { *x = ListEgressResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListEgressResponse) String() string { @@ -2788,7 +2799,7 @@ func (*ListEgressResponse) ProtoMessage() {} func (x *ListEgressResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2811,20 +2822,17 @@ func (x *ListEgressResponse) GetItems() []*EgressInfo { } type StopEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` unknownFields protoimpl.UnknownFields - - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StopEgressRequest) Reset() { *x = StopEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopEgressRequest) String() string { @@ -2835,7 +2843,7 @@ func (*StopEgressRequest) ProtoMessage() {} func (x *StopEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2858,22 +2866,19 @@ func (x *StopEgressRequest) GetEgressId() string { } type EgressInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` - RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` - RoomName string `protobuf:"bytes,13,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - SourceType EgressSourceType `protobuf:"varint,26,opt,name=source_type,json=sourceType,proto3,enum=livekit.EgressSourceType" json:"source_type,omitempty"` - Status EgressStatus `protobuf:"varint,3,opt,name=status,proto3,enum=livekit.EgressStatus" json:"status,omitempty"` - StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,18,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Details string `protobuf:"bytes,21,opt,name=details,proto3" json:"details,omitempty"` - Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` - ErrorCode int32 `protobuf:"varint,22,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` - // Types that are assignable to Request: + state protoimpl.MessageState `protogen:"open.v1"` + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` + RoomName string `protobuf:"bytes,13,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + SourceType EgressSourceType `protobuf:"varint,26,opt,name=source_type,json=sourceType,proto3,enum=livekit.EgressSourceType" json:"source_type,omitempty"` + Status EgressStatus `protobuf:"varint,3,opt,name=status,proto3,enum=livekit.EgressStatus" json:"status,omitempty"` + StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,18,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Details string `protobuf:"bytes,21,opt,name=details,proto3" json:"details,omitempty"` + Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` + ErrorCode int32 `protobuf:"varint,22,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` + // Types that are valid to be assigned to Request: // // *EgressInfo_RoomComposite // *EgressInfo_Web @@ -2881,7 +2886,7 @@ type EgressInfo struct { // *EgressInfo_TrackComposite // *EgressInfo_Track Request isEgressInfo_Request `protobuf_oneof:"request"` - // Types that are assignable to Result: + // Types that are valid to be assigned to Result: // // *EgressInfo_Stream // *EgressInfo_File @@ -2893,15 +2898,15 @@ type EgressInfo struct { ImageResults []*ImagesInfo `protobuf:"bytes,20,rep,name=image_results,json=imageResults,proto3" json:"image_results,omitempty"` ManifestLocation string `protobuf:"bytes,23,opt,name=manifest_location,json=manifestLocation,proto3" json:"manifest_location,omitempty"` BackupStorageUsed bool `protobuf:"varint,25,opt,name=backup_storage_used,json=backupStorageUsed,proto3" json:"backup_storage_used,omitempty"` // next ID: 27 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EgressInfo) Reset() { *x = EgressInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EgressInfo) String() string { @@ -2912,7 +2917,7 @@ func (*EgressInfo) ProtoMessage() {} func (x *EgressInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3004,75 +3009,91 @@ func (x *EgressInfo) GetErrorCode() int32 { return 0 } -func (m *EgressInfo) GetRequest() isEgressInfo_Request { - if m != nil { - return m.Request +func (x *EgressInfo) GetRequest() isEgressInfo_Request { + if x != nil { + return x.Request } return nil } func (x *EgressInfo) GetRoomComposite() *RoomCompositeEgressRequest { - if x, ok := x.GetRequest().(*EgressInfo_RoomComposite); ok { - return x.RoomComposite + if x != nil { + if x, ok := x.Request.(*EgressInfo_RoomComposite); ok { + return x.RoomComposite + } } return nil } func (x *EgressInfo) GetWeb() *WebEgressRequest { - if x, ok := x.GetRequest().(*EgressInfo_Web); ok { - return x.Web + if x != nil { + if x, ok := x.Request.(*EgressInfo_Web); ok { + return x.Web + } } return nil } func (x *EgressInfo) GetParticipant() *ParticipantEgressRequest { - if x, ok := x.GetRequest().(*EgressInfo_Participant); ok { - return x.Participant + if x != nil { + if x, ok := x.Request.(*EgressInfo_Participant); ok { + return x.Participant + } } return nil } func (x *EgressInfo) GetTrackComposite() *TrackCompositeEgressRequest { - if x, ok := x.GetRequest().(*EgressInfo_TrackComposite); ok { - return x.TrackComposite + if x != nil { + if x, ok := x.Request.(*EgressInfo_TrackComposite); ok { + return x.TrackComposite + } } return nil } func (x *EgressInfo) GetTrack() *TrackEgressRequest { - if x, ok := x.GetRequest().(*EgressInfo_Track); ok { - return x.Track + if x != nil { + if x, ok := x.Request.(*EgressInfo_Track); ok { + return x.Track + } } return nil } -func (m *EgressInfo) GetResult() isEgressInfo_Result { - if m != nil { - return m.Result +func (x *EgressInfo) GetResult() isEgressInfo_Result { + if x != nil { + return x.Result } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *EgressInfo) GetStream() *StreamInfoList { - if x, ok := x.GetResult().(*EgressInfo_Stream); ok { - return x.Stream + if x != nil { + if x, ok := x.Result.(*EgressInfo_Stream); ok { + return x.Stream + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *EgressInfo) GetFile() *FileInfo { - if x, ok := x.GetResult().(*EgressInfo_File); ok { - return x.File + if x != nil { + if x, ok := x.Result.(*EgressInfo_File); ok { + return x.File + } } return nil } // Deprecated: Marked as deprecated in livekit_egress.proto. func (x *EgressInfo) GetSegments() *SegmentsInfo { - if x, ok := x.GetResult().(*EgressInfo_Segments); ok { - return x.Segments + if x != nil { + if x, ok := x.Result.(*EgressInfo_Segments); ok { + return x.Segments + } } return nil } @@ -3180,20 +3201,17 @@ func (*EgressInfo_Segments) isEgressInfo_Result() {} // Deprecated: Marked as deprecated in livekit_egress.proto. type StreamInfoList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Info []*StreamInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"` unknownFields protoimpl.UnknownFields - - Info []*StreamInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StreamInfoList) Reset() { *x = StreamInfoList{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamInfoList) String() string { @@ -3204,7 +3222,7 @@ func (*StreamInfoList) ProtoMessage() {} func (x *StreamInfoList) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3227,25 +3245,22 @@ func (x *StreamInfoList) GetInfo() []*StreamInfo { } type StreamInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` + Status StreamInfo_Status `protobuf:"varint,5,opt,name=status,proto3,enum=livekit.StreamInfo_Status" json:"status,omitempty"` + Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` - Status StreamInfo_Status `protobuf:"varint,5,opt,name=status,proto3,enum=livekit.StreamInfo_Status" json:"status,omitempty"` - Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StreamInfo) Reset() { *x = StreamInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamInfo) String() string { @@ -3256,7 +3271,7 @@ func (*StreamInfo) ProtoMessage() {} func (x *StreamInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3314,25 +3329,22 @@ func (x *StreamInfo) GetError() string { } type FileInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` + StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + Duration int64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` + Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` + Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` unknownFields protoimpl.UnknownFields - - Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` - StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - Duration int64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` - Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` - Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FileInfo) Reset() { *x = FileInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FileInfo) String() string { @@ -3343,7 +3355,7 @@ func (*FileInfo) ProtoMessage() {} func (x *FileInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3401,28 +3413,25 @@ func (x *FileInfo) GetLocation() string { } type SegmentsInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlaylistName string `protobuf:"bytes,1,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` - LivePlaylistName string `protobuf:"bytes,8,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` - Duration int64 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` - Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` - PlaylistLocation string `protobuf:"bytes,4,opt,name=playlist_location,json=playlistLocation,proto3" json:"playlist_location,omitempty"` - LivePlaylistLocation string `protobuf:"bytes,9,opt,name=live_playlist_location,json=livePlaylistLocation,proto3" json:"live_playlist_location,omitempty"` - SegmentCount int64 `protobuf:"varint,5,opt,name=segment_count,json=segmentCount,proto3" json:"segment_count,omitempty"` - StartedAt int64 `protobuf:"varint,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,7,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PlaylistName string `protobuf:"bytes,1,opt,name=playlist_name,json=playlistName,proto3" json:"playlist_name,omitempty"` + LivePlaylistName string `protobuf:"bytes,8,opt,name=live_playlist_name,json=livePlaylistName,proto3" json:"live_playlist_name,omitempty"` + Duration int64 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` + Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` + PlaylistLocation string `protobuf:"bytes,4,opt,name=playlist_location,json=playlistLocation,proto3" json:"playlist_location,omitempty"` + LivePlaylistLocation string `protobuf:"bytes,9,opt,name=live_playlist_location,json=livePlaylistLocation,proto3" json:"live_playlist_location,omitempty"` + SegmentCount int64 `protobuf:"varint,5,opt,name=segment_count,json=segmentCount,proto3" json:"segment_count,omitempty"` + StartedAt int64 `protobuf:"varint,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,7,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SegmentsInfo) Reset() { *x = SegmentsInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SegmentsInfo) String() string { @@ -3433,7 +3442,7 @@ func (*SegmentsInfo) ProtoMessage() {} func (x *SegmentsInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3512,23 +3521,20 @@ func (x *SegmentsInfo) GetEndedAt() int64 { } type ImagesInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` - ImageCount int64 `protobuf:"varint,1,opt,name=image_count,json=imageCount,proto3" json:"image_count,omitempty"` - StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + FilenamePrefix string `protobuf:"bytes,4,opt,name=filename_prefix,json=filenamePrefix,proto3" json:"filename_prefix,omitempty"` + ImageCount int64 `protobuf:"varint,1,opt,name=image_count,json=imageCount,proto3" json:"image_count,omitempty"` + StartedAt int64 `protobuf:"varint,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,3,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ImagesInfo) Reset() { *x = ImagesInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImagesInfo) String() string { @@ -3539,7 +3545,7 @@ func (*ImagesInfo) ProtoMessage() {} func (x *ImagesInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3583,26 +3589,23 @@ func (x *ImagesInfo) GetEndedAt() int64 { } type AutoParticipantEgress struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Options: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Options: // // *AutoParticipantEgress_Preset // *AutoParticipantEgress_Advanced Options isAutoParticipantEgress_Options `protobuf_oneof:"options"` FileOutputs []*EncodedFileOutput `protobuf:"bytes,3,rep,name=file_outputs,json=fileOutputs,proto3" json:"file_outputs,omitempty"` SegmentOutputs []*SegmentedFileOutput `protobuf:"bytes,4,rep,name=segment_outputs,json=segmentOutputs,proto3" json:"segment_outputs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AutoParticipantEgress) Reset() { *x = AutoParticipantEgress{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AutoParticipantEgress) String() string { @@ -3613,7 +3616,7 @@ func (*AutoParticipantEgress) ProtoMessage() {} func (x *AutoParticipantEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3628,23 +3631,27 @@ func (*AutoParticipantEgress) Descriptor() ([]byte, []int) { return file_livekit_egress_proto_rawDescGZIP(), []int{27} } -func (m *AutoParticipantEgress) GetOptions() isAutoParticipantEgress_Options { - if m != nil { - return m.Options +func (x *AutoParticipantEgress) GetOptions() isAutoParticipantEgress_Options { + if x != nil { + return x.Options } return nil } func (x *AutoParticipantEgress) GetPreset() EncodingOptionsPreset { - if x, ok := x.GetOptions().(*AutoParticipantEgress_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.Options.(*AutoParticipantEgress_Preset); ok { + return x.Preset + } } return EncodingOptionsPreset_H264_720P_30 } func (x *AutoParticipantEgress) GetAdvanced() *EncodingOptions { - if x, ok := x.GetOptions().(*AutoParticipantEgress_Advanced); ok { - return x.Advanced + if x != nil { + if x, ok := x.Options.(*AutoParticipantEgress_Advanced); ok { + return x.Advanced + } } return nil } @@ -3680,28 +3687,25 @@ func (*AutoParticipantEgress_Preset) isAutoParticipantEgress_Options() {} func (*AutoParticipantEgress_Advanced) isAutoParticipantEgress_Options() {} type AutoTrackEgress struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see docs for templating (default {track_id}-{time}) - DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disables upload of json manifest file (default false) - // Types that are assignable to Output: + state protoimpl.MessageState `protogen:"open.v1"` + Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` // see docs for templating (default {track_id}-{time}) + DisableManifest bool `protobuf:"varint,5,opt,name=disable_manifest,json=disableManifest,proto3" json:"disable_manifest,omitempty"` // disables upload of json manifest file (default false) + // Types that are valid to be assigned to Output: // // *AutoTrackEgress_S3 // *AutoTrackEgress_Gcp // *AutoTrackEgress_Azure // *AutoTrackEgress_AliOSS - Output isAutoTrackEgress_Output `protobuf_oneof:"output"` + Output isAutoTrackEgress_Output `protobuf_oneof:"output"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AutoTrackEgress) Reset() { *x = AutoTrackEgress{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AutoTrackEgress) String() string { @@ -3712,7 +3716,7 @@ func (*AutoTrackEgress) ProtoMessage() {} func (x *AutoTrackEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3741,37 +3745,45 @@ func (x *AutoTrackEgress) GetDisableManifest() bool { return false } -func (m *AutoTrackEgress) GetOutput() isAutoTrackEgress_Output { - if m != nil { - return m.Output +func (x *AutoTrackEgress) GetOutput() isAutoTrackEgress_Output { + if x != nil { + return x.Output } return nil } func (x *AutoTrackEgress) GetS3() *S3Upload { - if x, ok := x.GetOutput().(*AutoTrackEgress_S3); ok { - return x.S3 + if x != nil { + if x, ok := x.Output.(*AutoTrackEgress_S3); ok { + return x.S3 + } } return nil } func (x *AutoTrackEgress) GetGcp() *GCPUpload { - if x, ok := x.GetOutput().(*AutoTrackEgress_Gcp); ok { - return x.Gcp + if x != nil { + if x, ok := x.Output.(*AutoTrackEgress_Gcp); ok { + return x.Gcp + } } return nil } func (x *AutoTrackEgress) GetAzure() *AzureBlobUpload { - if x, ok := x.GetOutput().(*AutoTrackEgress_Azure); ok { - return x.Azure + if x != nil { + if x, ok := x.Output.(*AutoTrackEgress_Azure); ok { + return x.Azure + } } return nil } func (x *AutoTrackEgress) GetAliOSS() *AliOSSUpload { - if x, ok := x.GetOutput().(*AutoTrackEgress_AliOSS); ok { - return x.AliOSS + if x != nil { + if x, ok := x.Output.(*AutoTrackEgress_AliOSS); ok { + return x.AliOSS + } } return nil } @@ -3806,7 +3818,7 @@ func (*AutoTrackEgress_AliOSS) isAutoTrackEgress_Output() {} var File_livekit_egress_proto protoreflect.FileDescriptor -var file_livekit_egress_proto_rawDesc = []byte{ +var file_livekit_egress_proto_rawDesc = string([]byte{ 0x0a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, @@ -4487,23 +4499,23 @@ var file_livekit_egress_proto_rawDesc = []byte{ 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_egress_proto_rawDescOnce sync.Once - file_livekit_egress_proto_rawDescData = file_livekit_egress_proto_rawDesc + file_livekit_egress_proto_rawDescData []byte ) func file_livekit_egress_proto_rawDescGZIP() []byte { file_livekit_egress_proto_rawDescOnce.Do(func() { - file_livekit_egress_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_egress_proto_rawDescData) + file_livekit_egress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_egress_proto_rawDesc), len(file_livekit_egress_proto_rawDesc))) }) return file_livekit_egress_proto_rawDescData } var file_livekit_egress_proto_enumTypes = make([]protoimpl.EnumInfo, 10) var file_livekit_egress_proto_msgTypes = make([]protoimpl.MessageInfo, 30) -var file_livekit_egress_proto_goTypes = []interface{}{ +var file_livekit_egress_proto_goTypes = []any{ (EncodedFileType)(0), // 0: livekit.EncodedFileType (SegmentedFileProtocol)(0), // 1: livekit.SegmentedFileProtocol (SegmentedFileSuffix)(0), // 2: livekit.SegmentedFileSuffix @@ -4667,410 +4679,60 @@ func file_livekit_egress_proto_init() { return } file_livekit_models_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_egress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomCompositeEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParticipantEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackCompositeEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EncodedFileOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SegmentedFileOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DirectFileOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*S3Upload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GCPUpload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AzureBlobUpload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AliOSSUpload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProxyConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EncodingOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateLayoutRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateStreamRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListEgressResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EgressInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamInfoList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FileInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SegmentsInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImagesInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AutoParticipantEgress); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_egress_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AutoTrackEgress); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_egress_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[0].OneofWrappers = []any{ (*RoomCompositeEgressRequest_File)(nil), (*RoomCompositeEgressRequest_Stream)(nil), (*RoomCompositeEgressRequest_Segments)(nil), (*RoomCompositeEgressRequest_Preset)(nil), (*RoomCompositeEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[1].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[1].OneofWrappers = []any{ (*WebEgressRequest_File)(nil), (*WebEgressRequest_Stream)(nil), (*WebEgressRequest_Segments)(nil), (*WebEgressRequest_Preset)(nil), (*WebEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[2].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[2].OneofWrappers = []any{ (*ParticipantEgressRequest_Preset)(nil), (*ParticipantEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[3].OneofWrappers = []any{ (*TrackCompositeEgressRequest_File)(nil), (*TrackCompositeEgressRequest_Stream)(nil), (*TrackCompositeEgressRequest_Segments)(nil), (*TrackCompositeEgressRequest_Preset)(nil), (*TrackCompositeEgressRequest_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[4].OneofWrappers = []any{ (*TrackEgressRequest_File)(nil), (*TrackEgressRequest_WebsocketUrl)(nil), } - file_livekit_egress_proto_msgTypes[5].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[5].OneofWrappers = []any{ (*EncodedFileOutput_S3)(nil), (*EncodedFileOutput_Gcp)(nil), (*EncodedFileOutput_Azure)(nil), (*EncodedFileOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[6].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[6].OneofWrappers = []any{ (*SegmentedFileOutput_S3)(nil), (*SegmentedFileOutput_Gcp)(nil), (*SegmentedFileOutput_Azure)(nil), (*SegmentedFileOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[7].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[7].OneofWrappers = []any{ (*DirectFileOutput_S3)(nil), (*DirectFileOutput_Gcp)(nil), (*DirectFileOutput_Azure)(nil), (*DirectFileOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[8].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[8].OneofWrappers = []any{ (*ImageOutput_S3)(nil), (*ImageOutput_Gcp)(nil), (*ImageOutput_Azure)(nil), (*ImageOutput_AliOSS)(nil), } - file_livekit_egress_proto_msgTypes[21].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[21].OneofWrappers = []any{ (*EgressInfo_RoomComposite)(nil), (*EgressInfo_Web)(nil), (*EgressInfo_Participant)(nil), @@ -5080,11 +4742,11 @@ func file_livekit_egress_proto_init() { (*EgressInfo_File)(nil), (*EgressInfo_Segments)(nil), } - file_livekit_egress_proto_msgTypes[27].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[27].OneofWrappers = []any{ (*AutoParticipantEgress_Preset)(nil), (*AutoParticipantEgress_Advanced)(nil), } - file_livekit_egress_proto_msgTypes[28].OneofWrappers = []interface{}{ + file_livekit_egress_proto_msgTypes[28].OneofWrappers = []any{ (*AutoTrackEgress_S3)(nil), (*AutoTrackEgress_Gcp)(nil), (*AutoTrackEgress_Azure)(nil), @@ -5094,7 +4756,7 @@ func file_livekit_egress_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_egress_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_egress_proto_rawDesc), len(file_livekit_egress_proto_rawDesc)), NumEnums: 10, NumMessages: 30, NumExtensions: 0, @@ -5106,7 +4768,6 @@ func file_livekit_egress_proto_init() { MessageInfos: file_livekit_egress_proto_msgTypes, }.Build() File_livekit_egress_proto = out.File - file_livekit_egress_proto_rawDesc = nil file_livekit_egress_proto_goTypes = nil file_livekit_egress_proto_depIdxs = nil } diff --git a/livekit/livekit_ingress.pb.go b/livekit/livekit_ingress.pb.go index f61247366..b823cdded 100644 --- a/livekit/livekit_ingress.pb.go +++ b/livekit/livekit_ingress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_ingress.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -255,11 +256,8 @@ func (IngressState_Status) EnumDescriptor() ([]byte, []int) { } type CreateIngressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - InputType IngressInput `protobuf:"varint,1,opt,name=input_type,json=inputType,proto3,enum=livekit.IngressInput" json:"input_type,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + InputType IngressInput `protobuf:"varint,1,opt,name=input_type,json=inputType,proto3,enum=livekit.IngressInput" json:"input_type,omitempty"` // Where to pull media from, only for URL input type Url string `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"` // User provided identifier for the ingress @@ -281,15 +279,15 @@ type CreateIngressRequest struct { Audio *IngressAudioOptions `protobuf:"bytes,6,opt,name=audio,proto3" json:"audio,omitempty"` Video *IngressVideoOptions `protobuf:"bytes,7,opt,name=video,proto3" json:"video,omitempty"` Enabled *bool `protobuf:"varint,12,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // The default value is true and when set to false, the new connection attempts will be rejected + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateIngressRequest) Reset() { *x = CreateIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateIngressRequest) String() string { @@ -300,7 +298,7 @@ func (*CreateIngressRequest) ProtoMessage() {} func (x *CreateIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -401,26 +399,23 @@ func (x *CreateIngressRequest) GetEnabled() bool { } type IngressAudioOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` - // Types that are assignable to EncodingOptions: + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` + // Types that are valid to be assigned to EncodingOptions: // // *IngressAudioOptions_Preset // *IngressAudioOptions_Options EncodingOptions isIngressAudioOptions_EncodingOptions `protobuf_oneof:"encoding_options"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IngressAudioOptions) Reset() { *x = IngressAudioOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressAudioOptions) String() string { @@ -431,7 +426,7 @@ func (*IngressAudioOptions) ProtoMessage() {} func (x *IngressAudioOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -460,23 +455,27 @@ func (x *IngressAudioOptions) GetSource() TrackSource { return TrackSource_UNKNOWN } -func (m *IngressAudioOptions) GetEncodingOptions() isIngressAudioOptions_EncodingOptions { - if m != nil { - return m.EncodingOptions +func (x *IngressAudioOptions) GetEncodingOptions() isIngressAudioOptions_EncodingOptions { + if x != nil { + return x.EncodingOptions } return nil } func (x *IngressAudioOptions) GetPreset() IngressAudioEncodingPreset { - if x, ok := x.GetEncodingOptions().(*IngressAudioOptions_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.EncodingOptions.(*IngressAudioOptions_Preset); ok { + return x.Preset + } } return IngressAudioEncodingPreset_OPUS_STEREO_96KBPS } func (x *IngressAudioOptions) GetOptions() *IngressAudioEncodingOptions { - if x, ok := x.GetEncodingOptions().(*IngressAudioOptions_Options); ok { - return x.Options + if x != nil { + if x, ok := x.EncodingOptions.(*IngressAudioOptions_Options); ok { + return x.Options + } } return nil } @@ -498,26 +497,23 @@ func (*IngressAudioOptions_Preset) isIngressAudioOptions_EncodingOptions() {} func (*IngressAudioOptions_Options) isIngressAudioOptions_EncodingOptions() {} type IngressVideoOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` - // Types that are assignable to EncodingOptions: + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Source TrackSource `protobuf:"varint,2,opt,name=source,proto3,enum=livekit.TrackSource" json:"source,omitempty"` + // Types that are valid to be assigned to EncodingOptions: // // *IngressVideoOptions_Preset // *IngressVideoOptions_Options EncodingOptions isIngressVideoOptions_EncodingOptions `protobuf_oneof:"encoding_options"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IngressVideoOptions) Reset() { *x = IngressVideoOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressVideoOptions) String() string { @@ -528,7 +524,7 @@ func (*IngressVideoOptions) ProtoMessage() {} func (x *IngressVideoOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -557,23 +553,27 @@ func (x *IngressVideoOptions) GetSource() TrackSource { return TrackSource_UNKNOWN } -func (m *IngressVideoOptions) GetEncodingOptions() isIngressVideoOptions_EncodingOptions { - if m != nil { - return m.EncodingOptions +func (x *IngressVideoOptions) GetEncodingOptions() isIngressVideoOptions_EncodingOptions { + if x != nil { + return x.EncodingOptions } return nil } func (x *IngressVideoOptions) GetPreset() IngressVideoEncodingPreset { - if x, ok := x.GetEncodingOptions().(*IngressVideoOptions_Preset); ok { - return x.Preset + if x != nil { + if x, ok := x.EncodingOptions.(*IngressVideoOptions_Preset); ok { + return x.Preset + } } return IngressVideoEncodingPreset_H264_720P_30FPS_3_LAYERS } func (x *IngressVideoOptions) GetOptions() *IngressVideoEncodingOptions { - if x, ok := x.GetEncodingOptions().(*IngressVideoOptions_Options); ok { - return x.Options + if x != nil { + if x, ok := x.EncodingOptions.(*IngressVideoOptions_Options); ok { + return x.Options + } } return nil } @@ -595,24 +595,21 @@ func (*IngressVideoOptions_Preset) isIngressVideoOptions_EncodingOptions() {} func (*IngressVideoOptions_Options) isIngressVideoOptions_EncodingOptions() {} type IngressAudioEncodingOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // desired audio codec to publish to room - AudioCodec AudioCodec `protobuf:"varint,1,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` - Bitrate uint32 `protobuf:"varint,2,opt,name=bitrate,proto3" json:"bitrate,omitempty"` - DisableDtx bool `protobuf:"varint,3,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"` - Channels uint32 `protobuf:"varint,4,opt,name=channels,proto3" json:"channels,omitempty"` + AudioCodec AudioCodec `protobuf:"varint,1,opt,name=audio_codec,json=audioCodec,proto3,enum=livekit.AudioCodec" json:"audio_codec,omitempty"` + Bitrate uint32 `protobuf:"varint,2,opt,name=bitrate,proto3" json:"bitrate,omitempty"` + DisableDtx bool `protobuf:"varint,3,opt,name=disable_dtx,json=disableDtx,proto3" json:"disable_dtx,omitempty"` + Channels uint32 `protobuf:"varint,4,opt,name=channels,proto3" json:"channels,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IngressAudioEncodingOptions) Reset() { *x = IngressAudioEncodingOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressAudioEncodingOptions) String() string { @@ -623,7 +620,7 @@ func (*IngressAudioEncodingOptions) ProtoMessage() {} func (x *IngressAudioEncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -667,24 +664,21 @@ func (x *IngressAudioEncodingOptions) GetChannels() uint32 { } type IngressVideoEncodingOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // desired codec to publish to room VideoCodec VideoCodec `protobuf:"varint,1,opt,name=video_codec,json=videoCodec,proto3,enum=livekit.VideoCodec" json:"video_codec,omitempty"` FrameRate float64 `protobuf:"fixed64,2,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"` // simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions - Layers []*VideoLayer `protobuf:"bytes,3,rep,name=layers,proto3" json:"layers,omitempty"` + Layers []*VideoLayer `protobuf:"bytes,3,rep,name=layers,proto3" json:"layers,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IngressVideoEncodingOptions) Reset() { *x = IngressVideoEncodingOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressVideoEncodingOptions) String() string { @@ -695,7 +689,7 @@ func (*IngressVideoEncodingOptions) ProtoMessage() {} func (x *IngressVideoEncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -732,14 +726,11 @@ func (x *IngressVideoEncodingOptions) GetLayers() []*VideoLayer { } type IngressInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - StreamKey string `protobuf:"bytes,3,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` - Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) + state protoimpl.MessageState `protogen:"open.v1"` + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + StreamKey string `protobuf:"bytes,3,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` + Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) // for RTMP input, it'll be a rtmp:// URL // for FILE input, it'll be a http:// URL // for SRT input, it'll be a srt:// URL @@ -756,15 +747,15 @@ type IngressInfo struct { Reusable bool `protobuf:"varint,11,opt,name=reusable,proto3" json:"reusable,omitempty"` State *IngressState `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"` // Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth) Enabled *bool `protobuf:"varint,16,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // The default value is true and when set to false, the new connection attempts will be rejected + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IngressInfo) Reset() { *x = IngressInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressInfo) String() string { @@ -775,7 +766,7 @@ func (*IngressInfo) ProtoMessage() {} func (x *IngressInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -904,29 +895,26 @@ func (x *IngressInfo) GetEnabled() bool { } type IngressState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status IngressState_Status `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.IngressState_Status" json:"status,omitempty"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Error/non compliance description if any + Video *InputVideoState `protobuf:"bytes,3,opt,name=video,proto3" json:"video,omitempty"` + Audio *InputAudioState `protobuf:"bytes,4,opt,name=audio,proto3" json:"audio,omitempty"` + RoomId string `protobuf:"bytes,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to + StartedAt int64 `protobuf:"varint,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,8,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + ResourceId string `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + Tracks []*TrackInfo `protobuf:"bytes,6,rep,name=tracks,proto3" json:"tracks,omitempty"` unknownFields protoimpl.UnknownFields - - Status IngressState_Status `protobuf:"varint,1,opt,name=status,proto3,enum=livekit.IngressState_Status" json:"status,omitempty"` - Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Error/non compliance description if any - Video *InputVideoState `protobuf:"bytes,3,opt,name=video,proto3" json:"video,omitempty"` - Audio *InputAudioState `protobuf:"bytes,4,opt,name=audio,proto3" json:"audio,omitempty"` - RoomId string `protobuf:"bytes,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to - StartedAt int64 `protobuf:"varint,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,8,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - ResourceId string `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - Tracks []*TrackInfo `protobuf:"bytes,6,rep,name=tracks,proto3" json:"tracks,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IngressState) Reset() { *x = IngressState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressState) String() string { @@ -937,7 +925,7 @@ func (*IngressState) ProtoMessage() {} func (x *IngressState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1023,24 +1011,21 @@ func (x *IngressState) GetTracks() []*TrackInfo { } type InputVideoState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` - Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` - Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` - Framerate float64 `protobuf:"fixed64,5,opt,name=framerate,proto3" json:"framerate,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` + Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` + Framerate float64 `protobuf:"fixed64,5,opt,name=framerate,proto3" json:"framerate,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InputVideoState) Reset() { *x = InputVideoState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InputVideoState) String() string { @@ -1051,7 +1036,7 @@ func (*InputVideoState) ProtoMessage() {} func (x *InputVideoState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1102,23 +1087,20 @@ func (x *InputVideoState) GetFramerate() float64 { } type InputAudioState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` - Channels uint32 `protobuf:"varint,3,opt,name=channels,proto3" json:"channels,omitempty"` - SampleRate uint32 `protobuf:"varint,4,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + AverageBitrate uint32 `protobuf:"varint,2,opt,name=average_bitrate,json=averageBitrate,proto3" json:"average_bitrate,omitempty"` + Channels uint32 `protobuf:"varint,3,opt,name=channels,proto3" json:"channels,omitempty"` + SampleRate uint32 `protobuf:"varint,4,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InputAudioState) Reset() { *x = InputAudioState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InputAudioState) String() string { @@ -1129,7 +1111,7 @@ func (*InputAudioState) ProtoMessage() {} func (x *InputAudioState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1173,31 +1155,28 @@ func (x *InputAudioState) GetSampleRate() uint32 { } type UpdateIngressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - ParticipantName string `protobuf:"bytes,5,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` - ParticipantMetadata string `protobuf:"bytes,9,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + ParticipantName string `protobuf:"bytes,5,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` + ParticipantMetadata string `protobuf:"bytes,9,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` // Deprecated: Marked as deprecated in livekit_ingress.proto. BypassTranscoding *bool `protobuf:"varint,8,opt,name=bypass_transcoding,json=bypassTranscoding,proto3,oneof" json:"bypass_transcoding,omitempty"` EnableTranscoding *bool `protobuf:"varint,10,opt,name=enable_transcoding,json=enableTranscoding,proto3,oneof" json:"enable_transcoding,omitempty"` Audio *IngressAudioOptions `protobuf:"bytes,6,opt,name=audio,proto3" json:"audio,omitempty"` Video *IngressVideoOptions `protobuf:"bytes,7,opt,name=video,proto3" json:"video,omitempty"` Enabled *bool `protobuf:"varint,11,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // The default value is true and when set to false, the new connection attempts will be rejected + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateIngressRequest) Reset() { *x = UpdateIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateIngressRequest) String() string { @@ -1208,7 +1187,7 @@ func (*UpdateIngressRequest) ProtoMessage() {} func (x *UpdateIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1302,22 +1281,19 @@ func (x *UpdateIngressRequest) GetEnabled() bool { } type ListIngressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // when blank, lists all ingress endpoints - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) - IngressId string `protobuf:"bytes,2,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` // (optional, filter by ingress ID) + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // (optional, filter by room name) + IngressId string `protobuf:"bytes,2,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` // (optional, filter by ingress ID) + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListIngressRequest) Reset() { *x = ListIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListIngressRequest) String() string { @@ -1328,7 +1304,7 @@ func (*ListIngressRequest) ProtoMessage() {} func (x *ListIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1358,20 +1334,17 @@ func (x *ListIngressRequest) GetIngressId() string { } type ListIngressResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*IngressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*IngressInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListIngressResponse) Reset() { *x = ListIngressResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListIngressResponse) String() string { @@ -1382,7 +1355,7 @@ func (*ListIngressResponse) ProtoMessage() {} func (x *ListIngressResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1405,20 +1378,17 @@ func (x *ListIngressResponse) GetItems() []*IngressInfo { } type DeleteIngressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` unknownFields protoimpl.UnknownFields - - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteIngressRequest) Reset() { *x = DeleteIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteIngressRequest) String() string { @@ -1429,7 +1399,7 @@ func (*DeleteIngressRequest) ProtoMessage() {} func (x *DeleteIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1453,7 +1423,7 @@ func (x *DeleteIngressRequest) GetIngressId() string { var File_livekit_ingress_proto protoreflect.FileDescriptor -var file_livekit_ingress_proto_rawDesc = []byte{ +var file_livekit_ingress_proto_rawDesc = string([]byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, @@ -1742,23 +1712,23 @@ var file_livekit_ingress_proto_rawDesc = []byte{ 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_ingress_proto_rawDescOnce sync.Once - file_livekit_ingress_proto_rawDescData = file_livekit_ingress_proto_rawDesc + file_livekit_ingress_proto_rawDescData []byte ) func file_livekit_ingress_proto_rawDescGZIP() []byte { file_livekit_ingress_proto_rawDescOnce.Do(func() { - file_livekit_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_ingress_proto_rawDescData) + file_livekit_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_ingress_proto_rawDesc), len(file_livekit_ingress_proto_rawDesc))) }) return file_livekit_ingress_proto_rawDescData } var file_livekit_ingress_proto_enumTypes = make([]protoimpl.EnumInfo, 4) var file_livekit_ingress_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_livekit_ingress_proto_goTypes = []interface{}{ +var file_livekit_ingress_proto_goTypes = []any{ (IngressInput)(0), // 0: livekit.IngressInput (IngressAudioEncodingPreset)(0), // 1: livekit.IngressAudioEncodingPreset (IngressVideoEncodingPreset)(0), // 2: livekit.IngressVideoEncodingPreset @@ -1827,180 +1797,22 @@ func file_livekit_ingress_proto_init() { return } file_livekit_models_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_ingress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateIngressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressAudioOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressVideoOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressAudioEncodingOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressVideoEncodingOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InputVideoState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InputAudioState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateIngressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListIngressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListIngressResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_ingress_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteIngressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_ingress_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_livekit_ingress_proto_msgTypes[1].OneofWrappers = []interface{}{ + file_livekit_ingress_proto_msgTypes[0].OneofWrappers = []any{} + file_livekit_ingress_proto_msgTypes[1].OneofWrappers = []any{ (*IngressAudioOptions_Preset)(nil), (*IngressAudioOptions_Options)(nil), } - file_livekit_ingress_proto_msgTypes[2].OneofWrappers = []interface{}{ + file_livekit_ingress_proto_msgTypes[2].OneofWrappers = []any{ (*IngressVideoOptions_Preset)(nil), (*IngressVideoOptions_Options)(nil), } - file_livekit_ingress_proto_msgTypes[5].OneofWrappers = []interface{}{} - file_livekit_ingress_proto_msgTypes[9].OneofWrappers = []interface{}{} + file_livekit_ingress_proto_msgTypes[5].OneofWrappers = []any{} + file_livekit_ingress_proto_msgTypes[9].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_ingress_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_ingress_proto_rawDesc), len(file_livekit_ingress_proto_rawDesc)), NumEnums: 4, NumMessages: 13, NumExtensions: 0, @@ -2012,7 +1824,6 @@ func file_livekit_ingress_proto_init() { MessageInfos: file_livekit_ingress_proto_msgTypes, }.Build() File_livekit_ingress_proto = out.File - file_livekit_ingress_proto_rawDesc = nil file_livekit_ingress_proto_goTypes = nil file_livekit_ingress_proto_depIdxs = nil } diff --git a/livekit/livekit_internal.pb.go b/livekit/livekit_internal.pb.go index 03592e363..6ca6ac0a2 100644 --- a/livekit/livekit_internal.pb.go +++ b/livekit/livekit_internal.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_internal.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -191,26 +192,23 @@ func (ICECandidateType) EnumDescriptor() ([]byte, []int) { } type Node struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` + NumCpus uint32 `protobuf:"varint,3,opt,name=num_cpus,json=numCpus,proto3" json:"num_cpus,omitempty"` + Stats *NodeStats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"` + Type NodeType `protobuf:"varint,5,opt,name=type,proto3,enum=livekit.NodeType" json:"type,omitempty"` + State NodeState `protobuf:"varint,6,opt,name=state,proto3,enum=livekit.NodeState" json:"state,omitempty"` + Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` - NumCpus uint32 `protobuf:"varint,3,opt,name=num_cpus,json=numCpus,proto3" json:"num_cpus,omitempty"` - Stats *NodeStats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"` - Type NodeType `protobuf:"varint,5,opt,name=type,proto3,enum=livekit.NodeType" json:"type,omitempty"` - State NodeState `protobuf:"varint,6,opt,name=state,proto3,enum=livekit.NodeState" json:"state,omitempty"` - Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Node) Reset() { *x = Node{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Node) String() string { @@ -221,7 +219,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -286,10 +284,7 @@ func (x *Node) GetRegion() string { } type NodeStats struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // when server was started StartedAt int64 `protobuf:"varint,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // when server last reported its status @@ -347,15 +342,15 @@ type NodeStats struct { // forward metrics ForwardLatency uint32 `protobuf:"varint,48,opt,name=forward_latency,json=forwardLatency,proto3" json:"forward_latency,omitempty"` ForwardJitter uint32 `protobuf:"varint,49,opt,name=forward_jitter,json=forwardJitter,proto3" json:"forward_jitter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeStats) Reset() { *x = NodeStats{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeStats) String() string { @@ -366,7 +361,7 @@ func (*NodeStats) ProtoMessage() {} func (x *NodeStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -725,13 +720,10 @@ func (x *NodeStats) GetForwardJitter() uint32 { } type StartSession struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // if a client is reconnecting (i.e. resume instead of restart) Reconnect bool `protobuf:"varint,4,opt,name=reconnect,proto3" json:"reconnect,omitempty"` AutoSubscribe bool `protobuf:"varint,9,opt,name=auto_subscribe,json=autoSubscribe,proto3" json:"auto_subscribe,omitempty"` @@ -748,15 +740,15 @@ type StartSession struct { SubscriberAllowPause *bool `protobuf:"varint,18,opt,name=subscriber_allow_pause,json=subscriberAllowPause,proto3,oneof" json:"subscriber_allow_pause,omitempty"` DisableIceLite bool `protobuf:"varint,19,opt,name=disable_ice_lite,json=disableIceLite,proto3" json:"disable_ice_lite,omitempty"` CreateRoom *CreateRoomRequest `protobuf:"bytes,20,opt,name=create_room,json=createRoom,proto3" json:"create_room,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartSession) Reset() { *x = StartSession{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartSession) String() string { @@ -767,7 +759,7 @@ func (*StartSession) ProtoMessage() {} func (x *StartSession) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -896,25 +888,22 @@ func (x *StartSession) GetCreateRoom() *CreateRoomRequest { // room info that should not be returned to clients type RoomInternal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` TrackEgress *AutoTrackEgress `protobuf:"bytes,1,opt,name=track_egress,json=trackEgress,proto3" json:"track_egress,omitempty"` ParticipantEgress *AutoParticipantEgress `protobuf:"bytes,2,opt,name=participant_egress,json=participantEgress,proto3" json:"participant_egress,omitempty"` PlayoutDelay *PlayoutDelay `protobuf:"bytes,3,opt,name=playout_delay,json=playoutDelay,proto3" json:"playout_delay,omitempty"` AgentDispatches []*RoomAgentDispatch `protobuf:"bytes,5,rep,name=agent_dispatches,json=agentDispatches,proto3" json:"agent_dispatches,omitempty"` SyncStreams bool `protobuf:"varint,4,opt,name=sync_streams,json=syncStreams,proto3" json:"sync_streams,omitempty"` ReplayEnabled bool `protobuf:"varint,6,opt,name=replay_enabled,json=replayEnabled,proto3" json:"replay_enabled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RoomInternal) Reset() { *x = RoomInternal{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomInternal) String() string { @@ -925,7 +914,7 @@ func (*RoomInternal) ProtoMessage() {} func (x *RoomInternal) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -983,21 +972,18 @@ func (x *RoomInternal) GetReplayEnabled() bool { } type ICEConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PreferenceSubscriber ICECandidateType `protobuf:"varint,1,opt,name=preference_subscriber,json=preferenceSubscriber,proto3,enum=livekit.ICECandidateType" json:"preference_subscriber,omitempty"` - PreferencePublisher ICECandidateType `protobuf:"varint,2,opt,name=preference_publisher,json=preferencePublisher,proto3,enum=livekit.ICECandidateType" json:"preference_publisher,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PreferenceSubscriber ICECandidateType `protobuf:"varint,1,opt,name=preference_subscriber,json=preferenceSubscriber,proto3,enum=livekit.ICECandidateType" json:"preference_subscriber,omitempty"` + PreferencePublisher ICECandidateType `protobuf:"varint,2,opt,name=preference_publisher,json=preferencePublisher,proto3,enum=livekit.ICECandidateType" json:"preference_publisher,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ICEConfig) Reset() { *x = ICEConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ICEConfig) String() string { @@ -1008,7 +994,7 @@ func (*ICEConfig) ProtoMessage() {} func (x *ICEConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1039,7 +1025,7 @@ func (x *ICEConfig) GetPreferencePublisher() ICECandidateType { var File_livekit_internal_proto protoreflect.FileDescriptor -var file_livekit_internal_proto_rawDesc = []byte{ +var file_livekit_internal_proto_rawDesc = string([]byte{ 0x0a, 0x16, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, @@ -1303,23 +1289,23 @@ var file_livekit_internal_proto_rawDesc = []byte{ 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_internal_proto_rawDescOnce sync.Once - file_livekit_internal_proto_rawDescData = file_livekit_internal_proto_rawDesc + file_livekit_internal_proto_rawDescData []byte ) func file_livekit_internal_proto_rawDescGZIP() []byte { file_livekit_internal_proto_rawDescOnce.Do(func() { - file_livekit_internal_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_internal_proto_rawDescData) + file_livekit_internal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_internal_proto_rawDesc), len(file_livekit_internal_proto_rawDesc))) }) return file_livekit_internal_proto_rawDescData } var file_livekit_internal_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_livekit_internal_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_livekit_internal_proto_goTypes = []interface{}{ +var file_livekit_internal_proto_goTypes = []any{ (NodeType)(0), // 0: livekit.NodeType (NodeState)(0), // 1: livekit.NodeState (ICECandidateType)(0), // 2: livekit.ICECandidateType @@ -1365,74 +1351,12 @@ func file_livekit_internal_proto_init() { file_livekit_egress_proto_init() file_livekit_agent_dispatch_proto_init() file_livekit_room_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_internal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Node); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_internal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeStats); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_internal_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartSession); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_internal_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomInternal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_internal_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ICEConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_internal_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_livekit_internal_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_internal_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_internal_proto_rawDesc), len(file_livekit_internal_proto_rawDesc)), NumEnums: 3, NumMessages: 5, NumExtensions: 0, @@ -1444,7 +1368,6 @@ func file_livekit_internal_proto_init() { MessageInfos: file_livekit_internal_proto_msgTypes, }.Build() File_livekit_internal_proto = out.File - file_livekit_internal_proto_rawDesc = nil file_livekit_internal_proto_goTypes = nil file_livekit_internal_proto_depIdxs = nil } diff --git a/livekit/livekit_metrics.pb.go b/livekit/livekit_metrics.pb.go index 49dfe7d76..d138e2405 100644 --- a/livekit/livekit_metrics.pb.go +++ b/livekit/livekit_metrics.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_metrics.proto package livekit @@ -12,6 +12,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -126,10 +127,7 @@ func (MetricLabel) EnumDescriptor() ([]byte, []int) { } type MetricsBatch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` TimestampMs int64 `protobuf:"varint,1,opt,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"` // time at which this batch is sent based on a monotonic clock (millisecond resolution) NormalizedTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=normalized_timestamp,json=normalizedTimestamp,proto3" json:"normalized_timestamp,omitempty"` // To avoid repeating string values, we store them in a separate list and reference them by index @@ -138,18 +136,18 @@ type MetricsBatch struct { // They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). // Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, // such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. - StrData []string `protobuf:"bytes,3,rep,name=str_data,json=strData,proto3" json:"str_data,omitempty"` - TimeSeries []*TimeSeriesMetric `protobuf:"bytes,4,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` - Events []*EventMetric `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` + StrData []string `protobuf:"bytes,3,rep,name=str_data,json=strData,proto3" json:"str_data,omitempty"` + TimeSeries []*TimeSeriesMetric `protobuf:"bytes,4,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` + Events []*EventMetric `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsBatch) Reset() { *x = MetricsBatch{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_metrics_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_metrics_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsBatch) String() string { @@ -160,7 +158,7 @@ func (*MetricsBatch) ProtoMessage() {} func (x *MetricsBatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -211,10 +209,7 @@ func (x *MetricsBatch) GetEvents() []*EventMetric { } type TimeSeriesMetric struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index // in the `str_data` field of `MetricsBatch` Label uint32 `protobuf:"varint,1,opt,name=label,proto3" json:"label,omitempty"` @@ -222,15 +217,15 @@ type TimeSeriesMetric struct { TrackSid uint32 `protobuf:"varint,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` // index into `str_data` Samples []*MetricSample `protobuf:"bytes,4,rep,name=samples,proto3" json:"samples,omitempty"` Rid uint32 `protobuf:"varint,5,opt,name=rid,proto3" json:"rid,omitempty"` // index into 'str_data' + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TimeSeriesMetric) Reset() { *x = TimeSeriesMetric{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_metrics_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_metrics_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimeSeriesMetric) String() string { @@ -241,7 +236,7 @@ func (*TimeSeriesMetric) ProtoMessage() {} func (x *TimeSeriesMetric) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -292,22 +287,19 @@ func (x *TimeSeriesMetric) GetRid() uint32 { } type MetricSample struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` TimestampMs int64 `protobuf:"varint,1,opt,name=timestamp_ms,json=timestampMs,proto3" json:"timestamp_ms,omitempty"` // time of metric based on a monotonic clock (in milliseconds) NormalizedTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=normalized_timestamp,json=normalizedTimestamp,proto3" json:"normalized_timestamp,omitempty"` Value float32 `protobuf:"fixed32,3,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricSample) Reset() { *x = MetricSample{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_metrics_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_metrics_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricSample) String() string { @@ -318,7 +310,7 @@ func (*MetricSample) ProtoMessage() {} func (x *MetricSample) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -355,10 +347,7 @@ func (x *MetricSample) GetValue() float32 { } type EventMetric struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Label uint32 `protobuf:"varint,1,opt,name=label,proto3" json:"label,omitempty"` ParticipantIdentity uint32 `protobuf:"varint,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` // index into `str_data` TrackSid uint32 `protobuf:"varint,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` // index into `str_data` @@ -368,15 +357,15 @@ type EventMetric struct { NormalizedEndTimestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=normalized_end_timestamp,json=normalizedEndTimestamp,proto3,oneof" json:"normalized_end_timestamp,omitempty"` Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` Rid uint32 `protobuf:"varint,9,opt,name=rid,proto3" json:"rid,omitempty"` // index into 'str_data' + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventMetric) Reset() { *x = EventMetric{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_metrics_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_metrics_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EventMetric) String() string { @@ -387,7 +376,7 @@ func (*EventMetric) ProtoMessage() {} func (x *EventMetric) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -467,7 +456,7 @@ func (x *EventMetric) GetRid() uint32 { var File_livekit_metrics_proto protoreflect.FileDescriptor -var file_livekit_metrics_proto_rawDesc = []byte{ +var file_livekit_metrics_proto_rawDesc = string([]byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, @@ -602,23 +591,23 @@ var file_livekit_metrics_proto_rawDesc = []byte{ 0x6b, 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_metrics_proto_rawDescOnce sync.Once - file_livekit_metrics_proto_rawDescData = file_livekit_metrics_proto_rawDesc + file_livekit_metrics_proto_rawDescData []byte ) func file_livekit_metrics_proto_rawDescGZIP() []byte { file_livekit_metrics_proto_rawDescOnce.Do(func() { - file_livekit_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_metrics_proto_rawDescData) + file_livekit_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_metrics_proto_rawDesc), len(file_livekit_metrics_proto_rawDesc))) }) return file_livekit_metrics_proto_rawDescData } var file_livekit_metrics_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_livekit_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_livekit_metrics_proto_goTypes = []interface{}{ +var file_livekit_metrics_proto_goTypes = []any{ (MetricLabel)(0), // 0: livekit.MetricLabel (*MetricsBatch)(nil), // 1: livekit.MetricsBatch (*TimeSeriesMetric)(nil), // 2: livekit.TimeSeriesMetric @@ -646,62 +635,12 @@ func file_livekit_metrics_proto_init() { if File_livekit_metrics_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_livekit_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsBatch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeSeriesMetric); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricSample); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventMetric); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_metrics_proto_msgTypes[3].OneofWrappers = []interface{}{} + file_livekit_metrics_proto_msgTypes[3].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_metrics_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_metrics_proto_rawDesc), len(file_livekit_metrics_proto_rawDesc)), NumEnums: 1, NumMessages: 4, NumExtensions: 0, @@ -713,7 +652,6 @@ func file_livekit_metrics_proto_init() { MessageInfos: file_livekit_metrics_proto_msgTypes, }.Build() File_livekit_metrics_proto = out.File - file_livekit_metrics_proto_rawDesc = nil file_livekit_metrics_proto_goTypes = nil file_livekit_metrics_proto_depIdxs = nil } diff --git a/livekit/livekit_models.pb.go b/livekit/livekit_models.pb.go index 298c6f144..1f225df9e 100644 --- a/livekit/livekit_models.pb.go +++ b/livekit/livekit_models.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_models.proto package livekit @@ -26,6 +26,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -1138,21 +1139,18 @@ func (DataStream_OperationType) EnumDescriptor() ([]byte, []int) { } type Pagination struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AfterId string `protobuf:"bytes,1,opt,name=after_id,json=afterId,proto3" json:"after_id,omitempty"` // list entities which IDs are greater + Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` unknownFields protoimpl.UnknownFields - - AfterId string `protobuf:"bytes,1,opt,name=after_id,json=afterId,proto3" json:"after_id,omitempty"` // list entities which IDs are greater - Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Pagination) Reset() { *x = Pagination{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Pagination) String() string { @@ -1163,7 +1161,7 @@ func (*Pagination) ProtoMessage() {} func (x *Pagination) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1193,33 +1191,30 @@ func (x *Pagination) GetLimit() int32 { } type Room struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - EmptyTimeout uint32 `protobuf:"varint,3,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` - DepartureTimeout uint32 `protobuf:"varint,14,opt,name=departure_timeout,json=departureTimeout,proto3" json:"departure_timeout,omitempty"` - MaxParticipants uint32 `protobuf:"varint,4,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"` - CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` - CreationTimeMs int64 `protobuf:"varint,15,opt,name=creation_time_ms,json=creationTimeMs,proto3" json:"creation_time_ms,omitempty"` - TurnPassword string `protobuf:"bytes,6,opt,name=turn_password,json=turnPassword,proto3" json:"turn_password,omitempty"` - EnabledCodecs []*Codec `protobuf:"bytes,7,rep,name=enabled_codecs,json=enabledCodecs,proto3" json:"enabled_codecs,omitempty"` - Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` - NumParticipants uint32 `protobuf:"varint,9,opt,name=num_participants,json=numParticipants,proto3" json:"num_participants,omitempty"` - NumPublishers uint32 `protobuf:"varint,11,opt,name=num_publishers,json=numPublishers,proto3" json:"num_publishers,omitempty"` - ActiveRecording bool `protobuf:"varint,10,opt,name=active_recording,json=activeRecording,proto3" json:"active_recording,omitempty"` - Version *TimedVersion `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + EmptyTimeout uint32 `protobuf:"varint,3,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` + DepartureTimeout uint32 `protobuf:"varint,14,opt,name=departure_timeout,json=departureTimeout,proto3" json:"departure_timeout,omitempty"` + MaxParticipants uint32 `protobuf:"varint,4,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"` + CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` + CreationTimeMs int64 `protobuf:"varint,15,opt,name=creation_time_ms,json=creationTimeMs,proto3" json:"creation_time_ms,omitempty"` + TurnPassword string `protobuf:"bytes,6,opt,name=turn_password,json=turnPassword,proto3" json:"turn_password,omitempty"` + EnabledCodecs []*Codec `protobuf:"bytes,7,rep,name=enabled_codecs,json=enabledCodecs,proto3" json:"enabled_codecs,omitempty"` + Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` + NumParticipants uint32 `protobuf:"varint,9,opt,name=num_participants,json=numParticipants,proto3" json:"num_participants,omitempty"` + NumPublishers uint32 `protobuf:"varint,11,opt,name=num_publishers,json=numPublishers,proto3" json:"num_publishers,omitempty"` + ActiveRecording bool `protobuf:"varint,10,opt,name=active_recording,json=activeRecording,proto3" json:"active_recording,omitempty"` + Version *TimedVersion `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Room) Reset() { *x = Room{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Room) String() string { @@ -1230,7 +1225,7 @@ func (*Room) ProtoMessage() {} func (x *Room) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1344,21 +1339,18 @@ func (x *Room) GetVersion() *TimedVersion { } type Codec struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Mime string `protobuf:"bytes,1,opt,name=mime,proto3" json:"mime,omitempty"` + FmtpLine string `protobuf:"bytes,2,opt,name=fmtp_line,json=fmtpLine,proto3" json:"fmtp_line,omitempty"` unknownFields protoimpl.UnknownFields - - Mime string `protobuf:"bytes,1,opt,name=mime,proto3" json:"mime,omitempty"` - FmtpLine string `protobuf:"bytes,2,opt,name=fmtp_line,json=fmtpLine,proto3" json:"fmtp_line,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Codec) Reset() { *x = Codec{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Codec) String() string { @@ -1369,7 +1361,7 @@ func (*Codec) ProtoMessage() {} func (x *Codec) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1399,22 +1391,19 @@ func (x *Codec) GetFmtpLine() string { } type PlayoutDelay struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + Min uint32 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` + Max uint32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` unknownFields protoimpl.UnknownFields - - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - Min uint32 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` - Max uint32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PlayoutDelay) Reset() { *x = PlayoutDelay{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayoutDelay) String() string { @@ -1425,7 +1414,7 @@ func (*PlayoutDelay) ProtoMessage() {} func (x *PlayoutDelay) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1462,10 +1451,7 @@ func (x *PlayoutDelay) GetMax() uint32 { } type ParticipantPermission struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // allow participant to subscribe to other tracks in the room CanSubscribe bool `protobuf:"varint,1,opt,name=can_subscribe,json=canSubscribe,proto3" json:"can_subscribe,omitempty"` // allow participant to publish new tracks to room @@ -1490,15 +1476,15 @@ type ParticipantPermission struct { Agent bool `protobuf:"varint,11,opt,name=agent,proto3" json:"agent,omitempty"` // if a participant can subscribe to metrics CanSubscribeMetrics bool `protobuf:"varint,12,opt,name=can_subscribe_metrics,json=canSubscribeMetrics,proto3" json:"can_subscribe_metrics,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ParticipantPermission) Reset() { *x = ParticipantPermission{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantPermission) String() string { @@ -1509,7 +1495,7 @@ func (*ParticipantPermission) ProtoMessage() {} func (x *ParticipantPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1590,15 +1576,12 @@ func (x *ParticipantPermission) GetCanSubscribeMetrics() bool { } type ParticipantInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` - State ParticipantInfo_State `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` - Tracks []*TrackInfo `protobuf:"bytes,4,rep,name=tracks,proto3" json:"tracks,omitempty"` - Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + State ParticipantInfo_State `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.ParticipantInfo_State" json:"state,omitempty"` + Tracks []*TrackInfo `protobuf:"bytes,4,rep,name=tracks,proto3" json:"tracks,omitempty"` + Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // timestamp when participant joined room, in seconds JoinedAt int64 `protobuf:"varint,6,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` // timestamp when participant joined room, in milliseconds @@ -1611,17 +1594,17 @@ type ParticipantInfo struct { // and can publish to the server IsPublisher bool `protobuf:"varint,13,opt,name=is_publisher,json=isPublisher,proto3" json:"is_publisher,omitempty"` Kind ParticipantInfo_Kind `protobuf:"varint,14,opt,name=kind,proto3,enum=livekit.ParticipantInfo_Kind" json:"kind,omitempty"` - Attributes map[string]string `protobuf:"bytes,15,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Attributes map[string]string `protobuf:"bytes,15,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` DisconnectReason DisconnectReason `protobuf:"varint,16,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ParticipantInfo) Reset() { *x = ParticipantInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantInfo) String() string { @@ -1632,7 +1615,7 @@ func (*ParticipantInfo) ProtoMessage() {} func (x *ParticipantInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1753,18 +1736,16 @@ func (x *ParticipantInfo) GetDisconnectReason() DisconnectReason { } type Encryption struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Encryption) Reset() { *x = Encryption{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Encryption) String() string { @@ -1775,7 +1756,7 @@ func (*Encryption) ProtoMessage() {} func (x *Encryption) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1791,23 +1772,20 @@ func (*Encryption) Descriptor() ([]byte, []int) { } type SimulcastCodecInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + Mid string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"` + Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` + Layers []*VideoLayer `protobuf:"bytes,4,rep,name=layers,proto3" json:"layers,omitempty"` unknownFields protoimpl.UnknownFields - - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - Mid string `protobuf:"bytes,2,opt,name=mid,proto3" json:"mid,omitempty"` - Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` - Layers []*VideoLayer `protobuf:"bytes,4,rep,name=layers,proto3" json:"layers,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SimulcastCodecInfo) Reset() { *x = SimulcastCodecInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulcastCodecInfo) String() string { @@ -1818,7 +1796,7 @@ func (*SimulcastCodecInfo) ProtoMessage() {} func (x *SimulcastCodecInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1862,14 +1840,11 @@ func (x *SimulcastCodecInfo) GetLayers() []*VideoLayer { } type TrackInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Type TrackType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.TrackType" json:"type,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Type TrackType `protobuf:"varint,2,opt,name=type,proto3,enum=livekit.TrackType" json:"type,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` // original width of video (unset for audio) // clients may receive a lower resolution version with simulcast Width uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"` @@ -1894,15 +1869,15 @@ type TrackInfo struct { Version *TimedVersion `protobuf:"bytes,18,opt,name=version,proto3" json:"version,omitempty"` AudioFeatures []AudioTrackFeature `protobuf:"varint,19,rep,packed,name=audio_features,json=audioFeatures,proto3,enum=livekit.AudioTrackFeature" json:"audio_features,omitempty"` BackupCodecPolicy BackupCodecPolicy `protobuf:"varint,20,opt,name=backup_codec_policy,json=backupCodecPolicy,proto3,enum=livekit.BackupCodecPolicy" json:"backup_codec_policy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TrackInfo) Reset() { *x = TrackInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackInfo) String() string { @@ -1913,7 +1888,7 @@ func (*TrackInfo) ProtoMessage() {} func (x *TrackInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2070,26 +2045,23 @@ func (x *TrackInfo) GetBackupCodecPolicy() BackupCodecPolicy { // provide information about available spatial layers type VideoLayer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // for tracks with a single layer, this should be HIGH Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"` Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // target bitrate in bit per second (bps), server will measure actual - Bitrate uint32 `protobuf:"varint,4,opt,name=bitrate,proto3" json:"bitrate,omitempty"` - Ssrc uint32 `protobuf:"varint,5,opt,name=ssrc,proto3" json:"ssrc,omitempty"` + Bitrate uint32 `protobuf:"varint,4,opt,name=bitrate,proto3" json:"bitrate,omitempty"` + Ssrc uint32 `protobuf:"varint,5,opt,name=ssrc,proto3" json:"ssrc,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VideoLayer) Reset() { *x = VideoLayer{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VideoLayer) String() string { @@ -2100,7 +2072,7 @@ func (*VideoLayer) ProtoMessage() {} func (x *VideoLayer) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2152,17 +2124,14 @@ func (x *VideoLayer) GetSsrc() uint32 { // new DataPacket API type DataPacket struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Deprecated: Marked as deprecated in livekit_models.proto. Kind DataPacket_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"` // participant identity of user that sent the message ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` // identities of participants who will receive the message (sent to all by default) DestinationIdentities []string `protobuf:"bytes,5,rep,name=destination_identities,json=destinationIdentities,proto3" json:"destination_identities,omitempty"` - // Types that are assignable to Value: + // Types that are valid to be assigned to Value: // // *DataPacket_User // *DataPacket_Speaker @@ -2176,16 +2145,16 @@ type DataPacket struct { // *DataPacket_StreamHeader // *DataPacket_StreamChunk // *DataPacket_StreamTrailer - Value isDataPacket_Value `protobuf_oneof:"value"` + Value isDataPacket_Value `protobuf_oneof:"value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataPacket) Reset() { *x = DataPacket{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataPacket) String() string { @@ -2196,7 +2165,7 @@ func (*DataPacket) ProtoMessage() {} func (x *DataPacket) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2233,94 +2202,118 @@ func (x *DataPacket) GetDestinationIdentities() []string { return nil } -func (m *DataPacket) GetValue() isDataPacket_Value { - if m != nil { - return m.Value +func (x *DataPacket) GetValue() isDataPacket_Value { + if x != nil { + return x.Value } return nil } func (x *DataPacket) GetUser() *UserPacket { - if x, ok := x.GetValue().(*DataPacket_User); ok { - return x.User + if x != nil { + if x, ok := x.Value.(*DataPacket_User); ok { + return x.User + } } return nil } // Deprecated: Marked as deprecated in livekit_models.proto. func (x *DataPacket) GetSpeaker() *ActiveSpeakerUpdate { - if x, ok := x.GetValue().(*DataPacket_Speaker); ok { - return x.Speaker + if x != nil { + if x, ok := x.Value.(*DataPacket_Speaker); ok { + return x.Speaker + } } return nil } func (x *DataPacket) GetSipDtmf() *SipDTMF { - if x, ok := x.GetValue().(*DataPacket_SipDtmf); ok { - return x.SipDtmf + if x != nil { + if x, ok := x.Value.(*DataPacket_SipDtmf); ok { + return x.SipDtmf + } } return nil } func (x *DataPacket) GetTranscription() *Transcription { - if x, ok := x.GetValue().(*DataPacket_Transcription); ok { - return x.Transcription + if x != nil { + if x, ok := x.Value.(*DataPacket_Transcription); ok { + return x.Transcription + } } return nil } func (x *DataPacket) GetMetrics() *MetricsBatch { - if x, ok := x.GetValue().(*DataPacket_Metrics); ok { - return x.Metrics + if x != nil { + if x, ok := x.Value.(*DataPacket_Metrics); ok { + return x.Metrics + } } return nil } func (x *DataPacket) GetChatMessage() *ChatMessage { - if x, ok := x.GetValue().(*DataPacket_ChatMessage); ok { - return x.ChatMessage + if x != nil { + if x, ok := x.Value.(*DataPacket_ChatMessage); ok { + return x.ChatMessage + } } return nil } func (x *DataPacket) GetRpcRequest() *RpcRequest { - if x, ok := x.GetValue().(*DataPacket_RpcRequest); ok { - return x.RpcRequest + if x != nil { + if x, ok := x.Value.(*DataPacket_RpcRequest); ok { + return x.RpcRequest + } } return nil } func (x *DataPacket) GetRpcAck() *RpcAck { - if x, ok := x.GetValue().(*DataPacket_RpcAck); ok { - return x.RpcAck + if x != nil { + if x, ok := x.Value.(*DataPacket_RpcAck); ok { + return x.RpcAck + } } return nil } func (x *DataPacket) GetRpcResponse() *RpcResponse { - if x, ok := x.GetValue().(*DataPacket_RpcResponse); ok { - return x.RpcResponse + if x != nil { + if x, ok := x.Value.(*DataPacket_RpcResponse); ok { + return x.RpcResponse + } } return nil } func (x *DataPacket) GetStreamHeader() *DataStream_Header { - if x, ok := x.GetValue().(*DataPacket_StreamHeader); ok { - return x.StreamHeader + if x != nil { + if x, ok := x.Value.(*DataPacket_StreamHeader); ok { + return x.StreamHeader + } } return nil } func (x *DataPacket) GetStreamChunk() *DataStream_Chunk { - if x, ok := x.GetValue().(*DataPacket_StreamChunk); ok { - return x.StreamChunk + if x != nil { + if x, ok := x.Value.(*DataPacket_StreamChunk); ok { + return x.StreamChunk + } } return nil } func (x *DataPacket) GetStreamTrailer() *DataStream_Trailer { - if x, ok := x.GetValue().(*DataPacket_StreamTrailer); ok { - return x.StreamTrailer + if x != nil { + if x, ok := x.Value.(*DataPacket_StreamTrailer); ok { + return x.StreamTrailer + } } return nil } @@ -2403,20 +2396,17 @@ func (*DataPacket_StreamChunk) isDataPacket_Value() {} func (*DataPacket_StreamTrailer) isDataPacket_Value() {} type ActiveSpeakerUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` unknownFields protoimpl.UnknownFields - - Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ActiveSpeakerUpdate) Reset() { *x = ActiveSpeakerUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ActiveSpeakerUpdate) String() string { @@ -2427,7 +2417,7 @@ func (*ActiveSpeakerUpdate) ProtoMessage() {} func (x *ActiveSpeakerUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2450,24 +2440,21 @@ func (x *ActiveSpeakerUpdate) GetSpeakers() []*SpeakerInfo { } type SpeakerInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` // audio level, 0-1.0, 1 is loudest Level float32 `protobuf:"fixed32,2,opt,name=level,proto3" json:"level,omitempty"` // true if speaker is currently active - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` + Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SpeakerInfo) Reset() { *x = SpeakerInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SpeakerInfo) String() string { @@ -2478,7 +2465,7 @@ func (*SpeakerInfo) ProtoMessage() {} func (x *SpeakerInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2515,10 +2502,7 @@ func (x *SpeakerInfo) GetActive() bool { } type UserPacket struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // participant ID of user that sent the message // // Deprecated: Marked as deprecated in livekit_models.proto. @@ -2543,16 +2527,16 @@ type UserPacket struct { StartTime *uint64 `protobuf:"varint,9,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"` EndTime *uint64 `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"` // added by SDK to enable de-duping of messages, for INTERNAL USE ONLY - Nonce []byte `protobuf:"bytes,11,opt,name=nonce,proto3" json:"nonce,omitempty"` + Nonce []byte `protobuf:"bytes,11,opt,name=nonce,proto3" json:"nonce,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserPacket) Reset() { *x = UserPacket{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UserPacket) String() string { @@ -2563,7 +2547,7 @@ func (*UserPacket) ProtoMessage() {} func (x *UserPacket) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2653,21 +2637,18 @@ func (x *UserPacket) GetNonce() []byte { } type SipDTMF struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` + Digit string `protobuf:"bytes,4,opt,name=digit,proto3" json:"digit,omitempty"` unknownFields protoimpl.UnknownFields - - Code uint32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` - Digit string `protobuf:"bytes,4,opt,name=digit,proto3" json:"digit,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SipDTMF) Reset() { *x = SipDTMF{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SipDTMF) String() string { @@ -2678,7 +2659,7 @@ func (*SipDTMF) ProtoMessage() {} func (x *SipDTMF) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2708,23 +2689,20 @@ func (x *SipDTMF) GetDigit() string { } type Transcription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Participant that got its speech transcribed TranscribedParticipantIdentity string `protobuf:"bytes,2,opt,name=transcribed_participant_identity,json=transcribedParticipantIdentity,proto3" json:"transcribed_participant_identity,omitempty"` TrackId string `protobuf:"bytes,3,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` Segments []*TranscriptionSegment `protobuf:"bytes,4,rep,name=segments,proto3" json:"segments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Transcription) Reset() { *x = Transcription{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Transcription) String() string { @@ -2735,7 +2713,7 @@ func (*Transcription) ProtoMessage() {} func (x *Transcription) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2772,25 +2750,22 @@ func (x *Transcription) GetSegments() []*TranscriptionSegment { } type TranscriptionSegment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` + StartTime uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime uint64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + Final bool `protobuf:"varint,5,opt,name=final,proto3" json:"final,omitempty"` + Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"` unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` - StartTime uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime uint64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - Final bool `protobuf:"varint,5,opt,name=final,proto3" json:"final,omitempty"` - Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TranscriptionSegment) Reset() { *x = TranscriptionSegment{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TranscriptionSegment) String() string { @@ -2801,7 +2776,7 @@ func (*TranscriptionSegment) ProtoMessage() {} func (x *TranscriptionSegment) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2859,25 +2834,22 @@ func (x *TranscriptionSegment) GetLanguage() string { } type ChatMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // uuid + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + EditTimestamp *int64 `protobuf:"varint,3,opt,name=edit_timestamp,json=editTimestamp,proto3,oneof" json:"edit_timestamp,omitempty"` // populated only if the intent is to edit/update an existing message + Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` + Deleted bool `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"` // true to remove message + Generated bool `protobuf:"varint,6,opt,name=generated,proto3" json:"generated,omitempty"` // true if the chat message has been generated by an agent from a participant's audio transcription unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // uuid - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - EditTimestamp *int64 `protobuf:"varint,3,opt,name=edit_timestamp,json=editTimestamp,proto3,oneof" json:"edit_timestamp,omitempty"` // populated only if the intent is to edit/update an existing message - Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` - Deleted bool `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"` // true to remove message - Generated bool `protobuf:"varint,6,opt,name=generated,proto3" json:"generated,omitempty"` // true if the chat message has been generated by an agent from a participant's audio transcription + sizeCache protoimpl.SizeCache } func (x *ChatMessage) Reset() { *x = ChatMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChatMessage) String() string { @@ -2888,7 +2860,7 @@ func (*ChatMessage) ProtoMessage() {} func (x *ChatMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2946,24 +2918,21 @@ func (x *ChatMessage) GetGenerated() bool { } type RpcRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` - Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - ResponseTimeoutMs uint32 `protobuf:"varint,4,opt,name=response_timeout_ms,json=responseTimeoutMs,proto3" json:"response_timeout_ms,omitempty"` - Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` + Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` + ResponseTimeoutMs uint32 `protobuf:"varint,4,opt,name=response_timeout_ms,json=responseTimeoutMs,proto3" json:"response_timeout_ms,omitempty"` + Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RpcRequest) Reset() { *x = RpcRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RpcRequest) String() string { @@ -2974,7 +2943,7 @@ func (*RpcRequest) ProtoMessage() {} func (x *RpcRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3025,20 +2994,17 @@ func (x *RpcRequest) GetVersion() uint32 { } type RpcAck struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` unknownFields protoimpl.UnknownFields - - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RpcAck) Reset() { *x = RpcAck{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RpcAck) String() string { @@ -3049,7 +3015,7 @@ func (*RpcAck) ProtoMessage() {} func (x *RpcAck) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3072,25 +3038,22 @@ func (x *RpcAck) GetRequestId() string { } type RpcResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Types that are assignable to Value: + state protoimpl.MessageState `protogen:"open.v1"` + RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // Types that are valid to be assigned to Value: // // *RpcResponse_Payload // *RpcResponse_Error - Value isRpcResponse_Value `protobuf_oneof:"value"` + Value isRpcResponse_Value `protobuf_oneof:"value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RpcResponse) Reset() { *x = RpcResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RpcResponse) String() string { @@ -3101,7 +3064,7 @@ func (*RpcResponse) ProtoMessage() {} func (x *RpcResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3123,23 +3086,27 @@ func (x *RpcResponse) GetRequestId() string { return "" } -func (m *RpcResponse) GetValue() isRpcResponse_Value { - if m != nil { - return m.Value +func (x *RpcResponse) GetValue() isRpcResponse_Value { + if x != nil { + return x.Value } return nil } func (x *RpcResponse) GetPayload() string { - if x, ok := x.GetValue().(*RpcResponse_Payload); ok { - return x.Payload + if x != nil { + if x, ok := x.Value.(*RpcResponse_Payload); ok { + return x.Payload + } } return "" } func (x *RpcResponse) GetError() *RpcError { - if x, ok := x.GetValue().(*RpcResponse_Error); ok { - return x.Error + if x != nil { + if x, ok := x.Value.(*RpcResponse_Error); ok { + return x.Error + } } return nil } @@ -3161,22 +3128,19 @@ func (*RpcResponse_Payload) isRpcResponse_Value() {} func (*RpcResponse_Error) isRpcResponse_Value() {} type RpcError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields - - Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RpcError) Reset() { *x = RpcError{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RpcError) String() string { @@ -3187,7 +3151,7 @@ func (*RpcError) ProtoMessage() {} func (x *RpcError) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3224,22 +3188,19 @@ func (x *RpcError) GetData() string { } type ParticipantTracks struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // participant ID of participant to whom the tracks belong ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` TrackSids []string `protobuf:"bytes,2,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ParticipantTracks) Reset() { *x = ParticipantTracks{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantTracks) String() string { @@ -3250,7 +3211,7 @@ func (*ParticipantTracks) ProtoMessage() {} func (x *ParticipantTracks) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3281,27 +3242,24 @@ func (x *ParticipantTracks) GetTrackSids() []string { // details about the server type ServerInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Edition ServerInfo_Edition `protobuf:"varint,1,opt,name=edition,proto3,enum=livekit.ServerInfo_Edition" json:"edition,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` - NodeId string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Edition ServerInfo_Edition `protobuf:"varint,1,opt,name=edition,proto3,enum=livekit.ServerInfo_Edition" json:"edition,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` + Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` + NodeId string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // additional debugging information. sent only if server is in development mode DebugInfo string `protobuf:"bytes,6,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"` AgentProtocol int32 `protobuf:"varint,7,opt,name=agent_protocol,json=agentProtocol,proto3" json:"agent_protocol,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerInfo) Reset() { *x = ServerInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServerInfo) String() string { @@ -3312,7 +3270,7 @@ func (*ServerInfo) ProtoMessage() {} func (x *ServerInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3378,33 +3336,30 @@ func (x *ServerInfo) GetAgentProtocol() int32 { // details about the client type ClientInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sdk ClientInfo_SDK `protobuf:"varint,1,opt,name=sdk,proto3,enum=livekit.ClientInfo_SDK" json:"sdk,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"` - OsVersion string `protobuf:"bytes,5,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` - DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"` - Browser string `protobuf:"bytes,7,opt,name=browser,proto3" json:"browser,omitempty"` - BrowserVersion string `protobuf:"bytes,8,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"` - Address string `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Sdk ClientInfo_SDK `protobuf:"varint,1,opt,name=sdk,proto3,enum=livekit.ClientInfo_SDK" json:"sdk,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Protocol int32 `protobuf:"varint,3,opt,name=protocol,proto3" json:"protocol,omitempty"` + Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"` + OsVersion string `protobuf:"bytes,5,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` + DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"` + Browser string `protobuf:"bytes,7,opt,name=browser,proto3" json:"browser,omitempty"` + BrowserVersion string `protobuf:"bytes,8,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"` + Address string `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"` // wifi, wired, cellular, vpn, empty if not known Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"` // comma separated list of additional LiveKit SDKs in use of this client, with versions // e.g. "components-js:1.2.3,track-processors-js:1.2.3" - OtherSdks string `protobuf:"bytes,11,opt,name=other_sdks,json=otherSdks,proto3" json:"other_sdks,omitempty"` + OtherSdks string `protobuf:"bytes,11,opt,name=other_sdks,json=otherSdks,proto3" json:"other_sdks,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClientInfo) Reset() { *x = ClientInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientInfo) String() string { @@ -3415,7 +3370,7 @@ func (*ClientInfo) ProtoMessage() {} func (x *ClientInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3509,24 +3464,21 @@ func (x *ClientInfo) GetOtherSdks() string { // server provided client configuration type ClientConfiguration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Video *VideoConfiguration `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"` - Screen *VideoConfiguration `protobuf:"bytes,2,opt,name=screen,proto3" json:"screen,omitempty"` - ResumeConnection ClientConfigSetting `protobuf:"varint,3,opt,name=resume_connection,json=resumeConnection,proto3,enum=livekit.ClientConfigSetting" json:"resume_connection,omitempty"` - DisabledCodecs *DisabledCodecs `protobuf:"bytes,4,opt,name=disabled_codecs,json=disabledCodecs,proto3" json:"disabled_codecs,omitempty"` - ForceRelay ClientConfigSetting `protobuf:"varint,5,opt,name=force_relay,json=forceRelay,proto3,enum=livekit.ClientConfigSetting" json:"force_relay,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Video *VideoConfiguration `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"` + Screen *VideoConfiguration `protobuf:"bytes,2,opt,name=screen,proto3" json:"screen,omitempty"` + ResumeConnection ClientConfigSetting `protobuf:"varint,3,opt,name=resume_connection,json=resumeConnection,proto3,enum=livekit.ClientConfigSetting" json:"resume_connection,omitempty"` + DisabledCodecs *DisabledCodecs `protobuf:"bytes,4,opt,name=disabled_codecs,json=disabledCodecs,proto3" json:"disabled_codecs,omitempty"` + ForceRelay ClientConfigSetting `protobuf:"varint,5,opt,name=force_relay,json=forceRelay,proto3,enum=livekit.ClientConfigSetting" json:"force_relay,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClientConfiguration) Reset() { *x = ClientConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientConfiguration) String() string { @@ -3537,7 +3489,7 @@ func (*ClientConfiguration) ProtoMessage() {} func (x *ClientConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3588,20 +3540,17 @@ func (x *ClientConfiguration) GetForceRelay() ClientConfigSetting { } type VideoConfiguration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - HardwareEncoder ClientConfigSetting `protobuf:"varint,1,opt,name=hardware_encoder,json=hardwareEncoder,proto3,enum=livekit.ClientConfigSetting" json:"hardware_encoder,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + HardwareEncoder ClientConfigSetting `protobuf:"varint,1,opt,name=hardware_encoder,json=hardwareEncoder,proto3,enum=livekit.ClientConfigSetting" json:"hardware_encoder,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VideoConfiguration) Reset() { *x = VideoConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VideoConfiguration) String() string { @@ -3612,7 +3561,7 @@ func (*VideoConfiguration) ProtoMessage() {} func (x *VideoConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3635,23 +3584,20 @@ func (x *VideoConfiguration) GetHardwareEncoder() ClientConfigSetting { } type DisabledCodecs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // disabled for both publish and subscribe Codecs []*Codec `protobuf:"bytes,1,rep,name=codecs,proto3" json:"codecs,omitempty"` // only disable for publish - Publish []*Codec `protobuf:"bytes,2,rep,name=publish,proto3" json:"publish,omitempty"` + Publish []*Codec `protobuf:"bytes,2,rep,name=publish,proto3" json:"publish,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisabledCodecs) Reset() { *x = DisabledCodecs{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DisabledCodecs) String() string { @@ -3662,7 +3608,7 @@ func (*DisabledCodecs) ProtoMessage() {} func (x *DisabledCodecs) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3692,10 +3638,7 @@ func (x *DisabledCodecs) GetPublish() []*Codec { } type RTPDrift struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Duration float64 `protobuf:"fixed64,3,opt,name=duration,proto3" json:"duration,omitempty"` @@ -3705,15 +3648,15 @@ type RTPDrift struct { DriftSamples int64 `protobuf:"varint,7,opt,name=drift_samples,json=driftSamples,proto3" json:"drift_samples,omitempty"` DriftMs float64 `protobuf:"fixed64,8,opt,name=drift_ms,json=driftMs,proto3" json:"drift_ms,omitempty"` ClockRate float64 `protobuf:"fixed64,9,opt,name=clock_rate,json=clockRate,proto3" json:"clock_rate,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RTPDrift) Reset() { *x = RTPDrift{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTPDrift) String() string { @@ -3724,7 +3667,7 @@ func (*RTPDrift) ProtoMessage() {} func (x *RTPDrift) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3803,10 +3746,7 @@ func (x *RTPDrift) GetClockRate() float64 { } type RTPStats struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Duration float64 `protobuf:"fixed64,3,opt,name=duration,proto3" json:"duration,omitempty"` @@ -3833,7 +3773,7 @@ type RTPStats struct { FrameRate float64 `protobuf:"fixed64,21,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"` JitterCurrent float64 `protobuf:"fixed64,22,opt,name=jitter_current,json=jitterCurrent,proto3" json:"jitter_current,omitempty"` JitterMax float64 `protobuf:"fixed64,23,opt,name=jitter_max,json=jitterMax,proto3" json:"jitter_max,omitempty"` - GapHistogram map[int32]uint32 `protobuf:"bytes,24,rep,name=gap_histogram,json=gapHistogram,proto3" json:"gap_histogram,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + GapHistogram map[int32]uint32 `protobuf:"bytes,24,rep,name=gap_histogram,json=gapHistogram,proto3" json:"gap_histogram,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` Nacks uint32 `protobuf:"varint,25,opt,name=nacks,proto3" json:"nacks,omitempty"` NackAcks uint32 `protobuf:"varint,37,opt,name=nack_acks,json=nackAcks,proto3" json:"nack_acks,omitempty"` NackMisses uint32 `protobuf:"varint,26,opt,name=nack_misses,json=nackMisses,proto3" json:"nack_misses,omitempty"` @@ -3852,15 +3792,15 @@ type RTPStats struct { NtpReportDrift *RTPDrift `protobuf:"bytes,45,opt,name=ntp_report_drift,json=ntpReportDrift,proto3" json:"ntp_report_drift,omitempty"` RebasedReportDrift *RTPDrift `protobuf:"bytes,46,opt,name=rebased_report_drift,json=rebasedReportDrift,proto3" json:"rebased_report_drift,omitempty"` ReceivedReportDrift *RTPDrift `protobuf:"bytes,47,opt,name=received_report_drift,json=receivedReportDrift,proto3" json:"received_report_drift,omitempty"` // NEXT_ID: 48 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RTPStats) Reset() { *x = RTPStats{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTPStats) String() string { @@ -3871,7 +3811,7 @@ func (*RTPStats) ProtoMessage() {} func (x *RTPStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4202,26 +4142,23 @@ func (x *RTPStats) GetReceivedReportDrift() *RTPDrift { } type RTCPSenderReportState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RtpTimestamp uint32 `protobuf:"varint,1,opt,name=rtp_timestamp,json=rtpTimestamp,proto3" json:"rtp_timestamp,omitempty"` - RtpTimestampExt uint64 `protobuf:"varint,2,opt,name=rtp_timestamp_ext,json=rtpTimestampExt,proto3" json:"rtp_timestamp_ext,omitempty"` - NtpTimestamp uint64 `protobuf:"varint,3,opt,name=ntp_timestamp,json=ntpTimestamp,proto3" json:"ntp_timestamp,omitempty"` - At int64 `protobuf:"varint,4,opt,name=at,proto3" json:"at,omitempty"` // time at which this happened - AtAdjusted int64 `protobuf:"varint,5,opt,name=at_adjusted,json=atAdjusted,proto3" json:"at_adjusted,omitempty"` - Packets uint32 `protobuf:"varint,6,opt,name=packets,proto3" json:"packets,omitempty"` - Octets uint64 `protobuf:"varint,7,opt,name=octets,proto3" json:"octets,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RtpTimestamp uint32 `protobuf:"varint,1,opt,name=rtp_timestamp,json=rtpTimestamp,proto3" json:"rtp_timestamp,omitempty"` + RtpTimestampExt uint64 `protobuf:"varint,2,opt,name=rtp_timestamp_ext,json=rtpTimestampExt,proto3" json:"rtp_timestamp_ext,omitempty"` + NtpTimestamp uint64 `protobuf:"varint,3,opt,name=ntp_timestamp,json=ntpTimestamp,proto3" json:"ntp_timestamp,omitempty"` + At int64 `protobuf:"varint,4,opt,name=at,proto3" json:"at,omitempty"` // time at which this happened + AtAdjusted int64 `protobuf:"varint,5,opt,name=at_adjusted,json=atAdjusted,proto3" json:"at_adjusted,omitempty"` + Packets uint32 `protobuf:"varint,6,opt,name=packets,proto3" json:"packets,omitempty"` + Octets uint64 `protobuf:"varint,7,opt,name=octets,proto3" json:"octets,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RTCPSenderReportState) Reset() { *x = RTCPSenderReportState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTCPSenderReportState) String() string { @@ -4232,7 +4169,7 @@ func (*RTCPSenderReportState) ProtoMessage() {} func (x *RTCPSenderReportState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4297,30 +4234,27 @@ func (x *RTCPSenderReportState) GetOctets() uint64 { } type RTPForwarderState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"` - ReferenceLayerSpatial int32 `protobuf:"varint,2,opt,name=reference_layer_spatial,json=referenceLayerSpatial,proto3" json:"reference_layer_spatial,omitempty"` - PreStartTime int64 `protobuf:"varint,3,opt,name=pre_start_time,json=preStartTime,proto3" json:"pre_start_time,omitempty"` - ExtFirstTimestamp uint64 `protobuf:"varint,4,opt,name=ext_first_timestamp,json=extFirstTimestamp,proto3" json:"ext_first_timestamp,omitempty"` - DummyStartTimestampOffset uint64 `protobuf:"varint,5,opt,name=dummy_start_timestamp_offset,json=dummyStartTimestampOffset,proto3" json:"dummy_start_timestamp_offset,omitempty"` - RtpMunger *RTPMungerState `protobuf:"bytes,6,opt,name=rtp_munger,json=rtpMunger,proto3" json:"rtp_munger,omitempty"` - // Types that are assignable to CodecMunger: + state protoimpl.MessageState `protogen:"open.v1"` + Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"` + ReferenceLayerSpatial int32 `protobuf:"varint,2,opt,name=reference_layer_spatial,json=referenceLayerSpatial,proto3" json:"reference_layer_spatial,omitempty"` + PreStartTime int64 `protobuf:"varint,3,opt,name=pre_start_time,json=preStartTime,proto3" json:"pre_start_time,omitempty"` + ExtFirstTimestamp uint64 `protobuf:"varint,4,opt,name=ext_first_timestamp,json=extFirstTimestamp,proto3" json:"ext_first_timestamp,omitempty"` + DummyStartTimestampOffset uint64 `protobuf:"varint,5,opt,name=dummy_start_timestamp_offset,json=dummyStartTimestampOffset,proto3" json:"dummy_start_timestamp_offset,omitempty"` + RtpMunger *RTPMungerState `protobuf:"bytes,6,opt,name=rtp_munger,json=rtpMunger,proto3" json:"rtp_munger,omitempty"` + // Types that are valid to be assigned to CodecMunger: // // *RTPForwarderState_Vp8Munger CodecMunger isRTPForwarderState_CodecMunger `protobuf_oneof:"codec_munger"` SenderReportState []*RTCPSenderReportState `protobuf:"bytes,8,rep,name=sender_report_state,json=senderReportState,proto3" json:"sender_report_state,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RTPForwarderState) Reset() { *x = RTPForwarderState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTPForwarderState) String() string { @@ -4331,7 +4265,7 @@ func (*RTPForwarderState) ProtoMessage() {} func (x *RTPForwarderState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4388,16 +4322,18 @@ func (x *RTPForwarderState) GetRtpMunger() *RTPMungerState { return nil } -func (m *RTPForwarderState) GetCodecMunger() isRTPForwarderState_CodecMunger { - if m != nil { - return m.CodecMunger +func (x *RTPForwarderState) GetCodecMunger() isRTPForwarderState_CodecMunger { + if x != nil { + return x.CodecMunger } return nil } func (x *RTPForwarderState) GetVp8Munger() *VP8MungerState { - if x, ok := x.GetCodecMunger().(*RTPForwarderState_Vp8Munger); ok { - return x.Vp8Munger + if x != nil { + if x, ok := x.CodecMunger.(*RTPForwarderState_Vp8Munger); ok { + return x.Vp8Munger + } } return nil } @@ -4420,25 +4356,22 @@ type RTPForwarderState_Vp8Munger struct { func (*RTPForwarderState_Vp8Munger) isRTPForwarderState_CodecMunger() {} type RTPMungerState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ExtLastSequenceNumber uint64 `protobuf:"varint,1,opt,name=ext_last_sequence_number,json=extLastSequenceNumber,proto3" json:"ext_last_sequence_number,omitempty"` - ExtSecondLastSequenceNumber uint64 `protobuf:"varint,2,opt,name=ext_second_last_sequence_number,json=extSecondLastSequenceNumber,proto3" json:"ext_second_last_sequence_number,omitempty"` - ExtLastTimestamp uint64 `protobuf:"varint,3,opt,name=ext_last_timestamp,json=extLastTimestamp,proto3" json:"ext_last_timestamp,omitempty"` - ExtSecondLastTimestamp uint64 `protobuf:"varint,4,opt,name=ext_second_last_timestamp,json=extSecondLastTimestamp,proto3" json:"ext_second_last_timestamp,omitempty"` - LastMarker bool `protobuf:"varint,5,opt,name=last_marker,json=lastMarker,proto3" json:"last_marker,omitempty"` - SecondLastMarker bool `protobuf:"varint,6,opt,name=second_last_marker,json=secondLastMarker,proto3" json:"second_last_marker,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ExtLastSequenceNumber uint64 `protobuf:"varint,1,opt,name=ext_last_sequence_number,json=extLastSequenceNumber,proto3" json:"ext_last_sequence_number,omitempty"` + ExtSecondLastSequenceNumber uint64 `protobuf:"varint,2,opt,name=ext_second_last_sequence_number,json=extSecondLastSequenceNumber,proto3" json:"ext_second_last_sequence_number,omitempty"` + ExtLastTimestamp uint64 `protobuf:"varint,3,opt,name=ext_last_timestamp,json=extLastTimestamp,proto3" json:"ext_last_timestamp,omitempty"` + ExtSecondLastTimestamp uint64 `protobuf:"varint,4,opt,name=ext_second_last_timestamp,json=extSecondLastTimestamp,proto3" json:"ext_second_last_timestamp,omitempty"` + LastMarker bool `protobuf:"varint,5,opt,name=last_marker,json=lastMarker,proto3" json:"last_marker,omitempty"` + SecondLastMarker bool `protobuf:"varint,6,opt,name=second_last_marker,json=secondLastMarker,proto3" json:"second_last_marker,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RTPMungerState) Reset() { *x = RTPMungerState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTPMungerState) String() string { @@ -4449,7 +4382,7 @@ func (*RTPMungerState) ProtoMessage() {} func (x *RTPMungerState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4507,26 +4440,23 @@ func (x *RTPMungerState) GetSecondLastMarker() bool { } type VP8MungerState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ExtLastPictureId int32 `protobuf:"varint,1,opt,name=ext_last_picture_id,json=extLastPictureId,proto3" json:"ext_last_picture_id,omitempty"` - PictureIdUsed bool `protobuf:"varint,2,opt,name=picture_id_used,json=pictureIdUsed,proto3" json:"picture_id_used,omitempty"` - LastTl0PicIdx uint32 `protobuf:"varint,3,opt,name=last_tl0_pic_idx,json=lastTl0PicIdx,proto3" json:"last_tl0_pic_idx,omitempty"` - Tl0PicIdxUsed bool `protobuf:"varint,4,opt,name=tl0_pic_idx_used,json=tl0PicIdxUsed,proto3" json:"tl0_pic_idx_used,omitempty"` - TidUsed bool `protobuf:"varint,5,opt,name=tid_used,json=tidUsed,proto3" json:"tid_used,omitempty"` - LastKeyIdx uint32 `protobuf:"varint,6,opt,name=last_key_idx,json=lastKeyIdx,proto3" json:"last_key_idx,omitempty"` - KeyIdxUsed bool `protobuf:"varint,7,opt,name=key_idx_used,json=keyIdxUsed,proto3" json:"key_idx_used,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ExtLastPictureId int32 `protobuf:"varint,1,opt,name=ext_last_picture_id,json=extLastPictureId,proto3" json:"ext_last_picture_id,omitempty"` + PictureIdUsed bool `protobuf:"varint,2,opt,name=picture_id_used,json=pictureIdUsed,proto3" json:"picture_id_used,omitempty"` + LastTl0PicIdx uint32 `protobuf:"varint,3,opt,name=last_tl0_pic_idx,json=lastTl0PicIdx,proto3" json:"last_tl0_pic_idx,omitempty"` + Tl0PicIdxUsed bool `protobuf:"varint,4,opt,name=tl0_pic_idx_used,json=tl0PicIdxUsed,proto3" json:"tl0_pic_idx_used,omitempty"` + TidUsed bool `protobuf:"varint,5,opt,name=tid_used,json=tidUsed,proto3" json:"tid_used,omitempty"` + LastKeyIdx uint32 `protobuf:"varint,6,opt,name=last_key_idx,json=lastKeyIdx,proto3" json:"last_key_idx,omitempty"` + KeyIdxUsed bool `protobuf:"varint,7,opt,name=key_idx_used,json=keyIdxUsed,proto3" json:"key_idx_used,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VP8MungerState) Reset() { *x = VP8MungerState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VP8MungerState) String() string { @@ -4537,7 +4467,7 @@ func (*VP8MungerState) ProtoMessage() {} func (x *VP8MungerState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4602,21 +4532,18 @@ func (x *VP8MungerState) GetKeyIdxUsed() bool { } type TimedVersion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + UnixMicro int64 `protobuf:"varint,1,opt,name=unix_micro,json=unixMicro,proto3" json:"unix_micro,omitempty"` + Ticks int32 `protobuf:"varint,2,opt,name=ticks,proto3" json:"ticks,omitempty"` unknownFields protoimpl.UnknownFields - - UnixMicro int64 `protobuf:"varint,1,opt,name=unix_micro,json=unixMicro,proto3" json:"unix_micro,omitempty"` - Ticks int32 `protobuf:"varint,2,opt,name=ticks,proto3" json:"ticks,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TimedVersion) Reset() { *x = TimedVersion{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimedVersion) String() string { @@ -4627,7 +4554,7 @@ func (*TimedVersion) ProtoMessage() {} func (x *TimedVersion) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4657,18 +4584,16 @@ func (x *TimedVersion) GetTicks() int32 { } type DataStream struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataStream) Reset() { *x = DataStream{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataStream) String() string { @@ -4679,7 +4604,7 @@ func (*DataStream) ProtoMessage() {} func (x *DataStream) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4696,24 +4621,21 @@ func (*DataStream) Descriptor() ([]byte, []int) { // header properties specific to text streams type DataStream_TextHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` OperationType DataStream_OperationType `protobuf:"varint,1,opt,name=operation_type,json=operationType,proto3,enum=livekit.DataStream_OperationType" json:"operation_type,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // Optional: Version for updates/edits ReplyToStreamId string `protobuf:"bytes,3,opt,name=reply_to_stream_id,json=replyToStreamId,proto3" json:"reply_to_stream_id,omitempty"` // Optional: Reply to specific message AttachedStreamIds []string `protobuf:"bytes,4,rep,name=attached_stream_ids,json=attachedStreamIds,proto3" json:"attached_stream_ids,omitempty"` // file attachments for text streams Generated bool `protobuf:"varint,5,opt,name=generated,proto3" json:"generated,omitempty"` // true if the text has been generated by an agent from a participant's audio transcription + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataStream_TextHeader) Reset() { *x = DataStream_TextHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataStream_TextHeader) String() string { @@ -4724,7 +4646,7 @@ func (*DataStream_TextHeader) ProtoMessage() {} func (x *DataStream_TextHeader) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4776,20 +4698,17 @@ func (x *DataStream_TextHeader) GetGenerated() bool { // header properties specific to byte or file streams type DataStream_ByteHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DataStream_ByteHeader) Reset() { *x = DataStream_ByteHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataStream_ByteHeader) String() string { @@ -4800,7 +4719,7 @@ func (*DataStream_ByteHeader) ProtoMessage() {} func (x *DataStream_ByteHeader) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4824,33 +4743,30 @@ func (x *DataStream_ByteHeader) GetName() string { // main DataStream.Header that contains a oneof for specific headers type DataStream_Header struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // using int64 for Unix timestamp - Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` - MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - TotalLength *uint64 `protobuf:"varint,5,opt,name=total_length,json=totalLength,proto3,oneof" json:"total_length,omitempty"` // only populated for finite streams, if it's a stream of unknown size this stays empty - EncryptionType Encryption_Type `protobuf:"varint,7,opt,name=encryption_type,json=encryptionType,proto3,enum=livekit.Encryption_Type" json:"encryption_type,omitempty"` // defaults to NONE - Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // user defined attributes map that can carry additional info + state protoimpl.MessageState `protogen:"open.v1"` + StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // using int64 for Unix timestamp + Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` + MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + TotalLength *uint64 `protobuf:"varint,5,opt,name=total_length,json=totalLength,proto3,oneof" json:"total_length,omitempty"` // only populated for finite streams, if it's a stream of unknown size this stays empty + EncryptionType Encryption_Type `protobuf:"varint,7,opt,name=encryption_type,json=encryptionType,proto3,enum=livekit.Encryption_Type" json:"encryption_type,omitempty"` // defaults to NONE + Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // user defined attributes map that can carry additional info // oneof to choose between specific header types // - // Types that are assignable to ContentHeader: + // Types that are valid to be assigned to ContentHeader: // // *DataStream_Header_TextHeader // *DataStream_Header_ByteHeader ContentHeader isDataStream_Header_ContentHeader `protobuf_oneof:"content_header"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DataStream_Header) Reset() { *x = DataStream_Header{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataStream_Header) String() string { @@ -4861,7 +4777,7 @@ func (*DataStream_Header) ProtoMessage() {} func (x *DataStream_Header) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4925,23 +4841,27 @@ func (x *DataStream_Header) GetAttributes() map[string]string { return nil } -func (m *DataStream_Header) GetContentHeader() isDataStream_Header_ContentHeader { - if m != nil { - return m.ContentHeader +func (x *DataStream_Header) GetContentHeader() isDataStream_Header_ContentHeader { + if x != nil { + return x.ContentHeader } return nil } func (x *DataStream_Header) GetTextHeader() *DataStream_TextHeader { - if x, ok := x.GetContentHeader().(*DataStream_Header_TextHeader); ok { - return x.TextHeader + if x != nil { + if x, ok := x.ContentHeader.(*DataStream_Header_TextHeader); ok { + return x.TextHeader + } } return nil } func (x *DataStream_Header) GetByteHeader() *DataStream_ByteHeader { - if x, ok := x.GetContentHeader().(*DataStream_Header_ByteHeader); ok { - return x.ByteHeader + if x != nil { + if x, ok := x.ContentHeader.(*DataStream_Header_ByteHeader); ok { + return x.ByteHeader + } } return nil } @@ -4963,24 +4883,21 @@ func (*DataStream_Header_TextHeader) isDataStream_Header_ContentHeader() {} func (*DataStream_Header_ByteHeader) isDataStream_Header_ContentHeader() {} type DataStream_Chunk struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream to map it to the correct header + ChunkIndex uint64 `protobuf:"varint,2,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"` + Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // content as binary (bytes) + Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` // a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced + Iv []byte `protobuf:"bytes,5,opt,name=iv,proto3,oneof" json:"iv,omitempty"` // optional, initialization vector for AES-GCM encryption unknownFields protoimpl.UnknownFields - - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream to map it to the correct header - ChunkIndex uint64 `protobuf:"varint,2,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty"` - Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // content as binary (bytes) - Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` // a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced - Iv []byte `protobuf:"bytes,5,opt,name=iv,proto3,oneof" json:"iv,omitempty"` // optional, initialization vector for AES-GCM encryption + sizeCache protoimpl.SizeCache } func (x *DataStream_Chunk) Reset() { *x = DataStream_Chunk{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataStream_Chunk) String() string { @@ -4991,7 +4908,7 @@ func (*DataStream_Chunk) ProtoMessage() {} func (x *DataStream_Chunk) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5042,22 +4959,19 @@ func (x *DataStream_Chunk) GetIv() []byte { } type DataStream_Trailer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream + Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end) + Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // finalizing updates for the stream, can also include additional insights for errors or endTime for transcription unknownFields protoimpl.UnknownFields - - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // unique identifier for this data stream - Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end) - Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // finalizing updates for the stream, can also include additional insights for errors or endTime for transcription + sizeCache protoimpl.SizeCache } func (x *DataStream_Trailer) Reset() { *x = DataStream_Trailer{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataStream_Trailer) String() string { @@ -5068,7 +4982,7 @@ func (*DataStream_Trailer) ProtoMessage() {} func (x *DataStream_Trailer) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5106,7 +5020,7 @@ func (x *DataStream_Trailer) GetAttributes() map[string]string { var File_livekit_models_proto protoreflect.FileDescriptor -var file_livekit_models_proto_rawDesc = []byte{ +var file_livekit_models_proto_rawDesc = string([]byte{ 0x0a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, @@ -5941,23 +5855,23 @@ var file_livekit_models_proto_rawDesc = []byte{ 0x76, 0x65, 0x6b, 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_models_proto_rawDescOnce sync.Once - file_livekit_models_proto_rawDescData = file_livekit_models_proto_rawDesc + file_livekit_models_proto_rawDescData []byte ) func file_livekit_models_proto_rawDescGZIP() []byte { file_livekit_models_proto_rawDescOnce.Do(func() { - file_livekit_models_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_models_proto_rawDescData) + file_livekit_models_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_models_proto_rawDesc), len(file_livekit_models_proto_rawDesc))) }) return file_livekit_models_proto_rawDescData } var file_livekit_models_proto_enumTypes = make([]protoimpl.EnumInfo, 20) var file_livekit_models_proto_msgTypes = make([]protoimpl.MessageInfo, 45) -var file_livekit_models_proto_goTypes = []interface{}{ +var file_livekit_models_proto_goTypes = []any{ (AudioCodec)(0), // 0: livekit.AudioCodec (VideoCodec)(0), // 1: livekit.VideoCodec (ImageCodec)(0), // 2: livekit.ImageCodec @@ -6107,501 +6021,7 @@ func file_livekit_models_proto_init() { return } file_livekit_metrics_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_models_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Pagination); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Room); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Codec); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlayoutDelay); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParticipantPermission); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParticipantInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Encryption); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SimulcastCodecInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VideoLayer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataPacket); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActiveSpeakerUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpeakerInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserPacket); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SipDTMF); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Transcription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TranscriptionSegment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChatMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RpcRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RpcAck); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RpcResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RpcError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParticipantTracks); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientConfiguration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VideoConfiguration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisabledCodecs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RTPDrift); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RTPStats); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RTCPSenderReportState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RTPForwarderState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RTPMungerState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VP8MungerState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimedVersion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataStream); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataStream_TextHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataStream_ByteHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataStream_Header); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataStream_Chunk); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_models_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataStream_Trailer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_models_proto_msgTypes[10].OneofWrappers = []interface{}{ + file_livekit_models_proto_msgTypes[10].OneofWrappers = []any{ (*DataPacket_User)(nil), (*DataPacket_Speaker)(nil), (*DataPacket_SipDtmf)(nil), @@ -6615,25 +6035,25 @@ func file_livekit_models_proto_init() { (*DataPacket_StreamChunk)(nil), (*DataPacket_StreamTrailer)(nil), } - file_livekit_models_proto_msgTypes[13].OneofWrappers = []interface{}{} - file_livekit_models_proto_msgTypes[17].OneofWrappers = []interface{}{} - file_livekit_models_proto_msgTypes[20].OneofWrappers = []interface{}{ + file_livekit_models_proto_msgTypes[13].OneofWrappers = []any{} + file_livekit_models_proto_msgTypes[17].OneofWrappers = []any{} + file_livekit_models_proto_msgTypes[20].OneofWrappers = []any{ (*RpcResponse_Payload)(nil), (*RpcResponse_Error)(nil), } - file_livekit_models_proto_msgTypes[31].OneofWrappers = []interface{}{ + file_livekit_models_proto_msgTypes[31].OneofWrappers = []any{ (*RTPForwarderState_Vp8Munger)(nil), } - file_livekit_models_proto_msgTypes[40].OneofWrappers = []interface{}{ + file_livekit_models_proto_msgTypes[40].OneofWrappers = []any{ (*DataStream_Header_TextHeader)(nil), (*DataStream_Header_ByteHeader)(nil), } - file_livekit_models_proto_msgTypes[41].OneofWrappers = []interface{}{} + file_livekit_models_proto_msgTypes[41].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_models_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_models_proto_rawDesc), len(file_livekit_models_proto_rawDesc)), NumEnums: 20, NumMessages: 45, NumExtensions: 0, @@ -6645,7 +6065,6 @@ func file_livekit_models_proto_init() { MessageInfos: file_livekit_models_proto_msgTypes, }.Build() File_livekit_models_proto = out.File - file_livekit_models_proto_rawDesc = nil file_livekit_models_proto_goTypes = nil file_livekit_models_proto_depIdxs = nil } diff --git a/livekit/livekit_room.pb.go b/livekit/livekit_room.pb.go index 4e5bb0a0d..ce291ccd1 100644 --- a/livekit/livekit_room.pb.go +++ b/livekit/livekit_room.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_room.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -35,10 +36,7 @@ const ( ) type CreateRoomRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name of the room Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // configuration to use for this room parameters. Setting parameters below override the config defaults. @@ -64,16 +62,16 @@ type CreateRoomRequest struct { // replay ReplayEnabled bool `protobuf:"varint,13,opt,name=replay_enabled,json=replayEnabled,proto3" json:"replay_enabled,omitempty"` // Define agents that should be dispatched to this room - Agents []*RoomAgentDispatch `protobuf:"bytes,14,rep,name=agents,proto3" json:"agents,omitempty"` // NEXT-ID: 15 + Agents []*RoomAgentDispatch `protobuf:"bytes,14,rep,name=agents,proto3" json:"agents,omitempty"` // NEXT-ID: 15 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateRoomRequest) Reset() { *x = CreateRoomRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRoomRequest) String() string { @@ -84,7 +82,7 @@ func (*CreateRoomRequest) ProtoMessage() {} func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -191,22 +189,19 @@ func (x *CreateRoomRequest) GetAgents() []*RoomAgentDispatch { } type RoomEgress struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Room *RoomCompositeEgressRequest `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Participant *AutoParticipantEgress `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` + Tracks *AutoTrackEgress `protobuf:"bytes,2,opt,name=tracks,proto3" json:"tracks,omitempty"` unknownFields protoimpl.UnknownFields - - Room *RoomCompositeEgressRequest `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Participant *AutoParticipantEgress `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` - Tracks *AutoTrackEgress `protobuf:"bytes,2,opt,name=tracks,proto3" json:"tracks,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RoomEgress) Reset() { *x = RoomEgress{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomEgress) String() string { @@ -217,7 +212,7 @@ func (*RoomEgress) ProtoMessage() {} func (x *RoomEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -254,20 +249,17 @@ func (x *RoomEgress) GetTracks() *AutoTrackEgress { } type RoomAgent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Dispatches []*RoomAgentDispatch `protobuf:"bytes,1,rep,name=dispatches,proto3" json:"dispatches,omitempty"` unknownFields protoimpl.UnknownFields - - Dispatches []*RoomAgentDispatch `protobuf:"bytes,1,rep,name=dispatches,proto3" json:"dispatches,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RoomAgent) Reset() { *x = RoomAgent{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomAgent) String() string { @@ -278,7 +270,7 @@ func (*RoomAgent) ProtoMessage() {} func (x *RoomAgent) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -301,21 +293,18 @@ func (x *RoomAgent) GetDispatches() []*RoomAgentDispatch { } type ListRoomsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // when set, will only return rooms with name match - Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRoomsRequest) Reset() { *x = ListRoomsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRoomsRequest) String() string { @@ -326,7 +315,7 @@ func (*ListRoomsRequest) ProtoMessage() {} func (x *ListRoomsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -349,20 +338,17 @@ func (x *ListRoomsRequest) GetNames() []string { } type ListRoomsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` unknownFields protoimpl.UnknownFields - - Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRoomsResponse) Reset() { *x = ListRoomsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRoomsResponse) String() string { @@ -373,7 +359,7 @@ func (*ListRoomsResponse) ProtoMessage() {} func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -396,21 +382,18 @@ func (x *ListRoomsResponse) GetRooms() []*Room { } type DeleteRoomRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name of the room - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRoomRequest) Reset() { *x = DeleteRoomRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRoomRequest) String() string { @@ -421,7 +404,7 @@ func (*DeleteRoomRequest) ProtoMessage() {} func (x *DeleteRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -444,18 +427,16 @@ func (x *DeleteRoomRequest) GetRoom() string { } type DeleteRoomResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRoomResponse) Reset() { *x = DeleteRoomResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRoomResponse) String() string { @@ -466,7 +447,7 @@ func (*DeleteRoomResponse) ProtoMessage() {} func (x *DeleteRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -482,21 +463,18 @@ func (*DeleteRoomResponse) Descriptor() ([]byte, []int) { } type ListParticipantsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name of the room - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListParticipantsRequest) Reset() { *x = ListParticipantsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListParticipantsRequest) String() string { @@ -507,7 +485,7 @@ func (*ListParticipantsRequest) ProtoMessage() {} func (x *ListParticipantsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -530,20 +508,17 @@ func (x *ListParticipantsRequest) GetRoom() string { } type ListParticipantsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` unknownFields protoimpl.UnknownFields - - Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListParticipantsResponse) Reset() { *x = ListParticipantsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListParticipantsResponse) String() string { @@ -554,7 +529,7 @@ func (*ListParticipantsResponse) ProtoMessage() {} func (x *ListParticipantsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -577,23 +552,20 @@ func (x *ListParticipantsResponse) GetParticipants() []*ParticipantInfo { } type RoomParticipantIdentity struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name of the room Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // identity of the participant - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RoomParticipantIdentity) Reset() { *x = RoomParticipantIdentity{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomParticipantIdentity) String() string { @@ -604,7 +576,7 @@ func (*RoomParticipantIdentity) ProtoMessage() {} func (x *RoomParticipantIdentity) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -634,18 +606,16 @@ func (x *RoomParticipantIdentity) GetIdentity() string { } type RemoveParticipantResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveParticipantResponse) Reset() { *x = RemoveParticipantResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveParticipantResponse) String() string { @@ -656,7 +626,7 @@ func (*RemoveParticipantResponse) ProtoMessage() {} func (x *RemoveParticipantResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -672,26 +642,23 @@ func (*RemoveParticipantResponse) Descriptor() ([]byte, []int) { } type MuteRoomTrackRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // name of the room Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // sid of the track to mute TrackSid string `protobuf:"bytes,3,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` // set to true to mute, false to unmute - Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` + Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MuteRoomTrackRequest) Reset() { *x = MuteRoomTrackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MuteRoomTrackRequest) String() string { @@ -702,7 +669,7 @@ func (*MuteRoomTrackRequest) ProtoMessage() {} func (x *MuteRoomTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -746,20 +713,17 @@ func (x *MuteRoomTrackRequest) GetMuted() bool { } type MuteRoomTrackResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Track *TrackInfo `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"` unknownFields protoimpl.UnknownFields - - Track *TrackInfo `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MuteRoomTrackResponse) Reset() { *x = MuteRoomTrackResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MuteRoomTrackResponse) String() string { @@ -770,7 +734,7 @@ func (*MuteRoomTrackResponse) ProtoMessage() {} func (x *MuteRoomTrackResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -793,12 +757,9 @@ func (x *MuteRoomTrackResponse) GetTrack() *TrackInfo { } type UpdateParticipantRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // metadata to update. skipping updates if left empty Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // set to update the participant's permissions @@ -807,16 +768,16 @@ type UpdateParticipantRequest struct { Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // attributes to update. it only updates attributes that have been set // to delete attributes, set the value to an empty string - Attributes map[string]string `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Attributes map[string]string `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateParticipantRequest) Reset() { *x = UpdateParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateParticipantRequest) String() string { @@ -827,7 +788,7 @@ func (*UpdateParticipantRequest) ProtoMessage() {} func (x *UpdateParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -885,27 +846,24 @@ func (x *UpdateParticipantRequest) GetAttributes() map[string]string { } type UpdateSubscriptionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // list of sids of tracks TrackSids []string `protobuf:"bytes,3,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` // set to true to subscribe, false to unsubscribe from tracks Subscribe bool `protobuf:"varint,4,opt,name=subscribe,proto3" json:"subscribe,omitempty"` // list of participants and their tracks ParticipantTracks []*ParticipantTracks `protobuf:"bytes,5,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateSubscriptionsRequest) Reset() { *x = UpdateSubscriptionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSubscriptionsRequest) String() string { @@ -916,7 +874,7 @@ func (*UpdateSubscriptionsRequest) ProtoMessage() {} func (x *UpdateSubscriptionsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -967,18 +925,16 @@ func (x *UpdateSubscriptionsRequest) GetParticipantTracks() []*ParticipantTracks } type UpdateSubscriptionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateSubscriptionsResponse) Reset() { *x = UpdateSubscriptionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSubscriptionsResponse) String() string { @@ -989,7 +945,7 @@ func (*UpdateSubscriptionsResponse) ProtoMessage() {} func (x *UpdateSubscriptionsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1005,13 +961,10 @@ func (*UpdateSubscriptionsResponse) Descriptor() ([]byte, []int) { } type SendDataRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Kind DataPacket_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + Kind DataPacket_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=livekit.DataPacket_Kind" json:"kind,omitempty"` // mark deprecated // // Deprecated: Marked as deprecated in livekit_room.proto. @@ -1020,16 +973,16 @@ type SendDataRequest struct { DestinationIdentities []string `protobuf:"bytes,6,rep,name=destination_identities,json=destinationIdentities,proto3" json:"destination_identities,omitempty"` Topic *string `protobuf:"bytes,5,opt,name=topic,proto3,oneof" json:"topic,omitempty"` // added by SDK to enable de-duping of messages, for INTERNAL USE ONLY - Nonce []byte `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"` + Nonce []byte `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SendDataRequest) Reset() { *x = SendDataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendDataRequest) String() string { @@ -1040,7 +993,7 @@ func (*SendDataRequest) ProtoMessage() {} func (x *SendDataRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1106,18 +1059,16 @@ func (x *SendDataRequest) GetNonce() []byte { } type SendDataResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SendDataResponse) Reset() { *x = SendDataResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendDataResponse) String() string { @@ -1128,7 +1079,7 @@ func (*SendDataResponse) ProtoMessage() {} func (x *SendDataResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1144,22 +1095,19 @@ func (*SendDataResponse) Descriptor() ([]byte, []int) { } type UpdateRoomMetadataRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // metadata to update. skipping updates if left empty - Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateRoomMetadataRequest) Reset() { *x = UpdateRoomMetadataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRoomMetadataRequest) String() string { @@ -1170,7 +1118,7 @@ func (*UpdateRoomMetadataRequest) ProtoMessage() {} func (x *UpdateRoomMetadataRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1200,11 +1148,8 @@ func (x *UpdateRoomMetadataRequest) GetMetadata() string { } type RoomConfiguration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Used as ID, must be unique + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Used as ID, must be unique // number of seconds to keep the room open if no one joins EmptyTimeout uint32 `protobuf:"varint,2,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"` // number of seconds to keep the room open after everyone leaves @@ -1220,16 +1165,16 @@ type RoomConfiguration struct { // so not recommended for rooms with frequent subscription changes SyncStreams bool `protobuf:"varint,9,opt,name=sync_streams,json=syncStreams,proto3" json:"sync_streams,omitempty"` // Define agents that should be dispatched to this room - Agents []*RoomAgentDispatch `protobuf:"bytes,10,rep,name=agents,proto3" json:"agents,omitempty"` + Agents []*RoomAgentDispatch `protobuf:"bytes,10,rep,name=agents,proto3" json:"agents,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RoomConfiguration) Reset() { *x = RoomConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomConfiguration) String() string { @@ -1240,7 +1185,7 @@ func (*RoomConfiguration) ProtoMessage() {} func (x *RoomConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1320,7 +1265,7 @@ func (x *RoomConfiguration) GetAgents() []*RoomAgentDispatch { var File_livekit_room_proto protoreflect.FileDescriptor -var file_livekit_room_proto_rawDesc = []byte{ +var file_livekit_room_proto_rawDesc = string([]byte{ 0x0a, 0x12, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, @@ -1556,22 +1501,22 @@ var file_livekit_room_proto_rawDesc = []byte{ 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_room_proto_rawDescOnce sync.Once - file_livekit_room_proto_rawDescData = file_livekit_room_proto_rawDesc + file_livekit_room_proto_rawDescData []byte ) func file_livekit_room_proto_rawDescGZIP() []byte { file_livekit_room_proto_rawDescOnce.Do(func() { - file_livekit_room_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_room_proto_rawDescData) + file_livekit_room_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_room_proto_rawDesc), len(file_livekit_room_proto_rawDesc))) }) return file_livekit_room_proto_rawDescData } var file_livekit_room_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_livekit_room_proto_goTypes = []interface{}{ +var file_livekit_room_proto_goTypes = []any{ (*CreateRoomRequest)(nil), // 0: livekit.CreateRoomRequest (*RoomEgress)(nil), // 1: livekit.RoomEgress (*RoomAgent)(nil), // 2: livekit.RoomAgent @@ -1657,254 +1602,12 @@ func file_livekit_room_proto_init() { file_livekit_models_proto_init() file_livekit_egress_proto_init() file_livekit_agent_dispatch_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_room_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRoomRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomEgress); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomAgent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRoomsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRoomsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRoomRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRoomResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListParticipantsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListParticipantsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomParticipantIdentity); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveParticipantResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MuteRoomTrackRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MuteRoomTrackResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateParticipantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSubscriptionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSubscriptionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendDataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendDataResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRoomMetadataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_room_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomConfiguration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_room_proto_msgTypes[16].OneofWrappers = []interface{}{} + file_livekit_room_proto_msgTypes[16].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_room_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_room_proto_rawDesc), len(file_livekit_room_proto_rawDesc)), NumEnums: 0, NumMessages: 21, NumExtensions: 0, @@ -1915,7 +1618,6 @@ func file_livekit_room_proto_init() { MessageInfos: file_livekit_room_proto_msgTypes, }.Build() File_livekit_room_proto = out.File - file_livekit_room_proto_rawDesc = nil file_livekit_room_proto_goTypes = nil file_livekit_room_proto_depIdxs = nil } diff --git a/livekit/livekit_rtc.pb.go b/livekit/livekit_rtc.pb.go index aceabb553..1593fc88b 100644 --- a/livekit/livekit_rtc.pb.go +++ b/livekit/livekit_rtc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_rtc.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -278,11 +279,8 @@ func (RequestResponse_Reason) EnumDescriptor() ([]byte, []int) { } type SignalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Message: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Message: // // *SignalRequest_Offer // *SignalRequest_Answer @@ -301,16 +299,16 @@ type SignalRequest struct { // *SignalRequest_PingReq // *SignalRequest_UpdateAudioTrack // *SignalRequest_UpdateVideoTrack - Message isSignalRequest_Message `protobuf_oneof:"message"` + Message isSignalRequest_Message `protobuf_oneof:"message"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SignalRequest) Reset() { *x = SignalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SignalRequest) String() string { @@ -321,7 +319,7 @@ func (*SignalRequest) ProtoMessage() {} func (x *SignalRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -336,129 +334,163 @@ func (*SignalRequest) Descriptor() ([]byte, []int) { return file_livekit_rtc_proto_rawDescGZIP(), []int{0} } -func (m *SignalRequest) GetMessage() isSignalRequest_Message { - if m != nil { - return m.Message +func (x *SignalRequest) GetMessage() isSignalRequest_Message { + if x != nil { + return x.Message } return nil } func (x *SignalRequest) GetOffer() *SessionDescription { - if x, ok := x.GetMessage().(*SignalRequest_Offer); ok { - return x.Offer + if x != nil { + if x, ok := x.Message.(*SignalRequest_Offer); ok { + return x.Offer + } } return nil } func (x *SignalRequest) GetAnswer() *SessionDescription { - if x, ok := x.GetMessage().(*SignalRequest_Answer); ok { - return x.Answer + if x != nil { + if x, ok := x.Message.(*SignalRequest_Answer); ok { + return x.Answer + } } return nil } func (x *SignalRequest) GetTrickle() *TrickleRequest { - if x, ok := x.GetMessage().(*SignalRequest_Trickle); ok { - return x.Trickle + if x != nil { + if x, ok := x.Message.(*SignalRequest_Trickle); ok { + return x.Trickle + } } return nil } func (x *SignalRequest) GetAddTrack() *AddTrackRequest { - if x, ok := x.GetMessage().(*SignalRequest_AddTrack); ok { - return x.AddTrack + if x != nil { + if x, ok := x.Message.(*SignalRequest_AddTrack); ok { + return x.AddTrack + } } return nil } func (x *SignalRequest) GetMute() *MuteTrackRequest { - if x, ok := x.GetMessage().(*SignalRequest_Mute); ok { - return x.Mute + if x != nil { + if x, ok := x.Message.(*SignalRequest_Mute); ok { + return x.Mute + } } return nil } func (x *SignalRequest) GetSubscription() *UpdateSubscription { - if x, ok := x.GetMessage().(*SignalRequest_Subscription); ok { - return x.Subscription + if x != nil { + if x, ok := x.Message.(*SignalRequest_Subscription); ok { + return x.Subscription + } } return nil } func (x *SignalRequest) GetTrackSetting() *UpdateTrackSettings { - if x, ok := x.GetMessage().(*SignalRequest_TrackSetting); ok { - return x.TrackSetting + if x != nil { + if x, ok := x.Message.(*SignalRequest_TrackSetting); ok { + return x.TrackSetting + } } return nil } func (x *SignalRequest) GetLeave() *LeaveRequest { - if x, ok := x.GetMessage().(*SignalRequest_Leave); ok { - return x.Leave + if x != nil { + if x, ok := x.Message.(*SignalRequest_Leave); ok { + return x.Leave + } } return nil } // Deprecated: Marked as deprecated in livekit_rtc.proto. func (x *SignalRequest) GetUpdateLayers() *UpdateVideoLayers { - if x, ok := x.GetMessage().(*SignalRequest_UpdateLayers); ok { - return x.UpdateLayers + if x != nil { + if x, ok := x.Message.(*SignalRequest_UpdateLayers); ok { + return x.UpdateLayers + } } return nil } func (x *SignalRequest) GetSubscriptionPermission() *SubscriptionPermission { - if x, ok := x.GetMessage().(*SignalRequest_SubscriptionPermission); ok { - return x.SubscriptionPermission + if x != nil { + if x, ok := x.Message.(*SignalRequest_SubscriptionPermission); ok { + return x.SubscriptionPermission + } } return nil } func (x *SignalRequest) GetSyncState() *SyncState { - if x, ok := x.GetMessage().(*SignalRequest_SyncState); ok { - return x.SyncState + if x != nil { + if x, ok := x.Message.(*SignalRequest_SyncState); ok { + return x.SyncState + } } return nil } func (x *SignalRequest) GetSimulate() *SimulateScenario { - if x, ok := x.GetMessage().(*SignalRequest_Simulate); ok { - return x.Simulate + if x != nil { + if x, ok := x.Message.(*SignalRequest_Simulate); ok { + return x.Simulate + } } return nil } func (x *SignalRequest) GetPing() int64 { - if x, ok := x.GetMessage().(*SignalRequest_Ping); ok { - return x.Ping + if x != nil { + if x, ok := x.Message.(*SignalRequest_Ping); ok { + return x.Ping + } } return 0 } func (x *SignalRequest) GetUpdateMetadata() *UpdateParticipantMetadata { - if x, ok := x.GetMessage().(*SignalRequest_UpdateMetadata); ok { - return x.UpdateMetadata + if x != nil { + if x, ok := x.Message.(*SignalRequest_UpdateMetadata); ok { + return x.UpdateMetadata + } } return nil } func (x *SignalRequest) GetPingReq() *Ping { - if x, ok := x.GetMessage().(*SignalRequest_PingReq); ok { - return x.PingReq + if x != nil { + if x, ok := x.Message.(*SignalRequest_PingReq); ok { + return x.PingReq + } } return nil } func (x *SignalRequest) GetUpdateAudioTrack() *UpdateLocalAudioTrack { - if x, ok := x.GetMessage().(*SignalRequest_UpdateAudioTrack); ok { - return x.UpdateAudioTrack + if x != nil { + if x, ok := x.Message.(*SignalRequest_UpdateAudioTrack); ok { + return x.UpdateAudioTrack + } } return nil } func (x *SignalRequest) GetUpdateVideoTrack() *UpdateLocalVideoTrack { - if x, ok := x.GetMessage().(*SignalRequest_UpdateVideoTrack); ok { - return x.UpdateVideoTrack + if x != nil { + if x, ok := x.Message.(*SignalRequest_UpdateVideoTrack); ok { + return x.UpdateVideoTrack + } } return nil } @@ -587,11 +619,8 @@ func (*SignalRequest_UpdateAudioTrack) isSignalRequest_Message() {} func (*SignalRequest_UpdateVideoTrack) isSignalRequest_Message() {} type SignalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Message: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Message: // // *SignalResponse_Join // *SignalResponse_Answer @@ -615,16 +644,16 @@ type SignalResponse struct { // *SignalResponse_SubscriptionResponse // *SignalResponse_RequestResponse // *SignalResponse_TrackSubscribed - Message isSignalResponse_Message `protobuf_oneof:"message"` + Message isSignalResponse_Message `protobuf_oneof:"message"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SignalResponse) Reset() { *x = SignalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SignalResponse) String() string { @@ -635,7 +664,7 @@ func (*SignalResponse) ProtoMessage() {} func (x *SignalResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -650,163 +679,207 @@ func (*SignalResponse) Descriptor() ([]byte, []int) { return file_livekit_rtc_proto_rawDescGZIP(), []int{1} } -func (m *SignalResponse) GetMessage() isSignalResponse_Message { - if m != nil { - return m.Message +func (x *SignalResponse) GetMessage() isSignalResponse_Message { + if x != nil { + return x.Message } return nil } func (x *SignalResponse) GetJoin() *JoinResponse { - if x, ok := x.GetMessage().(*SignalResponse_Join); ok { - return x.Join + if x != nil { + if x, ok := x.Message.(*SignalResponse_Join); ok { + return x.Join + } } return nil } func (x *SignalResponse) GetAnswer() *SessionDescription { - if x, ok := x.GetMessage().(*SignalResponse_Answer); ok { - return x.Answer + if x != nil { + if x, ok := x.Message.(*SignalResponse_Answer); ok { + return x.Answer + } } return nil } func (x *SignalResponse) GetOffer() *SessionDescription { - if x, ok := x.GetMessage().(*SignalResponse_Offer); ok { - return x.Offer + if x != nil { + if x, ok := x.Message.(*SignalResponse_Offer); ok { + return x.Offer + } } return nil } func (x *SignalResponse) GetTrickle() *TrickleRequest { - if x, ok := x.GetMessage().(*SignalResponse_Trickle); ok { - return x.Trickle + if x != nil { + if x, ok := x.Message.(*SignalResponse_Trickle); ok { + return x.Trickle + } } return nil } func (x *SignalResponse) GetUpdate() *ParticipantUpdate { - if x, ok := x.GetMessage().(*SignalResponse_Update); ok { - return x.Update + if x != nil { + if x, ok := x.Message.(*SignalResponse_Update); ok { + return x.Update + } } return nil } func (x *SignalResponse) GetTrackPublished() *TrackPublishedResponse { - if x, ok := x.GetMessage().(*SignalResponse_TrackPublished); ok { - return x.TrackPublished + if x != nil { + if x, ok := x.Message.(*SignalResponse_TrackPublished); ok { + return x.TrackPublished + } } return nil } func (x *SignalResponse) GetLeave() *LeaveRequest { - if x, ok := x.GetMessage().(*SignalResponse_Leave); ok { - return x.Leave + if x != nil { + if x, ok := x.Message.(*SignalResponse_Leave); ok { + return x.Leave + } } return nil } func (x *SignalResponse) GetMute() *MuteTrackRequest { - if x, ok := x.GetMessage().(*SignalResponse_Mute); ok { - return x.Mute + if x != nil { + if x, ok := x.Message.(*SignalResponse_Mute); ok { + return x.Mute + } } return nil } func (x *SignalResponse) GetSpeakersChanged() *SpeakersChanged { - if x, ok := x.GetMessage().(*SignalResponse_SpeakersChanged); ok { - return x.SpeakersChanged + if x != nil { + if x, ok := x.Message.(*SignalResponse_SpeakersChanged); ok { + return x.SpeakersChanged + } } return nil } func (x *SignalResponse) GetRoomUpdate() *RoomUpdate { - if x, ok := x.GetMessage().(*SignalResponse_RoomUpdate); ok { - return x.RoomUpdate + if x != nil { + if x, ok := x.Message.(*SignalResponse_RoomUpdate); ok { + return x.RoomUpdate + } } return nil } func (x *SignalResponse) GetConnectionQuality() *ConnectionQualityUpdate { - if x, ok := x.GetMessage().(*SignalResponse_ConnectionQuality); ok { - return x.ConnectionQuality + if x != nil { + if x, ok := x.Message.(*SignalResponse_ConnectionQuality); ok { + return x.ConnectionQuality + } } return nil } func (x *SignalResponse) GetStreamStateUpdate() *StreamStateUpdate { - if x, ok := x.GetMessage().(*SignalResponse_StreamStateUpdate); ok { - return x.StreamStateUpdate + if x != nil { + if x, ok := x.Message.(*SignalResponse_StreamStateUpdate); ok { + return x.StreamStateUpdate + } } return nil } func (x *SignalResponse) GetSubscribedQualityUpdate() *SubscribedQualityUpdate { - if x, ok := x.GetMessage().(*SignalResponse_SubscribedQualityUpdate); ok { - return x.SubscribedQualityUpdate + if x != nil { + if x, ok := x.Message.(*SignalResponse_SubscribedQualityUpdate); ok { + return x.SubscribedQualityUpdate + } } return nil } func (x *SignalResponse) GetSubscriptionPermissionUpdate() *SubscriptionPermissionUpdate { - if x, ok := x.GetMessage().(*SignalResponse_SubscriptionPermissionUpdate); ok { - return x.SubscriptionPermissionUpdate + if x != nil { + if x, ok := x.Message.(*SignalResponse_SubscriptionPermissionUpdate); ok { + return x.SubscriptionPermissionUpdate + } } return nil } func (x *SignalResponse) GetRefreshToken() string { - if x, ok := x.GetMessage().(*SignalResponse_RefreshToken); ok { - return x.RefreshToken + if x != nil { + if x, ok := x.Message.(*SignalResponse_RefreshToken); ok { + return x.RefreshToken + } } return "" } func (x *SignalResponse) GetTrackUnpublished() *TrackUnpublishedResponse { - if x, ok := x.GetMessage().(*SignalResponse_TrackUnpublished); ok { - return x.TrackUnpublished + if x != nil { + if x, ok := x.Message.(*SignalResponse_TrackUnpublished); ok { + return x.TrackUnpublished + } } return nil } func (x *SignalResponse) GetPong() int64 { - if x, ok := x.GetMessage().(*SignalResponse_Pong); ok { - return x.Pong + if x != nil { + if x, ok := x.Message.(*SignalResponse_Pong); ok { + return x.Pong + } } return 0 } func (x *SignalResponse) GetReconnect() *ReconnectResponse { - if x, ok := x.GetMessage().(*SignalResponse_Reconnect); ok { - return x.Reconnect + if x != nil { + if x, ok := x.Message.(*SignalResponse_Reconnect); ok { + return x.Reconnect + } } return nil } func (x *SignalResponse) GetPongResp() *Pong { - if x, ok := x.GetMessage().(*SignalResponse_PongResp); ok { - return x.PongResp + if x != nil { + if x, ok := x.Message.(*SignalResponse_PongResp); ok { + return x.PongResp + } } return nil } func (x *SignalResponse) GetSubscriptionResponse() *SubscriptionResponse { - if x, ok := x.GetMessage().(*SignalResponse_SubscriptionResponse); ok { - return x.SubscriptionResponse + if x != nil { + if x, ok := x.Message.(*SignalResponse_SubscriptionResponse); ok { + return x.SubscriptionResponse + } } return nil } func (x *SignalResponse) GetRequestResponse() *RequestResponse { - if x, ok := x.GetMessage().(*SignalResponse_RequestResponse); ok { - return x.RequestResponse + if x != nil { + if x, ok := x.Message.(*SignalResponse_RequestResponse); ok { + return x.RequestResponse + } } return nil } func (x *SignalResponse) GetTrackSubscribed() *TrackSubscribed { - if x, ok := x.GetMessage().(*SignalResponse_TrackSubscribed); ok { - return x.TrackSubscribed + if x != nil { + if x, ok := x.Message.(*SignalResponse_TrackSubscribed); ok { + return x.TrackSubscribed + } } return nil } @@ -971,21 +1044,18 @@ func (*SignalResponse_RequestResponse) isSignalResponse_Message() {} func (*SignalResponse_TrackSubscribed) isSignalResponse_Message() {} type SimulcastCodec struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` + Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` unknownFields protoimpl.UnknownFields - - Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` - Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SimulcastCodec) Reset() { *x = SimulcastCodec{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulcastCodec) String() string { @@ -996,7 +1066,7 @@ func (*SimulcastCodec) ProtoMessage() {} func (x *SimulcastCodec) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1026,10 +1096,7 @@ func (x *SimulcastCodec) GetCid() string { } type AddTrackRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // client ID of track, to match it when RTC track is received Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -1054,15 +1121,15 @@ type AddTrackRequest struct { // if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together Stream string `protobuf:"bytes,15,opt,name=stream,proto3" json:"stream,omitempty"` BackupCodecPolicy BackupCodecPolicy `protobuf:"varint,16,opt,name=backup_codec_policy,json=backupCodecPolicy,proto3,enum=livekit.BackupCodecPolicy" json:"backup_codec_policy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddTrackRequest) Reset() { *x = AddTrackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddTrackRequest) String() string { @@ -1073,7 +1140,7 @@ func (*AddTrackRequest) ProtoMessage() {} func (x *AddTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1201,22 +1268,19 @@ func (x *AddTrackRequest) GetBackupCodecPolicy() BackupCodecPolicy { } type TrickleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + CandidateInit string `protobuf:"bytes,1,opt,name=candidateInit,proto3" json:"candidateInit,omitempty"` + Target SignalTarget `protobuf:"varint,2,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` + Final bool `protobuf:"varint,3,opt,name=final,proto3" json:"final,omitempty"` unknownFields protoimpl.UnknownFields - - CandidateInit string `protobuf:"bytes,1,opt,name=candidateInit,proto3" json:"candidateInit,omitempty"` - Target SignalTarget `protobuf:"varint,2,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` - Final bool `protobuf:"varint,3,opt,name=final,proto3" json:"final,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TrickleRequest) Reset() { *x = TrickleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrickleRequest) String() string { @@ -1227,7 +1291,7 @@ func (*TrickleRequest) ProtoMessage() {} func (x *TrickleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1264,21 +1328,18 @@ func (x *TrickleRequest) GetFinal() bool { } type MuteTrackRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` + Muted bool `protobuf:"varint,2,opt,name=muted,proto3" json:"muted,omitempty"` unknownFields protoimpl.UnknownFields - - Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` - Muted bool `protobuf:"varint,2,opt,name=muted,proto3" json:"muted,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MuteTrackRequest) Reset() { *x = MuteTrackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MuteTrackRequest) String() string { @@ -1289,7 +1350,7 @@ func (*MuteTrackRequest) ProtoMessage() {} func (x *MuteTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1319,13 +1380,10 @@ func (x *MuteTrackRequest) GetMuted() bool { } type JoinResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` - Participant *ParticipantInfo `protobuf:"bytes,2,opt,name=participant,proto3" json:"participant,omitempty"` - OtherParticipants []*ParticipantInfo `protobuf:"bytes,3,rep,name=other_participants,json=otherParticipants,proto3" json:"other_participants,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Participant *ParticipantInfo `protobuf:"bytes,2,opt,name=participant,proto3" json:"participant,omitempty"` + OtherParticipants []*ParticipantInfo `protobuf:"bytes,3,rep,name=other_participants,json=otherParticipants,proto3" json:"other_participants,omitempty"` // deprecated. use server_info.version instead. ServerVersion string `protobuf:"bytes,4,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` IceServers []*ICEServer `protobuf:"bytes,5,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` @@ -1344,16 +1402,16 @@ type JoinResponse struct { SifTrailer []byte `protobuf:"bytes,13,opt,name=sif_trailer,json=sifTrailer,proto3" json:"sif_trailer,omitempty"` EnabledPublishCodecs []*Codec `protobuf:"bytes,14,rep,name=enabled_publish_codecs,json=enabledPublishCodecs,proto3" json:"enabled_publish_codecs,omitempty"` // when set, client should attempt to establish publish peer connection when joining room to speed up publishing - FastPublish bool `protobuf:"varint,15,opt,name=fast_publish,json=fastPublish,proto3" json:"fast_publish,omitempty"` + FastPublish bool `protobuf:"varint,15,opt,name=fast_publish,json=fastPublish,proto3" json:"fast_publish,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JoinResponse) Reset() { *x = JoinResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JoinResponse) String() string { @@ -1364,7 +1422,7 @@ func (*JoinResponse) ProtoMessage() {} func (x *JoinResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1485,21 +1543,18 @@ func (x *JoinResponse) GetFastPublish() bool { } type ReconnectResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IceServers []*ICEServer `protobuf:"bytes,1,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` - ClientConfiguration *ClientConfiguration `protobuf:"bytes,2,opt,name=client_configuration,json=clientConfiguration,proto3" json:"client_configuration,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + IceServers []*ICEServer `protobuf:"bytes,1,rep,name=ice_servers,json=iceServers,proto3" json:"ice_servers,omitempty"` + ClientConfiguration *ClientConfiguration `protobuf:"bytes,2,opt,name=client_configuration,json=clientConfiguration,proto3" json:"client_configuration,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReconnectResponse) Reset() { *x = ReconnectResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReconnectResponse) String() string { @@ -1510,7 +1565,7 @@ func (*ReconnectResponse) ProtoMessage() {} func (x *ReconnectResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1540,21 +1595,18 @@ func (x *ReconnectResponse) GetClientConfiguration() *ClientConfiguration { } type TrackPublishedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` + Track *TrackInfo `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"` unknownFields protoimpl.UnknownFields - - Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` - Track *TrackInfo `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TrackPublishedResponse) Reset() { *x = TrackPublishedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackPublishedResponse) String() string { @@ -1565,7 +1617,7 @@ func (*TrackPublishedResponse) ProtoMessage() {} func (x *TrackPublishedResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1595,20 +1647,17 @@ func (x *TrackPublishedResponse) GetTrack() *TrackInfo { } type TrackUnpublishedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TrackUnpublishedResponse) Reset() { *x = TrackUnpublishedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackUnpublishedResponse) String() string { @@ -1619,7 +1668,7 @@ func (*TrackUnpublishedResponse) ProtoMessage() {} func (x *TrackUnpublishedResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1642,21 +1691,18 @@ func (x *TrackUnpublishedResponse) GetTrackSid() string { } type SessionDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "answer" | "offer" | "pranswer" | "rollback" + Sdp string `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` unknownFields protoimpl.UnknownFields - - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "answer" | "offer" | "pranswer" | "rollback" - Sdp string `protobuf:"bytes,2,opt,name=sdp,proto3" json:"sdp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SessionDescription) Reset() { *x = SessionDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SessionDescription) String() string { @@ -1667,7 +1713,7 @@ func (*SessionDescription) ProtoMessage() {} func (x *SessionDescription) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1697,20 +1743,17 @@ func (x *SessionDescription) GetSdp() string { } type ParticipantUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` unknownFields protoimpl.UnknownFields - - Participants []*ParticipantInfo `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ParticipantUpdate) Reset() { *x = ParticipantUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantUpdate) String() string { @@ -1721,7 +1764,7 @@ func (*ParticipantUpdate) ProtoMessage() {} func (x *ParticipantUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1744,22 +1787,19 @@ func (x *ParticipantUpdate) GetParticipants() []*ParticipantInfo { } type UpdateSubscription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` - Subscribe bool `protobuf:"varint,2,opt,name=subscribe,proto3" json:"subscribe,omitempty"` - ParticipantTracks []*ParticipantTracks `protobuf:"bytes,3,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` + Subscribe bool `protobuf:"varint,2,opt,name=subscribe,proto3" json:"subscribe,omitempty"` + ParticipantTracks []*ParticipantTracks `protobuf:"bytes,3,rep,name=participant_tracks,json=participantTracks,proto3" json:"participant_tracks,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateSubscription) Reset() { *x = UpdateSubscription{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSubscription) String() string { @@ -1770,7 +1810,7 @@ func (*UpdateSubscription) ProtoMessage() {} func (x *UpdateSubscription) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1807,11 +1847,8 @@ func (x *UpdateSubscription) GetParticipantTracks() []*ParticipantTracks { } type UpdateTrackSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + TrackSids []string `protobuf:"bytes,1,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` // when true, the track is placed in a paused state, with no new data returned Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"` // deprecated in favor of width & height @@ -1828,16 +1865,16 @@ type UpdateTrackSettings struct { // pause the lowest priority tracks // 2. when the network is congested, server will assign available bandwidth to // higher priority tracks first. lowest priority tracks can be paused - Priority uint32 `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"` + Priority uint32 `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateTrackSettings) Reset() { *x = UpdateTrackSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTrackSettings) String() string { @@ -1848,7 +1885,7 @@ func (*UpdateTrackSettings) ProtoMessage() {} func (x *UpdateTrackSettings) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1913,21 +1950,18 @@ func (x *UpdateTrackSettings) GetPriority() uint32 { } type UpdateLocalAudioTrack struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Features []AudioTrackFeature `protobuf:"varint,2,rep,packed,name=features,proto3,enum=livekit.AudioTrackFeature" json:"features,omitempty"` unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Features []AudioTrackFeature `protobuf:"varint,2,rep,packed,name=features,proto3,enum=livekit.AudioTrackFeature" json:"features,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateLocalAudioTrack) Reset() { *x = UpdateLocalAudioTrack{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateLocalAudioTrack) String() string { @@ -1938,7 +1972,7 @@ func (*UpdateLocalAudioTrack) ProtoMessage() {} func (x *UpdateLocalAudioTrack) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1968,22 +2002,19 @@ func (x *UpdateLocalAudioTrack) GetFeatures() []AudioTrackFeature { } type UpdateLocalVideoTrack struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` - Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateLocalVideoTrack) Reset() { *x = UpdateLocalVideoTrack{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateLocalVideoTrack) String() string { @@ -1994,7 +2025,7 @@ func (*UpdateLocalVideoTrack) ProtoMessage() {} func (x *UpdateLocalVideoTrack) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2031,26 +2062,23 @@ func (x *UpdateLocalVideoTrack) GetHeight() uint32 { } type LeaveRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // sent when server initiates the disconnect due to server-restart // indicates clients should attempt full-reconnect sequence // NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13 - CanReconnect bool `protobuf:"varint,1,opt,name=can_reconnect,json=canReconnect,proto3" json:"can_reconnect,omitempty"` - Reason DisconnectReason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.DisconnectReason" json:"reason,omitempty"` - Action LeaveRequest_Action `protobuf:"varint,3,opt,name=action,proto3,enum=livekit.LeaveRequest_Action" json:"action,omitempty"` - Regions *RegionSettings `protobuf:"bytes,4,opt,name=regions,proto3" json:"regions,omitempty"` + CanReconnect bool `protobuf:"varint,1,opt,name=can_reconnect,json=canReconnect,proto3" json:"can_reconnect,omitempty"` + Reason DisconnectReason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.DisconnectReason" json:"reason,omitempty"` + Action LeaveRequest_Action `protobuf:"varint,3,opt,name=action,proto3,enum=livekit.LeaveRequest_Action" json:"action,omitempty"` + Regions *RegionSettings `protobuf:"bytes,4,opt,name=regions,proto3" json:"regions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LeaveRequest) Reset() { *x = LeaveRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LeaveRequest) String() string { @@ -2061,7 +2089,7 @@ func (*LeaveRequest) ProtoMessage() {} func (x *LeaveRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2108,21 +2136,18 @@ func (x *LeaveRequest) GetRegions() *RegionSettings { // // Deprecated: Marked as deprecated in livekit_rtc.proto. type UpdateVideoLayers struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Layers []*VideoLayer `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Layers []*VideoLayer `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateVideoLayers) Reset() { *x = UpdateVideoLayers{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateVideoLayers) String() string { @@ -2133,7 +2158,7 @@ func (*UpdateVideoLayers) ProtoMessage() {} func (x *UpdateVideoLayers) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2163,25 +2188,22 @@ func (x *UpdateVideoLayers) GetLayers() []*VideoLayer { } type UpdateParticipantMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // attributes to update. it only updates attributes that have been set // to delete attributes, set the value to an empty string - Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - RequestId uint32 `protobuf:"varint,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + RequestId uint32 `protobuf:"varint,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateParticipantMetadata) Reset() { *x = UpdateParticipantMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateParticipantMetadata) String() string { @@ -2192,7 +2214,7 @@ func (*UpdateParticipantMetadata) ProtoMessage() {} func (x *UpdateParticipantMetadata) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2236,22 +2258,19 @@ func (x *UpdateParticipantMetadata) GetRequestId() uint32 { } type ICEServer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + Credential string `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"` unknownFields protoimpl.UnknownFields - - Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - Credential string `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ICEServer) Reset() { *x = ICEServer{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ICEServer) String() string { @@ -2262,7 +2281,7 @@ func (*ICEServer) ProtoMessage() {} func (x *ICEServer) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2299,20 +2318,17 @@ func (x *ICEServer) GetCredential() string { } type SpeakersChanged struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` unknownFields protoimpl.UnknownFields - - Speakers []*SpeakerInfo `protobuf:"bytes,1,rep,name=speakers,proto3" json:"speakers,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SpeakersChanged) Reset() { *x = SpeakersChanged{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SpeakersChanged) String() string { @@ -2323,7 +2339,7 @@ func (*SpeakersChanged) ProtoMessage() {} func (x *SpeakersChanged) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2346,20 +2362,17 @@ func (x *SpeakersChanged) GetSpeakers() []*SpeakerInfo { } type RoomUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields - - Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RoomUpdate) Reset() { *x = RoomUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomUpdate) String() string { @@ -2370,7 +2383,7 @@ func (*RoomUpdate) ProtoMessage() {} func (x *RoomUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2393,22 +2406,19 @@ func (x *RoomUpdate) GetRoom() *Room { } type ConnectionQualityInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` - Quality ConnectionQuality `protobuf:"varint,2,opt,name=quality,proto3,enum=livekit.ConnectionQuality" json:"quality,omitempty"` - Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` + Quality ConnectionQuality `protobuf:"varint,2,opt,name=quality,proto3,enum=livekit.ConnectionQuality" json:"quality,omitempty"` + Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConnectionQualityInfo) Reset() { *x = ConnectionQualityInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConnectionQualityInfo) String() string { @@ -2419,7 +2429,7 @@ func (*ConnectionQualityInfo) ProtoMessage() {} func (x *ConnectionQualityInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2456,20 +2466,17 @@ func (x *ConnectionQualityInfo) GetScore() float32 { } type ConnectionQualityUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Updates []*ConnectionQualityInfo `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` unknownFields protoimpl.UnknownFields - - Updates []*ConnectionQualityInfo `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ConnectionQualityUpdate) Reset() { *x = ConnectionQualityUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConnectionQualityUpdate) String() string { @@ -2480,7 +2487,7 @@ func (*ConnectionQualityUpdate) ProtoMessage() {} func (x *ConnectionQualityUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2503,22 +2510,19 @@ func (x *ConnectionQualityUpdate) GetUpdates() []*ConnectionQualityInfo { } type StreamStateInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` - TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - State StreamState `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.StreamState" json:"state,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` + TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + State StreamState `protobuf:"varint,3,opt,name=state,proto3,enum=livekit.StreamState" json:"state,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StreamStateInfo) Reset() { *x = StreamStateInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamStateInfo) String() string { @@ -2529,7 +2533,7 @@ func (*StreamStateInfo) ProtoMessage() {} func (x *StreamStateInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2566,20 +2570,17 @@ func (x *StreamStateInfo) GetState() StreamState { } type StreamStateUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StreamStates []*StreamStateInfo `protobuf:"bytes,1,rep,name=stream_states,json=streamStates,proto3" json:"stream_states,omitempty"` unknownFields protoimpl.UnknownFields - - StreamStates []*StreamStateInfo `protobuf:"bytes,1,rep,name=stream_states,json=streamStates,proto3" json:"stream_states,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StreamStateUpdate) Reset() { *x = StreamStateUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamStateUpdate) String() string { @@ -2590,7 +2591,7 @@ func (*StreamStateUpdate) ProtoMessage() {} func (x *StreamStateUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2613,21 +2614,18 @@ func (x *StreamStateUpdate) GetStreamStates() []*StreamStateInfo { } type SubscribedQuality struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"` + Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` unknownFields protoimpl.UnknownFields - - Quality VideoQuality `protobuf:"varint,1,opt,name=quality,proto3,enum=livekit.VideoQuality" json:"quality,omitempty"` - Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SubscribedQuality) Reset() { *x = SubscribedQuality{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscribedQuality) String() string { @@ -2638,7 +2636,7 @@ func (*SubscribedQuality) ProtoMessage() {} func (x *SubscribedQuality) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2668,21 +2666,18 @@ func (x *SubscribedQuality) GetEnabled() bool { } type SubscribedCodec struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` + Qualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=qualities,proto3" json:"qualities,omitempty"` unknownFields protoimpl.UnknownFields - - Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` - Qualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=qualities,proto3" json:"qualities,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SubscribedCodec) Reset() { *x = SubscribedCodec{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscribedCodec) String() string { @@ -2693,7 +2688,7 @@ func (*SubscribedCodec) ProtoMessage() {} func (x *SubscribedCodec) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2723,22 +2718,19 @@ func (x *SubscribedCodec) GetQualities() []*SubscribedQuality { } type SubscribedQualityUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - SubscribedQualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=subscribed_qualities,json=subscribedQualities,proto3" json:"subscribed_qualities,omitempty"` - SubscribedCodecs []*SubscribedCodec `protobuf:"bytes,3,rep,name=subscribed_codecs,json=subscribedCodecs,proto3" json:"subscribed_codecs,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + SubscribedQualities []*SubscribedQuality `protobuf:"bytes,2,rep,name=subscribed_qualities,json=subscribedQualities,proto3" json:"subscribed_qualities,omitempty"` + SubscribedCodecs []*SubscribedCodec `protobuf:"bytes,3,rep,name=subscribed_codecs,json=subscribedCodecs,proto3" json:"subscribed_codecs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SubscribedQualityUpdate) Reset() { *x = SubscribedQualityUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscribedQualityUpdate) String() string { @@ -2749,7 +2741,7 @@ func (*SubscribedQualityUpdate) ProtoMessage() {} func (x *SubscribedQualityUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2786,24 +2778,21 @@ func (x *SubscribedQualityUpdate) GetSubscribedCodecs() []*SubscribedCodec { } type TrackPermission struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // permission could be granted either by participant sid or identity ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` AllTracks bool `protobuf:"varint,2,opt,name=all_tracks,json=allTracks,proto3" json:"all_tracks,omitempty"` TrackSids []string `protobuf:"bytes,3,rep,name=track_sids,json=trackSids,proto3" json:"track_sids,omitempty"` ParticipantIdentity string `protobuf:"bytes,4,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TrackPermission) Reset() { *x = TrackPermission{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackPermission) String() string { @@ -2814,7 +2803,7 @@ func (*TrackPermission) ProtoMessage() {} func (x *TrackPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2858,21 +2847,18 @@ func (x *TrackPermission) GetParticipantIdentity() string { } type SubscriptionPermission struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AllParticipants bool `protobuf:"varint,1,opt,name=all_participants,json=allParticipants,proto3" json:"all_participants,omitempty"` - TrackPermissions []*TrackPermission `protobuf:"bytes,2,rep,name=track_permissions,json=trackPermissions,proto3" json:"track_permissions,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + AllParticipants bool `protobuf:"varint,1,opt,name=all_participants,json=allParticipants,proto3" json:"all_participants,omitempty"` + TrackPermissions []*TrackPermission `protobuf:"bytes,2,rep,name=track_permissions,json=trackPermissions,proto3" json:"track_permissions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SubscriptionPermission) Reset() { *x = SubscriptionPermission{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscriptionPermission) String() string { @@ -2883,7 +2869,7 @@ func (*SubscriptionPermission) ProtoMessage() {} func (x *SubscriptionPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2913,22 +2899,19 @@ func (x *SubscriptionPermission) GetTrackPermissions() []*TrackPermission { } type SubscriptionPermissionUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` - TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Allowed bool `protobuf:"varint,3,opt,name=allowed,proto3" json:"allowed,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ParticipantSid string `protobuf:"bytes,1,opt,name=participant_sid,json=participantSid,proto3" json:"participant_sid,omitempty"` + TrackSid string `protobuf:"bytes,2,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Allowed bool `protobuf:"varint,3,opt,name=allowed,proto3" json:"allowed,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SubscriptionPermissionUpdate) Reset() { *x = SubscriptionPermissionUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscriptionPermissionUpdate) String() string { @@ -2939,7 +2922,7 @@ func (*SubscriptionPermissionUpdate) ProtoMessage() {} func (x *SubscriptionPermissionUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2976,10 +2959,7 @@ func (x *SubscriptionPermissionUpdate) GetAllowed() bool { } type SyncState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // last subscribe answer before reconnecting Answer *SessionDescription `protobuf:"bytes,1,opt,name=answer,proto3" json:"answer,omitempty"` Subscription *UpdateSubscription `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"` @@ -2988,15 +2968,15 @@ type SyncState struct { // last received server side offer before reconnecting Offer *SessionDescription `protobuf:"bytes,5,opt,name=offer,proto3" json:"offer,omitempty"` TrackSidsDisabled []string `protobuf:"bytes,6,rep,name=track_sids_disabled,json=trackSidsDisabled,proto3" json:"track_sids_disabled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SyncState) Reset() { *x = SyncState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SyncState) String() string { @@ -3007,7 +2987,7 @@ func (*SyncState) ProtoMessage() {} func (x *SyncState) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3065,22 +3045,19 @@ func (x *SyncState) GetTrackSidsDisabled() []string { } type DataChannelInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` + Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` + Target SignalTarget `protobuf:"varint,3,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` unknownFields protoimpl.UnknownFields - - Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` - Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` - Target SignalTarget `protobuf:"varint,3,opt,name=target,proto3,enum=livekit.SignalTarget" json:"target,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DataChannelInfo) Reset() { *x = DataChannelInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataChannelInfo) String() string { @@ -3091,7 +3068,7 @@ func (*DataChannelInfo) ProtoMessage() {} func (x *DataChannelInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3128,11 +3105,8 @@ func (x *DataChannelInfo) GetTarget() SignalTarget { } type SimulateScenario struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Scenario: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Scenario: // // *SimulateScenario_SpeakerUpdate // *SimulateScenario_NodeFailure @@ -3143,16 +3117,16 @@ type SimulateScenario struct { // *SimulateScenario_DisconnectSignalOnResume // *SimulateScenario_DisconnectSignalOnResumeNoMessages // *SimulateScenario_LeaveRequestFullReconnect - Scenario isSimulateScenario_Scenario `protobuf_oneof:"scenario"` + Scenario isSimulateScenario_Scenario `protobuf_oneof:"scenario"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SimulateScenario) Reset() { *x = SimulateScenario{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulateScenario) String() string { @@ -3163,7 +3137,7 @@ func (*SimulateScenario) ProtoMessage() {} func (x *SimulateScenario) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3178,72 +3152,90 @@ func (*SimulateScenario) Descriptor() ([]byte, []int) { return file_livekit_rtc_proto_rawDescGZIP(), []int{34} } -func (m *SimulateScenario) GetScenario() isSimulateScenario_Scenario { - if m != nil { - return m.Scenario +func (x *SimulateScenario) GetScenario() isSimulateScenario_Scenario { + if x != nil { + return x.Scenario } return nil } func (x *SimulateScenario) GetSpeakerUpdate() int32 { - if x, ok := x.GetScenario().(*SimulateScenario_SpeakerUpdate); ok { - return x.SpeakerUpdate + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_SpeakerUpdate); ok { + return x.SpeakerUpdate + } } return 0 } func (x *SimulateScenario) GetNodeFailure() bool { - if x, ok := x.GetScenario().(*SimulateScenario_NodeFailure); ok { - return x.NodeFailure + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_NodeFailure); ok { + return x.NodeFailure + } } return false } func (x *SimulateScenario) GetMigration() bool { - if x, ok := x.GetScenario().(*SimulateScenario_Migration); ok { - return x.Migration + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_Migration); ok { + return x.Migration + } } return false } func (x *SimulateScenario) GetServerLeave() bool { - if x, ok := x.GetScenario().(*SimulateScenario_ServerLeave); ok { - return x.ServerLeave + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_ServerLeave); ok { + return x.ServerLeave + } } return false } func (x *SimulateScenario) GetSwitchCandidateProtocol() CandidateProtocol { - if x, ok := x.GetScenario().(*SimulateScenario_SwitchCandidateProtocol); ok { - return x.SwitchCandidateProtocol + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_SwitchCandidateProtocol); ok { + return x.SwitchCandidateProtocol + } } return CandidateProtocol_UDP } func (x *SimulateScenario) GetSubscriberBandwidth() int64 { - if x, ok := x.GetScenario().(*SimulateScenario_SubscriberBandwidth); ok { - return x.SubscriberBandwidth + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_SubscriberBandwidth); ok { + return x.SubscriberBandwidth + } } return 0 } func (x *SimulateScenario) GetDisconnectSignalOnResume() bool { - if x, ok := x.GetScenario().(*SimulateScenario_DisconnectSignalOnResume); ok { - return x.DisconnectSignalOnResume + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_DisconnectSignalOnResume); ok { + return x.DisconnectSignalOnResume + } } return false } func (x *SimulateScenario) GetDisconnectSignalOnResumeNoMessages() bool { - if x, ok := x.GetScenario().(*SimulateScenario_DisconnectSignalOnResumeNoMessages); ok { - return x.DisconnectSignalOnResumeNoMessages + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_DisconnectSignalOnResumeNoMessages); ok { + return x.DisconnectSignalOnResumeNoMessages + } } return false } func (x *SimulateScenario) GetLeaveRequestFullReconnect() bool { - if x, ok := x.GetScenario().(*SimulateScenario_LeaveRequestFullReconnect); ok { - return x.LeaveRequestFullReconnect + if x != nil { + if x, ok := x.Scenario.(*SimulateScenario_LeaveRequestFullReconnect); ok { + return x.LeaveRequestFullReconnect + } } return false } @@ -3317,22 +3309,19 @@ func (*SimulateScenario_DisconnectSignalOnResumeNoMessages) isSimulateScenario_S func (*SimulateScenario_LeaveRequestFullReconnect) isSimulateScenario_Scenario() {} type Ping struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // rtt in milliseconds calculated by client - Rtt int64 `protobuf:"varint,2,opt,name=rtt,proto3" json:"rtt,omitempty"` + Rtt int64 `protobuf:"varint,2,opt,name=rtt,proto3" json:"rtt,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Ping) Reset() { *x = Ping{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Ping) String() string { @@ -3343,7 +3332,7 @@ func (*Ping) ProtoMessage() {} func (x *Ping) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3373,22 +3362,19 @@ func (x *Ping) GetRtt() int64 { } type Pong struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // timestamp field of last received ping request LastPingTimestamp int64 `protobuf:"varint,1,opt,name=last_ping_timestamp,json=lastPingTimestamp,proto3" json:"last_ping_timestamp,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Pong) Reset() { *x = Pong{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Pong) String() string { @@ -3399,7 +3385,7 @@ func (*Pong) ProtoMessage() {} func (x *Pong) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3429,20 +3415,17 @@ func (x *Pong) GetTimestamp() int64 { } type RegionSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Regions []*RegionInfo `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` unknownFields protoimpl.UnknownFields - - Regions []*RegionInfo `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RegionSettings) Reset() { *x = RegionSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegionSettings) String() string { @@ -3453,7 +3436,7 @@ func (*RegionSettings) ProtoMessage() {} func (x *RegionSettings) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3476,22 +3459,19 @@ func (x *RegionSettings) GetRegions() []*RegionInfo { } type RegionInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Distance int64 `protobuf:"varint,3,opt,name=distance,proto3" json:"distance,omitempty"` unknownFields protoimpl.UnknownFields - - Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - Distance int64 `protobuf:"varint,3,opt,name=distance,proto3" json:"distance,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RegionInfo) Reset() { *x = RegionInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegionInfo) String() string { @@ -3502,7 +3482,7 @@ func (*RegionInfo) ProtoMessage() {} func (x *RegionInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3539,21 +3519,18 @@ func (x *RegionInfo) GetDistance() int64 { } type SubscriptionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + Err SubscriptionError `protobuf:"varint,2,opt,name=err,proto3,enum=livekit.SubscriptionError" json:"err,omitempty"` unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` - Err SubscriptionError `protobuf:"varint,2,opt,name=err,proto3,enum=livekit.SubscriptionError" json:"err,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SubscriptionResponse) Reset() { *x = SubscriptionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscriptionResponse) String() string { @@ -3564,7 +3541,7 @@ func (*SubscriptionResponse) ProtoMessage() {} func (x *SubscriptionResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3594,22 +3571,19 @@ func (x *SubscriptionResponse) GetErr() SubscriptionError { } type RequestResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RequestId uint32 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + Reason RequestResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.RequestResponse_Reason" json:"reason,omitempty"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - RequestId uint32 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - Reason RequestResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=livekit.RequestResponse_Reason" json:"reason,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RequestResponse) Reset() { *x = RequestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequestResponse) String() string { @@ -3620,7 +3594,7 @@ func (*RequestResponse) ProtoMessage() {} func (x *RequestResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3657,20 +3631,17 @@ func (x *RequestResponse) GetMessage() string { } type TrackSubscribed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` unknownFields protoimpl.UnknownFields - - TrackSid string `protobuf:"bytes,1,opt,name=track_sid,json=trackSid,proto3" json:"track_sid,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TrackSubscribed) Reset() { *x = TrackSubscribed{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackSubscribed) String() string { @@ -3681,7 +3652,7 @@ func (*TrackSubscribed) ProtoMessage() {} func (x *TrackSubscribed) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3705,7 +3676,7 @@ func (x *TrackSubscribed) GetTrackSid() string { var File_livekit_rtc_proto protoreflect.FileDescriptor -var file_livekit_rtc_proto_rawDesc = []byte{ +var file_livekit_rtc_proto_rawDesc = string([]byte{ 0x0a, 0x11, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x72, 0x74, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, @@ -4278,23 +4249,23 @@ var file_livekit_rtc_proto_rawDesc = []byte{ 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_rtc_proto_rawDescOnce sync.Once - file_livekit_rtc_proto_rawDescData = file_livekit_rtc_proto_rawDesc + file_livekit_rtc_proto_rawDescData []byte ) func file_livekit_rtc_proto_rawDescGZIP() []byte { file_livekit_rtc_proto_rawDescOnce.Do(func() { - file_livekit_rtc_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_rtc_proto_rawDescData) + file_livekit_rtc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_rtc_proto_rawDesc), len(file_livekit_rtc_proto_rawDesc))) }) return file_livekit_rtc_proto_rawDescData } var file_livekit_rtc_proto_enumTypes = make([]protoimpl.EnumInfo, 5) var file_livekit_rtc_proto_msgTypes = make([]protoimpl.MessageInfo, 43) -var file_livekit_rtc_proto_goTypes = []interface{}{ +var file_livekit_rtc_proto_goTypes = []any{ (SignalTarget)(0), // 0: livekit.SignalTarget (StreamState)(0), // 1: livekit.StreamState (CandidateProtocol)(0), // 2: livekit.CandidateProtocol @@ -4459,513 +4430,7 @@ func file_livekit_rtc_proto_init() { return } file_livekit_models_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_rtc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SignalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SignalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SimulcastCodec); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTrackRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrickleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MuteTrackRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JoinResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReconnectResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackPublishedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackUnpublishedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SessionDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParticipantUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSubscription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTrackSettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateLocalAudioTrack); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateLocalVideoTrack); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LeaveRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateVideoLayers); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateParticipantMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ICEServer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpeakersChanged); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoomUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectionQualityInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectionQualityUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamStateInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamStateUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscribedQuality); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscribedCodec); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscribedQualityUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackPermission); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscriptionPermission); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscriptionPermissionUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataChannelInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SimulateScenario); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Ping); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Pong); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegionSettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegionInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscriptionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_rtc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrackSubscribed); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_rtc_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_livekit_rtc_proto_msgTypes[0].OneofWrappers = []any{ (*SignalRequest_Offer)(nil), (*SignalRequest_Answer)(nil), (*SignalRequest_Trickle)(nil), @@ -4984,7 +4449,7 @@ func file_livekit_rtc_proto_init() { (*SignalRequest_UpdateAudioTrack)(nil), (*SignalRequest_UpdateVideoTrack)(nil), } - file_livekit_rtc_proto_msgTypes[1].OneofWrappers = []interface{}{ + file_livekit_rtc_proto_msgTypes[1].OneofWrappers = []any{ (*SignalResponse_Join)(nil), (*SignalResponse_Answer)(nil), (*SignalResponse_Offer)(nil), @@ -5008,7 +4473,7 @@ func file_livekit_rtc_proto_init() { (*SignalResponse_RequestResponse)(nil), (*SignalResponse_TrackSubscribed)(nil), } - file_livekit_rtc_proto_msgTypes[34].OneofWrappers = []interface{}{ + file_livekit_rtc_proto_msgTypes[34].OneofWrappers = []any{ (*SimulateScenario_SpeakerUpdate)(nil), (*SimulateScenario_NodeFailure)(nil), (*SimulateScenario_Migration)(nil), @@ -5023,7 +4488,7 @@ func file_livekit_rtc_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_rtc_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_rtc_proto_rawDesc), len(file_livekit_rtc_proto_rawDesc)), NumEnums: 5, NumMessages: 43, NumExtensions: 0, @@ -5035,7 +4500,6 @@ func file_livekit_rtc_proto_init() { MessageInfos: file_livekit_rtc_proto_msgTypes, }.Build() File_livekit_rtc_proto = out.File - file_livekit_rtc_proto_rawDesc = nil file_livekit_rtc_proto_goTypes = nil file_livekit_rtc_proto_depIdxs = nil } diff --git a/livekit/livekit_sip.pb.go b/livekit/livekit_sip.pb.go index 954bf0ba5..651f65e63 100644 --- a/livekit/livekit_sip.pb.go +++ b/livekit/livekit_sip.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_sip.proto package livekit @@ -27,6 +27,7 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -574,21 +575,18 @@ func (SIPTrunkInfo_TrunkKind) EnumDescriptor() ([]byte, []int) { // SIPStatus is returned as an error detail in CreateSIPParticipant. type SIPStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code SIPStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=livekit.SIPStatusCode" json:"code,omitempty"` + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` unknownFields protoimpl.UnknownFields - - Code SIPStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=livekit.SIPStatusCode" json:"code,omitempty"` - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SIPStatus) Reset() { *x = SIPStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPStatus) String() string { @@ -599,7 +597,7 @@ func (*SIPStatus) ProtoMessage() {} func (x *SIPStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -630,10 +628,7 @@ func (x *SIPStatus) GetStatus() string { // Deprecated: Marked as deprecated in livekit_sip.proto. type CreateSIPTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // CIDR or IPs that traffic is accepted from // An empty list means all inbound traffic is accepted. InboundAddresses []string `protobuf:"bytes,1,rep,name=inbound_addresses,json=inboundAddresses,proto3" json:"inbound_addresses,omitempty"` @@ -656,16 +651,16 @@ type CreateSIPTrunkRequest struct { // Optional human-readable name for the Trunk. Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` // Optional user-defined metadata for the Trunk. - Metadata string `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata string `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateSIPTrunkRequest) Reset() { *x = CreateSIPTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPTrunkRequest) String() string { @@ -676,7 +671,7 @@ func (*CreateSIPTrunkRequest) ProtoMessage() {} func (x *CreateSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -771,10 +766,7 @@ func (x *CreateSIPTrunkRequest) GetMetadata() string { // Deprecated: Marked as deprecated in livekit_sip.proto. type SIPTrunkInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` Kind SIPTrunkInfo_TrunkKind `protobuf:"varint,14,opt,name=kind,proto3,enum=livekit.SIPTrunkInfo_TrunkKind" json:"kind,omitempty"` // CIDR or IPs that traffic is accepted from @@ -801,16 +793,16 @@ type SIPTrunkInfo struct { // Human-readable name for the Trunk. Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"` // User-defined metadata for the Trunk. - Metadata string `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata string `protobuf:"bytes,12,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPTrunkInfo) Reset() { *x = SIPTrunkInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPTrunkInfo) String() string { @@ -821,7 +813,7 @@ func (*SIPTrunkInfo) ProtoMessage() {} func (x *SIPTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -936,20 +928,17 @@ func (x *SIPTrunkInfo) GetMetadata() string { } type CreateSIPInboundTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored unknownFields protoimpl.UnknownFields - - Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored + sizeCache protoimpl.SizeCache } func (x *CreateSIPInboundTrunkRequest) Reset() { *x = CreateSIPInboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPInboundTrunkRequest) String() string { @@ -960,7 +949,7 @@ func (*CreateSIPInboundTrunkRequest) ProtoMessage() {} func (x *CreateSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -983,11 +972,8 @@ func (x *CreateSIPInboundTrunkRequest) GetTrunk() *SIPInboundTrunkInfo { } type SIPInboundTrunkInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` // Human-readable name for the Trunk. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // User-defined metadata for the Trunk. @@ -1006,12 +992,12 @@ type SIPInboundTrunkInfo struct { AuthUsername string `protobuf:"bytes,7,opt,name=auth_username,json=authUsername,proto3" json:"auth_username,omitempty"` AuthPassword string `protobuf:"bytes,8,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` // Include these SIP X-* headers in 200 OK responses. - Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP X-* headers from INVITE to SIP participant attributes. - HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,14,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AttributesToHeaders map[string]string `protobuf:"bytes,14,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP headers from INVITE to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -1025,15 +1011,15 @@ type SIPInboundTrunkInfo struct { MaxCallDuration *durationpb.Duration `protobuf:"bytes,12,opt,name=max_call_duration,json=maxCallDuration,proto3" json:"max_call_duration,omitempty"` KrispEnabled bool `protobuf:"varint,13,opt,name=krisp_enabled,json=krispEnabled,proto3" json:"krisp_enabled,omitempty"` MediaEncryption SIPMediaEncryption `protobuf:"varint,16,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPInboundTrunkInfo) Reset() { *x = SIPInboundTrunkInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPInboundTrunkInfo) String() string { @@ -1044,7 +1030,7 @@ func (*SIPInboundTrunkInfo) ProtoMessage() {} func (x *SIPInboundTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1172,20 +1158,17 @@ func (x *SIPInboundTrunkInfo) GetMediaEncryption() SIPMediaEncryption { } type CreateSIPOutboundTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored unknownFields protoimpl.UnknownFields - - Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` // Trunk ID is ignored + sizeCache protoimpl.SizeCache } func (x *CreateSIPOutboundTrunkRequest) Reset() { *x = CreateSIPOutboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPOutboundTrunkRequest) String() string { @@ -1196,7 +1179,7 @@ func (*CreateSIPOutboundTrunkRequest) ProtoMessage() {} func (x *CreateSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1219,11 +1202,8 @@ func (x *CreateSIPOutboundTrunkRequest) GetTrunk() *SIPOutboundTrunkInfo { } type SIPOutboundTrunkInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` // Human-readable name for the Trunk. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // User-defined metadata for the Trunk. @@ -1241,13 +1221,13 @@ type SIPOutboundTrunkInfo struct { AuthPassword string `protobuf:"bytes,8,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` // Include these SIP X-* headers in INVITE request. // These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. - Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP X-* headers from 200 OK to SIP participant attributes. // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,11,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AttributesToHeaders map[string]string `protobuf:"bytes,11,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP headers from 200 OK to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -1256,15 +1236,15 @@ type SIPOutboundTrunkInfo struct { // lowercase header names should be used, for example: sip.h.x-custom-header. IncludeHeaders SIPHeaderOptions `protobuf:"varint,12,opt,name=include_headers,json=includeHeaders,proto3,enum=livekit.SIPHeaderOptions" json:"include_headers,omitempty"` MediaEncryption SIPMediaEncryption `protobuf:"varint,13,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPOutboundTrunkInfo) Reset() { *x = SIPOutboundTrunkInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPOutboundTrunkInfo) String() string { @@ -1275,7 +1255,7 @@ func (*SIPOutboundTrunkInfo) ProtoMessage() {} func (x *SIPOutboundTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1382,20 +1362,17 @@ func (x *SIPOutboundTrunkInfo) GetMediaEncryption() SIPMediaEncryption { } type GetSIPInboundTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` unknownFields protoimpl.UnknownFields - - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetSIPInboundTrunkRequest) Reset() { *x = GetSIPInboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPInboundTrunkRequest) String() string { @@ -1406,7 +1383,7 @@ func (*GetSIPInboundTrunkRequest) ProtoMessage() {} func (x *GetSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1429,20 +1406,17 @@ func (x *GetSIPInboundTrunkRequest) GetSipTrunkId() string { } type GetSIPInboundTrunkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` unknownFields protoimpl.UnknownFields - - Trunk *SIPInboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetSIPInboundTrunkResponse) Reset() { *x = GetSIPInboundTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPInboundTrunkResponse) String() string { @@ -1453,7 +1427,7 @@ func (*GetSIPInboundTrunkResponse) ProtoMessage() {} func (x *GetSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1476,20 +1450,17 @@ func (x *GetSIPInboundTrunkResponse) GetTrunk() *SIPInboundTrunkInfo { } type GetSIPOutboundTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` unknownFields protoimpl.UnknownFields - - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetSIPOutboundTrunkRequest) Reset() { *x = GetSIPOutboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPOutboundTrunkRequest) String() string { @@ -1500,7 +1471,7 @@ func (*GetSIPOutboundTrunkRequest) ProtoMessage() {} func (x *GetSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1523,20 +1494,17 @@ func (x *GetSIPOutboundTrunkRequest) GetSipTrunkId() string { } type GetSIPOutboundTrunkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` unknownFields protoimpl.UnknownFields - - Trunk *SIPOutboundTrunkInfo `protobuf:"bytes,1,opt,name=trunk,proto3" json:"trunk,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetSIPOutboundTrunkResponse) Reset() { *x = GetSIPOutboundTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPOutboundTrunkResponse) String() string { @@ -1547,7 +1515,7 @@ func (*GetSIPOutboundTrunkResponse) ProtoMessage() {} func (x *GetSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1571,20 +1539,17 @@ func (x *GetSIPOutboundTrunkResponse) GetTrunk() *SIPOutboundTrunkInfo { // Deprecated: Marked as deprecated in livekit_sip.proto. type ListSIPTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Page *Pagination `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` unknownFields protoimpl.UnknownFields - - Page *Pagination `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListSIPTrunkRequest) Reset() { *x = ListSIPTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPTrunkRequest) String() string { @@ -1595,7 +1560,7 @@ func (*ListSIPTrunkRequest) ProtoMessage() {} func (x *ListSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1619,20 +1584,17 @@ func (x *ListSIPTrunkRequest) GetPage() *Pagination { // Deprecated: Marked as deprecated in livekit_sip.proto. type ListSIPTrunkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*SIPTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*SIPTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListSIPTrunkResponse) Reset() { *x = ListSIPTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPTrunkResponse) String() string { @@ -1643,7 +1605,7 @@ func (*ListSIPTrunkResponse) ProtoMessage() {} func (x *ListSIPTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1667,25 +1629,22 @@ func (x *ListSIPTrunkResponse) GetItems() []*SIPTrunkInfo { // ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed. type ListSIPInboundTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // Trunk IDs to list. If this option is set, the response will contains trunks in the same order. // If any of the trunks is missing, a nil item in that position will be sent in the response. TrunkIds []string `protobuf:"bytes,1,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` // Only list trunks that contain one of the numbers, including wildcard trunks. - Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` + Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListSIPInboundTrunkRequest) Reset() { *x = ListSIPInboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPInboundTrunkRequest) String() string { @@ -1696,7 +1655,7 @@ func (*ListSIPInboundTrunkRequest) ProtoMessage() {} func (x *ListSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1733,20 +1692,17 @@ func (x *ListSIPInboundTrunkRequest) GetNumbers() []string { } type ListSIPInboundTrunkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*SIPInboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*SIPInboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListSIPInboundTrunkResponse) Reset() { *x = ListSIPInboundTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPInboundTrunkResponse) String() string { @@ -1757,7 +1713,7 @@ func (*ListSIPInboundTrunkResponse) ProtoMessage() {} func (x *ListSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1781,25 +1737,22 @@ func (x *ListSIPInboundTrunkResponse) GetItems() []*SIPInboundTrunkInfo { // ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed. type ListSIPOutboundTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // Trunk IDs to list. If this option is set, the response will contains trunks in the same order. // If any of the trunks is missing, a nil item in that position will be sent in the response. TrunkIds []string `protobuf:"bytes,1,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` // Only list trunks that contain one of the numbers, including wildcard trunks. - Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` + Numbers []string `protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListSIPOutboundTrunkRequest) Reset() { *x = ListSIPOutboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPOutboundTrunkRequest) String() string { @@ -1810,7 +1763,7 @@ func (*ListSIPOutboundTrunkRequest) ProtoMessage() {} func (x *ListSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1847,20 +1800,17 @@ func (x *ListSIPOutboundTrunkRequest) GetNumbers() []string { } type ListSIPOutboundTrunkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*SIPOutboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*SIPOutboundTrunkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListSIPOutboundTrunkResponse) Reset() { *x = ListSIPOutboundTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPOutboundTrunkResponse) String() string { @@ -1871,7 +1821,7 @@ func (*ListSIPOutboundTrunkResponse) ProtoMessage() {} func (x *ListSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1894,20 +1844,17 @@ func (x *ListSIPOutboundTrunkResponse) GetItems() []*SIPOutboundTrunkInfo { } type DeleteSIPTrunkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` unknownFields protoimpl.UnknownFields - - SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteSIPTrunkRequest) Reset() { *x = DeleteSIPTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSIPTrunkRequest) String() string { @@ -1918,7 +1865,7 @@ func (*DeleteSIPTrunkRequest) ProtoMessage() {} func (x *DeleteSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1941,23 +1888,20 @@ func (x *DeleteSIPTrunkRequest) GetSipTrunkId() string { } type SIPDispatchRuleDirect struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // What room should call be directed into RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // Optional pin required to enter room - Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` + Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPDispatchRuleDirect) Reset() { *x = SIPDispatchRuleDirect{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRuleDirect) String() string { @@ -1968,7 +1912,7 @@ func (*SIPDispatchRuleDirect) ProtoMessage() {} func (x *SIPDispatchRuleDirect) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1998,23 +1942,20 @@ func (x *SIPDispatchRuleDirect) GetPin() string { } type SIPDispatchRuleIndividual struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Prefix used on new room name RoomPrefix string `protobuf:"bytes,1,opt,name=room_prefix,json=roomPrefix,proto3" json:"room_prefix,omitempty"` // Optional pin required to enter room - Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` + Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPDispatchRuleIndividual) Reset() { *x = SIPDispatchRuleIndividual{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRuleIndividual) String() string { @@ -2025,7 +1966,7 @@ func (*SIPDispatchRuleIndividual) ProtoMessage() {} func (x *SIPDispatchRuleIndividual) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2055,25 +1996,22 @@ func (x *SIPDispatchRuleIndividual) GetPin() string { } type SIPDispatchRuleCallee struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Prefix used on new room name RoomPrefix string `protobuf:"bytes,1,opt,name=room_prefix,json=roomPrefix,proto3" json:"room_prefix,omitempty"` // Optional pin required to enter room Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` // Optionally append random suffix - Randomize bool `protobuf:"varint,3,opt,name=randomize,proto3" json:"randomize,omitempty"` + Randomize bool `protobuf:"varint,3,opt,name=randomize,proto3" json:"randomize,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPDispatchRuleCallee) Reset() { *x = SIPDispatchRuleCallee{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRuleCallee) String() string { @@ -2084,7 +2022,7 @@ func (*SIPDispatchRuleCallee) ProtoMessage() {} func (x *SIPDispatchRuleCallee) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2121,25 +2059,22 @@ func (x *SIPDispatchRuleCallee) GetRandomize() bool { } type SIPDispatchRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Rule: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Rule: // // *SIPDispatchRule_DispatchRuleDirect // *SIPDispatchRule_DispatchRuleIndividual // *SIPDispatchRule_DispatchRuleCallee - Rule isSIPDispatchRule_Rule `protobuf_oneof:"rule"` + Rule isSIPDispatchRule_Rule `protobuf_oneof:"rule"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPDispatchRule) Reset() { *x = SIPDispatchRule{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRule) String() string { @@ -2150,7 +2085,7 @@ func (*SIPDispatchRule) ProtoMessage() {} func (x *SIPDispatchRule) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2165,30 +2100,36 @@ func (*SIPDispatchRule) Descriptor() ([]byte, []int) { return file_livekit_sip_proto_rawDescGZIP(), []int{21} } -func (m *SIPDispatchRule) GetRule() isSIPDispatchRule_Rule { - if m != nil { - return m.Rule +func (x *SIPDispatchRule) GetRule() isSIPDispatchRule_Rule { + if x != nil { + return x.Rule } return nil } func (x *SIPDispatchRule) GetDispatchRuleDirect() *SIPDispatchRuleDirect { - if x, ok := x.GetRule().(*SIPDispatchRule_DispatchRuleDirect); ok { - return x.DispatchRuleDirect + if x != nil { + if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleDirect); ok { + return x.DispatchRuleDirect + } } return nil } func (x *SIPDispatchRule) GetDispatchRuleIndividual() *SIPDispatchRuleIndividual { - if x, ok := x.GetRule().(*SIPDispatchRule_DispatchRuleIndividual); ok { - return x.DispatchRuleIndividual + if x != nil { + if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleIndividual); ok { + return x.DispatchRuleIndividual + } } return nil } func (x *SIPDispatchRule) GetDispatchRuleCallee() *SIPDispatchRuleCallee { - if x, ok := x.GetRule().(*SIPDispatchRule_DispatchRuleCallee); ok { - return x.DispatchRuleCallee + if x != nil { + if x, ok := x.Rule.(*SIPDispatchRule_DispatchRuleCallee); ok { + return x.DispatchRuleCallee + } } return nil } @@ -2221,11 +2162,8 @@ func (*SIPDispatchRule_DispatchRuleIndividual) isSIPDispatchRule_Rule() {} func (*SIPDispatchRule_DispatchRuleCallee) isSIPDispatchRule_Rule() {} type CreateSIPDispatchRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Rule *SIPDispatchRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Rule *SIPDispatchRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` // What trunks are accepted for this dispatch rule // If empty all trunks will match this dispatch rule TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` @@ -2241,20 +2179,20 @@ type CreateSIPDispatchRuleRequest struct { Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // User-defined attributes for the Dispatch Rule. // Participants created by this rule will inherit these attributes. - Attributes map[string]string `protobuf:"bytes,7,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Attributes map[string]string `protobuf:"bytes,7,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Cloud-only, config preset to use RoomPreset string `protobuf:"bytes,8,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"` // RoomConfiguration to use if the participant initiates the room - RoomConfig *RoomConfiguration `protobuf:"bytes,9,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` + RoomConfig *RoomConfiguration `protobuf:"bytes,9,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateSIPDispatchRuleRequest) Reset() { *x = CreateSIPDispatchRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPDispatchRuleRequest) String() string { @@ -2265,7 +2203,7 @@ func (*CreateSIPDispatchRuleRequest) ProtoMessage() {} func (x *CreateSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2344,14 +2282,11 @@ func (x *CreateSIPDispatchRuleRequest) GetRoomConfig() *RoomConfiguration { } type SIPDispatchRuleInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` - Rule *SIPDispatchRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` - TrunkIds []string `protobuf:"bytes,3,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` - HidePhoneNumber bool `protobuf:"varint,4,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` + Rule *SIPDispatchRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` + TrunkIds []string `protobuf:"bytes,3,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` + HidePhoneNumber bool `protobuf:"varint,4,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"` // Dispatch Rule will only accept a call made to these numbers (if set). InboundNumbers []string `protobuf:"bytes,7,rep,name=inbound_numbers,json=inboundNumbers,proto3" json:"inbound_numbers,omitempty"` // Human-readable name for the Dispatch Rule. @@ -2361,22 +2296,22 @@ type SIPDispatchRuleInfo struct { Metadata string `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // User-defined attributes for the Dispatch Rule. // Participants created by this rule will inherit these attributes. - Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Attributes map[string]string `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Cloud-only, config preset to use RoomPreset string `protobuf:"bytes,9,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"` // RoomConfiguration to use if the participant initiates the room RoomConfig *RoomConfiguration `protobuf:"bytes,10,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` KrispEnabled bool `protobuf:"varint,11,opt,name=krisp_enabled,json=krispEnabled,proto3" json:"krisp_enabled,omitempty"` MediaEncryption SIPMediaEncryption `protobuf:"varint,12,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` // NEXT ID: 13 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPDispatchRuleInfo) Reset() { *x = SIPDispatchRuleInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRuleInfo) String() string { @@ -2387,7 +2322,7 @@ func (*SIPDispatchRuleInfo) ProtoMessage() {} func (x *SIPDispatchRuleInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2488,25 +2423,22 @@ func (x *SIPDispatchRuleInfo) GetMediaEncryption() SIPMediaEncryption { // ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed. type ListSIPDispatchRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Page *Pagination `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // Rule IDs to list. If this option is set, the response will contains rules in the same order. // If any of the rules is missing, a nil item in that position will be sent in the response. DispatchRuleIds []string `protobuf:"bytes,1,rep,name=dispatch_rule_ids,json=dispatchRuleIds,proto3" json:"dispatch_rule_ids,omitempty"` // Only list rules that contain one of the Trunk IDs, including wildcard rules. - TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` + TrunkIds []string `protobuf:"bytes,2,rep,name=trunk_ids,json=trunkIds,proto3" json:"trunk_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListSIPDispatchRuleRequest) Reset() { *x = ListSIPDispatchRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPDispatchRuleRequest) String() string { @@ -2517,7 +2449,7 @@ func (*ListSIPDispatchRuleRequest) ProtoMessage() {} func (x *ListSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2554,20 +2486,17 @@ func (x *ListSIPDispatchRuleRequest) GetTrunkIds() []string { } type ListSIPDispatchRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*SIPDispatchRuleInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*SIPDispatchRuleInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListSIPDispatchRuleResponse) Reset() { *x = ListSIPDispatchRuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPDispatchRuleResponse) String() string { @@ -2578,7 +2507,7 @@ func (*ListSIPDispatchRuleResponse) ProtoMessage() {} func (x *ListSIPDispatchRuleResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2601,20 +2530,17 @@ func (x *ListSIPDispatchRuleResponse) GetItems() []*SIPDispatchRuleInfo { } type DeleteSIPDispatchRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipDispatchRuleId string `protobuf:"bytes,1,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteSIPDispatchRuleRequest) Reset() { *x = DeleteSIPDispatchRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSIPDispatchRuleRequest) String() string { @@ -2625,7 +2551,7 @@ func (*DeleteSIPDispatchRuleRequest) ProtoMessage() {} func (x *DeleteSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2648,10 +2574,7 @@ func (x *DeleteSIPDispatchRuleRequest) GetSipDispatchRuleId() string { } type SIPOutboundConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // SIP server address Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // SIP Transport used for outbound call. @@ -2662,19 +2585,19 @@ type SIPOutboundConfig struct { AuthPassword string `protobuf:"bytes,4,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` // Map SIP X-* headers from 200 OK to SIP participant attributes. // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - HeadersToAttributes map[string]string `protobuf:"bytes,5,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + HeadersToAttributes map[string]string `protobuf:"bytes,5,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,6,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AttributesToHeaders map[string]string `protobuf:"bytes,6,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPOutboundConfig) Reset() { *x = SIPOutboundConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPOutboundConfig) String() string { @@ -2685,7 +2608,7 @@ func (*SIPOutboundConfig) ProtoMessage() {} func (x *SIPOutboundConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2745,10 +2668,7 @@ func (x *SIPOutboundConfig) GetAttributesToHeaders() map[string]string { // A SIP Participant is a singular SIP session connected to a LiveKit room via // a SIP Trunk into a SIP DispatchRule type CreateSIPParticipantRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // What SIP Trunk should be used to dial the user SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` Trunk *SIPOutboundConfig `protobuf:"bytes,20,opt,name=trunk,proto3" json:"trunk,omitempty"` @@ -2765,7 +2685,7 @@ type CreateSIPParticipantRequest struct { // Optional user-defined metadata. Will be attached to a created Participant in the room. ParticipantMetadata string `protobuf:"bytes,8,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` // Optional user-defined attributes. Will be attached to a created Participant in the room. - ParticipantAttributes map[string]string `protobuf:"bytes,9,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ParticipantAttributes map[string]string `protobuf:"bytes,9,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Optionally send following DTMF digits (extension codes) when making a call. // Character 'w' can be used to add a 0.5 sec delay. Dtmf string `protobuf:"bytes,5,opt,name=dtmf,proto3" json:"dtmf,omitempty"` @@ -2778,7 +2698,7 @@ type CreateSIPParticipantRequest struct { // If true, a random value for identity will be used and numbers will be omitted from attributes. HidePhoneNumber bool `protobuf:"varint,10,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"` // These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. - Headers map[string]string `protobuf:"bytes,16,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,16,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP headers from 200 OK to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -2795,15 +2715,15 @@ type CreateSIPParticipantRequest struct { MediaEncryption SIPMediaEncryption `protobuf:"varint,18,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` // Wait for the answer for the call before returning. WaitUntilAnswered bool `protobuf:"varint,19,opt,name=wait_until_answered,json=waitUntilAnswered,proto3" json:"wait_until_answered,omitempty"` // NEXT ID: 21 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateSIPParticipantRequest) Reset() { *x = CreateSIPParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPParticipantRequest) String() string { @@ -2814,7 +2734,7 @@ func (*CreateSIPParticipantRequest) ProtoMessage() {} func (x *CreateSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2971,23 +2891,20 @@ func (x *CreateSIPParticipantRequest) GetWaitUntilAnswered() bool { } type SIPParticipantInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` - ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - SipCallId string `protobuf:"bytes,4,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` + ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + SipCallId string `protobuf:"bytes,4,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPParticipantInfo) Reset() { *x = SIPParticipantInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPParticipantInfo) String() string { @@ -2998,7 +2915,7 @@ func (*SIPParticipantInfo) ProtoMessage() {} func (x *SIPParticipantInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3042,26 +2959,23 @@ func (x *SIPParticipantInfo) GetSipCallId() string { } type TransferSIPParticipantRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ParticipantIdentity string `protobuf:"bytes,1,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - TransferTo string `protobuf:"bytes,3,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ParticipantIdentity string `protobuf:"bytes,1,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + TransferTo string `protobuf:"bytes,3,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` // Optionally play dialtone to the SIP participant as an audible indicator of being transferred PlayDialtone bool `protobuf:"varint,4,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` // Add the following headers to the REFER SIP request. - Headers map[string]string `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TransferSIPParticipantRequest) Reset() { *x = TransferSIPParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransferSIPParticipantRequest) String() string { @@ -3072,7 +2986,7 @@ func (*TransferSIPParticipantRequest) ProtoMessage() {} func (x *TransferSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3123,34 +3037,31 @@ func (x *TransferSIPParticipantRequest) GetHeaders() map[string]string { } type SIPCallInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CallId string `protobuf:"bytes,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` - TrunkId string `protobuf:"bytes,2,opt,name=trunk_id,json=trunkId,proto3" json:"trunk_id,omitempty"` - RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to - ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - FromUri *SIPUri `protobuf:"bytes,6,opt,name=from_uri,json=fromUri,proto3" json:"from_uri,omitempty"` - ToUri *SIPUri `protobuf:"bytes,7,opt,name=to_uri,json=toUri,proto3" json:"to_uri,omitempty"` - EnabledFeatures []SIPFeature `protobuf:"varint,14,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=livekit.SIPFeature" json:"enabled_features,omitempty"` - CallDirection SIPCallDirection `protobuf:"varint,15,opt,name=call_direction,json=callDirection,proto3,enum=livekit.SIPCallDirection" json:"call_direction,omitempty"` - CallStatus SIPCallStatus `protobuf:"varint,8,opt,name=call_status,json=callStatus,proto3,enum=livekit.SIPCallStatus" json:"call_status,omitempty"` - CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` - DisconnectReason DisconnectReason `protobuf:"varint,12,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"` - Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + CallId string `protobuf:"bytes,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` + TrunkId string `protobuf:"bytes,2,opt,name=trunk_id,json=trunkId,proto3" json:"trunk_id,omitempty"` + RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // ID of the current/previous room published to + ParticipantIdentity string `protobuf:"bytes,5,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + FromUri *SIPUri `protobuf:"bytes,6,opt,name=from_uri,json=fromUri,proto3" json:"from_uri,omitempty"` + ToUri *SIPUri `protobuf:"bytes,7,opt,name=to_uri,json=toUri,proto3" json:"to_uri,omitempty"` + EnabledFeatures []SIPFeature `protobuf:"varint,14,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=livekit.SIPFeature" json:"enabled_features,omitempty"` + CallDirection SIPCallDirection `protobuf:"varint,15,opt,name=call_direction,json=callDirection,proto3,enum=livekit.SIPCallDirection" json:"call_direction,omitempty"` + CallStatus SIPCallStatus `protobuf:"varint,8,opt,name=call_status,json=callStatus,proto3,enum=livekit.SIPCallStatus" json:"call_status,omitempty"` + CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + StartedAt int64 `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + EndedAt int64 `protobuf:"varint,11,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` + DisconnectReason DisconnectReason `protobuf:"varint,12,opt,name=disconnect_reason,json=disconnectReason,proto3,enum=livekit.DisconnectReason" json:"disconnect_reason,omitempty"` + Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SIPCallInfo) Reset() { *x = SIPCallInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPCallInfo) String() string { @@ -3161,7 +3072,7 @@ func (*SIPCallInfo) ProtoMessage() {} func (x *SIPCallInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3282,24 +3193,21 @@ func (x *SIPCallInfo) GetError() string { } type SIPUri struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` + Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` + Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` + Transport SIPTransport `protobuf:"varint,5,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"` unknownFields protoimpl.UnknownFields - - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` - Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` - Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` - Transport SIPTransport `protobuf:"varint,5,opt,name=transport,proto3,enum=livekit.SIPTransport" json:"transport,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SIPUri) Reset() { *x = SIPUri{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPUri) String() string { @@ -3310,7 +3218,7 @@ func (*SIPUri) ProtoMessage() {} func (x *SIPUri) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3362,7 +3270,7 @@ func (x *SIPUri) GetTransport() SIPTransport { var File_livekit_sip_proto protoreflect.FileDescriptor -var file_livekit_sip_proto_rawDesc = []byte{ +var file_livekit_sip_proto_rawDesc = string([]byte{ 0x0a, 0x11, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x73, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, @@ -4170,23 +4078,23 @@ var file_livekit_sip_proto_rawDesc = []byte{ 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_sip_proto_rawDescOnce sync.Once - file_livekit_sip_proto_rawDescData = file_livekit_sip_proto_rawDesc + file_livekit_sip_proto_rawDescData []byte ) func file_livekit_sip_proto_rawDescGZIP() []byte { file_livekit_sip_proto_rawDescOnce.Do(func() { - file_livekit_sip_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_sip_proto_rawDescData) + file_livekit_sip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_sip_proto_rawDesc), len(file_livekit_sip_proto_rawDesc))) }) return file_livekit_sip_proto_rawDescData } var file_livekit_sip_proto_enumTypes = make([]protoimpl.EnumInfo, 8) var file_livekit_sip_proto_msgTypes = make([]protoimpl.MessageInfo, 46) -var file_livekit_sip_proto_goTypes = []interface{}{ +var file_livekit_sip_proto_goTypes = []any{ (SIPStatusCode)(0), // 0: livekit.SIPStatusCode (SIPTransport)(0), // 1: livekit.SIPTransport (SIPHeaderOptions)(0), // 2: livekit.SIPHeaderOptions @@ -4344,405 +4252,7 @@ func file_livekit_sip_proto_init() { } file_livekit_models_proto_init() file_livekit_room_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_sip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSIPTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPTrunkInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSIPInboundTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPInboundTrunkInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSIPOutboundTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPOutboundTrunkInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSIPInboundTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSIPInboundTrunkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSIPOutboundTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSIPOutboundTrunkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPTrunkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPInboundTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPInboundTrunkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPOutboundTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPOutboundTrunkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSIPTrunkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPDispatchRuleDirect); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPDispatchRuleIndividual); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPDispatchRuleCallee); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPDispatchRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSIPDispatchRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPDispatchRuleInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPDispatchRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSIPDispatchRuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSIPDispatchRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPOutboundConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSIPParticipantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPParticipantInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransferSIPParticipantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPCallInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_livekit_sip_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SIPUri); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_livekit_sip_proto_msgTypes[21].OneofWrappers = []interface{}{ + file_livekit_sip_proto_msgTypes[21].OneofWrappers = []any{ (*SIPDispatchRule_DispatchRuleDirect)(nil), (*SIPDispatchRule_DispatchRuleIndividual)(nil), (*SIPDispatchRule_DispatchRuleCallee)(nil), @@ -4751,7 +4261,7 @@ func file_livekit_sip_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_sip_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_sip_proto_rawDesc), len(file_livekit_sip_proto_rawDesc)), NumEnums: 8, NumMessages: 46, NumExtensions: 0, @@ -4763,7 +4273,6 @@ func file_livekit_sip_proto_init() { MessageInfos: file_livekit_sip_proto_msgTypes, }.Build() File_livekit_sip_proto = out.File - file_livekit_sip_proto_rawDesc = nil file_livekit_sip_proto_goTypes = nil file_livekit_sip_proto_depIdxs = nil } diff --git a/livekit/livekit_webhook.pb.go b/livekit/livekit_webhook.pb.go index f39c8b9c0..1f56d9981 100644 --- a/livekit/livekit_webhook.pb.go +++ b/livekit/livekit_webhook.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: livekit_webhook.proto package livekit @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -35,10 +36,7 @@ const ( ) type WebhookEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // one of room_started, room_finished, participant_joined, participant_left, // track_published, track_unpublished, egress_started, egress_updated, egress_ended, // ingress_started, ingress_ended @@ -55,17 +53,17 @@ type WebhookEvent struct { // unique event uuid Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` // timestamp in seconds - CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - NumDropped int32 `protobuf:"varint,11,opt,name=num_dropped,json=numDropped,proto3" json:"num_dropped,omitempty"` + CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + NumDropped int32 `protobuf:"varint,11,opt,name=num_dropped,json=numDropped,proto3" json:"num_dropped,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *WebhookEvent) Reset() { *x = WebhookEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_webhook_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_webhook_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WebhookEvent) String() string { @@ -76,7 +74,7 @@ func (*WebhookEvent) ProtoMessage() {} func (x *WebhookEvent) ProtoReflect() protoreflect.Message { mi := &file_livekit_webhook_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -156,7 +154,7 @@ func (x *WebhookEvent) GetNumDropped() int32 { var File_livekit_webhook_proto protoreflect.FileDescriptor -var file_livekit_webhook_proto_rawDesc = []byte{ +var file_livekit_webhook_proto_rawDesc = string([]byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, @@ -192,22 +190,22 @@ var file_livekit_webhook_proto_rawDesc = []byte{ 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_livekit_webhook_proto_rawDescOnce sync.Once - file_livekit_webhook_proto_rawDescData = file_livekit_webhook_proto_rawDesc + file_livekit_webhook_proto_rawDescData []byte ) func file_livekit_webhook_proto_rawDescGZIP() []byte { file_livekit_webhook_proto_rawDescOnce.Do(func() { - file_livekit_webhook_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_webhook_proto_rawDescData) + file_livekit_webhook_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_webhook_proto_rawDesc), len(file_livekit_webhook_proto_rawDesc))) }) return file_livekit_webhook_proto_rawDescData } var file_livekit_webhook_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_livekit_webhook_proto_goTypes = []interface{}{ +var file_livekit_webhook_proto_goTypes = []any{ (*WebhookEvent)(nil), // 0: livekit.WebhookEvent (*Room)(nil), // 1: livekit.Room (*ParticipantInfo)(nil), // 2: livekit.ParticipantInfo @@ -236,25 +234,11 @@ func file_livekit_webhook_proto_init() { file_livekit_models_proto_init() file_livekit_egress_proto_init() file_livekit_ingress_proto_init() - if !protoimpl.UnsafeEnabled { - file_livekit_webhook_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebhookEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_livekit_webhook_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_webhook_proto_rawDesc), len(file_livekit_webhook_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -265,7 +249,6 @@ func file_livekit_webhook_proto_init() { MessageInfos: file_livekit_webhook_proto_msgTypes, }.Build() File_livekit_webhook_proto = out.File - file_livekit_webhook_proto_rawDesc = nil file_livekit_webhook_proto_goTypes = nil file_livekit_webhook_proto_depIdxs = nil } diff --git a/rpc/agent.pb.go b/rpc/agent.pb.go index 846f8abd0..39162d2fb 100644 --- a/rpc/agent.pb.go +++ b/rpc/agent.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/agent.proto package rpc @@ -28,6 +28,7 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -84,18 +85,16 @@ func (JobTerminateReason) EnumDescriptor() ([]byte, []int) { } type CheckEnabledRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckEnabledRequest) Reset() { *x = CheckEnabledRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CheckEnabledRequest) String() string { @@ -106,7 +105,7 @@ func (*CheckEnabledRequest) ProtoMessage() {} func (x *CheckEnabledRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -122,24 +121,21 @@ func (*CheckEnabledRequest) Descriptor() ([]byte, []int) { } type CheckEnabledResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoomEnabled bool `protobuf:"varint,1,opt,name=room_enabled,json=roomEnabled,proto3" json:"room_enabled,omitempty"` - PublisherEnabled bool `protobuf:"varint,2,opt,name=publisher_enabled,json=publisherEnabled,proto3" json:"publisher_enabled,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RoomEnabled bool `protobuf:"varint,1,opt,name=room_enabled,json=roomEnabled,proto3" json:"room_enabled,omitempty"` + PublisherEnabled bool `protobuf:"varint,2,opt,name=publisher_enabled,json=publisherEnabled,proto3" json:"publisher_enabled,omitempty"` // Deprecated: Marked as deprecated in rpc/agent.proto. - Namespaces []string `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"` - AgentNames []string `protobuf:"bytes,4,rep,name=agent_names,json=agentNames,proto3" json:"agent_names,omitempty"` + Namespaces []string `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"` + AgentNames []string `protobuf:"bytes,4,rep,name=agent_names,json=agentNames,proto3" json:"agent_names,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckEnabledResponse) Reset() { *x = CheckEnabledResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CheckEnabledResponse) String() string { @@ -150,7 +146,7 @@ func (*CheckEnabledResponse) ProtoMessage() {} func (x *CheckEnabledResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -195,20 +191,17 @@ func (x *CheckEnabledResponse) GetAgentNames() []string { } type JobRequestResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` unknownFields protoimpl.UnknownFields - - State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobRequestResponse) Reset() { *x = JobRequestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobRequestResponse) String() string { @@ -219,7 +212,7 @@ func (*JobRequestResponse) ProtoMessage() {} func (x *JobRequestResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -242,21 +235,18 @@ func (x *JobRequestResponse) GetState() *livekit.JobState { } type JobTerminateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + Reason JobTerminateReason `protobuf:"varint,2,opt,name=reason,proto3,enum=rpc.JobTerminateReason" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields - - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - Reason JobTerminateReason `protobuf:"varint,2,opt,name=reason,proto3,enum=rpc.JobTerminateReason" json:"reason,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobTerminateRequest) Reset() { *x = JobTerminateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobTerminateRequest) String() string { @@ -267,7 +257,7 @@ func (*JobTerminateRequest) ProtoMessage() {} func (x *JobTerminateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -297,20 +287,17 @@ func (x *JobTerminateRequest) GetReason() JobTerminateReason { } type JobTerminateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` unknownFields protoimpl.UnknownFields - - State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobTerminateResponse) Reset() { *x = JobTerminateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobTerminateResponse) String() string { @@ -321,7 +308,7 @@ func (*JobTerminateResponse) ProtoMessage() {} func (x *JobTerminateResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -345,7 +332,7 @@ func (x *JobTerminateResponse) GetState() *livekit.JobState { var File_rpc_agent_proto protoreflect.FileDescriptor -var file_rpc_agent_proto_rawDesc = []byte{ +var file_rpc_agent_proto_rawDesc = string([]byte{ 0x0a, 0x0f, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, @@ -408,23 +395,23 @@ var file_rpc_agent_proto_rawDesc = []byte{ 0x28, 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_agent_proto_rawDescOnce sync.Once - file_rpc_agent_proto_rawDescData = file_rpc_agent_proto_rawDesc + file_rpc_agent_proto_rawDescData []byte ) func file_rpc_agent_proto_rawDescGZIP() []byte { file_rpc_agent_proto_rawDescOnce.Do(func() { - file_rpc_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_agent_proto_rawDescData) + file_rpc_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_agent_proto_rawDesc), len(file_rpc_agent_proto_rawDesc))) }) return file_rpc_agent_proto_rawDescData } var file_rpc_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_rpc_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_rpc_agent_proto_goTypes = []interface{}{ +var file_rpc_agent_proto_goTypes = []any{ (JobTerminateReason)(0), // 0: rpc.JobTerminateReason (*CheckEnabledRequest)(nil), // 1: rpc.CheckEnabledRequest (*CheckEnabledResponse)(nil), // 2: rpc.CheckEnabledResponse @@ -459,73 +446,11 @@ func file_rpc_agent_proto_init() { if File_rpc_agent_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckEnabledRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckEnabledResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobRequestResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobTerminateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobTerminateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_agent_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_agent_proto_rawDesc), len(file_rpc_agent_proto_rawDesc)), NumEnums: 1, NumMessages: 5, NumExtensions: 0, @@ -537,7 +462,6 @@ func file_rpc_agent_proto_init() { MessageInfos: file_rpc_agent_proto_msgTypes, }.Build() File_rpc_agent_proto = out.File - file_rpc_agent_proto_rawDesc = nil file_rpc_agent_proto_goTypes = nil file_rpc_agent_proto_depIdxs = nil } diff --git a/rpc/agent_dispatch.pb.go b/rpc/agent_dispatch.pb.go index f55c77a3a..385e169f1 100644 --- a/rpc/agent_dispatch.pb.go +++ b/rpc/agent_dispatch.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/agent_dispatch.proto package rpc @@ -26,6 +26,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -37,7 +38,7 @@ const ( var File_rpc_agent_dispatch_proto protoreflect.FileDescriptor -var file_rpc_agent_dispatch_proto_rawDesc = []byte{ +var file_rpc_agent_dispatch_proto_rawDesc = string([]byte{ 0x0a, 0x18, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, @@ -67,9 +68,9 @@ var file_rpc_agent_dispatch_proto_rawDesc = []byte{ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) -var file_rpc_agent_dispatch_proto_goTypes = []interface{}{ +var file_rpc_agent_dispatch_proto_goTypes = []any{ (*livekit.AgentDispatch)(nil), // 0: livekit.AgentDispatch (*livekit.DeleteAgentDispatchRequest)(nil), // 1: livekit.DeleteAgentDispatchRequest (*livekit.ListAgentDispatchRequest)(nil), // 2: livekit.ListAgentDispatchRequest @@ -98,7 +99,7 @@ func file_rpc_agent_dispatch_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_agent_dispatch_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_agent_dispatch_proto_rawDesc), len(file_rpc_agent_dispatch_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -108,7 +109,6 @@ func file_rpc_agent_dispatch_proto_init() { DependencyIndexes: file_rpc_agent_dispatch_proto_depIdxs, }.Build() File_rpc_agent_dispatch_proto = out.File - file_rpc_agent_dispatch_proto_rawDesc = nil file_rpc_agent_dispatch_proto_goTypes = nil file_rpc_agent_dispatch_proto_depIdxs = nil } diff --git a/rpc/analytics.pb.go b/rpc/analytics.pb.go index 3062d26e7..adddb3bc1 100644 --- a/rpc/analytics.pb.go +++ b/rpc/analytics.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/analytics.proto package rpc @@ -26,6 +26,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -37,7 +38,7 @@ const ( var File_rpc_analytics_proto protoreflect.FileDescriptor -var file_rpc_analytics_proto_rawDesc = []byte{ +var file_rpc_analytics_proto_rawDesc = string([]byte{ 0x0a, 0x13, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, @@ -62,9 +63,9 @@ var file_rpc_analytics_proto_rawDesc = []byte{ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) -var file_rpc_analytics_proto_goTypes = []interface{}{ +var file_rpc_analytics_proto_goTypes = []any{ (*livekit.AnalyticsStats)(nil), // 0: livekit.AnalyticsStats (*livekit.AnalyticsEvents)(nil), // 1: livekit.AnalyticsEvents (*livekit.AnalyticsNodeRooms)(nil), // 2: livekit.AnalyticsNodeRooms @@ -93,7 +94,7 @@ func file_rpc_analytics_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_analytics_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_analytics_proto_rawDesc), len(file_rpc_analytics_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -103,7 +104,6 @@ func file_rpc_analytics_proto_init() { DependencyIndexes: file_rpc_analytics_proto_depIdxs, }.Build() File_rpc_analytics_proto = out.File - file_rpc_analytics_proto_rawDesc = nil file_rpc_analytics_proto_goTypes = nil file_rpc_analytics_proto_depIdxs = nil } diff --git a/rpc/analytics_grpc.pb.go b/rpc/analytics_grpc.pb.go index a1b53c1a5..6217bb431 100644 --- a/rpc/analytics_grpc.pb.go +++ b/rpc/analytics_grpc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v4.25.3 +// - protoc-gen-go-grpc v1.5.1 +// - protoc v4.23.4 // source: rpc/analytics.proto package rpc @@ -31,8 +31,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( AnalyticsRecorderService_IngestStats_FullMethodName = "/livekit.AnalyticsRecorderService/IngestStats" @@ -44,9 +44,9 @@ const ( // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type AnalyticsRecorderServiceClient interface { - IngestStats(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestStatsClient, error) - IngestEvents(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestEventsClient, error) - IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestNodeRoomStatesClient, error) + IngestStats(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsStats, emptypb.Empty], error) + IngestEvents(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsEvents, emptypb.Empty], error) + IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsNodeRooms, emptypb.Empty], error) } type analyticsRecorderServiceClient struct { @@ -57,133 +57,74 @@ func NewAnalyticsRecorderServiceClient(cc grpc.ClientConnInterface) AnalyticsRec return &analyticsRecorderServiceClient{cc} } -func (c *analyticsRecorderServiceClient) IngestStats(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestStatsClient, error) { - stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[0], AnalyticsRecorderService_IngestStats_FullMethodName, opts...) +func (c *analyticsRecorderServiceClient) IngestStats(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsStats, emptypb.Empty], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[0], AnalyticsRecorderService_IngestStats_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &analyticsRecorderServiceIngestStatsClient{stream} + x := &grpc.GenericClientStream[livekit.AnalyticsStats, emptypb.Empty]{ClientStream: stream} return x, nil } -type AnalyticsRecorderService_IngestStatsClient interface { - Send(*livekit.AnalyticsStats) error - CloseAndRecv() (*emptypb.Empty, error) - grpc.ClientStream -} - -type analyticsRecorderServiceIngestStatsClient struct { - grpc.ClientStream -} - -func (x *analyticsRecorderServiceIngestStatsClient) Send(m *livekit.AnalyticsStats) error { - return x.ClientStream.SendMsg(m) -} - -func (x *analyticsRecorderServiceIngestStatsClient) CloseAndRecv() (*emptypb.Empty, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(emptypb.Empty) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AnalyticsRecorderService_IngestStatsClient = grpc.ClientStreamingClient[livekit.AnalyticsStats, emptypb.Empty] -func (c *analyticsRecorderServiceClient) IngestEvents(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestEventsClient, error) { - stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[1], AnalyticsRecorderService_IngestEvents_FullMethodName, opts...) +func (c *analyticsRecorderServiceClient) IngestEvents(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsEvents, emptypb.Empty], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[1], AnalyticsRecorderService_IngestEvents_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &analyticsRecorderServiceIngestEventsClient{stream} + x := &grpc.GenericClientStream[livekit.AnalyticsEvents, emptypb.Empty]{ClientStream: stream} return x, nil } -type AnalyticsRecorderService_IngestEventsClient interface { - Send(*livekit.AnalyticsEvents) error - CloseAndRecv() (*emptypb.Empty, error) - grpc.ClientStream -} - -type analyticsRecorderServiceIngestEventsClient struct { - grpc.ClientStream -} - -func (x *analyticsRecorderServiceIngestEventsClient) Send(m *livekit.AnalyticsEvents) error { - return x.ClientStream.SendMsg(m) -} - -func (x *analyticsRecorderServiceIngestEventsClient) CloseAndRecv() (*emptypb.Empty, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(emptypb.Empty) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AnalyticsRecorderService_IngestEventsClient = grpc.ClientStreamingClient[livekit.AnalyticsEvents, emptypb.Empty] -func (c *analyticsRecorderServiceClient) IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (AnalyticsRecorderService_IngestNodeRoomStatesClient, error) { - stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[2], AnalyticsRecorderService_IngestNodeRoomStates_FullMethodName, opts...) +func (c *analyticsRecorderServiceClient) IngestNodeRoomStates(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[livekit.AnalyticsNodeRooms, emptypb.Empty], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &AnalyticsRecorderService_ServiceDesc.Streams[2], AnalyticsRecorderService_IngestNodeRoomStates_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &analyticsRecorderServiceIngestNodeRoomStatesClient{stream} + x := &grpc.GenericClientStream[livekit.AnalyticsNodeRooms, emptypb.Empty]{ClientStream: stream} return x, nil } -type AnalyticsRecorderService_IngestNodeRoomStatesClient interface { - Send(*livekit.AnalyticsNodeRooms) error - CloseAndRecv() (*emptypb.Empty, error) - grpc.ClientStream -} - -type analyticsRecorderServiceIngestNodeRoomStatesClient struct { - grpc.ClientStream -} - -func (x *analyticsRecorderServiceIngestNodeRoomStatesClient) Send(m *livekit.AnalyticsNodeRooms) error { - return x.ClientStream.SendMsg(m) -} - -func (x *analyticsRecorderServiceIngestNodeRoomStatesClient) CloseAndRecv() (*emptypb.Empty, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(emptypb.Empty) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AnalyticsRecorderService_IngestNodeRoomStatesClient = grpc.ClientStreamingClient[livekit.AnalyticsNodeRooms, emptypb.Empty] // AnalyticsRecorderServiceServer is the server API for AnalyticsRecorderService service. // All implementations must embed UnimplementedAnalyticsRecorderServiceServer -// for forward compatibility +// for forward compatibility. type AnalyticsRecorderServiceServer interface { - IngestStats(AnalyticsRecorderService_IngestStatsServer) error - IngestEvents(AnalyticsRecorderService_IngestEventsServer) error - IngestNodeRoomStates(AnalyticsRecorderService_IngestNodeRoomStatesServer) error + IngestStats(grpc.ClientStreamingServer[livekit.AnalyticsStats, emptypb.Empty]) error + IngestEvents(grpc.ClientStreamingServer[livekit.AnalyticsEvents, emptypb.Empty]) error + IngestNodeRoomStates(grpc.ClientStreamingServer[livekit.AnalyticsNodeRooms, emptypb.Empty]) error mustEmbedUnimplementedAnalyticsRecorderServiceServer() } -// UnimplementedAnalyticsRecorderServiceServer must be embedded to have forward compatible implementations. -type UnimplementedAnalyticsRecorderServiceServer struct { -} +// UnimplementedAnalyticsRecorderServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedAnalyticsRecorderServiceServer struct{} -func (UnimplementedAnalyticsRecorderServiceServer) IngestStats(AnalyticsRecorderService_IngestStatsServer) error { +func (UnimplementedAnalyticsRecorderServiceServer) IngestStats(grpc.ClientStreamingServer[livekit.AnalyticsStats, emptypb.Empty]) error { return status.Errorf(codes.Unimplemented, "method IngestStats not implemented") } -func (UnimplementedAnalyticsRecorderServiceServer) IngestEvents(AnalyticsRecorderService_IngestEventsServer) error { +func (UnimplementedAnalyticsRecorderServiceServer) IngestEvents(grpc.ClientStreamingServer[livekit.AnalyticsEvents, emptypb.Empty]) error { return status.Errorf(codes.Unimplemented, "method IngestEvents not implemented") } -func (UnimplementedAnalyticsRecorderServiceServer) IngestNodeRoomStates(AnalyticsRecorderService_IngestNodeRoomStatesServer) error { +func (UnimplementedAnalyticsRecorderServiceServer) IngestNodeRoomStates(grpc.ClientStreamingServer[livekit.AnalyticsNodeRooms, emptypb.Empty]) error { return status.Errorf(codes.Unimplemented, "method IngestNodeRoomStates not implemented") } func (UnimplementedAnalyticsRecorderServiceServer) mustEmbedUnimplementedAnalyticsRecorderServiceServer() { } +func (UnimplementedAnalyticsRecorderServiceServer) testEmbeddedByValue() {} // UnsafeAnalyticsRecorderServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to AnalyticsRecorderServiceServer will @@ -193,86 +134,36 @@ type UnsafeAnalyticsRecorderServiceServer interface { } func RegisterAnalyticsRecorderServiceServer(s grpc.ServiceRegistrar, srv AnalyticsRecorderServiceServer) { + // If the following call pancis, it indicates UnimplementedAnalyticsRecorderServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&AnalyticsRecorderService_ServiceDesc, srv) } func _AnalyticsRecorderService_IngestStats_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestStats(&analyticsRecorderServiceIngestStatsServer{stream}) -} - -type AnalyticsRecorderService_IngestStatsServer interface { - SendAndClose(*emptypb.Empty) error - Recv() (*livekit.AnalyticsStats, error) - grpc.ServerStream -} - -type analyticsRecorderServiceIngestStatsServer struct { - grpc.ServerStream + return srv.(AnalyticsRecorderServiceServer).IngestStats(&grpc.GenericServerStream[livekit.AnalyticsStats, emptypb.Empty]{ServerStream: stream}) } -func (x *analyticsRecorderServiceIngestStatsServer) SendAndClose(m *emptypb.Empty) error { - return x.ServerStream.SendMsg(m) -} - -func (x *analyticsRecorderServiceIngestStatsServer) Recv() (*livekit.AnalyticsStats, error) { - m := new(livekit.AnalyticsStats) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AnalyticsRecorderService_IngestStatsServer = grpc.ClientStreamingServer[livekit.AnalyticsStats, emptypb.Empty] func _AnalyticsRecorderService_IngestEvents_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestEvents(&analyticsRecorderServiceIngestEventsServer{stream}) -} - -type AnalyticsRecorderService_IngestEventsServer interface { - SendAndClose(*emptypb.Empty) error - Recv() (*livekit.AnalyticsEvents, error) - grpc.ServerStream + return srv.(AnalyticsRecorderServiceServer).IngestEvents(&grpc.GenericServerStream[livekit.AnalyticsEvents, emptypb.Empty]{ServerStream: stream}) } -type analyticsRecorderServiceIngestEventsServer struct { - grpc.ServerStream -} - -func (x *analyticsRecorderServiceIngestEventsServer) SendAndClose(m *emptypb.Empty) error { - return x.ServerStream.SendMsg(m) -} - -func (x *analyticsRecorderServiceIngestEventsServer) Recv() (*livekit.AnalyticsEvents, error) { - m := new(livekit.AnalyticsEvents) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AnalyticsRecorderService_IngestEventsServer = grpc.ClientStreamingServer[livekit.AnalyticsEvents, emptypb.Empty] func _AnalyticsRecorderService_IngestNodeRoomStates_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestNodeRoomStates(&analyticsRecorderServiceIngestNodeRoomStatesServer{stream}) -} - -type AnalyticsRecorderService_IngestNodeRoomStatesServer interface { - SendAndClose(*emptypb.Empty) error - Recv() (*livekit.AnalyticsNodeRooms, error) - grpc.ServerStream + return srv.(AnalyticsRecorderServiceServer).IngestNodeRoomStates(&grpc.GenericServerStream[livekit.AnalyticsNodeRooms, emptypb.Empty]{ServerStream: stream}) } -type analyticsRecorderServiceIngestNodeRoomStatesServer struct { - grpc.ServerStream -} - -func (x *analyticsRecorderServiceIngestNodeRoomStatesServer) SendAndClose(m *emptypb.Empty) error { - return x.ServerStream.SendMsg(m) -} - -func (x *analyticsRecorderServiceIngestNodeRoomStatesServer) Recv() (*livekit.AnalyticsNodeRooms, error) { - m := new(livekit.AnalyticsNodeRooms) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type AnalyticsRecorderService_IngestNodeRoomStatesServer = grpc.ClientStreamingServer[livekit.AnalyticsNodeRooms, emptypb.Empty] // AnalyticsRecorderService_ServiceDesc is the grpc.ServiceDesc for AnalyticsRecorderService service. // It's only intended for direct use with grpc.RegisterService, diff --git a/rpc/egress.pb.go b/rpc/egress.pb.go index 72affa4cf..a17b4b0cb 100644 --- a/rpc/egress.pb.go +++ b/rpc/egress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/egress.proto package rpc @@ -27,6 +27,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -37,15 +38,12 @@ const ( ) type StartEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // request metadata EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` // request // - // Types that are assignable to Request: + // Types that are valid to be assigned to Request: // // *StartEgressRequest_RoomComposite // *StartEgressRequest_Web @@ -60,15 +58,15 @@ type StartEgressRequest struct { // cloud only CloudBackupEnabled bool `protobuf:"varint,10,opt,name=cloud_backup_enabled,json=cloudBackupEnabled,proto3" json:"cloud_backup_enabled,omitempty"` EstimatedCpu float64 `protobuf:"fixed64,14,opt,name=estimated_cpu,json=estimatedCpu,proto3" json:"estimated_cpu,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartEgressRequest) Reset() { *x = StartEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_egress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_egress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartEgressRequest) String() string { @@ -79,7 +77,7 @@ func (*StartEgressRequest) ProtoMessage() {} func (x *StartEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -101,44 +99,54 @@ func (x *StartEgressRequest) GetEgressId() string { return "" } -func (m *StartEgressRequest) GetRequest() isStartEgressRequest_Request { - if m != nil { - return m.Request +func (x *StartEgressRequest) GetRequest() isStartEgressRequest_Request { + if x != nil { + return x.Request } return nil } func (x *StartEgressRequest) GetRoomComposite() *livekit.RoomCompositeEgressRequest { - if x, ok := x.GetRequest().(*StartEgressRequest_RoomComposite); ok { - return x.RoomComposite + if x != nil { + if x, ok := x.Request.(*StartEgressRequest_RoomComposite); ok { + return x.RoomComposite + } } return nil } func (x *StartEgressRequest) GetWeb() *livekit.WebEgressRequest { - if x, ok := x.GetRequest().(*StartEgressRequest_Web); ok { - return x.Web + if x != nil { + if x, ok := x.Request.(*StartEgressRequest_Web); ok { + return x.Web + } } return nil } func (x *StartEgressRequest) GetParticipant() *livekit.ParticipantEgressRequest { - if x, ok := x.GetRequest().(*StartEgressRequest_Participant); ok { - return x.Participant + if x != nil { + if x, ok := x.Request.(*StartEgressRequest_Participant); ok { + return x.Participant + } } return nil } func (x *StartEgressRequest) GetTrackComposite() *livekit.TrackCompositeEgressRequest { - if x, ok := x.GetRequest().(*StartEgressRequest_TrackComposite); ok { - return x.TrackComposite + if x != nil { + if x, ok := x.Request.(*StartEgressRequest_TrackComposite); ok { + return x.TrackComposite + } } return nil } func (x *StartEgressRequest) GetTrack() *livekit.TrackEgressRequest { - if x, ok := x.GetRequest().(*StartEgressRequest_Track); ok { - return x.Track + if x != nil { + if x, ok := x.Request.(*StartEgressRequest_Track); ok { + return x.Track + } } return nil } @@ -213,18 +221,16 @@ func (*StartEgressRequest_TrackComposite) isStartEgressRequest_Request() {} func (*StartEgressRequest_Track) isStartEgressRequest_Request() {} type ListActiveEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListActiveEgressRequest) Reset() { *x = ListActiveEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_egress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_egress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListActiveEgressRequest) String() string { @@ -235,7 +241,7 @@ func (*ListActiveEgressRequest) ProtoMessage() {} func (x *ListActiveEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -251,20 +257,17 @@ func (*ListActiveEgressRequest) Descriptor() ([]byte, []int) { } type ListActiveEgressResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EgressIds []string `protobuf:"bytes,1,rep,name=egress_ids,json=egressIds,proto3" json:"egress_ids,omitempty"` unknownFields protoimpl.UnknownFields - - EgressIds []string `protobuf:"bytes,1,rep,name=egress_ids,json=egressIds,proto3" json:"egress_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListActiveEgressResponse) Reset() { *x = ListActiveEgressResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_egress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_egress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListActiveEgressResponse) String() string { @@ -275,7 +278,7 @@ func (*ListActiveEgressResponse) ProtoMessage() {} func (x *ListActiveEgressResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -299,7 +302,7 @@ func (x *ListActiveEgressResponse) GetEgressIds() []string { var File_rpc_egress_proto protoreflect.FileDescriptor -var file_rpc_egress_proto_rawDesc = []byte{ +var file_rpc_egress_proto_rawDesc = string([]byte{ 0x0a, 0x10, 0x72, 0x70, 0x63, 0x2f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, @@ -368,22 +371,22 @@ var file_rpc_egress_proto_rawDesc = []byte{ 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_egress_proto_rawDescOnce sync.Once - file_rpc_egress_proto_rawDescData = file_rpc_egress_proto_rawDesc + file_rpc_egress_proto_rawDescData []byte ) func file_rpc_egress_proto_rawDescGZIP() []byte { file_rpc_egress_proto_rawDescOnce.Do(func() { - file_rpc_egress_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_egress_proto_rawDescData) + file_rpc_egress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_egress_proto_rawDesc), len(file_rpc_egress_proto_rawDesc))) }) return file_rpc_egress_proto_rawDescData } var file_rpc_egress_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_rpc_egress_proto_goTypes = []interface{}{ +var file_rpc_egress_proto_goTypes = []any{ (*StartEgressRequest)(nil), // 0: rpc.StartEgressRequest (*ListActiveEgressRequest)(nil), // 1: rpc.ListActiveEgressRequest (*ListActiveEgressResponse)(nil), // 2: rpc.ListActiveEgressResponse @@ -422,45 +425,7 @@ func file_rpc_egress_proto_init() { if File_rpc_egress_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_egress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_egress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListActiveEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_egress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListActiveEgressResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_rpc_egress_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_rpc_egress_proto_msgTypes[0].OneofWrappers = []any{ (*StartEgressRequest_RoomComposite)(nil), (*StartEgressRequest_Web)(nil), (*StartEgressRequest_Participant)(nil), @@ -471,7 +436,7 @@ func file_rpc_egress_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_egress_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_egress_proto_rawDesc), len(file_rpc_egress_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -482,7 +447,6 @@ func file_rpc_egress_proto_init() { MessageInfos: file_rpc_egress_proto_msgTypes, }.Build() File_rpc_egress_proto = out.File - file_rpc_egress_proto_rawDesc = nil file_rpc_egress_proto_goTypes = nil file_rpc_egress_proto_depIdxs = nil } diff --git a/rpc/ingress.pb.go b/rpc/ingress.pb.go index eae4a13bf..e1fb4ec94 100644 --- a/rpc/ingress.pb.go +++ b/rpc/ingress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/ingress.proto package rpc @@ -28,6 +28,7 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -38,18 +39,16 @@ const ( ) type ListActiveIngressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListActiveIngressRequest) Reset() { *x = ListActiveIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListActiveIngressRequest) String() string { @@ -60,7 +59,7 @@ func (*ListActiveIngressRequest) ProtoMessage() {} func (x *ListActiveIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -76,22 +75,19 @@ func (*ListActiveIngressRequest) Descriptor() ([]byte, []int) { } type ListActiveIngressResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Deprecated: Marked as deprecated in rpc/ingress.proto. IngressIds []string `protobuf:"bytes,1,rep,name=ingress_ids,json=ingressIds,proto3" json:"ingress_ids,omitempty"` IngressSessions []*IngressSession `protobuf:"bytes,2,rep,name=ingress_sessions,json=ingressSessions,proto3" json:"ingress_sessions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListActiveIngressResponse) Reset() { *x = ListActiveIngressResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListActiveIngressResponse) String() string { @@ -102,7 +98,7 @@ func (*ListActiveIngressResponse) ProtoMessage() {} func (x *ListActiveIngressResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -133,21 +129,18 @@ func (x *ListActiveIngressResponse) GetIngressSessions() []*IngressSession { } type DeleteWHIPResourceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` unknownFields protoimpl.UnknownFields - - ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteWHIPResourceRequest) Reset() { *x = DeleteWHIPResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteWHIPResourceRequest) String() string { @@ -158,7 +151,7 @@ func (*DeleteWHIPResourceRequest) ProtoMessage() {} func (x *DeleteWHIPResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -188,24 +181,21 @@ func (x *DeleteWHIPResourceRequest) GetStreamKey() string { } type ICERestartWHIPResourceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` + UserFragment string `protobuf:"bytes,3,opt,name=user_fragment,json=userFragment,proto3" json:"user_fragment,omitempty"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + Candidates []string `protobuf:"bytes,5,rep,name=candidates,proto3" json:"candidates,omitempty"` unknownFields protoimpl.UnknownFields - - ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` - UserFragment string `protobuf:"bytes,3,opt,name=user_fragment,json=userFragment,proto3" json:"user_fragment,omitempty"` - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` - Candidates []string `protobuf:"bytes,5,rep,name=candidates,proto3" json:"candidates,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ICERestartWHIPResourceRequest) Reset() { *x = ICERestartWHIPResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ICERestartWHIPResourceRequest) String() string { @@ -216,7 +206,7 @@ func (*ICERestartWHIPResourceRequest) ProtoMessage() {} func (x *ICERestartWHIPResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -267,20 +257,17 @@ func (x *ICERestartWHIPResourceRequest) GetCandidates() []string { } type ICERestartWHIPResourceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TrickleIceSdpfrag string `protobuf:"bytes,1,opt,name=trickle_ice_sdpfrag,json=trickleIceSdpfrag,proto3" json:"trickle_ice_sdpfrag,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + TrickleIceSdpfrag string `protobuf:"bytes,1,opt,name=trickle_ice_sdpfrag,json=trickleIceSdpfrag,proto3" json:"trickle_ice_sdpfrag,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ICERestartWHIPResourceResponse) Reset() { *x = ICERestartWHIPResourceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ICERestartWHIPResourceResponse) String() string { @@ -291,7 +278,7 @@ func (*ICERestartWHIPResourceResponse) ProtoMessage() {} func (x *ICERestartWHIPResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -314,23 +301,20 @@ func (x *ICERestartWHIPResourceResponse) GetTrickleIceSdpfrag() string { } type StartIngressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` + WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` + LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` - LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *StartIngressRequest) Reset() { *x = StartIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartIngressRequest) String() string { @@ -341,7 +325,7 @@ func (*StartIngressRequest) ProtoMessage() {} func (x *StartIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -385,21 +369,18 @@ func (x *StartIngressRequest) GetLoggingFields() map[string]string { } type IngressSession struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` unknownFields protoimpl.UnknownFields - - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IngressSession) Reset() { *x = IngressSession{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressSession) String() string { @@ -410,7 +391,7 @@ func (*IngressSession) ProtoMessage() {} func (x *IngressSession) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -440,20 +421,17 @@ func (x *IngressSession) GetResourceId() string { } type KillIngressSessionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Session *IngressSession `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` unknownFields protoimpl.UnknownFields - - Session *IngressSession `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` + sizeCache protoimpl.SizeCache } func (x *KillIngressSessionRequest) Reset() { *x = KillIngressSessionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KillIngressSessionRequest) String() string { @@ -464,7 +442,7 @@ func (*KillIngressSessionRequest) ProtoMessage() {} func (x *KillIngressSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -488,7 +466,7 @@ func (x *KillIngressSessionRequest) GetSession() *IngressSession { var File_rpc_ingress_proto protoreflect.FileDescriptor -var file_rpc_ingress_proto_rawDesc = []byte{ +var file_rpc_ingress_proto_rawDesc = string([]byte{ 0x0a, 0x11, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, @@ -599,22 +577,22 @@ var file_rpc_ingress_proto_rawDesc = []byte{ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_ingress_proto_rawDescOnce sync.Once - file_rpc_ingress_proto_rawDescData = file_rpc_ingress_proto_rawDesc + file_rpc_ingress_proto_rawDescData []byte ) func file_rpc_ingress_proto_rawDescGZIP() []byte { file_rpc_ingress_proto_rawDescOnce.Do(func() { - file_rpc_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_ingress_proto_rawDescData) + file_rpc_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_ingress_proto_rawDesc), len(file_rpc_ingress_proto_rawDesc))) }) return file_rpc_ingress_proto_rawDescData } var file_rpc_ingress_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_rpc_ingress_proto_goTypes = []interface{}{ +var file_rpc_ingress_proto_goTypes = []any{ (*ListActiveIngressRequest)(nil), // 0: rpc.ListActiveIngressRequest (*ListActiveIngressResponse)(nil), // 1: rpc.ListActiveIngressResponse (*DeleteWHIPResourceRequest)(nil), // 2: rpc.DeleteWHIPResourceRequest @@ -661,109 +639,11 @@ func file_rpc_ingress_proto_init() { if File_rpc_ingress_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_ingress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListActiveIngressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListActiveIngressResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteWHIPResourceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ICERestartWHIPResourceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ICERestartWHIPResourceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartIngressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IngressSession); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_ingress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KillIngressSessionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_ingress_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_ingress_proto_rawDesc), len(file_rpc_ingress_proto_rawDesc)), NumEnums: 0, NumMessages: 9, NumExtensions: 0, @@ -774,7 +654,6 @@ func file_rpc_ingress_proto_init() { MessageInfos: file_rpc_ingress_proto_msgTypes, }.Build() File_rpc_ingress_proto = out.File - file_rpc_ingress_proto_rawDesc = nil file_rpc_ingress_proto_goTypes = nil file_rpc_ingress_proto_depIdxs = nil } diff --git a/rpc/io.pb.go b/rpc/io.pb.go index fb33a943f..b47b4b5f4 100644 --- a/rpc/io.pb.go +++ b/rpc/io.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/io.proto package rpc @@ -28,6 +28,7 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -93,20 +94,17 @@ func (SIPDispatchResult) EnumDescriptor() ([]byte, []int) { } type GetEgressRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` unknownFields protoimpl.UnknownFields - - EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetEgressRequest) Reset() { *x = GetEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetEgressRequest) String() string { @@ -117,7 +115,7 @@ func (*GetEgressRequest) ProtoMessage() {} func (x *GetEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -140,22 +138,19 @@ func (x *GetEgressRequest) GetEgressId() string { } type UpdateMetricsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Info *livekit.EgressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` + AvgCpuUsage float32 `protobuf:"fixed32,3,opt,name=avg_cpu_usage,json=avgCpuUsage,proto3" json:"avg_cpu_usage,omitempty"` + MaxCpuUsage float32 `protobuf:"fixed32,4,opt,name=max_cpu_usage,json=maxCpuUsage,proto3" json:"max_cpu_usage,omitempty"` unknownFields protoimpl.UnknownFields - - Info *livekit.EgressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - AvgCpuUsage float32 `protobuf:"fixed32,3,opt,name=avg_cpu_usage,json=avgCpuUsage,proto3" json:"avg_cpu_usage,omitempty"` - MaxCpuUsage float32 `protobuf:"fixed32,4,opt,name=max_cpu_usage,json=maxCpuUsage,proto3" json:"max_cpu_usage,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateMetricsRequest) Reset() { *x = UpdateMetricsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateMetricsRequest) String() string { @@ -166,7 +161,7 @@ func (*UpdateMetricsRequest) ProtoMessage() {} func (x *UpdateMetricsRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -204,21 +199,18 @@ func (x *UpdateMetricsRequest) GetMaxCpuUsage() float32 { // Query an ingress info from an ingress ID or stream key type GetIngressInfoRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` unknownFields protoimpl.UnknownFields - - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetIngressInfoRequest) Reset() { *x = GetIngressInfoRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetIngressInfoRequest) String() string { @@ -229,7 +221,7 @@ func (*GetIngressInfoRequest) ProtoMessage() {} func (x *GetIngressInfoRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -259,23 +251,20 @@ func (x *GetIngressInfoRequest) GetStreamKey() string { } type GetIngressInfoResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` + WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` + LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` - WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` - LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *GetIngressInfoResponse) Reset() { *x = GetIngressInfoResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetIngressInfoResponse) String() string { @@ -286,7 +275,7 @@ func (*GetIngressInfoResponse) ProtoMessage() {} func (x *GetIngressInfoResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -331,21 +320,18 @@ func (x *GetIngressInfoResponse) GetLoggingFields() map[string]string { // Request to store an update to the ingress state ingress -> service type UpdateIngressStateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` + State *livekit.IngressState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` unknownFields protoimpl.UnknownFields - - IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` - State *livekit.IngressState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateIngressStateRequest) Reset() { *x = UpdateIngressStateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateIngressStateRequest) String() string { @@ -356,7 +342,7 @@ func (*UpdateIngressStateRequest) ProtoMessage() {} func (x *UpdateIngressStateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -386,11 +372,8 @@ func (x *UpdateIngressStateRequest) GetState() *livekit.IngressState { } type GetSIPTrunkAuthenticationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipCallId string `protobuf:"bytes,6,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipCallId string `protobuf:"bytes,6,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` // What Number is calling From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // What Number was called @@ -398,16 +381,16 @@ type GetSIPTrunkAuthenticationRequest struct { // What is the IP address of the called number SrcAddress string `protobuf:"bytes,4,opt,name=src_address,json=srcAddress,proto3" json:"src_address,omitempty"` // What Host was called - ToHost string `protobuf:"bytes,5,opt,name=to_host,json=toHost,proto3" json:"to_host,omitempty"` + ToHost string `protobuf:"bytes,5,opt,name=to_host,json=toHost,proto3" json:"to_host,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSIPTrunkAuthenticationRequest) Reset() { *x = GetSIPTrunkAuthenticationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPTrunkAuthenticationRequest) String() string { @@ -418,7 +401,7 @@ func (*GetSIPTrunkAuthenticationRequest) ProtoMessage() {} func (x *GetSIPTrunkAuthenticationRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -469,10 +452,7 @@ func (x *GetSIPTrunkAuthenticationRequest) GetToHost() string { } type GetSIPTrunkAuthenticationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Expected username and password Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` @@ -480,16 +460,16 @@ type GetSIPTrunkAuthenticationResponse struct { // Trunk used to fulfill this request SipTrunkId string `protobuf:"bytes,4,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` // Used in Cloud only - ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSIPTrunkAuthenticationResponse) Reset() { *x = GetSIPTrunkAuthenticationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPTrunkAuthenticationResponse) String() string { @@ -500,7 +480,7 @@ func (*GetSIPTrunkAuthenticationResponse) ProtoMessage() {} func (x *GetSIPTrunkAuthenticationResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -551,11 +531,8 @@ func (x *GetSIPTrunkAuthenticationResponse) GetProjectId() string { } type EvaluateSIPDispatchRulesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipCallId string `protobuf:"bytes,8,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipCallId string `protobuf:"bytes,8,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` // Deprecated: Marked as deprecated in rpc/io.proto. SipParticipantId string `protobuf:"bytes,1,opt,name=sip_participant_id,json=sipParticipantId,proto3" json:"sip_participant_id,omitempty"` // Trunk from the auth response, if any @@ -574,16 +551,16 @@ type EvaluateSIPDispatchRulesRequest struct { CalledHost string `protobuf:"bytes,7,opt,name=called_host,json=calledHost,proto3" json:"called_host,omitempty"` // Extra participant attributes added for this call. // Usually include provider-specific metadata. - ExtraAttributes map[string]string `protobuf:"bytes,9,rep,name=extra_attributes,json=extraAttributes,proto3" json:"extra_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ExtraAttributes map[string]string `protobuf:"bytes,9,rep,name=extra_attributes,json=extraAttributes,proto3" json:"extra_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EvaluateSIPDispatchRulesRequest) Reset() { *x = EvaluateSIPDispatchRulesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EvaluateSIPDispatchRulesRequest) String() string { @@ -594,7 +571,7 @@ func (*EvaluateSIPDispatchRulesRequest) ProtoMessage() {} func (x *EvaluateSIPDispatchRulesRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -681,10 +658,7 @@ func (x *EvaluateSIPDispatchRulesRequest) GetExtraAttributes() map[string]string } type EvaluateSIPDispatchRulesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // non-empty string if SIPParticipant should be placed a room RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // What should be used for the LiveKit participant identity @@ -694,7 +668,7 @@ type EvaluateSIPDispatchRulesResponse struct { // What should be used for the LiveKit participant metadata ParticipantMetadata string `protobuf:"bytes,8,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` // What should be used for the LiveKit participant attributes - ParticipantAttributes map[string]string `protobuf:"bytes,11,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ParticipantAttributes map[string]string `protobuf:"bytes,11,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Deprecated: Marked as deprecated in rpc/io.proto. RequestPin bool `protobuf:"varint,3,opt,name=request_pin,json=requestPin,proto3" json:"request_pin,omitempty"` // see result // optional token that should be used when creating LiveKit participant @@ -710,13 +684,13 @@ type EvaluateSIPDispatchRulesResponse struct { ProjectId string `protobuf:"bytes,12,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Include these SIP X-* headers in 200 OK response to INVITE. // These headers are included as-is and may help identify triggered LiveKit Dispatch Rule for the other SIP endpoint. - Headers map[string]string `protobuf:"bytes,13,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,13,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP X-* headers from INVITE to SIP participant attributes. // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - HeadersToAttributes map[string]string `protobuf:"bytes,14,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + HeadersToAttributes map[string]string `protobuf:"bytes,14,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,18,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AttributesToHeaders map[string]string `protobuf:"bytes,18,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP headers from INVITE to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -735,15 +709,15 @@ type EvaluateSIPDispatchRulesResponse struct { RoomPreset string `protobuf:"bytes,20,opt,name=room_preset,json=roomPreset,proto3" json:"room_preset,omitempty"` RoomConfig *livekit.RoomConfiguration `protobuf:"bytes,21,opt,name=room_config,json=roomConfig,proto3" json:"room_config,omitempty"` MediaEncryption livekit.SIPMediaEncryption `protobuf:"varint,22,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EvaluateSIPDispatchRulesResponse) Reset() { *x = EvaluateSIPDispatchRulesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EvaluateSIPDispatchRulesResponse) String() string { @@ -754,7 +728,7 @@ func (*EvaluateSIPDispatchRulesResponse) ProtoMessage() {} func (x *EvaluateSIPDispatchRulesResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -925,20 +899,17 @@ func (x *EvaluateSIPDispatchRulesResponse) GetMediaEncryption() livekit.SIPMedia } type UpdateSIPCallStateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + CallInfo *livekit.SIPCallInfo `protobuf:"bytes,1,opt,name=call_info,json=callInfo,proto3" json:"call_info,omitempty"` unknownFields protoimpl.UnknownFields - - CallInfo *livekit.SIPCallInfo `protobuf:"bytes,1,opt,name=call_info,json=callInfo,proto3" json:"call_info,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateSIPCallStateRequest) Reset() { *x = UpdateSIPCallStateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSIPCallStateRequest) String() string { @@ -949,7 +920,7 @@ func (*UpdateSIPCallStateRequest) ProtoMessage() {} func (x *UpdateSIPCallStateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -973,7 +944,7 @@ func (x *UpdateSIPCallStateRequest) GetCallInfo() *livekit.SIPCallInfo { var File_rpc_io_proto protoreflect.FileDescriptor -var file_rpc_io_proto_rawDesc = []byte{ +var file_rpc_io_proto_rawDesc = string([]byte{ 0x0a, 0x0c, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, @@ -1244,23 +1215,23 @@ var file_rpc_io_proto_rawDesc = []byte{ 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_io_proto_rawDescOnce sync.Once - file_rpc_io_proto_rawDescData = file_rpc_io_proto_rawDesc + file_rpc_io_proto_rawDescData []byte ) func file_rpc_io_proto_rawDescGZIP() []byte { file_rpc_io_proto_rawDescOnce.Do(func() { - file_rpc_io_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_io_proto_rawDescData) + file_rpc_io_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_io_proto_rawDesc), len(file_rpc_io_proto_rawDesc))) }) return file_rpc_io_proto_rawDescData } var file_rpc_io_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_rpc_io_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_rpc_io_proto_goTypes = []interface{}{ +var file_rpc_io_proto_goTypes = []any{ (SIPDispatchResult)(0), // 0: rpc.SIPDispatchResult (*GetEgressRequest)(nil), // 1: rpc.GetEgressRequest (*UpdateMetricsRequest)(nil), // 2: rpc.UpdateMetricsRequest @@ -1343,133 +1314,11 @@ func file_rpc_io_proto_init() { if File_rpc_io_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_io_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEgressRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMetricsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetIngressInfoRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetIngressInfoResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateIngressStateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSIPTrunkAuthenticationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSIPTrunkAuthenticationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EvaluateSIPDispatchRulesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EvaluateSIPDispatchRulesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_io_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSIPCallStateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_io_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_io_proto_rawDesc), len(file_rpc_io_proto_rawDesc)), NumEnums: 1, NumMessages: 16, NumExtensions: 0, @@ -1481,7 +1330,6 @@ func file_rpc_io_proto_init() { MessageInfos: file_rpc_io_proto_msgTypes, }.Build() File_rpc_io_proto = out.File - file_rpc_io_proto_rawDesc = nil file_rpc_io_proto_goTypes = nil file_rpc_io_proto_depIdxs = nil } diff --git a/rpc/keepalive.pb.go b/rpc/keepalive.pb.go index 2f7426eff..29b8de691 100644 --- a/rpc/keepalive.pb.go +++ b/rpc/keepalive.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/keepalive.proto package rpc @@ -26,6 +26,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -36,20 +37,17 @@ const ( ) type KeepalivePing struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *KeepalivePing) Reset() { *x = KeepalivePing{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_keepalive_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_keepalive_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KeepalivePing) String() string { @@ -60,7 +58,7 @@ func (*KeepalivePing) ProtoMessage() {} func (x *KeepalivePing) ProtoReflect() protoreflect.Message { mi := &file_rpc_keepalive_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -84,7 +82,7 @@ func (x *KeepalivePing) GetTimestamp() int64 { var File_rpc_keepalive_proto protoreflect.FileDescriptor -var file_rpc_keepalive_proto_rawDesc = []byte{ +var file_rpc_keepalive_proto_rawDesc = string([]byte{ 0x0a, 0x13, 0x72, 0x70, 0x63, 0x2f, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x0d, 0x4b, 0x65, 0x65, @@ -99,22 +97,22 @@ var file_rpc_keepalive_proto_rawDesc = []byte{ 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_keepalive_proto_rawDescOnce sync.Once - file_rpc_keepalive_proto_rawDescData = file_rpc_keepalive_proto_rawDesc + file_rpc_keepalive_proto_rawDescData []byte ) func file_rpc_keepalive_proto_rawDescGZIP() []byte { file_rpc_keepalive_proto_rawDescOnce.Do(func() { - file_rpc_keepalive_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_keepalive_proto_rawDescData) + file_rpc_keepalive_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_keepalive_proto_rawDesc), len(file_rpc_keepalive_proto_rawDesc))) }) return file_rpc_keepalive_proto_rawDescData } var file_rpc_keepalive_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_rpc_keepalive_proto_goTypes = []interface{}{ +var file_rpc_keepalive_proto_goTypes = []any{ (*KeepalivePing)(nil), // 0: rpc.KeepalivePing } var file_rpc_keepalive_proto_depIdxs = []int32{ @@ -132,25 +130,11 @@ func file_rpc_keepalive_proto_init() { if File_rpc_keepalive_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_keepalive_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeepalivePing); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_keepalive_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_keepalive_proto_rawDesc), len(file_rpc_keepalive_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -161,7 +145,6 @@ func file_rpc_keepalive_proto_init() { MessageInfos: file_rpc_keepalive_proto_msgTypes, }.Build() File_rpc_keepalive_proto = out.File - file_rpc_keepalive_proto_rawDesc = nil file_rpc_keepalive_proto_goTypes = nil file_rpc_keepalive_proto_depIdxs = nil } diff --git a/rpc/participant.pb.go b/rpc/participant.pb.go index 9e9b31ed3..c6ea4931d 100644 --- a/rpc/participant.pb.go +++ b/rpc/participant.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/participant.proto package rpc @@ -26,6 +26,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -37,7 +38,7 @@ const ( var File_rpc_participant_proto protoreflect.FileDescriptor -var file_rpc_participant_proto_rawDesc = []byte{ +var file_rpc_participant_proto_rawDesc = string([]byte{ 0x0a, 0x15, 0x72, 0x70, 0x63, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, @@ -79,9 +80,9 @@ var file_rpc_participant_proto_rawDesc = []byte{ 0x18, 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) -var file_rpc_participant_proto_goTypes = []interface{}{ +var file_rpc_participant_proto_goTypes = []any{ (*livekit.RoomParticipantIdentity)(nil), // 0: livekit.RoomParticipantIdentity (*livekit.MuteRoomTrackRequest)(nil), // 1: livekit.MuteRoomTrackRequest (*livekit.UpdateParticipantRequest)(nil), // 2: livekit.UpdateParticipantRequest @@ -116,7 +117,7 @@ func file_rpc_participant_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_participant_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_participant_proto_rawDesc), len(file_rpc_participant_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -126,7 +127,6 @@ func file_rpc_participant_proto_init() { DependencyIndexes: file_rpc_participant_proto_depIdxs, }.Build() File_rpc_participant_proto = out.File - file_rpc_participant_proto_rawDesc = nil file_rpc_participant_proto_goTypes = nil file_rpc_participant_proto_depIdxs = nil } diff --git a/rpc/room.pb.go b/rpc/room.pb.go index 970650d63..2ab094e9a 100644 --- a/rpc/room.pb.go +++ b/rpc/room.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/room.proto package rpc @@ -26,6 +26,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -37,7 +38,7 @@ const ( var File_rpc_room_proto protoreflect.FileDescriptor -var file_rpc_room_proto_rawDesc = []byte{ +var file_rpc_room_proto_rawDesc = string([]byte{ 0x0a, 0x0e, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, @@ -64,9 +65,9 @@ var file_rpc_room_proto_rawDesc = []byte{ 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) -var file_rpc_room_proto_goTypes = []interface{}{ +var file_rpc_room_proto_goTypes = []any{ (*livekit.DeleteRoomRequest)(nil), // 0: livekit.DeleteRoomRequest (*livekit.SendDataRequest)(nil), // 1: livekit.SendDataRequest (*livekit.UpdateRoomMetadataRequest)(nil), // 2: livekit.UpdateRoomMetadataRequest @@ -97,7 +98,7 @@ func file_rpc_room_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_room_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_room_proto_rawDesc), len(file_rpc_room_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -107,7 +108,6 @@ func file_rpc_room_proto_init() { DependencyIndexes: file_rpc_room_proto_depIdxs, }.Build() File_rpc_room_proto = out.File - file_rpc_room_proto_rawDesc = nil file_rpc_room_proto_goTypes = nil file_rpc_room_proto_depIdxs = nil } diff --git a/rpc/roommanager.pb.go b/rpc/roommanager.pb.go index 39bfec550..00f5ad4b2 100644 --- a/rpc/roommanager.pb.go +++ b/rpc/roommanager.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/roommanager.proto package rpc @@ -26,6 +26,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" + unsafe "unsafe" ) const ( @@ -37,7 +38,7 @@ const ( var File_rpc_roommanager_proto protoreflect.FileDescriptor -var file_rpc_roommanager_proto_rawDesc = []byte{ +var file_rpc_roommanager_proto_rawDesc = string([]byte{ 0x0a, 0x15, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6c, 0x69, 0x76, @@ -53,9 +54,9 @@ var file_rpc_roommanager_proto_rawDesc = []byte{ 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) -var file_rpc_roommanager_proto_goTypes = []interface{}{ +var file_rpc_roommanager_proto_goTypes = []any{ (*livekit.CreateRoomRequest)(nil), // 0: livekit.CreateRoomRequest (*livekit.Room)(nil), // 1: livekit.Room } @@ -78,7 +79,7 @@ func file_rpc_roommanager_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_roommanager_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_roommanager_proto_rawDesc), len(file_rpc_roommanager_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -88,7 +89,6 @@ func file_rpc_roommanager_proto_init() { DependencyIndexes: file_rpc_roommanager_proto_depIdxs, }.Build() File_rpc_roommanager_proto = out.File - file_rpc_roommanager_proto_rawDesc = nil file_rpc_roommanager_proto_goTypes = nil file_rpc_roommanager_proto_depIdxs = nil } diff --git a/rpc/signal.pb.go b/rpc/signal.pb.go index 2a4361367..c053c38d0 100644 --- a/rpc/signal.pb.go +++ b/rpc/signal.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/signal.proto package rpc @@ -27,6 +27,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -37,23 +38,20 @@ const ( ) type RelaySignalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StartSession *livekit.StartSession `protobuf:"bytes,1,opt,name=start_session,json=startSession,proto3" json:"start_session,omitempty"` + Requests []*livekit.SignalRequest `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"` + Seq uint64 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"` + Close bool `protobuf:"varint,5,opt,name=close,proto3" json:"close,omitempty"` unknownFields protoimpl.UnknownFields - - StartSession *livekit.StartSession `protobuf:"bytes,1,opt,name=start_session,json=startSession,proto3" json:"start_session,omitempty"` - Requests []*livekit.SignalRequest `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"` - Seq uint64 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"` - Close bool `protobuf:"varint,5,opt,name=close,proto3" json:"close,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RelaySignalRequest) Reset() { *x = RelaySignalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_signal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_signal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RelaySignalRequest) String() string { @@ -64,7 +62,7 @@ func (*RelaySignalRequest) ProtoMessage() {} func (x *RelaySignalRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_signal_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -108,22 +106,19 @@ func (x *RelaySignalRequest) GetClose() bool { } type RelaySignalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Responses []*livekit.SignalResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"` + Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` + Close bool `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"` unknownFields protoimpl.UnknownFields - - Responses []*livekit.SignalResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"` - Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` - Close bool `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RelaySignalResponse) Reset() { *x = RelaySignalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_signal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_signal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RelaySignalResponse) String() string { @@ -134,7 +129,7 @@ func (*RelaySignalResponse) ProtoMessage() {} func (x *RelaySignalResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_signal_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -172,7 +167,7 @@ func (x *RelaySignalResponse) GetClose() bool { var File_rpc_signal_proto protoreflect.FileDescriptor -var file_rpc_signal_proto_rawDesc = []byte{ +var file_rpc_signal_proto_rawDesc = string([]byte{ 0x0a, 0x10, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, @@ -206,22 +201,22 @@ var file_rpc_signal_proto_rawDesc = []byte{ 0x01, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_signal_proto_rawDescOnce sync.Once - file_rpc_signal_proto_rawDescData = file_rpc_signal_proto_rawDesc + file_rpc_signal_proto_rawDescData []byte ) func file_rpc_signal_proto_rawDescGZIP() []byte { file_rpc_signal_proto_rawDescOnce.Do(func() { - file_rpc_signal_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_signal_proto_rawDescData) + file_rpc_signal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_signal_proto_rawDesc), len(file_rpc_signal_proto_rawDesc))) }) return file_rpc_signal_proto_rawDescData } var file_rpc_signal_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_rpc_signal_proto_goTypes = []interface{}{ +var file_rpc_signal_proto_goTypes = []any{ (*RelaySignalRequest)(nil), // 0: rpc.RelaySignalRequest (*RelaySignalResponse)(nil), // 1: rpc.RelaySignalResponse (*livekit.StartSession)(nil), // 2: livekit.StartSession @@ -246,37 +241,11 @@ func file_rpc_signal_proto_init() { if File_rpc_signal_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_signal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RelaySignalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_signal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RelaySignalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_signal_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_signal_proto_rawDesc), len(file_rpc_signal_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -287,7 +256,6 @@ func file_rpc_signal_proto_init() { MessageInfos: file_rpc_signal_proto_msgTypes, }.Build() File_rpc_signal_proto = out.File - file_rpc_signal_proto_rawDesc = nil file_rpc_signal_proto_goTypes = nil file_rpc_signal_proto_depIdxs = nil } diff --git a/rpc/sip.pb.go b/rpc/sip.pb.go index f86ece570..b681bd7af 100644 --- a/rpc/sip.pb.go +++ b/rpc/sip.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 -// protoc v4.25.3 +// protoc-gen-go v1.36.5 +// protoc v4.23.4 // source: rpc/sip.proto package rpc @@ -29,6 +29,7 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -39,10 +40,7 @@ const ( ) type InternalCreateSIPParticipantRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Used in Cloud only ProjectId string `protobuf:"bytes,18,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` SipCallId string `protobuf:"bytes,13,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` @@ -62,7 +60,7 @@ type InternalCreateSIPParticipantRequest struct { ParticipantIdentity string `protobuf:"bytes,8,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` ParticipantName string `protobuf:"bytes,14,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` ParticipantMetadata string `protobuf:"bytes,15,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` - ParticipantAttributes map[string]string `protobuf:"bytes,17,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ParticipantAttributes map[string]string `protobuf:"bytes,17,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // optional token that should be used when creating LiveKit participant Token string `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"` // optional websocket url that should be used when creating LiveKit participant @@ -72,11 +70,11 @@ type InternalCreateSIPParticipantRequest struct { Dtmf string `protobuf:"bytes,11,opt,name=dtmf,proto3" json:"dtmf,omitempty"` // Optionally play dialtone in the room as an audible indicator for existing participants PlayDialtone bool `protobuf:"varint,12,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` - Headers map[string]string `protobuf:"bytes,21,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - HeadersToAttributes map[string]string `protobuf:"bytes,22,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,21,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + HeadersToAttributes map[string]string `protobuf:"bytes,22,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. // Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - AttributesToHeaders map[string]string `protobuf:"bytes,26,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AttributesToHeaders map[string]string `protobuf:"bytes,26,rep,name=attributes_to_headers,json=attributesToHeaders,proto3" json:"attributes_to_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Map SIP headers from 200 OK to sip.h.* participant attributes automatically. // // When the names of required headers is known, using headers_to_attributes is strongly recommended. @@ -92,15 +90,15 @@ type InternalCreateSIPParticipantRequest struct { MediaEncryption livekit.SIPMediaEncryption `protobuf:"varint,28,opt,name=media_encryption,json=mediaEncryption,proto3,enum=livekit.SIPMediaEncryption" json:"media_encryption,omitempty"` // Wait for the answer for the call before returning. WaitUntilAnswered bool `protobuf:"varint,29,opt,name=wait_until_answered,json=waitUntilAnswered,proto3" json:"wait_until_answered,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InternalCreateSIPParticipantRequest) Reset() { *x = InternalCreateSIPParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_sip_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_sip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InternalCreateSIPParticipantRequest) String() string { @@ -111,7 +109,7 @@ func (*InternalCreateSIPParticipantRequest) ProtoMessage() {} func (x *InternalCreateSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -323,22 +321,19 @@ func (x *InternalCreateSIPParticipantRequest) GetWaitUntilAnswered() bool { } type InternalCreateSIPParticipantResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` - ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` - SipCallId string `protobuf:"bytes,3,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ParticipantId string `protobuf:"bytes,1,opt,name=participant_id,json=participantId,proto3" json:"participant_id,omitempty"` + ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` + SipCallId string `protobuf:"bytes,3,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InternalCreateSIPParticipantResponse) Reset() { *x = InternalCreateSIPParticipantResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_sip_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_sip_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InternalCreateSIPParticipantResponse) String() string { @@ -349,7 +344,7 @@ func (*InternalCreateSIPParticipantResponse) ProtoMessage() {} func (x *InternalCreateSIPParticipantResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -386,25 +381,22 @@ func (x *InternalCreateSIPParticipantResponse) GetSipCallId() string { } type InternalTransferSIPParticipantRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SipCallId string `protobuf:"bytes,1,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` - TransferTo string `protobuf:"bytes,2,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SipCallId string `protobuf:"bytes,1,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` + TransferTo string `protobuf:"bytes,2,opt,name=transfer_to,json=transferTo,proto3" json:"transfer_to,omitempty"` // Optionally play dialtone to the SIP participant as an audible indicator of being transferred PlayDialtone bool `protobuf:"varint,3,opt,name=play_dialtone,json=playDialtone,proto3" json:"play_dialtone,omitempty"` // Add the following headers to the REFER SIP request. - Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InternalTransferSIPParticipantRequest) Reset() { *x = InternalTransferSIPParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_sip_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_sip_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InternalTransferSIPParticipantRequest) String() string { @@ -415,7 +407,7 @@ func (*InternalTransferSIPParticipantRequest) ProtoMessage() {} func (x *InternalTransferSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -460,7 +452,7 @@ func (x *InternalTransferSIPParticipantRequest) GetHeaders() map[string]string { var File_rpc_sip_proto protoreflect.FileDescriptor -var file_rpc_sip_proto_rawDesc = []byte{ +var file_rpc_sip_proto_rawDesc = string([]byte{ 0x0a, 0x0d, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, @@ -624,22 +616,22 @@ var file_rpc_sip_proto_rawDesc = []byte{ 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_rpc_sip_proto_rawDescOnce sync.Once - file_rpc_sip_proto_rawDescData = file_rpc_sip_proto_rawDesc + file_rpc_sip_proto_rawDescData []byte ) func file_rpc_sip_proto_rawDescGZIP() []byte { file_rpc_sip_proto_rawDescOnce.Do(func() { - file_rpc_sip_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_sip_proto_rawDescData) + file_rpc_sip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc))) }) return file_rpc_sip_proto_rawDescData } var file_rpc_sip_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_rpc_sip_proto_goTypes = []interface{}{ +var file_rpc_sip_proto_goTypes = []any{ (*InternalCreateSIPParticipantRequest)(nil), // 0: rpc.InternalCreateSIPParticipantRequest (*InternalCreateSIPParticipantResponse)(nil), // 1: rpc.InternalCreateSIPParticipantResponse (*InternalTransferSIPParticipantRequest)(nil), // 2: rpc.InternalTransferSIPParticipantRequest @@ -683,49 +675,11 @@ func file_rpc_sip_proto_init() { if File_rpc_sip_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_rpc_sip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InternalCreateSIPParticipantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_sip_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InternalCreateSIPParticipantResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_rpc_sip_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InternalTransferSIPParticipantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_rpc_sip_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc)), NumEnums: 0, NumMessages: 8, NumExtensions: 0, @@ -736,7 +690,6 @@ func file_rpc_sip_proto_init() { MessageInfos: file_rpc_sip_proto_msgTypes, }.Build() File_rpc_sip_proto = out.File - file_rpc_sip_proto_rawDesc = nil file_rpc_sip_proto_goTypes = nil file_rpc_sip_proto_depIdxs = nil }