diff --git a/.changeset/ninety-trainers-remember.md b/.changeset/ninety-trainers-remember.md new file mode 100644 index 000000000..883d6c5d7 --- /dev/null +++ b/.changeset/ninety-trainers-remember.md @@ -0,0 +1,5 @@ +--- +"@livekit/protocol": patch +--- + +update observability codegen diff --git a/.gitattributes b/.gitattributes index 7de141abc..2b56c2f24 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ -packages/js/src/gen/* linguist-generated=true \ No newline at end of file +packages/js/src/gen/* linguist-generated +gen_*.* linguist-generated diff --git a/infra/link.pb.go b/infra/link.pb.go index 2e7555e4a..13859fa1d 100644 --- a/infra/link.pb.go +++ b/infra/link.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: infra/link.proto diff --git a/livekit/agent/livekit_agent_session.pb.go b/livekit/agent/livekit_agent_session.pb.go index b16f80796..e171671b7 100644 --- a/livekit/agent/livekit_agent_session.pb.go +++ b/livekit/agent/livekit_agent_session.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: agent/livekit_agent_session.proto diff --git a/livekit/livekit_agent.pb.go b/livekit/livekit_agent.pb.go index 0bd6da55b..0e4ebea88 100644 --- a/livekit/livekit_agent.pb.go +++ b/livekit/livekit_agent.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_agent.proto diff --git a/livekit/livekit_agent_dispatch.pb.go b/livekit/livekit_agent_dispatch.pb.go index 3898db5c8..d9335f651 100644 --- a/livekit/livekit_agent_dispatch.pb.go +++ b/livekit/livekit_agent_dispatch.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_agent_dispatch.proto diff --git a/livekit/livekit_analytics.pb.go b/livekit/livekit_analytics.pb.go index 6838a2e66..b3dd938c6 100644 --- a/livekit/livekit_analytics.pb.go +++ b/livekit/livekit_analytics.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_analytics.proto diff --git a/livekit/livekit_cloud_agent.pb.go b/livekit/livekit_cloud_agent.pb.go index 9d2aabd66..1b19ed0e7 100644 --- a/livekit/livekit_cloud_agent.pb.go +++ b/livekit/livekit_cloud_agent.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_cloud_agent.proto diff --git a/livekit/livekit_connector.pb.go b/livekit/livekit_connector.pb.go index 266a223ab..1cfe227f8 100644 --- a/livekit/livekit_connector.pb.go +++ b/livekit/livekit_connector.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_connector.proto diff --git a/livekit/livekit_connector_twilio.pb.go b/livekit/livekit_connector_twilio.pb.go index 84154878e..df747db1e 100644 --- a/livekit/livekit_connector_twilio.pb.go +++ b/livekit/livekit_connector_twilio.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_connector_twilio.proto diff --git a/livekit/livekit_connector_whatsapp.pb.go b/livekit/livekit_connector_whatsapp.pb.go index 82046050f..3e420ae28 100644 --- a/livekit/livekit_connector_whatsapp.pb.go +++ b/livekit/livekit_connector_whatsapp.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_connector_whatsapp.proto diff --git a/livekit/livekit_egress.pb.go b/livekit/livekit_egress.pb.go index 4e4594ef2..bf61b97db 100644 --- a/livekit/livekit_egress.pb.go +++ b/livekit/livekit_egress.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_egress.proto diff --git a/livekit/livekit_ingress.pb.go b/livekit/livekit_ingress.pb.go index 1d28712a1..bc0cdceb5 100644 --- a/livekit/livekit_ingress.pb.go +++ b/livekit/livekit_ingress.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_ingress.proto diff --git a/livekit/livekit_internal.pb.go b/livekit/livekit_internal.pb.go index cbfb8ccc6..4c2b73800 100644 --- a/livekit/livekit_internal.pb.go +++ b/livekit/livekit_internal.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_internal.proto diff --git a/livekit/livekit_metrics.pb.go b/livekit/livekit_metrics.pb.go index 5a7fcda8b..6d69a7b12 100644 --- a/livekit/livekit_metrics.pb.go +++ b/livekit/livekit_metrics.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_metrics.proto diff --git a/livekit/livekit_models.pb.go b/livekit/livekit_models.pb.go index ebb19bbf9..c8310cf39 100644 --- a/livekit/livekit_models.pb.go +++ b/livekit/livekit_models.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_models.proto diff --git a/livekit/livekit_phone_number.pb.go b/livekit/livekit_phone_number.pb.go index d5ce11742..4a0de4165 100644 --- a/livekit/livekit_phone_number.pb.go +++ b/livekit/livekit_phone_number.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_phone_number.proto diff --git a/livekit/livekit_room.pb.go b/livekit/livekit_room.pb.go index c022a10b8..e38ab6b8a 100644 --- a/livekit/livekit_room.pb.go +++ b/livekit/livekit_room.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_room.proto diff --git a/livekit/livekit_rtc.pb.go b/livekit/livekit_rtc.pb.go index b9f5782a2..22f47c874 100644 --- a/livekit/livekit_rtc.pb.go +++ b/livekit/livekit_rtc.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_rtc.proto diff --git a/livekit/livekit_sip.pb.go b/livekit/livekit_sip.pb.go index c17b2ddb5..7332c371c 100644 --- a/livekit/livekit_sip.pb.go +++ b/livekit/livekit_sip.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_sip.proto diff --git a/livekit/livekit_token_source.pb.go b/livekit/livekit_token_source.pb.go index 0b1b361bd..4952c9ec7 100644 --- a/livekit/livekit_token_source.pb.go +++ b/livekit/livekit_token_source.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_token_source.proto diff --git a/livekit/livekit_webhook.pb.go b/livekit/livekit_webhook.pb.go index 66aede854..09594da82 100644 --- a/livekit/livekit_webhook.pb.go +++ b/livekit/livekit_webhook.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: livekit_webhook.proto diff --git a/livekit/logger/options.pb.go b/livekit/logger/options.pb.go index 99e467571..31fbfaca2 100644 --- a/livekit/logger/options.pb.go +++ b/livekit/logger/options.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: logger/options.proto diff --git a/observability/agentsobs/gen_reporter.go b/observability/agentsobs/gen_reporter.go index b29a03552..4f3d80f91 100644 --- a/observability/agentsobs/gen_reporter.go +++ b/observability/agentsobs/gen_reporter.go @@ -6,7 +6,7 @@ import ( "time" ) -const Version_8IGQ2LO = true +const Version_NOV7HC8 = true type KeyResolver interface { Resolve(string) diff --git a/observability/gatewayobs/gen_reporter.go b/observability/gatewayobs/gen_reporter.go index 6b9b33c13..a277bcf16 100644 --- a/observability/gatewayobs/gen_reporter.go +++ b/observability/gatewayobs/gen_reporter.go @@ -6,7 +6,7 @@ import ( "time" ) -const Version_KSDK3M8 = true +const Version_8IGGP5O = true type KeyResolver interface { Resolve(string) diff --git a/observability/roomobs/gen_reporter.go b/observability/roomobs/gen_reporter.go index f81feb437..34fe67e8b 100644 --- a/observability/roomobs/gen_reporter.go +++ b/observability/roomobs/gen_reporter.go @@ -6,7 +6,7 @@ import ( "time" ) -const Version_NMAE2MO = true +const Version_DU7NGRG = true type KeyResolver interface { Resolve(string) diff --git a/observability/telephonyobs/gen_reporter.go b/observability/telephonyobs/gen_reporter.go index c04c19d01..9a47e1b86 100644 --- a/observability/telephonyobs/gen_reporter.go +++ b/observability/telephonyobs/gen_reporter.go @@ -6,7 +6,7 @@ import ( "time" ) -const Version_LQKK2M0 = true +const Version_TP5LDH8 = true type KeyResolver interface { Resolve(string) diff --git a/replay/cloud_replay.pb.go b/replay/cloud_replay.pb.go index d4deb0455..9fa9a7c09 100644 --- a/replay/cloud_replay.pb.go +++ b/replay/cloud_replay.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: cloud_replay.proto diff --git a/rpc/agent.pb.go b/rpc/agent.pb.go index a1691a638..268f7d8be 100644 --- a/rpc/agent.pb.go +++ b/rpc/agent.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/agent.proto diff --git a/rpc/agent_dispatch.pb.go b/rpc/agent_dispatch.pb.go index 5c656491f..85a469027 100644 --- a/rpc/agent_dispatch.pb.go +++ b/rpc/agent_dispatch.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/agent_dispatch.proto diff --git a/rpc/analytics.pb.go b/rpc/analytics.pb.go index 0f17a2580..0e3352e2a 100644 --- a/rpc/analytics.pb.go +++ b/rpc/analytics.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/analytics.proto diff --git a/rpc/common.pb.go b/rpc/common.pb.go index 5e232f70b..ad823512d 100644 --- a/rpc/common.pb.go +++ b/rpc/common.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/common.proto diff --git a/rpc/connector.pb.go b/rpc/connector.pb.go index a0868fe1a..a40a66e96 100644 --- a/rpc/connector.pb.go +++ b/rpc/connector.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/connector.proto diff --git a/rpc/egress.pb.go b/rpc/egress.pb.go index 8483fa6a3..204ace135 100644 --- a/rpc/egress.pb.go +++ b/rpc/egress.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/egress.proto diff --git a/rpc/ingress.pb.go b/rpc/ingress.pb.go index 4abd48c4b..697a03b30 100644 --- a/rpc/ingress.pb.go +++ b/rpc/ingress.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/ingress.proto diff --git a/rpc/io.pb.go b/rpc/io.pb.go index 90857e3dd..684920d2c 100644 --- a/rpc/io.pb.go +++ b/rpc/io.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/io.proto diff --git a/rpc/keepalive.pb.go b/rpc/keepalive.pb.go index 2deaef554..1890702a2 100644 --- a/rpc/keepalive.pb.go +++ b/rpc/keepalive.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/keepalive.proto diff --git a/rpc/participant.pb.go b/rpc/participant.pb.go index ac2c8b24a..cffcbb5eb 100644 --- a/rpc/participant.pb.go +++ b/rpc/participant.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/participant.proto diff --git a/rpc/room.pb.go b/rpc/room.pb.go index 9290f4e2e..1e02bf689 100644 --- a/rpc/room.pb.go +++ b/rpc/room.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/room.proto diff --git a/rpc/roommanager.pb.go b/rpc/roommanager.pb.go index 5efc0f065..54861c5a4 100644 --- a/rpc/roommanager.pb.go +++ b/rpc/roommanager.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/roommanager.proto diff --git a/rpc/signal.pb.go b/rpc/signal.pb.go index e2ceb6d95..b9477d103 100644 --- a/rpc/signal.pb.go +++ b/rpc/signal.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/signal.proto diff --git a/rpc/sip.pb.go b/rpc/sip.pb.go index 2d742804b..a80db2897 100644 --- a/rpc/sip.pb.go +++ b/rpc/sip.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/sip.proto diff --git a/rpc/whip_signal.pb.go b/rpc/whip_signal.pb.go index 8a41d3b89..410274e22 100644 --- a/rpc/whip_signal.pb.go +++ b/rpc/whip_signal.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.10 +// protoc-gen-go v1.36.11 // protoc v4.23.4 // source: rpc/whip_signal.proto diff --git a/utils/data_channel_rpc.go b/utils/data_channel_rpc.go index 5828fe052..804ba31ef 100644 --- a/utils/data_channel_rpc.go +++ b/utils/data_channel_rpc.go @@ -65,29 +65,29 @@ func (e *DataChannelRpcError) Error() string { func (e *DataChannelRpcError) PsrpcError() psrpc.Error { switch e.Code { case DataChannelRpcApplicationError: - return psrpc.NewErrorf(psrpc.Internal, "%s", e.Error()) + return psrpc.NewError(psrpc.Internal, e) case DataChannelRpcConnectionTimeout: - return psrpc.NewErrorf(psrpc.Canceled, "%s", e.Error()) + return psrpc.NewError(psrpc.Canceled, e) case DataChannelRpcResponseTimeout: - return psrpc.NewErrorf(psrpc.Canceled, "%s", e.Error()) + return psrpc.NewError(psrpc.Canceled, e) case DataChannelRpcRecipientDisconnected: - return psrpc.NewErrorf(psrpc.Unavailable, "%s", e.Error()) + return psrpc.NewError(psrpc.Unavailable, e) case DataChannelRpcResponsePayloadTooLarge: - return psrpc.NewErrorf(psrpc.MalformedResponse, "%s", e.Error()) + return psrpc.NewError(psrpc.MalformedResponse, e) case DataChannelRpcSendFailed: - return psrpc.NewErrorf(psrpc.Internal, "%s", e.Error()) + return psrpc.NewError(psrpc.Internal, e) case DataChannelRpcUnsupportedMethod: - return psrpc.NewErrorf(psrpc.InvalidArgument, "%s", e.Error()) + return psrpc.NewError(psrpc.InvalidArgument, e) case DataChannelRpcRecipientNotFound: - return psrpc.NewErrorf(psrpc.NotFound, "%s", e.Error()) + return psrpc.NewError(psrpc.NotFound, e) case DataChannelRpcRequestPayloadTooLarge: - return psrpc.NewErrorf(psrpc.MalformedRequest, "%s", e.Error()) + return psrpc.NewError(psrpc.MalformedRequest, e) case DataChannelRpcUnsupportedServer: - return psrpc.NewErrorf(psrpc.Unimplemented, "%s", e.Error()) + return psrpc.NewError(psrpc.Unimplemented, e) case DataChannelRpcUnsupportedVersion: - return psrpc.NewErrorf(psrpc.Unimplemented, "%s", e.Error()) + return psrpc.NewError(psrpc.Unimplemented, e) default: - return psrpc.NewErrorf(psrpc.Internal, "%s", e.Error()) + return psrpc.NewError(psrpc.Internal, e) } }