@cc-livekit/protocol 1.39.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/index.cjs +7285 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +13646 -0
  4. package/dist/index.d.mts +13646 -0
  5. package/dist/index.d.ts +13646 -0
  6. package/dist/index.mjs +7009 -0
  7. package/dist/index.mjs.map +1 -0
  8. package/package.json +42 -0
  9. package/src/gen/livekit_agent_dispatch_pb.d.ts +253 -0
  10. package/src/gen/livekit_agent_dispatch_pb.js +103 -0
  11. package/src/gen/livekit_agent_pb.d.ts +758 -0
  12. package/src/gen/livekit_agent_pb.js +269 -0
  13. package/src/gen/livekit_analytics_pb.d.ts +1379 -0
  14. package/src/gen/livekit_analytics_pb.js +397 -0
  15. package/src/gen/livekit_cloud_agent_pb.d.ts +919 -0
  16. package/src/gen/livekit_cloud_agent_pb.js +327 -0
  17. package/src/gen/livekit_egress_pb.d.ts +2151 -0
  18. package/src/gen/livekit_egress_pb.js +625 -0
  19. package/src/gen/livekit_ingress_pb.d.ts +864 -0
  20. package/src/gen/livekit_ingress_pb.js +272 -0
  21. package/src/gen/livekit_internal_pb.d.ts +786 -0
  22. package/src/gen/livekit_internal_pb.js +227 -0
  23. package/src/gen/livekit_metrics_pb.d.ts +376 -0
  24. package/src/gen/livekit_metrics_pb.js +97 -0
  25. package/src/gen/livekit_models_pb.d.ts +3083 -0
  26. package/src/gen/livekit_models_pb.js +998 -0
  27. package/src/gen/livekit_room_pb.d.ts +899 -0
  28. package/src/gen/livekit_room_pb.js +300 -0
  29. package/src/gen/livekit_rtc_pb.d.ts +2134 -0
  30. package/src/gen/livekit_rtc_pb.js +668 -0
  31. package/src/gen/livekit_sip_pb.d.ts +2619 -0
  32. package/src/gen/livekit_sip_pb.js +771 -0
  33. package/src/gen/livekit_temptalk_pb.d.ts +473 -0
  34. package/src/gen/livekit_temptalk_pb.js +167 -0
  35. package/src/gen/livekit_webhook_pb.d.ts +106 -0
  36. package/src/gen/livekit_webhook_pb.js +42 -0
  37. package/src/gen/version.d.ts +1 -0
  38. package/src/gen/version.js +2 -0
  39. package/src/index.d.ts +12 -0
  40. package/src/index.js +13 -0
@@ -0,0 +1,97 @@
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
2
+ // @generated from file livekit_metrics.proto (package livekit, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { proto3, Timestamp } from "@bufbuild/protobuf";
7
+
8
+ /**
9
+ * index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`)
10
+ *
11
+ * @generated from enum livekit.MetricLabel
12
+ */
13
+ export const MetricLabel = /*@__PURE__*/ proto3.makeEnum(
14
+ "livekit.MetricLabel",
15
+ [
16
+ {no: 0, name: "AGENTS_LLM_TTFT"},
17
+ {no: 1, name: "AGENTS_STT_TTFT"},
18
+ {no: 2, name: "AGENTS_TTS_TTFB"},
19
+ {no: 3, name: "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT"},
20
+ {no: 4, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION"},
21
+ {no: 5, name: "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT"},
22
+ {no: 6, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION"},
23
+ {no: 7, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES"},
24
+ {no: 8, name: "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES"},
25
+ {no: 9, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS"},
26
+ {no: 10, name: "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT"},
27
+ {no: 11, name: "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION"},
28
+ {no: 12, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY"},
29
+ {no: 13, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT"},
30
+ {no: 14, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH"},
31
+ {no: 15, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU"},
32
+ {no: 16, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER"},
33
+ {no: 17, name: "PUBLISHER_RTT"},
34
+ {no: 18, name: "SERVER_MESH_RTT"},
35
+ {no: 19, name: "SUBSCRIBER_RTT"},
36
+ {no: 4096, name: "METRIC_LABEL_PREDEFINED_MAX_VALUE"},
37
+ ],
38
+ );
39
+
40
+ /**
41
+ * @generated from message livekit.MetricsBatch
42
+ */
43
+ export const MetricsBatch = /*@__PURE__*/ proto3.makeMessageType(
44
+ "livekit.MetricsBatch",
45
+ () => [
46
+ { no: 1, name: "timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
47
+ { no: 2, name: "normalized_timestamp", kind: "message", T: Timestamp },
48
+ { no: 3, name: "str_data", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
49
+ { no: 4, name: "time_series", kind: "message", T: TimeSeriesMetric, repeated: true },
50
+ { no: 5, name: "events", kind: "message", T: EventMetric, repeated: true },
51
+ ],
52
+ );
53
+
54
+ /**
55
+ * @generated from message livekit.TimeSeriesMetric
56
+ */
57
+ export const TimeSeriesMetric = /*@__PURE__*/ proto3.makeMessageType(
58
+ "livekit.TimeSeriesMetric",
59
+ () => [
60
+ { no: 1, name: "label", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
61
+ { no: 2, name: "participant_identity", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
62
+ { no: 3, name: "track_sid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
63
+ { no: 4, name: "samples", kind: "message", T: MetricSample, repeated: true },
64
+ { no: 5, name: "rid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
65
+ ],
66
+ );
67
+
68
+ /**
69
+ * @generated from message livekit.MetricSample
70
+ */
71
+ export const MetricSample = /*@__PURE__*/ proto3.makeMessageType(
72
+ "livekit.MetricSample",
73
+ () => [
74
+ { no: 1, name: "timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
75
+ { no: 2, name: "normalized_timestamp", kind: "message", T: Timestamp },
76
+ { no: 3, name: "value", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
77
+ ],
78
+ );
79
+
80
+ /**
81
+ * @generated from message livekit.EventMetric
82
+ */
83
+ export const EventMetric = /*@__PURE__*/ proto3.makeMessageType(
84
+ "livekit.EventMetric",
85
+ () => [
86
+ { no: 1, name: "label", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
87
+ { no: 2, name: "participant_identity", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
88
+ { no: 3, name: "track_sid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
89
+ { no: 4, name: "start_timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
90
+ { no: 5, name: "end_timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
91
+ { no: 6, name: "normalized_start_timestamp", kind: "message", T: Timestamp },
92
+ { no: 7, name: "normalized_end_timestamp", kind: "message", T: Timestamp, opt: true },
93
+ { no: 8, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
94
+ { no: 9, name: "rid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
95
+ ],
96
+ );
97
+