From 5b8d6582a8dadc6a83d5bc8a4657396b21bc3749 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 12 Jun 2024 18:19:18 +0000 Subject: [PATCH] generated protobuf --- infra/link.pb.go | 16 +++--- infra/link_grpc.pb.go | 18 ++++--- livekit/livekit_agent.pb.go | 52 +++++++++---------- livekit/livekit_analytics.pb.go | 28 +++++----- livekit/livekit_egress.pb.go | 88 +++++++++++++++---------------- livekit/livekit_ingress.pb.go | 42 +++++++-------- livekit/livekit_internal.pb.go | 18 +++---- livekit/livekit_models.pb.go | 60 ++++++++++----------- livekit/livekit_room.pb.go | 44 ++++++++-------- livekit/livekit_rtc.pb.go | 92 ++++++++++++++++----------------- livekit/livekit_sip.pb.go | 38 +++++++------- livekit/livekit_webhook.pb.go | 8 +-- rpc/agent.pb.go | 10 ++-- rpc/agent.psrpc.go | 2 +- rpc/analytics.pb.go | 6 +-- rpc/analytics_grpc.pb.go | 29 ++++++----- rpc/egress.pb.go | 14 ++--- rpc/egress.psrpc.go | 2 +- rpc/ingress.pb.go | 18 +++---- rpc/ingress.psrpc.go | 2 +- rpc/io.pb.go | 24 ++++----- rpc/io.psrpc.go | 2 +- rpc/keepalive.pb.go | 8 +-- rpc/keepalive.psrpc.go | 2 +- rpc/participant.pb.go | 6 +-- rpc/participant.psrpc.go | 2 +- rpc/room.pb.go | 6 +-- rpc/room.psrpc.go | 2 +- rpc/signal.pb.go | 10 ++-- rpc/signal.psrpc.go | 2 +- rpc/sip.pb.go | 10 ++-- rpc/sip.psrpc.go | 2 +- 32 files changed, 334 insertions(+), 329 deletions(-) diff --git a/infra/link.pb.go b/infra/link.pb.go index 4aa912b2..c53e392e 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: infra/link.proto package infra @@ -375,7 +375,7 @@ func file_infra_link_proto_rawDescGZIP() []byte { } 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 @@ -401,7 +401,7 @@ func file_infra_link_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_infra_link_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_infra_link_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*WatchLocalLinksRequest); i { case 0: return &v.state @@ -413,7 +413,7 @@ func file_infra_link_proto_init() { return nil } } - file_infra_link_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_infra_link_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*WatchLocalLinksResponse); i { case 0: return &v.state @@ -425,7 +425,7 @@ func file_infra_link_proto_init() { return nil } } - file_infra_link_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_infra_link_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*SimulateLinkStateRequest); i { case 0: return &v.state @@ -437,7 +437,7 @@ func file_infra_link_proto_init() { return nil } } - file_infra_link_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_infra_link_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*SimulateLinkStateResponse); i { case 0: return &v.state @@ -450,7 +450,7 @@ func file_infra_link_proto_init() { } } } - 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{ diff --git a/infra/link_grpc.pb.go b/infra/link_grpc.pb.go index 2a034443..cd17cd1f 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 v5.27.0 +// - protoc-gen-go-grpc v1.4.0 +// - 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.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( Link_WatchLocalLinks_FullMethodName = "/rpc.Link/WatchLocalLinks" @@ -54,11 +54,12 @@ func NewLinkClient(cc grpc.ClientConnInterface) LinkClient { } 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...) + 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 := &linkWatchLocalLinksClient{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -86,8 +87,9 @@ func (x *linkWatchLocalLinksClient) Recv() (*WatchLocalLinksResponse, error) { } 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 } @@ -131,7 +133,7 @@ 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}) + return srv.(LinkServer).WatchLocalLinks(m, &linkWatchLocalLinksServer{ServerStream: stream}) } type Link_WatchLocalLinksServer interface { diff --git a/livekit/livekit_agent.pb.go b/livekit/livekit_agent.pb.go index d418797f..a44e26de 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: livekit_agent.proto package livekit @@ -1588,7 +1588,7 @@ func file_livekit_agent_proto_rawDescGZIP() []byte { var file_livekit_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_livekit_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -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 @@ -1654,7 +1654,7 @@ func file_livekit_agent_proto_init() { } file_livekit_models_proto_init() if !protoimpl.UnsafeEnabled { - file_livekit_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*WorkerInfo); i { case 0: return &v.state @@ -1666,7 +1666,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*AgentInfo); i { case 0: return &v.state @@ -1678,7 +1678,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*Job); i { case 0: return &v.state @@ -1690,7 +1690,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*WorkerMessage); i { case 0: return &v.state @@ -1702,7 +1702,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ServerMessage); i { case 0: return &v.state @@ -1714,7 +1714,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*SimulateJobRequest); i { case 0: return &v.state @@ -1726,7 +1726,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*WorkerPing); i { case 0: return &v.state @@ -1738,7 +1738,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*WorkerPong); i { case 0: return &v.state @@ -1750,7 +1750,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*RegisterWorkerRequest); i { case 0: return &v.state @@ -1762,7 +1762,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*RegisterWorkerResponse); i { case 0: return &v.state @@ -1774,7 +1774,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*MigrateJobRequest); i { case 0: return &v.state @@ -1786,7 +1786,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*AvailabilityRequest); i { case 0: return &v.state @@ -1798,7 +1798,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*AvailabilityResponse); i { case 0: return &v.state @@ -1810,7 +1810,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*UpdateJobStatus); i { case 0: return &v.state @@ -1822,7 +1822,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*UpdateWorkerStatus); i { case 0: return &v.state @@ -1834,7 +1834,7 @@ func file_livekit_agent_proto_init() { return nil } } - file_livekit_agent_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_livekit_agent_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*JobAssignment); i { case 0: return &v.state @@ -1847,8 +1847,8 @@ func file_livekit_agent_proto_init() { } } } - file_livekit_agent_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_livekit_agent_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_livekit_agent_proto_msgTypes[2].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[3].OneofWrappers = []any{ (*WorkerMessage_Register)(nil), (*WorkerMessage_Availability)(nil), (*WorkerMessage_UpdateWorker)(nil), @@ -1857,16 +1857,16 @@ func file_livekit_agent_proto_init() { (*WorkerMessage_SimulateJob)(nil), (*WorkerMessage_MigrateJob)(nil), } - file_livekit_agent_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_livekit_agent_proto_msgTypes[4].OneofWrappers = []any{ (*ServerMessage_Register)(nil), (*ServerMessage_Availability)(nil), (*ServerMessage_Assignment)(nil), (*ServerMessage_Pong)(nil), } - file_livekit_agent_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_livekit_agent_proto_msgTypes[13].OneofWrappers = []interface{}{} - file_livekit_agent_proto_msgTypes[14].OneofWrappers = []interface{}{} - file_livekit_agent_proto_msgTypes[15].OneofWrappers = []interface{}{} + file_livekit_agent_proto_msgTypes[8].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[13].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[14].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[15].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/livekit/livekit_analytics.pb.go b/livekit/livekit_analytics.pb.go index 1969f1cd..335d9dcc 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: livekit_analytics.proto package livekit @@ -1526,7 +1526,7 @@ func file_livekit_analytics_proto_rawDescGZIP() []byte { var file_livekit_analytics_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_livekit_analytics_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_livekit_analytics_proto_goTypes = []interface{}{ +var file_livekit_analytics_proto_goTypes = []any{ (StreamType)(0), // 0: livekit.StreamType (AnalyticsEventType)(0), // 1: livekit.AnalyticsEventType (*AnalyticsVideoLayer)(nil), // 2: livekit.AnalyticsVideoLayer @@ -1595,7 +1595,7 @@ func file_livekit_analytics_proto_init() { file_livekit_egress_proto_init() file_livekit_ingress_proto_init() if !protoimpl.UnsafeEnabled { - file_livekit_analytics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_livekit_analytics_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*AnalyticsVideoLayer); i { case 0: return &v.state @@ -1607,7 +1607,7 @@ func file_livekit_analytics_proto_init() { return nil } } - file_livekit_analytics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_livekit_analytics_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*AnalyticsStream); i { case 0: return &v.state @@ -1619,7 +1619,7 @@ func file_livekit_analytics_proto_init() { return nil } } - file_livekit_analytics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_livekit_analytics_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*AnalyticsStat); i { case 0: return &v.state @@ -1631,7 +1631,7 @@ func file_livekit_analytics_proto_init() { return nil } } - file_livekit_analytics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_livekit_analytics_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*AnalyticsStats); i { case 0: return &v.state @@ -1643,7 +1643,7 @@ func file_livekit_analytics_proto_init() { return nil } } - file_livekit_analytics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_livekit_analytics_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*AnalyticsClientMeta); i { case 0: return &v.state @@ -1655,7 +1655,7 @@ func file_livekit_analytics_proto_init() { return nil } } - file_livekit_analytics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_livekit_analytics_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*AnalyticsEvent); i { case 0: return &v.state @@ -1667,7 +1667,7 @@ func file_livekit_analytics_proto_init() { return nil } } - file_livekit_analytics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_livekit_analytics_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*AnalyticsEvents); i { case 0: return &v.state @@ -1679,7 +1679,7 @@ func file_livekit_analytics_proto_init() { return nil } } - file_livekit_analytics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_livekit_analytics_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*AnalyticsRoomParticipant); i { case 0: return &v.state @@ -1691,7 +1691,7 @@ func file_livekit_analytics_proto_init() { return nil } } - file_livekit_analytics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_livekit_analytics_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*AnalyticsRoom); i { case 0: return &v.state @@ -1703,7 +1703,7 @@ func file_livekit_analytics_proto_init() { return nil } } - file_livekit_analytics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_livekit_analytics_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*AnalyticsNodeRooms); i { case 0: return &v.state @@ -1716,7 +1716,7 @@ func file_livekit_analytics_proto_init() { } } } - file_livekit_analytics_proto_msgTypes[4].OneofWrappers = []interface{}{} + file_livekit_analytics_proto_msgTypes[4].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/livekit/livekit_egress.pb.go b/livekit/livekit_egress.pb.go index 5297c318..0284ccd1 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: livekit_egress.proto package livekit @@ -4338,7 +4338,7 @@ func file_livekit_egress_proto_rawDescGZIP() []byte { var file_livekit_egress_proto_enumTypes = make([]protoimpl.EnumInfo, 8) 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 @@ -4499,7 +4499,7 @@ func file_livekit_egress_proto_init() { } file_livekit_models_proto_init() if !protoimpl.UnsafeEnabled { - file_livekit_egress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*RoomCompositeEgressRequest); i { case 0: return &v.state @@ -4511,7 +4511,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*WebEgressRequest); i { case 0: return &v.state @@ -4523,7 +4523,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ParticipantEgressRequest); i { case 0: return &v.state @@ -4535,7 +4535,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*TrackCompositeEgressRequest); i { case 0: return &v.state @@ -4547,7 +4547,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*TrackEgressRequest); i { case 0: return &v.state @@ -4559,7 +4559,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*EncodedFileOutput); i { case 0: return &v.state @@ -4571,7 +4571,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*SegmentedFileOutput); i { case 0: return &v.state @@ -4583,7 +4583,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*DirectFileOutput); i { case 0: return &v.state @@ -4595,7 +4595,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*ImageOutput); i { case 0: return &v.state @@ -4607,7 +4607,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*S3Upload); i { case 0: return &v.state @@ -4619,7 +4619,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*GCPUpload); i { case 0: return &v.state @@ -4631,7 +4631,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*AzureBlobUpload); i { case 0: return &v.state @@ -4643,7 +4643,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*AliOSSUpload); i { case 0: return &v.state @@ -4655,7 +4655,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*ProxyConfig); i { case 0: return &v.state @@ -4667,7 +4667,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*StreamOutput); i { case 0: return &v.state @@ -4679,7 +4679,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*EncodingOptions); i { case 0: return &v.state @@ -4691,7 +4691,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*UpdateLayoutRequest); i { case 0: return &v.state @@ -4703,7 +4703,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*UpdateStreamRequest); i { case 0: return &v.state @@ -4715,7 +4715,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*ListEgressRequest); i { case 0: return &v.state @@ -4727,7 +4727,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*ListEgressResponse); i { case 0: return &v.state @@ -4739,7 +4739,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*StopEgressRequest); i { case 0: return &v.state @@ -4751,7 +4751,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*EgressInfo); i { case 0: return &v.state @@ -4763,7 +4763,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*StreamInfoList); i { case 0: return &v.state @@ -4775,7 +4775,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*StreamInfo); i { case 0: return &v.state @@ -4787,7 +4787,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*FileInfo); i { case 0: return &v.state @@ -4799,7 +4799,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*SegmentsInfo); i { case 0: return &v.state @@ -4811,7 +4811,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*ImagesInfo); i { case 0: return &v.state @@ -4823,7 +4823,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*AutoParticipantEgress); i { case 0: return &v.state @@ -4835,7 +4835,7 @@ func file_livekit_egress_proto_init() { return nil } } - file_livekit_egress_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_livekit_egress_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*AutoTrackEgress); i { case 0: return &v.state @@ -4848,60 +4848,60 @@ func file_livekit_egress_proto_init() { } } } - 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), @@ -4911,11 +4911,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), diff --git a/livekit/livekit_ingress.pb.go b/livekit/livekit_ingress.pb.go index fba22ba4..85427d9a 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: livekit_ingress.proto package livekit @@ -1726,7 +1726,7 @@ func file_livekit_ingress_proto_rawDescGZIP() []byte { 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 @@ -1796,7 +1796,7 @@ func file_livekit_ingress_proto_init() { } file_livekit_models_proto_init() if !protoimpl.UnsafeEnabled { - file_livekit_ingress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_livekit_ingress_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*CreateIngressRequest); i { case 0: return &v.state @@ -1808,7 +1808,7 @@ func file_livekit_ingress_proto_init() { return nil } } - file_livekit_ingress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_livekit_ingress_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*IngressAudioOptions); i { case 0: return &v.state @@ -1820,7 +1820,7 @@ func file_livekit_ingress_proto_init() { return nil } } - file_livekit_ingress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_livekit_ingress_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*IngressVideoOptions); i { case 0: return &v.state @@ -1832,7 +1832,7 @@ func file_livekit_ingress_proto_init() { return nil } } - file_livekit_ingress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_livekit_ingress_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*IngressAudioEncodingOptions); i { case 0: return &v.state @@ -1844,7 +1844,7 @@ func file_livekit_ingress_proto_init() { return nil } } - file_livekit_ingress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_livekit_ingress_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*IngressVideoEncodingOptions); i { case 0: return &v.state @@ -1856,7 +1856,7 @@ func file_livekit_ingress_proto_init() { return nil } } - file_livekit_ingress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_livekit_ingress_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*IngressInfo); i { case 0: return &v.state @@ -1868,7 +1868,7 @@ func file_livekit_ingress_proto_init() { return nil } } - file_livekit_ingress_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_livekit_ingress_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*IngressState); i { case 0: return &v.state @@ -1880,7 +1880,7 @@ func file_livekit_ingress_proto_init() { return nil } } - file_livekit_ingress_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_livekit_ingress_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*InputVideoState); i { case 0: return &v.state @@ -1892,7 +1892,7 @@ func file_livekit_ingress_proto_init() { return nil } } - file_livekit_ingress_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_livekit_ingress_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*InputAudioState); i { case 0: return &v.state @@ -1904,7 +1904,7 @@ func file_livekit_ingress_proto_init() { return nil } } - file_livekit_ingress_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_livekit_ingress_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*UpdateIngressRequest); i { case 0: return &v.state @@ -1916,7 +1916,7 @@ func file_livekit_ingress_proto_init() { return nil } } - file_livekit_ingress_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_livekit_ingress_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ListIngressRequest); i { case 0: return &v.state @@ -1928,7 +1928,7 @@ func file_livekit_ingress_proto_init() { return nil } } - file_livekit_ingress_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_livekit_ingress_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*ListIngressResponse); i { case 0: return &v.state @@ -1940,7 +1940,7 @@ func file_livekit_ingress_proto_init() { return nil } } - file_livekit_ingress_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_livekit_ingress_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*DeleteIngressRequest); i { case 0: return &v.state @@ -1953,17 +1953,17 @@ func file_livekit_ingress_proto_init() { } } } - 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{ diff --git a/livekit/livekit_internal.pb.go b/livekit/livekit_internal.pb.go index 9d71c619..e10faf0e 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: livekit_internal.proto package livekit @@ -1271,7 +1271,7 @@ func file_livekit_internal_proto_rawDescGZIP() []byte { 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 @@ -1312,7 +1312,7 @@ func file_livekit_internal_proto_init() { file_livekit_models_proto_init() file_livekit_egress_proto_init() if !protoimpl.UnsafeEnabled { - file_livekit_internal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_livekit_internal_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Node); i { case 0: return &v.state @@ -1324,7 +1324,7 @@ func file_livekit_internal_proto_init() { return nil } } - file_livekit_internal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_livekit_internal_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*NodeStats); i { case 0: return &v.state @@ -1336,7 +1336,7 @@ func file_livekit_internal_proto_init() { return nil } } - file_livekit_internal_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_livekit_internal_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*StartSession); i { case 0: return &v.state @@ -1348,7 +1348,7 @@ func file_livekit_internal_proto_init() { return nil } } - file_livekit_internal_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_livekit_internal_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*RoomInternal); i { case 0: return &v.state @@ -1360,7 +1360,7 @@ func file_livekit_internal_proto_init() { return nil } } - file_livekit_internal_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_livekit_internal_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ICEConfig); i { case 0: return &v.state @@ -1373,7 +1373,7 @@ func file_livekit_internal_proto_init() { } } } - 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{ diff --git a/livekit/livekit_models.pb.go b/livekit/livekit_models.pb.go index 84aad43f..aff5657c 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: livekit_models.proto package livekit @@ -4107,7 +4107,7 @@ func file_livekit_models_proto_rawDescGZIP() []byte { var file_livekit_models_proto_enumTypes = make([]protoimpl.EnumInfo, 18) var file_livekit_models_proto_msgTypes = make([]protoimpl.MessageInfo, 27) -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 @@ -4215,7 +4215,7 @@ func file_livekit_models_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_livekit_models_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Room); i { case 0: return &v.state @@ -4227,7 +4227,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Codec); i { case 0: return &v.state @@ -4239,7 +4239,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*PlayoutDelay); i { case 0: return &v.state @@ -4251,7 +4251,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ParticipantPermission); i { case 0: return &v.state @@ -4263,7 +4263,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ParticipantInfo); i { case 0: return &v.state @@ -4275,7 +4275,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*Encryption); i { case 0: return &v.state @@ -4287,7 +4287,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*SimulcastCodecInfo); i { case 0: return &v.state @@ -4299,7 +4299,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*TrackInfo); i { case 0: return &v.state @@ -4311,7 +4311,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*VideoLayer); i { case 0: return &v.state @@ -4323,7 +4323,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*DataPacket); i { case 0: return &v.state @@ -4335,7 +4335,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ActiveSpeakerUpdate); i { case 0: return &v.state @@ -4347,7 +4347,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*SpeakerInfo); i { case 0: return &v.state @@ -4359,7 +4359,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*UserPacket); i { case 0: return &v.state @@ -4371,7 +4371,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*SipDTMF); i { case 0: return &v.state @@ -4383,7 +4383,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*Transcription); i { case 0: return &v.state @@ -4395,7 +4395,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*TranscriptionSegment); i { case 0: return &v.state @@ -4407,7 +4407,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*ParticipantTracks); i { case 0: return &v.state @@ -4419,7 +4419,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*ServerInfo); i { case 0: return &v.state @@ -4431,7 +4431,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*ClientInfo); i { case 0: return &v.state @@ -4443,7 +4443,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*ClientConfiguration); i { case 0: return &v.state @@ -4455,7 +4455,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*VideoConfiguration); i { case 0: return &v.state @@ -4467,7 +4467,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*DisabledCodecs); i { case 0: return &v.state @@ -4479,7 +4479,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*RTPDrift); i { case 0: return &v.state @@ -4491,7 +4491,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*RTPStats); i { case 0: return &v.state @@ -4503,7 +4503,7 @@ func file_livekit_models_proto_init() { return nil } } - file_livekit_models_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_livekit_models_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*TimedVersion); i { case 0: return &v.state @@ -4516,13 +4516,13 @@ func file_livekit_models_proto_init() { } } } - file_livekit_models_proto_msgTypes[9].OneofWrappers = []interface{}{ + file_livekit_models_proto_msgTypes[9].OneofWrappers = []any{ (*DataPacket_User)(nil), (*DataPacket_Speaker)(nil), (*DataPacket_SipDtmf)(nil), (*DataPacket_Transcription)(nil), } - file_livekit_models_proto_msgTypes[12].OneofWrappers = []interface{}{} + file_livekit_models_proto_msgTypes[12].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/livekit/livekit_room.pb.go b/livekit/livekit_room.pb.go index e6ffde40..ef7dbd1b 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: livekit_room.proto package livekit @@ -1329,7 +1329,7 @@ func file_livekit_room_proto_rawDescGZIP() []byte { } var file_livekit_room_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_livekit_room_proto_goTypes = []interface{}{ +var file_livekit_room_proto_goTypes = []any{ (*CreateRoomRequest)(nil), // 0: livekit.CreateRoomRequest (*RoomEgress)(nil), // 1: livekit.RoomEgress (*ListRoomsRequest)(nil), // 2: livekit.ListRoomsRequest @@ -1408,7 +1408,7 @@ func file_livekit_room_proto_init() { file_livekit_models_proto_init() file_livekit_egress_proto_init() if !protoimpl.UnsafeEnabled { - file_livekit_room_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*CreateRoomRequest); i { case 0: return &v.state @@ -1420,7 +1420,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*RoomEgress); i { case 0: return &v.state @@ -1432,7 +1432,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ListRoomsRequest); i { case 0: return &v.state @@ -1444,7 +1444,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ListRoomsResponse); i { case 0: return &v.state @@ -1456,7 +1456,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*DeleteRoomRequest); i { case 0: return &v.state @@ -1468,7 +1468,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*DeleteRoomResponse); i { case 0: return &v.state @@ -1480,7 +1480,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*ListParticipantsRequest); i { case 0: return &v.state @@ -1492,7 +1492,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ListParticipantsResponse); i { case 0: return &v.state @@ -1504,7 +1504,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*RoomParticipantIdentity); i { case 0: return &v.state @@ -1516,7 +1516,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*RemoveParticipantResponse); i { case 0: return &v.state @@ -1528,7 +1528,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*MuteRoomTrackRequest); i { case 0: return &v.state @@ -1540,7 +1540,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*MuteRoomTrackResponse); i { case 0: return &v.state @@ -1552,7 +1552,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*UpdateParticipantRequest); i { case 0: return &v.state @@ -1564,7 +1564,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*UpdateSubscriptionsRequest); i { case 0: return &v.state @@ -1576,7 +1576,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*UpdateSubscriptionsResponse); i { case 0: return &v.state @@ -1588,7 +1588,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*SendDataRequest); i { case 0: return &v.state @@ -1600,7 +1600,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*SendDataResponse); i { case 0: return &v.state @@ -1612,7 +1612,7 @@ func file_livekit_room_proto_init() { return nil } } - file_livekit_room_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_livekit_room_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*UpdateRoomMetadataRequest); i { case 0: return &v.state @@ -1625,7 +1625,7 @@ func file_livekit_room_proto_init() { } } } - file_livekit_room_proto_msgTypes[15].OneofWrappers = []interface{}{} + file_livekit_room_proto_msgTypes[15].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/livekit/livekit_rtc.pb.go b/livekit/livekit_rtc.pb.go index 037a5f07..e4404f3a 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: livekit_rtc.proto package livekit @@ -4022,7 +4022,7 @@ func file_livekit_rtc_proto_rawDescGZIP() []byte { var file_livekit_rtc_proto_enumTypes = make([]protoimpl.EnumInfo, 4) var file_livekit_rtc_proto_msgTypes = make([]protoimpl.MessageInfo, 41) -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 @@ -4178,7 +4178,7 @@ func file_livekit_rtc_proto_init() { } file_livekit_models_proto_init() if !protoimpl.UnsafeEnabled { - file_livekit_rtc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*SignalRequest); i { case 0: return &v.state @@ -4190,7 +4190,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*SignalResponse); i { case 0: return &v.state @@ -4202,7 +4202,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*SimulcastCodec); i { case 0: return &v.state @@ -4214,7 +4214,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*AddTrackRequest); i { case 0: return &v.state @@ -4226,7 +4226,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*TrickleRequest); i { case 0: return &v.state @@ -4238,7 +4238,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*MuteTrackRequest); i { case 0: return &v.state @@ -4250,7 +4250,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*JoinResponse); i { case 0: return &v.state @@ -4262,7 +4262,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ReconnectResponse); i { case 0: return &v.state @@ -4274,7 +4274,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*TrackPublishedResponse); i { case 0: return &v.state @@ -4286,7 +4286,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*TrackUnpublishedResponse); i { case 0: return &v.state @@ -4298,7 +4298,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*SessionDescription); i { case 0: return &v.state @@ -4310,7 +4310,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*ParticipantUpdate); i { case 0: return &v.state @@ -4322,7 +4322,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*UpdateSubscription); i { case 0: return &v.state @@ -4334,7 +4334,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*UpdateTrackSettings); i { case 0: return &v.state @@ -4346,7 +4346,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*UpdateLocalAudioTrack); i { case 0: return &v.state @@ -4358,7 +4358,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*UpdateLocalVideoTrack); i { case 0: return &v.state @@ -4370,7 +4370,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*LeaveRequest); i { case 0: return &v.state @@ -4382,7 +4382,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*UpdateVideoLayers); i { case 0: return &v.state @@ -4394,7 +4394,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*UpdateParticipantMetadata); i { case 0: return &v.state @@ -4406,7 +4406,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*ICEServer); i { case 0: return &v.state @@ -4418,7 +4418,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*SpeakersChanged); i { case 0: return &v.state @@ -4430,7 +4430,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*RoomUpdate); i { case 0: return &v.state @@ -4442,7 +4442,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*ConnectionQualityInfo); i { case 0: return &v.state @@ -4454,7 +4454,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*ConnectionQualityUpdate); i { case 0: return &v.state @@ -4466,7 +4466,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*StreamStateInfo); i { case 0: return &v.state @@ -4478,7 +4478,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*StreamStateUpdate); i { case 0: return &v.state @@ -4490,7 +4490,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*SubscribedQuality); i { case 0: return &v.state @@ -4502,7 +4502,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*SubscribedCodec); i { case 0: return &v.state @@ -4514,7 +4514,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[28].Exporter = func(v any, i int) any { switch v := v.(*SubscribedQualityUpdate); i { case 0: return &v.state @@ -4526,7 +4526,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*TrackPermission); i { case 0: return &v.state @@ -4538,7 +4538,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*SubscriptionPermission); i { case 0: return &v.state @@ -4550,7 +4550,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*SubscriptionPermissionUpdate); i { case 0: return &v.state @@ -4562,7 +4562,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*SyncState); i { case 0: return &v.state @@ -4574,7 +4574,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[33].Exporter = func(v any, i int) any { switch v := v.(*DataChannelInfo); i { case 0: return &v.state @@ -4586,7 +4586,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[34].Exporter = func(v any, i int) any { switch v := v.(*SimulateScenario); i { case 0: return &v.state @@ -4598,7 +4598,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[35].Exporter = func(v any, i int) any { switch v := v.(*Ping); i { case 0: return &v.state @@ -4610,7 +4610,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[36].Exporter = func(v any, i int) any { switch v := v.(*Pong); i { case 0: return &v.state @@ -4622,7 +4622,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[37].Exporter = func(v any, i int) any { switch v := v.(*RegionSettings); i { case 0: return &v.state @@ -4634,7 +4634,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[38].Exporter = func(v any, i int) any { switch v := v.(*RegionInfo); i { case 0: return &v.state @@ -4646,7 +4646,7 @@ func file_livekit_rtc_proto_init() { return nil } } - file_livekit_rtc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_livekit_rtc_proto_msgTypes[39].Exporter = func(v any, i int) any { switch v := v.(*SubscriptionResponse); i { case 0: return &v.state @@ -4659,7 +4659,7 @@ func file_livekit_rtc_proto_init() { } } } - 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), @@ -4678,7 +4678,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), @@ -4700,7 +4700,7 @@ func file_livekit_rtc_proto_init() { (*SignalResponse_PongResp)(nil), (*SignalResponse_SubscriptionResponse)(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), diff --git a/livekit/livekit_sip.pb.go b/livekit/livekit_sip.pb.go index b21d04bd..7c780580 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: livekit_sip.proto package livekit @@ -1541,7 +1541,7 @@ func file_livekit_sip_proto_rawDescGZIP() []byte { var file_livekit_sip_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_livekit_sip_proto_msgTypes = make([]protoimpl.MessageInfo, 18) -var file_livekit_sip_proto_goTypes = []interface{}{ +var file_livekit_sip_proto_goTypes = []any{ (SIPTransport)(0), // 0: livekit.SIPTransport (*CreateSIPTrunkRequest)(nil), // 1: livekit.CreateSIPTrunkRequest (*SIPTrunkInfo)(nil), // 2: livekit.SIPTrunkInfo @@ -1600,7 +1600,7 @@ func file_livekit_sip_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_livekit_sip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*CreateSIPTrunkRequest); i { case 0: return &v.state @@ -1612,7 +1612,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*SIPTrunkInfo); i { case 0: return &v.state @@ -1624,7 +1624,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ListSIPTrunkRequest); i { case 0: return &v.state @@ -1636,7 +1636,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ListSIPTrunkResponse); i { case 0: return &v.state @@ -1648,7 +1648,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*DeleteSIPTrunkRequest); i { case 0: return &v.state @@ -1660,7 +1660,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*SIPDispatchRuleDirect); i { case 0: return &v.state @@ -1672,7 +1672,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*SIPDispatchRuleIndividual); i { case 0: return &v.state @@ -1684,7 +1684,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*SIPDispatchRule); i { case 0: return &v.state @@ -1696,7 +1696,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*CreateSIPDispatchRuleRequest); i { case 0: return &v.state @@ -1708,7 +1708,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*SIPDispatchRuleInfo); i { case 0: return &v.state @@ -1720,7 +1720,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*ListSIPDispatchRuleRequest); i { case 0: return &v.state @@ -1732,7 +1732,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*ListSIPDispatchRuleResponse); i { case 0: return &v.state @@ -1744,7 +1744,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*DeleteSIPDispatchRuleRequest); i { case 0: return &v.state @@ -1756,7 +1756,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*CreateSIPParticipantRequest); i { case 0: return &v.state @@ -1768,7 +1768,7 @@ func file_livekit_sip_proto_init() { return nil } } - file_livekit_sip_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_livekit_sip_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*SIPParticipantInfo); i { case 0: return &v.state @@ -1781,7 +1781,7 @@ func file_livekit_sip_proto_init() { } } } - file_livekit_sip_proto_msgTypes[7].OneofWrappers = []interface{}{ + file_livekit_sip_proto_msgTypes[7].OneofWrappers = []any{ (*SIPDispatchRule_DispatchRuleDirect)(nil), (*SIPDispatchRule_DispatchRuleIndividual)(nil), } diff --git a/livekit/livekit_webhook.pb.go b/livekit/livekit_webhook.pb.go index b88e0c2a..b4f0f0f4 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: livekit_webhook.proto package livekit @@ -207,7 +207,7 @@ func file_livekit_webhook_proto_rawDescGZIP() []byte { } 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 @@ -237,7 +237,7 @@ func file_livekit_webhook_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{} { + file_livekit_webhook_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*WebhookEvent); i { case 0: return &v.state diff --git a/rpc/agent.pb.go b/rpc/agent.pb.go index b4b18687..ebde120b 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: rpc/agent.proto package rpc @@ -192,7 +192,7 @@ func file_rpc_agent_proto_rawDescGZIP() []byte { } var file_rpc_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_rpc_agent_proto_goTypes = []interface{}{ +var file_rpc_agent_proto_goTypes = []any{ (*CheckEnabledRequest)(nil), // 0: rpc.CheckEnabledRequest (*CheckEnabledResponse)(nil), // 1: rpc.CheckEnabledResponse (*livekit.Job)(nil), // 2: livekit.Job @@ -218,7 +218,7 @@ func file_rpc_agent_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_rpc_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_rpc_agent_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*CheckEnabledRequest); i { case 0: return &v.state @@ -230,7 +230,7 @@ func file_rpc_agent_proto_init() { return nil } } - file_rpc_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_rpc_agent_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*CheckEnabledResponse); i { case 0: return &v.state diff --git a/rpc/agent.psrpc.go b/rpc/agent.psrpc.go index 7c727a32..5909741d 100644 --- a/rpc/agent.psrpc.go +++ b/rpc/agent.psrpc.go @@ -1,4 +1,4 @@ -// Code generated by protoc-gen-psrpc v0.5.0, DO NOT EDIT. +// Code generated by protoc-gen-psrpc v0.5.1, DO NOT EDIT. // source: rpc/agent.proto package rpc diff --git a/rpc/analytics.pb.go b/rpc/analytics.pb.go index a6984dd9..185473e7 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: rpc/analytics.proto package rpc @@ -64,7 +64,7 @@ var file_rpc_analytics_proto_rawDesc = []byte{ 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 diff --git a/rpc/analytics_grpc.pb.go b/rpc/analytics_grpc.pb.go index 03f2d565..ac9fe3c6 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 v5.27.0 +// - protoc-gen-go-grpc v1.4.0 +// - 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.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( AnalyticsRecorderService_IngestStats_FullMethodName = "/livekit.AnalyticsRecorderService/IngestStats" @@ -58,11 +58,12 @@ func NewAnalyticsRecorderServiceClient(cc grpc.ClientConnInterface) AnalyticsRec } 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...) + 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 := &analyticsRecorderServiceIngestStatsClient{ClientStream: stream} return x, nil } @@ -92,11 +93,12 @@ func (x *analyticsRecorderServiceIngestStatsClient) CloseAndRecv() (*emptypb.Emp } 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...) + 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 := &analyticsRecorderServiceIngestEventsClient{ClientStream: stream} return x, nil } @@ -126,11 +128,12 @@ func (x *analyticsRecorderServiceIngestEventsClient) CloseAndRecv() (*emptypb.Em } 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...) + 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 := &analyticsRecorderServiceIngestNodeRoomStatesClient{ClientStream: stream} return x, nil } @@ -197,7 +200,7 @@ func RegisterAnalyticsRecorderServiceServer(s grpc.ServiceRegistrar, srv Analyti } func _AnalyticsRecorderService_IngestStats_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestStats(&analyticsRecorderServiceIngestStatsServer{stream}) + return srv.(AnalyticsRecorderServiceServer).IngestStats(&analyticsRecorderServiceIngestStatsServer{ServerStream: stream}) } type AnalyticsRecorderService_IngestStatsServer interface { @@ -223,7 +226,7 @@ func (x *analyticsRecorderServiceIngestStatsServer) Recv() (*livekit.AnalyticsSt } func _AnalyticsRecorderService_IngestEvents_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestEvents(&analyticsRecorderServiceIngestEventsServer{stream}) + return srv.(AnalyticsRecorderServiceServer).IngestEvents(&analyticsRecorderServiceIngestEventsServer{ServerStream: stream}) } type AnalyticsRecorderService_IngestEventsServer interface { @@ -249,7 +252,7 @@ func (x *analyticsRecorderServiceIngestEventsServer) Recv() (*livekit.AnalyticsE } func _AnalyticsRecorderService_IngestNodeRoomStates_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AnalyticsRecorderServiceServer).IngestNodeRoomStates(&analyticsRecorderServiceIngestNodeRoomStatesServer{stream}) + return srv.(AnalyticsRecorderServiceServer).IngestNodeRoomStates(&analyticsRecorderServiceIngestNodeRoomStatesServer{ServerStream: stream}) } type AnalyticsRecorderService_IngestNodeRoomStatesServer interface { diff --git a/rpc/egress.pb.go b/rpc/egress.pb.go index 993c38de..be81e73b 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: rpc/egress.proto package rpc @@ -361,7 +361,7 @@ func file_rpc_egress_proto_rawDescGZIP() []byte { } 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 @@ -401,7 +401,7 @@ func file_rpc_egress_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_rpc_egress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_rpc_egress_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*StartEgressRequest); i { case 0: return &v.state @@ -413,7 +413,7 @@ func file_rpc_egress_proto_init() { return nil } } - file_rpc_egress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_rpc_egress_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ListActiveEgressRequest); i { case 0: return &v.state @@ -425,7 +425,7 @@ func file_rpc_egress_proto_init() { return nil } } - file_rpc_egress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_rpc_egress_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ListActiveEgressResponse); i { case 0: return &v.state @@ -438,7 +438,7 @@ func file_rpc_egress_proto_init() { } } } - 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), diff --git a/rpc/egress.psrpc.go b/rpc/egress.psrpc.go index 880e9b55..5be2a8ab 100644 --- a/rpc/egress.psrpc.go +++ b/rpc/egress.psrpc.go @@ -1,4 +1,4 @@ -// Code generated by protoc-gen-psrpc v0.5.0, DO NOT EDIT. +// Code generated by protoc-gen-psrpc v0.5.1, DO NOT EDIT. // source: rpc/egress.proto package rpc diff --git a/rpc/ingress.pb.go b/rpc/ingress.pb.go index 1e27ab1d..1b333e65 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: rpc/ingress.proto package rpc @@ -481,7 +481,7 @@ func file_rpc_ingress_proto_rawDescGZIP() []byte { } var file_rpc_ingress_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -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 @@ -523,7 +523,7 @@ func file_rpc_ingress_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_rpc_ingress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_rpc_ingress_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ListActiveIngressRequest); i { case 0: return &v.state @@ -535,7 +535,7 @@ func file_rpc_ingress_proto_init() { return nil } } - file_rpc_ingress_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_rpc_ingress_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ListActiveIngressResponse); i { case 0: return &v.state @@ -547,7 +547,7 @@ func file_rpc_ingress_proto_init() { return nil } } - file_rpc_ingress_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_rpc_ingress_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*DeleteWHIPResourceRequest); i { case 0: return &v.state @@ -559,7 +559,7 @@ func file_rpc_ingress_proto_init() { return nil } } - file_rpc_ingress_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_rpc_ingress_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ICERestartWHIPResourceRequest); i { case 0: return &v.state @@ -571,7 +571,7 @@ func file_rpc_ingress_proto_init() { return nil } } - file_rpc_ingress_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_rpc_ingress_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ICERestartWHIPResourceResponse); i { case 0: return &v.state @@ -583,7 +583,7 @@ func file_rpc_ingress_proto_init() { return nil } } - file_rpc_ingress_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_rpc_ingress_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*StartIngressRequest); i { case 0: return &v.state diff --git a/rpc/ingress.psrpc.go b/rpc/ingress.psrpc.go index 5c5d7db0..9fb2af75 100644 --- a/rpc/ingress.psrpc.go +++ b/rpc/ingress.psrpc.go @@ -1,4 +1,4 @@ -// Code generated by protoc-gen-psrpc v0.5.0, DO NOT EDIT. +// Code generated by protoc-gen-psrpc v0.5.1, DO NOT EDIT. // source: rpc/ingress.proto package rpc diff --git a/rpc/io.pb.go b/rpc/io.pb.go index 40ad7c9b..f143253c 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: rpc/io.proto package rpc @@ -1008,7 +1008,7 @@ func file_rpc_io_proto_rawDescGZIP() []byte { var file_rpc_io_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_rpc_io_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -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 @@ -1070,7 +1070,7 @@ func file_rpc_io_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_rpc_io_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_rpc_io_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*GetEgressRequest); i { case 0: return &v.state @@ -1082,7 +1082,7 @@ func file_rpc_io_proto_init() { return nil } } - file_rpc_io_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_rpc_io_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*UpdateMetricsRequest); i { case 0: return &v.state @@ -1094,7 +1094,7 @@ func file_rpc_io_proto_init() { return nil } } - file_rpc_io_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_rpc_io_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*GetIngressInfoRequest); i { case 0: return &v.state @@ -1106,7 +1106,7 @@ func file_rpc_io_proto_init() { return nil } } - file_rpc_io_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_rpc_io_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*GetIngressInfoResponse); i { case 0: return &v.state @@ -1118,7 +1118,7 @@ func file_rpc_io_proto_init() { return nil } } - file_rpc_io_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_rpc_io_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*UpdateIngressStateRequest); i { case 0: return &v.state @@ -1130,7 +1130,7 @@ func file_rpc_io_proto_init() { return nil } } - file_rpc_io_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_rpc_io_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*GetSIPTrunkAuthenticationRequest); i { case 0: return &v.state @@ -1142,7 +1142,7 @@ func file_rpc_io_proto_init() { return nil } } - file_rpc_io_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_rpc_io_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*GetSIPTrunkAuthenticationResponse); i { case 0: return &v.state @@ -1154,7 +1154,7 @@ func file_rpc_io_proto_init() { return nil } } - file_rpc_io_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_rpc_io_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*EvaluateSIPDispatchRulesRequest); i { case 0: return &v.state @@ -1166,7 +1166,7 @@ func file_rpc_io_proto_init() { return nil } } - file_rpc_io_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_rpc_io_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*EvaluateSIPDispatchRulesResponse); i { case 0: return &v.state diff --git a/rpc/io.psrpc.go b/rpc/io.psrpc.go index 9ce572d5..d3fd1748 100644 --- a/rpc/io.psrpc.go +++ b/rpc/io.psrpc.go @@ -1,4 +1,4 @@ -// Code generated by protoc-gen-psrpc v0.5.0, DO NOT EDIT. +// Code generated by protoc-gen-psrpc v0.5.1, DO NOT EDIT. // source: rpc/io.proto package rpc diff --git a/rpc/keepalive.pb.go b/rpc/keepalive.pb.go index 93710101..5023a3e7 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: rpc/keepalive.proto package rpc @@ -114,7 +114,7 @@ func file_rpc_keepalive_proto_rawDescGZIP() []byte { } 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{ @@ -133,7 +133,7 @@ func file_rpc_keepalive_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_rpc_keepalive_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_rpc_keepalive_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*KeepalivePing); i { case 0: return &v.state diff --git a/rpc/keepalive.psrpc.go b/rpc/keepalive.psrpc.go index e984de3c..47dc201d 100644 --- a/rpc/keepalive.psrpc.go +++ b/rpc/keepalive.psrpc.go @@ -1,4 +1,4 @@ -// Code generated by protoc-gen-psrpc v0.5.0, DO NOT EDIT. +// Code generated by protoc-gen-psrpc v0.5.1, DO NOT EDIT. // source: rpc/keepalive.proto package rpc diff --git a/rpc/participant.pb.go b/rpc/participant.pb.go index 3b2da206..1daa1fb4 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: rpc/participant.proto package rpc @@ -81,7 +81,7 @@ var file_rpc_participant_proto_rawDesc = []byte{ 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 diff --git a/rpc/participant.psrpc.go b/rpc/participant.psrpc.go index 31104a72..2b8542d6 100644 --- a/rpc/participant.psrpc.go +++ b/rpc/participant.psrpc.go @@ -1,4 +1,4 @@ -// Code generated by protoc-gen-psrpc v0.5.0, DO NOT EDIT. +// Code generated by protoc-gen-psrpc v0.5.1, DO NOT EDIT. // source: rpc/participant.proto package rpc diff --git a/rpc/room.pb.go b/rpc/room.pb.go index 67888350..7ea2be17 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: rpc/room.proto package rpc @@ -66,7 +66,7 @@ var file_rpc_room_proto_rawDesc = []byte{ 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 diff --git a/rpc/room.psrpc.go b/rpc/room.psrpc.go index 75084e68..eb9e92c5 100644 --- a/rpc/room.psrpc.go +++ b/rpc/room.psrpc.go @@ -1,4 +1,4 @@ -// Code generated by protoc-gen-psrpc v0.5.0, DO NOT EDIT. +// Code generated by protoc-gen-psrpc v0.5.1, DO NOT EDIT. // source: rpc/room.proto package rpc diff --git a/rpc/signal.pb.go b/rpc/signal.pb.go index c2562409..acde1bdf 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: rpc/signal.proto package rpc @@ -221,7 +221,7 @@ func file_rpc_signal_proto_rawDescGZIP() []byte { } 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 @@ -247,7 +247,7 @@ func file_rpc_signal_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_rpc_signal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_rpc_signal_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*RelaySignalRequest); i { case 0: return &v.state @@ -259,7 +259,7 @@ func file_rpc_signal_proto_init() { return nil } } - file_rpc_signal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_rpc_signal_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*RelaySignalResponse); i { case 0: return &v.state diff --git a/rpc/signal.psrpc.go b/rpc/signal.psrpc.go index 735fdb2a..b40295db 100644 --- a/rpc/signal.psrpc.go +++ b/rpc/signal.psrpc.go @@ -1,4 +1,4 @@ -// Code generated by protoc-gen-psrpc v0.5.0, DO NOT EDIT. +// Code generated by protoc-gen-psrpc v0.5.1, DO NOT EDIT. // source: rpc/signal.proto package rpc diff --git a/rpc/sip.pb.go b/rpc/sip.pb.go index 92a7b566..2680753a 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 v5.27.0 +// protoc-gen-go v1.34.2 +// protoc v4.23.4 // source: rpc/sip.proto package rpc @@ -363,7 +363,7 @@ func file_rpc_sip_proto_rawDescGZIP() []byte { } var file_rpc_sip_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_rpc_sip_proto_goTypes = []interface{}{ +var file_rpc_sip_proto_goTypes = []any{ (*InternalCreateSIPParticipantRequest)(nil), // 0: rpc.InternalCreateSIPParticipantRequest (*InternalCreateSIPParticipantResponse)(nil), // 1: rpc.InternalCreateSIPParticipantResponse nil, // 2: rpc.InternalCreateSIPParticipantRequest.ParticipantAttributesEntry @@ -387,7 +387,7 @@ func file_rpc_sip_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_rpc_sip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_rpc_sip_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*InternalCreateSIPParticipantRequest); i { case 0: return &v.state @@ -399,7 +399,7 @@ func file_rpc_sip_proto_init() { return nil } } - file_rpc_sip_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_rpc_sip_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*InternalCreateSIPParticipantResponse); i { case 0: return &v.state diff --git a/rpc/sip.psrpc.go b/rpc/sip.psrpc.go index 5321725a..e8db86b5 100644 --- a/rpc/sip.psrpc.go +++ b/rpc/sip.psrpc.go @@ -1,4 +1,4 @@ -// Code generated by protoc-gen-psrpc v0.5.0, DO NOT EDIT. +// Code generated by protoc-gen-psrpc v0.5.1, DO NOT EDIT. // source: rpc/sip.proto package rpc