@livekit/protocol 1.36.1 → 1.37.0
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.
- package/dist/index.cjs +45 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +107 -2
- package/dist/index.d.mts +107 -2
- package/dist/index.d.ts +107 -2
- package/dist/index.mjs +45 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_agent_dispatch_pb.d.ts +1 -1
- package/src/gen/livekit_agent_dispatch_pb.js +1 -1
- package/src/gen/livekit_agent_pb.d.ts +1 -1
- package/src/gen/livekit_agent_pb.js +1 -1
- package/src/gen/livekit_analytics_pb.d.ts +1 -1
- package/src/gen/livekit_analytics_pb.js +1 -1
- package/src/gen/livekit_cloud_agent_pb.d.ts +1 -1
- package/src/gen/livekit_cloud_agent_pb.js +1 -1
- package/src/gen/livekit_egress_pb.d.ts +44 -2
- package/src/gen/livekit_egress_pb.js +8 -2
- package/src/gen/livekit_ingress_pb.d.ts +1 -1
- package/src/gen/livekit_ingress_pb.js +1 -1
- package/src/gen/livekit_internal_pb.d.ts +180 -21
- package/src/gen/livekit_internal_pb.js +36 -1
- package/src/gen/livekit_metrics_pb.d.ts +1 -1
- package/src/gen/livekit_metrics_pb.js +1 -1
- package/src/gen/livekit_models_pb.d.ts +42 -1
- package/src/gen/livekit_models_pb.js +14 -1
- package/src/gen/livekit_room_pb.d.ts +1 -1
- package/src/gen/livekit_room_pb.js +1 -1
- package/src/gen/livekit_rtc_pb.d.ts +1 -1
- package/src/gen/livekit_rtc_pb.js +1 -1
- package/src/gen/livekit_sip_pb.d.ts +23 -1
- package/src/gen/livekit_sip_pb.js +5 -1
- package/src/gen/livekit_webhook_pb.d.ts +1 -1
- package/src/gen/livekit_webhook_pb.js +1 -1
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_agent_dispatch.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_agent_dispatch.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_agent.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_agent.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_analytics.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_analytics.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_cloud_agent.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_cloud_agent.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_egress.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
-
import type { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js";
|
|
22
|
+
import type { AudioCodec, ImageCodec, VideoCodec, WebhookConfig } from "./livekit_models_pb.js";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @generated from enum livekit.EncodedFileType
|
|
@@ -86,6 +86,13 @@ export declare enum ImageFileSuffix {
|
|
|
86
86
|
* @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1;
|
|
87
87
|
*/
|
|
88
88
|
IMAGE_SUFFIX_TIMESTAMP = 1,
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Do not append any suffix and overwrite the existing image with the latest
|
|
92
|
+
*
|
|
93
|
+
* @generated from enum value: IMAGE_SUFFIX_NONE_OVERWRITE = 2;
|
|
94
|
+
*/
|
|
95
|
+
IMAGE_SUFFIX_NONE_OVERWRITE = 2,
|
|
89
96
|
}
|
|
90
97
|
|
|
91
98
|
/**
|
|
@@ -369,6 +376,13 @@ export declare class RoomCompositeEgressRequest extends Message<RoomCompositeEgr
|
|
|
369
376
|
*/
|
|
370
377
|
imageOutputs: ImageOutput[];
|
|
371
378
|
|
|
379
|
+
/**
|
|
380
|
+
* extra webhooks to call for this request
|
|
381
|
+
*
|
|
382
|
+
* @generated from field: repeated livekit.WebhookConfig webhooks = 16;
|
|
383
|
+
*/
|
|
384
|
+
webhooks: WebhookConfig[];
|
|
385
|
+
|
|
372
386
|
constructor(data?: PartialMessage<RoomCompositeEgressRequest>);
|
|
373
387
|
|
|
374
388
|
static readonly runtime: typeof proto3;
|
|
@@ -475,6 +489,13 @@ export declare class WebEgressRequest extends Message<WebEgressRequest> {
|
|
|
475
489
|
*/
|
|
476
490
|
imageOutputs: ImageOutput[];
|
|
477
491
|
|
|
492
|
+
/**
|
|
493
|
+
* extra webhooks to call for this request
|
|
494
|
+
*
|
|
495
|
+
* @generated from field: repeated livekit.WebhookConfig webhooks = 14;
|
|
496
|
+
*/
|
|
497
|
+
webhooks: WebhookConfig[];
|
|
498
|
+
|
|
478
499
|
constructor(data?: PartialMessage<WebEgressRequest>);
|
|
479
500
|
|
|
480
501
|
static readonly runtime: typeof proto3;
|
|
@@ -558,6 +579,13 @@ export declare class ParticipantEgressRequest extends Message<ParticipantEgressR
|
|
|
558
579
|
*/
|
|
559
580
|
imageOutputs: ImageOutput[];
|
|
560
581
|
|
|
582
|
+
/**
|
|
583
|
+
* extra webhooks to call for this request
|
|
584
|
+
*
|
|
585
|
+
* @generated from field: repeated livekit.WebhookConfig webhooks = 10;
|
|
586
|
+
*/
|
|
587
|
+
webhooks: WebhookConfig[];
|
|
588
|
+
|
|
561
589
|
constructor(data?: PartialMessage<ParticipantEgressRequest>);
|
|
562
590
|
|
|
563
591
|
static readonly runtime: typeof proto3;
|
|
@@ -669,6 +697,13 @@ export declare class TrackCompositeEgressRequest extends Message<TrackCompositeE
|
|
|
669
697
|
*/
|
|
670
698
|
imageOutputs: ImageOutput[];
|
|
671
699
|
|
|
700
|
+
/**
|
|
701
|
+
* extra webhooks to call for this request
|
|
702
|
+
*
|
|
703
|
+
* @generated from field: repeated livekit.WebhookConfig webhooks = 15;
|
|
704
|
+
*/
|
|
705
|
+
webhooks: WebhookConfig[];
|
|
706
|
+
|
|
672
707
|
constructor(data?: PartialMessage<TrackCompositeEgressRequest>);
|
|
673
708
|
|
|
674
709
|
static readonly runtime: typeof proto3;
|
|
@@ -723,6 +758,13 @@ export declare class TrackEgressRequest extends Message<TrackEgressRequest> {
|
|
|
723
758
|
case: "websocketUrl";
|
|
724
759
|
} | { case: undefined; value?: undefined };
|
|
725
760
|
|
|
761
|
+
/**
|
|
762
|
+
* extra webhooks to call for this request
|
|
763
|
+
*
|
|
764
|
+
* @generated from field: repeated livekit.WebhookConfig webhooks = 5;
|
|
765
|
+
*/
|
|
766
|
+
webhooks: WebhookConfig[];
|
|
767
|
+
|
|
726
768
|
constructor(data?: PartialMessage<TrackEgressRequest>);
|
|
727
769
|
|
|
728
770
|
static readonly runtime: typeof proto3;
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_egress.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
-
import { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js";
|
|
21
|
+
import { AudioCodec, ImageCodec, VideoCodec, WebhookConfig } from "./livekit_models_pb.js";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* @generated from enum livekit.EncodedFileType
|
|
@@ -62,6 +62,7 @@ export const ImageFileSuffix = /*@__PURE__*/ proto3.makeEnum(
|
|
|
62
62
|
[
|
|
63
63
|
{no: 0, name: "IMAGE_SUFFIX_INDEX"},
|
|
64
64
|
{no: 1, name: "IMAGE_SUFFIX_TIMESTAMP"},
|
|
65
|
+
{no: 2, name: "IMAGE_SUFFIX_NONE_OVERWRITE"},
|
|
65
66
|
],
|
|
66
67
|
);
|
|
67
68
|
|
|
@@ -156,6 +157,7 @@ export const RoomCompositeEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
156
157
|
{ no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
157
158
|
{ no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
158
159
|
{ no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
|
|
160
|
+
{ no: 16, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true },
|
|
159
161
|
],
|
|
160
162
|
);
|
|
161
163
|
|
|
@@ -180,6 +182,7 @@ export const WebEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
180
182
|
{ no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
181
183
|
{ no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
182
184
|
{ no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
|
|
185
|
+
{ no: 14, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true },
|
|
183
186
|
],
|
|
184
187
|
);
|
|
185
188
|
|
|
@@ -200,6 +203,7 @@ export const ParticipantEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
200
203
|
{ no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
201
204
|
{ no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
202
205
|
{ no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
|
|
206
|
+
{ no: 10, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true },
|
|
203
207
|
],
|
|
204
208
|
);
|
|
205
209
|
|
|
@@ -223,6 +227,7 @@ export const TrackCompositeEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
223
227
|
{ no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
224
228
|
{ no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
225
229
|
{ no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
|
|
230
|
+
{ no: 15, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true },
|
|
226
231
|
],
|
|
227
232
|
);
|
|
228
233
|
|
|
@@ -238,6 +243,7 @@ export const TrackEgressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
238
243
|
{ no: 2, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
239
244
|
{ no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" },
|
|
240
245
|
{ no: 4, name: "websocket_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "output" },
|
|
246
|
+
{ no: 5, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true },
|
|
241
247
|
],
|
|
242
248
|
);
|
|
243
249
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_ingress.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_ingress.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_internal.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
@@ -204,7 +204,8 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
204
204
|
numTrackPublishAttempts: number;
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
|
-
* @generated from field: float track_publish_attempts_per_sec = 37;
|
|
207
|
+
* @generated from field: float track_publish_attempts_per_sec = 37 [deprecated = true];
|
|
208
|
+
* @deprecated
|
|
208
209
|
*/
|
|
209
210
|
trackPublishAttemptsPerSec: number;
|
|
210
211
|
|
|
@@ -214,7 +215,8 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
214
215
|
numTrackPublishSuccess: number;
|
|
215
216
|
|
|
216
217
|
/**
|
|
217
|
-
* @generated from field: float track_publish_success_per_sec = 39;
|
|
218
|
+
* @generated from field: float track_publish_success_per_sec = 39 [deprecated = true];
|
|
219
|
+
* @deprecated
|
|
218
220
|
*/
|
|
219
221
|
trackPublishSuccessPerSec: number;
|
|
220
222
|
|
|
@@ -224,7 +226,8 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
224
226
|
numTrackSubscribeAttempts: number;
|
|
225
227
|
|
|
226
228
|
/**
|
|
227
|
-
* @generated from field: float track_subscribe_attempts_per_sec = 41;
|
|
229
|
+
* @generated from field: float track_subscribe_attempts_per_sec = 41 [deprecated = true];
|
|
230
|
+
* @deprecated
|
|
228
231
|
*/
|
|
229
232
|
trackSubscribeAttemptsPerSec: number;
|
|
230
233
|
|
|
@@ -234,7 +237,8 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
234
237
|
numTrackSubscribeSuccess: number;
|
|
235
238
|
|
|
236
239
|
/**
|
|
237
|
-
* @generated from field: float track_subscribe_success_per_sec = 43;
|
|
240
|
+
* @generated from field: float track_subscribe_success_per_sec = 43 [deprecated = true];
|
|
241
|
+
* @deprecated
|
|
238
242
|
*/
|
|
239
243
|
trackSubscribeSuccessPerSec: number;
|
|
240
244
|
|
|
@@ -266,27 +270,32 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
266
270
|
nackTotal: bigint;
|
|
267
271
|
|
|
268
272
|
/**
|
|
269
|
-
* @generated from field: float bytes_in_per_sec = 12;
|
|
273
|
+
* @generated from field: float bytes_in_per_sec = 12 [deprecated = true];
|
|
274
|
+
* @deprecated
|
|
270
275
|
*/
|
|
271
276
|
bytesInPerSec: number;
|
|
272
277
|
|
|
273
278
|
/**
|
|
274
|
-
* @generated from field: float bytes_out_per_sec = 13;
|
|
279
|
+
* @generated from field: float bytes_out_per_sec = 13 [deprecated = true];
|
|
280
|
+
* @deprecated
|
|
275
281
|
*/
|
|
276
282
|
bytesOutPerSec: number;
|
|
277
283
|
|
|
278
284
|
/**
|
|
279
|
-
* @generated from field: float packets_in_per_sec = 14;
|
|
285
|
+
* @generated from field: float packets_in_per_sec = 14 [deprecated = true];
|
|
286
|
+
* @deprecated
|
|
280
287
|
*/
|
|
281
288
|
packetsInPerSec: number;
|
|
282
289
|
|
|
283
290
|
/**
|
|
284
|
-
* @generated from field: float packets_out_per_sec = 15;
|
|
291
|
+
* @generated from field: float packets_out_per_sec = 15 [deprecated = true];
|
|
292
|
+
* @deprecated
|
|
285
293
|
*/
|
|
286
294
|
packetsOutPerSec: number;
|
|
287
295
|
|
|
288
296
|
/**
|
|
289
|
-
* @generated from field: float nack_per_sec = 16;
|
|
297
|
+
* @generated from field: float nack_per_sec = 16 [deprecated = true];
|
|
298
|
+
* @deprecated
|
|
290
299
|
*/
|
|
291
300
|
nackPerSec: number;
|
|
292
301
|
|
|
@@ -318,9 +327,8 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
318
327
|
cpuLoad: number;
|
|
319
328
|
|
|
320
329
|
/**
|
|
321
|
-
* deprecated
|
|
322
|
-
*
|
|
323
|
-
* @generated from field: float memory_load = 33;
|
|
330
|
+
* @generated from field: float memory_load = 33 [deprecated = true];
|
|
331
|
+
* @deprecated
|
|
324
332
|
*/
|
|
325
333
|
memoryLoad: number;
|
|
326
334
|
|
|
@@ -345,17 +353,20 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
345
353
|
sysPacketsDropped: number;
|
|
346
354
|
|
|
347
355
|
/**
|
|
348
|
-
* @generated from field: float sys_packets_out_per_sec = 30;
|
|
356
|
+
* @generated from field: float sys_packets_out_per_sec = 30 [deprecated = true];
|
|
357
|
+
* @deprecated
|
|
349
358
|
*/
|
|
350
359
|
sysPacketsOutPerSec: number;
|
|
351
360
|
|
|
352
361
|
/**
|
|
353
|
-
* @generated from field: float sys_packets_dropped_per_sec = 31;
|
|
362
|
+
* @generated from field: float sys_packets_dropped_per_sec = 31 [deprecated = true];
|
|
363
|
+
* @deprecated
|
|
354
364
|
*/
|
|
355
365
|
sysPacketsDroppedPerSec: number;
|
|
356
366
|
|
|
357
367
|
/**
|
|
358
|
-
* @generated from field: float sys_packets_dropped_pct_per_sec = 32;
|
|
368
|
+
* @generated from field: float sys_packets_dropped_pct_per_sec = 32 [deprecated = true];
|
|
369
|
+
* @deprecated
|
|
359
370
|
*/
|
|
360
371
|
sysPacketsDroppedPctPerSec: number;
|
|
361
372
|
|
|
@@ -372,12 +383,14 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
372
383
|
retransmitPacketsOut: bigint;
|
|
373
384
|
|
|
374
385
|
/**
|
|
375
|
-
* @generated from field: float retransmit_bytes_out_per_sec = 24;
|
|
386
|
+
* @generated from field: float retransmit_bytes_out_per_sec = 24 [deprecated = true];
|
|
387
|
+
* @deprecated
|
|
376
388
|
*/
|
|
377
389
|
retransmitBytesOutPerSec: number;
|
|
378
390
|
|
|
379
391
|
/**
|
|
380
|
-
* @generated from field: float retransmit_packets_out_per_sec = 25;
|
|
392
|
+
* @generated from field: float retransmit_packets_out_per_sec = 25 [deprecated = true];
|
|
393
|
+
* @deprecated
|
|
381
394
|
*/
|
|
382
395
|
retransmitPacketsOutPerSec: number;
|
|
383
396
|
|
|
@@ -389,7 +402,8 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
389
402
|
participantSignalConnected: bigint;
|
|
390
403
|
|
|
391
404
|
/**
|
|
392
|
-
* @generated from field: float participant_signal_connected_per_sec = 27;
|
|
405
|
+
* @generated from field: float participant_signal_connected_per_sec = 27 [deprecated = true];
|
|
406
|
+
* @deprecated
|
|
393
407
|
*/
|
|
394
408
|
participantSignalConnectedPerSec: number;
|
|
395
409
|
|
|
@@ -399,7 +413,8 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
399
413
|
participantRtcConnected: bigint;
|
|
400
414
|
|
|
401
415
|
/**
|
|
402
|
-
* @generated from field: float participant_rtc_connected_per_sec = 45;
|
|
416
|
+
* @generated from field: float participant_rtc_connected_per_sec = 45 [deprecated = true];
|
|
417
|
+
* @deprecated
|
|
403
418
|
*/
|
|
404
419
|
participantRtcConnectedPerSec: number;
|
|
405
420
|
|
|
@@ -409,7 +424,8 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
409
424
|
participantRtcInit: bigint;
|
|
410
425
|
|
|
411
426
|
/**
|
|
412
|
-
* @generated from field: float participant_rtc_init_per_sec = 47;
|
|
427
|
+
* @generated from field: float participant_rtc_init_per_sec = 47 [deprecated = true];
|
|
428
|
+
* @deprecated
|
|
413
429
|
*/
|
|
414
430
|
participantRtcInitPerSec: number;
|
|
415
431
|
|
|
@@ -425,6 +441,11 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
425
441
|
*/
|
|
426
442
|
forwardJitter: number;
|
|
427
443
|
|
|
444
|
+
/**
|
|
445
|
+
* @generated from field: repeated livekit.NodeStatsRate rates = 50;
|
|
446
|
+
*/
|
|
447
|
+
rates: NodeStatsRate[];
|
|
448
|
+
|
|
428
449
|
constructor(data?: PartialMessage<NodeStats>);
|
|
429
450
|
|
|
430
451
|
static readonly runtime: typeof proto3;
|
|
@@ -440,6 +461,144 @@ export declare class NodeStats extends Message<NodeStats> {
|
|
|
440
461
|
static equals(a: NodeStats | PlainMessage<NodeStats> | undefined, b: NodeStats | PlainMessage<NodeStats> | undefined): boolean;
|
|
441
462
|
}
|
|
442
463
|
|
|
464
|
+
/**
|
|
465
|
+
* rates of different node stats (per second)
|
|
466
|
+
*
|
|
467
|
+
* @generated from message livekit.NodeStatsRate
|
|
468
|
+
*/
|
|
469
|
+
export declare class NodeStatsRate extends Message<NodeStatsRate> {
|
|
470
|
+
/**
|
|
471
|
+
* @generated from field: int64 started_at = 1;
|
|
472
|
+
*/
|
|
473
|
+
startedAt: bigint;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* @generated from field: int64 ended_at = 2;
|
|
477
|
+
*/
|
|
478
|
+
endedAt: bigint;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* @generated from field: int64 duration = 3;
|
|
482
|
+
*/
|
|
483
|
+
duration: bigint;
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* @generated from field: float track_publish_attempts = 4;
|
|
487
|
+
*/
|
|
488
|
+
trackPublishAttempts: number;
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* @generated from field: float track_publish_success = 5;
|
|
492
|
+
*/
|
|
493
|
+
trackPublishSuccess: number;
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* @generated from field: float track_subscribe_attempts = 6;
|
|
497
|
+
*/
|
|
498
|
+
trackSubscribeAttempts: number;
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* @generated from field: float track_subscribe_success = 7;
|
|
502
|
+
*/
|
|
503
|
+
trackSubscribeSuccess: number;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* @generated from field: float bytes_in = 8;
|
|
507
|
+
*/
|
|
508
|
+
bytesIn: number;
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* @generated from field: float bytes_out = 9;
|
|
512
|
+
*/
|
|
513
|
+
bytesOut: number;
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* @generated from field: float packets_in = 10;
|
|
517
|
+
*/
|
|
518
|
+
packetsIn: number;
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* @generated from field: float packets_out = 11;
|
|
522
|
+
*/
|
|
523
|
+
packetsOut: number;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* @generated from field: float nack_total = 12;
|
|
527
|
+
*/
|
|
528
|
+
nackTotal: number;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @generated from field: float sys_packets_out = 13;
|
|
532
|
+
*/
|
|
533
|
+
sysPacketsOut: number;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* @generated from field: float sys_packets_dropped = 14;
|
|
537
|
+
*/
|
|
538
|
+
sysPacketsDropped: number;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* @generated from field: float retransmit_bytes_out = 15;
|
|
542
|
+
*/
|
|
543
|
+
retransmitBytesOut: number;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* @generated from field: float retransmit_packets_out = 16;
|
|
547
|
+
*/
|
|
548
|
+
retransmitPacketsOut: number;
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* @generated from field: float participant_signal_connected = 17;
|
|
552
|
+
*/
|
|
553
|
+
participantSignalConnected: number;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* @generated from field: float participant_rtc_connected = 18;
|
|
557
|
+
*/
|
|
558
|
+
participantRtcConnected: number;
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @generated from field: float participant_rtc_init = 19;
|
|
562
|
+
*/
|
|
563
|
+
participantRtcInit: number;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* time weighted averages across stats windows forming part of a rate measurement interval
|
|
567
|
+
*
|
|
568
|
+
* @generated from field: float cpu_load = 20;
|
|
569
|
+
*/
|
|
570
|
+
cpuLoad: number;
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* @generated from field: float memory_load = 21;
|
|
574
|
+
*/
|
|
575
|
+
memoryLoad: number;
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* @generated from field: float memory_used = 22;
|
|
579
|
+
*/
|
|
580
|
+
memoryUsed: number;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* @generated from field: float memory_total = 23;
|
|
584
|
+
*/
|
|
585
|
+
memoryTotal: number;
|
|
586
|
+
|
|
587
|
+
constructor(data?: PartialMessage<NodeStatsRate>);
|
|
588
|
+
|
|
589
|
+
static readonly runtime: typeof proto3;
|
|
590
|
+
static readonly typeName = "livekit.NodeStatsRate";
|
|
591
|
+
static readonly fields: FieldList;
|
|
592
|
+
|
|
593
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NodeStatsRate;
|
|
594
|
+
|
|
595
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NodeStatsRate;
|
|
596
|
+
|
|
597
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NodeStatsRate;
|
|
598
|
+
|
|
599
|
+
static equals(a: NodeStatsRate | PlainMessage<NodeStatsRate> | undefined, b: NodeStatsRate | PlainMessage<NodeStatsRate> | undefined): boolean;
|
|
600
|
+
}
|
|
601
|
+
|
|
443
602
|
/**
|
|
444
603
|
* @generated from message livekit.StartSession
|
|
445
604
|
*/
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es v1.10.
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
16
|
// @generated from file livekit_internal.proto (package livekit, syntax proto3)
|
|
17
17
|
/* eslint-disable */
|
|
18
18
|
// @ts-nocheck
|
|
@@ -134,6 +134,41 @@ export const NodeStats = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
134
134
|
{ no: 47, name: "participant_rtc_init_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
135
135
|
{ no: 48, name: "forward_latency", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
136
136
|
{ no: 49, name: "forward_jitter", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
137
|
+
{ no: 50, name: "rates", kind: "message", T: NodeStatsRate, repeated: true },
|
|
138
|
+
],
|
|
139
|
+
);
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* rates of different node stats (per second)
|
|
143
|
+
*
|
|
144
|
+
* @generated from message livekit.NodeStatsRate
|
|
145
|
+
*/
|
|
146
|
+
export const NodeStatsRate = /*@__PURE__*/ proto3.makeMessageType(
|
|
147
|
+
"livekit.NodeStatsRate",
|
|
148
|
+
() => [
|
|
149
|
+
{ no: 1, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
150
|
+
{ no: 2, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
151
|
+
{ no: 3, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
152
|
+
{ no: 4, name: "track_publish_attempts", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
153
|
+
{ no: 5, name: "track_publish_success", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
154
|
+
{ no: 6, name: "track_subscribe_attempts", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
155
|
+
{ no: 7, name: "track_subscribe_success", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
156
|
+
{ no: 8, name: "bytes_in", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
157
|
+
{ no: 9, name: "bytes_out", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
158
|
+
{ no: 10, name: "packets_in", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
159
|
+
{ no: 11, name: "packets_out", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
160
|
+
{ no: 12, name: "nack_total", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
161
|
+
{ no: 13, name: "sys_packets_out", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
162
|
+
{ no: 14, name: "sys_packets_dropped", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
163
|
+
{ no: 15, name: "retransmit_bytes_out", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
164
|
+
{ no: 16, name: "retransmit_packets_out", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
165
|
+
{ no: 17, name: "participant_signal_connected", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
166
|
+
{ no: 18, name: "participant_rtc_connected", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
167
|
+
{ no: 19, name: "participant_rtc_init", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
168
|
+
{ no: 20, name: "cpu_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
169
|
+
{ no: 21, name: "memory_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
170
|
+
{ no: 22, name: "memory_used", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
171
|
+
{ no: 23, name: "memory_total", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
137
172
|
],
|
|
138
173
|
);
|
|
139
174
|
|